Repository navigation
Conversation
|
Update (2026-09-28): Both this PR and Dream PR #413 are now ready for review. The full local Futrell and corrected SyntaxGym evaluations have completed, with the scores and scientific boundaries in each PR description. The independent integration, plugin unit-test, and documentation checks are green. Both PRs still fail at Could a maintainer make the submission workflow fork-aware or advise an approved manual route for these two ready PRs? I will treat the scores as local benchmark results until the official scoring jobs and website publication are verified. Follow-up: I opened the minimal workflow fix in PR #414. Its |
The PR validator can report success after timeout when required statuses never arrive, because it excludes missing results from the final check. Require explicit success for all four contexts and reject results if the PR head changes during validation. Run the status validator for fork plugin submissions using trusted base code and a read-only token. Keep label writes restricted to eligible non-fork web submissions, and make the Actions job fail when validation fails. Accept the polling options already used by the metadata workflow. Validation: 31 focused tests passed, including absent statuses, pending results, failures, changed heads, and existing Jenkins trigger behavior. Workflow YAML structure and git diff checks passed. Read-only checks of #412 and #413 matched their current successful status contexts. Checkpoint tests and official benchmark execution remain separate from this status validator.
Live verification after #441 merged found that #412 and #413 execute the new validation job but load the old helper from their original base SHA, 97a086a. That revision predates the fail-closed validator, so green validation jobs do not verify the deployed repair. Check out the current base branch explicitly from the upstream repository instead of the PR event's original base SHA. Keep the checkout read-only and separate from the contributor's submitted head. Log the validation-code SHA alongside the submitted SHA so future verification can confirm both. Validation: 31 focused tests passed; workflow YAML and trusted checkout fields verified; git diff checks passed. Runtime changes are limited to the workflow checkout and its documentation; a local Git regression test covers the source-selection boundary. Model code, benchmark behavior, Jenkins build-state policy, and account handling are unchanged. Verification evidence: - LLaDA: https://github.com/brain-score/language/actions/runs/42520523395/job/128853266652 - Dream: https://github.com/brain-score/language/actions/runs/42520525641/job/128853325777 Both logs show checkout of 97a086a while checking the correct submitted head. After merge, rerun the label-triggered workflow and confirm that the helper checkout includes #441 and that the validator reports current status contexts with head_matches=true. ## Regression proof before merge Added a test that reads the actual workflow YAML and performs checkouts in isolated local Git repositories. The upstream repository has an old base commit and a current validator commit. A separate fork replaces the helper with code that raises if executed. The PR event retains the old base SHA. - With the #441 workflow: 3 tests fail and 1 passes. The checkout selects obsolete code, and missing-status/new-head safeguards are absent. - With the #442 workflow: all 35 focused tests pass, including the four checkout integration tests. - The selected helper accepts complete statuses only for the submitted fork SHA, rejects missing statuses and a changed head, and never executes the fork helper. - No network, GitHub, Jenkins, or AWS calls occur in this regression. - actionlint 1.7.12 reports 16 existing findings on both workflow versions; this change introduces none. These existing lint findings are not claimed as resolved. After CI executes the new regression, review the change before merge. For the final live check, first confirm that each PR merge ref contains the new workflow, then trigger one run and require the logs to identify the current trusted helper SHA and the correct submitted head SHA. A skipped validator or an old helper SHA is a failed verification, regardless of the workflow's overall green status.
Summary
Adds
reading_timesto the existingllada-8b-baseplugin so it can run Futrell2018 and SyntaxGym. The published layer-24 neural readout is unchanged.Scoring contract
The adapter tokenizes the visible prefix independently, then scores each new subtoken left to right with one appended mask. It sums surprisal in bits, skips empty SyntaxGym regions in subsequent context, and uses a window of 4,095 observed tokens plus the mask. The pinned checkpoint's
last_logits_onlypath computes only the mask output.next_wordis outside this PR's scope. The returned surprisal is a reading-time proxy.Validation
1e-4.r = 0.245143, ceiling-normalized0.285700) and SyntaxGym over 31 suites (mean0.683732, or0.673190across the 30 suites shown on the public leaderboard). Official behavioral scoring is pending.Run the plugin tests with
pytest -q brainscore_language/models/llada8b/test.py -m 'not memory_intense'. The plugin README documents the checkpoint revision andLLADA_MODEL_PATHfor checkpoint-based runs.Review
The diff is limited to
models/llada8b. The fork checkout fix landed separately in #414, and change detection passed. The main review question is whether the fixed one-mask policy is appropriate for the platform'sreading_timesinterface.Two edge cases remain in the current head: a combined neural/behavioral call can share context metadata even when punctuation normalization differs, and overlength neural input can be truncated. Fixes and regression checks have been validated locally and are separate from the results above.
AI assistance: Codex assisted with implementation, test preparation, and the PR description. The checks above were run on the submitted adapter.