Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/golden/hw-gate/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"about": "HRX hardware gate KLD bases (docs/hw-gate.md). The .kld files live on the gate box, not in git; this file pins what they are.",
"about": "HRX hardware gate KLD bases (docs/hw-gate.md). The .kld files live on the gate box, not in git; this file pins what they are. `recorded_at` names the tree each base was measured at: it is provenance, and it may name a commit that is no longer reachable from the current pin (engine#2643) -- `tools/hw_gate_manifest.py judge` prints how the golden's tree relates to the tested one on the verdict line, and says \"cannot place\" rather than guessing when it cannot.",
"kld": {
"qwen3-0.6b": {
"args": "-c 512 --chunks 8 -b 512 -ub 512 --device HRX0 -ngl 99",
Expand Down
5 changes: 3 additions & 2 deletions tools/hw_gate_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@ def pins(root):
return out


ABOUT = 'HRX hardware gate KLD bases (docs/hw-gate.md). The .kld files live on the gate box, not in git; this file pins what they are. `recorded_at` names the tree each base was measured at: it is provenance, and it may name a commit that is no longer reachable from the current pin (engine#2643) -- `tools/hw_gate_manifest.py judge` prints how the golden\'s tree relates to the tested one on the verdict line, and says "cannot place" rather than guessing when it cannot.' # engine#2643: one string for the template and the shipped manifest, so a reader of either learns what recorded_at can and cannot mean.

def load(path):
if os.path.exists(path):
with open(path) as f:
return json.load(f)
return {"about": "HRX hardware gate KLD bases (docs/hw-gate.md). The .kld files live on the gate box, "
"not in git; this file pins what they are.", "kld": {}}
return {"about": ABOUT, "kld": {}}


def cmd_set(manifest, name, base, model, text):
Expand Down
Loading