Skip to content

spec(ml): eval_hslm mirrors train_hslm's 31 b3_* speed=3 scratch arrays (Closes #10906) - #10907

Merged
gHashTag merged 1 commit into
masterfrom
claude/clever-sinoussi-05da17
Oct 19, 2026
Merged

gHashTag merged 1 commit into
masterfrom
claude/clever-sinoussi-05da17

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #10906

What

specs/ml/eval_hslm.t27 was BLOCKED with use of undeclared identifier 'b3_q' since #10866. That PR added speed=3 to train_hslm.t27: the tr3_* functions and 31 module-level b3_* scratch arrays. use_resolve splices no var, so a module that reaches tr3_forward through tr_window_forward (eval does, via tr_valid_loss) must declare the arrays itself, as eval already does for act_*, kv_*, bw_*.

The fix is the mirror: the same 31 b3_* declarations (names, types, sizes copied from train_hslm.t27 lines 586-616), nothing else. speed_level stays 2 in eval, so no evaluation number moves. The seal is re-saved.

Evidence (Railway lab, master b258b90 + this diff)

  • t27c test-report specs/ml/eval_hslm.t27 --verbose: 10 tests, 10 pass, 0 fail, vacuous passes 0 of 10 (before: BLOCKED).
  • t27c seal specs/ml/eval_hslm.t27 --save, then --verify: all hashes MATCH, exit 0.
  • The binary is a t27c built from a tree whose bootstrap/src is identical to master's (git diff empty); a fresh build of this worktree was not possible because the lab's cargo cache lacks the locked sha2 0.10.9.
  • docs/reports/t27b_expectations.json has no row for ml/eval_hslm, so the ledger is unchanged.

Note for #10896

That PR turns the nn/hslm and b3_* state into threadlocal var. When it lands, the b3_* mirror here must follow the same form (and rebase before it); I checked #10896 is still open, so this PR mirrors master as it is now.

🤖 Generated with Claude Code

…ys, unblocking it (Closes #10906)

PR #10866 added tr3_* and the b3_* module-level arrays to train_hslm.t27.
use_resolve splices no var, so eval_hslm, which reaches tr3_forward through
tr_window_forward, was BLOCKED with: use of undeclared identifier 'b3_q'.
Declare the same 31 arrays with the same names, types and sizes. Tests 10/10,
0 vacuous, seal saved and verified on the Railway lab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-19 06:36:45 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 46
PRs with All Checks Green 4
READY 3
FAILING 46
PENDING 0
NO CHECKS YET 0

These columns do not partition: 3 + 46 + 0 + 0 = 49, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=88b8cb73ceda != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag enabled auto-merge (squash) October 19, 2026 06:53
@gHashTag
gHashTag merged commit 90e7976 into master Oct 19, 2026
33 of 36 checks passed
gHashTag added a commit that referenced this pull request Oct 19, 2026
) (#10913)

* ledger(t27b): rows for six specs master carries unlisted, max_not_pass 129 -> 130 (Closes #10912)

As the steward applies UNLISTED (specs/tri/t27b/ledger_steward.t27): four pass rows (mos_psp103_50c_data, sar_adc, sar_comparator_psp, tri/worktrees/reap) and two blocked rows, ExprCall(undeclared fn), reason unimplemented (eval_hslm, ngram_hslm -- the same blocker hslm_corpus already carries). Verdicts are the UNLISTED lines of the t27b runs of #10908, #10855, #10907 and #10836 on current master. Not-pass rows become 129 blocked + 1 codegen = 130, so the cap rises by one, within the two new non-pass rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ledger(t27b): drop the eval_hslm row, max_not_pass back to 129 (Closes #10912)

The PR's own t27b run reported eval_hslm.t27 STALE: on current master the reference no longer compiles it (undeclared identifier 'b3_q' after a train_hslm change), and the steward lists only what the reference passes. Five rows remain (four pass, ngram_hslm blocked); not-pass rows are 128 blocked + 1 codegen = 129, the cap master had.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eval_hslm.t27 BLOCKED after #10866: mirror the 31 b3_* speed=3 scratch arrays

1 participant