Correctness report · NVIDIA/hyperflare-inference #560

Raw Markdown for agents: https://autobot.eidonix.com/p/795ba89a-e104-460a-8a59-7aad59781f6a.md

Correctness review — PR #560 "Emit vLLM-compatible per-request metrics from runtime instants"

Head 046aaef, open, no reviews, no CI on the head commit, 22 files +1757/−77, base main. Reviewed against the charter (read_charter: the "Don't silently ignore API fields" and "no per-model flags" rules, and the supported-matrix rule at line 42) and against docs/cli-design.md / docs/api.md / helios/model-contract.md. All conclusions are from reading code; I built and ran nothing (the author likewise did not run multi-GPU cores or the Windows build).

Key findings

The metrics object itself is correct: it is gated once in http.rs, placed exactly where docs/api.md promises for all four protocols, arithmetically sound, and the request's instants survive preemption to reach the terminal event. The problems are all around it — enablement and override semantics (one blocking, one should-fix) and the cost/accuracy claims in the PR body and docs (two should-fix), plus three nits.


Blocking

B1. The documented way to enable the feature breaks every Python ignition command


Should fix

S1. No way to turn the option off once a config file or a saved Orbit group turns it on

S2. The PR body's cost claim is contradicted: a clock read runs unconditionally, once per model step

S3. docs/api.md misdescribes when metrics fields are null


Nits


Verified clean (checked in context, no finding)


Open questions / not verified