MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / RAMTriple

Class RAMTriple

nanoresearch/evolution/ram_data.py:25–37  ·  view source on GitHub ↗

One complete (x, y, o) interaction triple.

Source from the content-addressed store, hash-verified

23
24
25class RAMTriple(BaseModel):
26 """One complete (x, y, o) interaction triple."""
27
28 triple_id: str
29 timestamp: datetime = Field(default_factory=lambda: datetime.now(timezone.utc))
30 subsystem: str # "method_gen" | "code_impl" | "paper_writing"
31 stage: str # pipeline stage name
32 x_context: str # RAM input
33 y_output: str = "" # RAM generated text
34 o_feedback: str = "" # downstream feedback
35 o_quality_signal: float = 0.0 # -1.0 ~ 1.0
36 session_id: str = ""
37 workspace_id: str = ""
38
39
40class RAMDataCollector:

Callers 1

record_inputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected