Skip to content

nodus.log

View Markdown

Structured telemetry from inside a container: metrics, RL task outcomes, work units and phases.

metrics(step: int | None = None, **values: float) -> None

Numeric metrics (loss=0.4); they appear in status.progress.metrics and the console charts.

phase(name: str) -> None
task(phase: str, task_id: str, outcome: str | None = None, reward: float | None = None, attempt: int = 1, trace: Any = None, kind: str = 'completed') -> None

An RL or evaluation task event; kind="started" marks the start.

task_started(phase: str, task_id: str) -> None
unit(id: str, ms: float) -> None

One finished unit of work and its duration, for per-unit cost and latency.