MCPcopy Create free account
hub / github.com/19PINE-AI/ikp / _write_transcript

Function _write_transcript

scripts/run_evaluation.py:70–75  ·  view source on GitHub ↗

Append one JSON record to the model's transcript file (thread-safe).

(model_name: str, record: dict)

Source from the content-addressed store, hash-verified

68
69
70def _write_transcript(model_name: str, record: dict):
71 """Append one JSON record to the model's transcript file (thread-safe)."""
72 with _transcript_lock:
73 f = _get_transcript_writer(model_name)
74 f.write(json.dumps(record, ensure_ascii=False) + "\n")
75 f.flush()
76
77
78# ── Thinking-mode helpers ──────────────────────────────────────

Callers 1

eval_oneFunction · 0.85

Calls 1

_get_transcript_writerFunction · 0.85

Tested by

no test coverage detected