Files
zeekay 42124b1f45 hanzo-research 0.2.0: every research and arena route, the crate's records, provenance
The Python client now reaches what the Rust crate does and the server
serves. Research covers every /v1/research route: record() files
benchmarks, studies, runs and papers in one batch a kind; runs(),
get_run() and compare() read them; grant(), revise() and retract() move
consent and versions; the experiment plane and artifacts as before.
Arena covers /v1/benchmark: catalog, leaderboard, claims (written with
protocol and source), history, compare, presets, and runs, which queue a
paid execution and are refused without confirm=True.

wire holds the crate's Run, Benchmark, Measure, Study, Paper and
Comparison field for field; canonical writes RFC 8785 bytes equal to the
crate's (tests/vectors/rust.json, written by the crate); lineage and wal
are the crate's records, and a WAL the crate wrote verifies here.
capture() reads the harness commit (the diff's SHA-256 when dirty), the
weights' SHA-256, host, CPU, GPU, device, dtype and packages, and
apply() folds them into a run.

runs(org=) sends no credential: the server answers ?org= only to a
caller with no org. An org the token does not belong to is refused
before the request, since the server would act in the home org. The
command is hanzo-research; the native CLI owns `hanzo`.
2026-10-15 12:11:45 -07:00

4 lines
1010 B
JSON

{"run_id":"run-1","worker_id":"worker-0","event_id":"run-1-worker-0-1-step","sequence":1,"previous_event_hash":"0000000000000000000000000000000000000000000000000000000000000000","payload_hash":"fb017ac5a6a9a378f10ae0b180ed416b72e1a60375b0877e38c7a504ae30482e","payload":{"loss":1.25,"step":1},"created_at":"2026-10-15T18:47:26Z"}
{"run_id":"run-1","worker_id":"worker-0","event_id":"run-1-worker-0-2-step","sequence":2,"previous_event_hash":"dca12f30e0f231a7b153da8f7bb54df2a19b950f535a137a3ffb9016a12832a1","payload_hash":"1598c46c5d732737c0f2b08688fe0f6f16bf44c79b498e6f5e98dac3ec57b55e","payload":{"loss":1.1,"step":2},"created_at":"2026-10-15T18:47:26Z"}
{"run_id":"run-1","worker_id":"worker-0","event_id":"run-1-worker-0-3-eval","sequence":3,"previous_event_hash":"ec20e82ff009461471828dc30955b8ccc1bdba2e624f152bdd47020eeb64dc06","payload_hash":"293df84819096b7ac185f1c58fc24cae6ee521bae499e7aced8af95c8d99fcb0","payload":{"accuracy":0.81,"split":"dev","é":"😀"},"created_at":"2026-10-15T18:47:26Z"}