Repository navigation
Name the three moonshot P4 tests after their workstream - #122
Merged
Merged
Conversation
tests/test_check_admission.py, test_validate_p4_ab.py and test_output_probe.py test scripts in experiments/moonshot/, but their names did not say so, unlike test_moonshot_levers.py and the state_safety and repair tests. Rename them to test_moonshot_*.py. Nothing in the tree, the paper or an unmerged branch refers to the old names; test_gdn_exact_replay.py keeps its name because the paper's evidence register and evidence/moonshot/README.md cite it.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
Verdict: APPROVE Review of the exact head c6d5b69 ("Name the three moonshot P4 tests after their workstream").
|
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the repository organization pass (top level,
scripts/,src/,tests/and friends).Three tests of the moonshot P4 scripts had names that did not say which code they test:
tests/test_check_admission.pytests/test_moonshot_check_admission.pyexperiments/moonshot/check_admission.pytests/test_validate_p4_ab.pytests/test_moonshot_validate_p4_ab.pyexperiments/moonshot/validate_p4_ab.pytests/test_output_probe.pytests/test_moonshot_output_probe.pyexperiments/moonshot/output_probe.py,logit_probe.pyTests of experiment code are otherwise named after the experiment (
test_moonshot_levers.py,test_state_safety_*.py,test_repair_*.py,test_head_geometry_bounds.py), so these now follow suit. The files are renamed without content changes (git shows R100).Left alone on purpose:
tests/test_gdn_exact_replay.py(also moonshot): the paper's evidence register (paper/sections/app_register.tex),evidence/moonshot/README.mdandengine/sglang/README.mdcite it by name.tests/test_benchmark_client.py: a file of the imported bundle, run byscripts/verify_artifact.pyand named inevidence/validation_run.json.test_bench_harness.py,test_drafter_tools.py,test_gpu_startup_lock.py,test_hostgap_plan.py, the certified-head tests).load()helper repeated intest_repair_p9.py,test_repair_stage_a.pyandtest_drafter_tools.py: the third copy is on an unmerged branch, and a shared helper would save little.Checks:
git grepfinds no reference to the old names onmain, inpaper/, or in the diff of any unmerged branch, and the local moonshot worktrees have no edits to these tests.pytest -qon CPU at this head: 249 passed, 15 skipped.pre-commit run --fileson the three files passes (ruff, mypy, codespell, host-identity guard).