Repository navigation
Conversation
git mv every entry of catalogue/migration_day_zero.json whose new path differs from its old one (1,384 files): mirrored cells, history/scans/ experiments, results/lens/<component>, results/misc/<group>, archive/ and results/notes ledgers -> wiki/campaigns/<dataset_type>/<variant>/. The 23 unresolved rows (setup axis not recorded) stay where they are. No file content changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HhogiUPH3y6uuAVz17P89B
…PR 2) - scripts/misc/tooling/apply_migration_map.py: the re-runnable applier that made the previous commit (--apply: sha-checked git mv of every map entry; --rewrite-refs: map-driven reference rewrite, used by the next commit). - results/README.md: the mirrored layout and the old-prefix -> new-location redirect table. - A pointer README in each emptied results/ top-level folder (runtime/ and breakdown/ keep the 23 unresolved rows), and archive/README.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HhogiUPH3y6uuAVz17P89B
…PR 2) Path adaptation only; no result file changes bytes and the catalogue keeps profiling-summary@2 (the @3 builder is PR 3). - results_layout.py: readers see a moved file under its pre-move identity (iter_legacy / legacy_glob / current, from the day-zero map) and link it where it lives now. build_catalogue (+ archive/**/*.json source), build_dashboard, build_readme, check_wiki (ledgers under wiki/campaigns), check_results_layout (ledger trees, results/ + archive/), list_timing_assertions and the committed-row tests read through it. Generated dashboard/ and wiki/setups/ change in path strings only (and the shard digests that hash them); setup and record ids are unchanged. - Writers: _profile_cli.resolve_output_paths places a run whose default folder is results/runtime|breakdown in its mirrored cell with the map generator's own classification (build_migration_map.destination, facts_from_doc), using the result dict as hints at 52 call sites; an explicit --output-dir is honoured verbatim. Misc-group writers point at results/misc/<group>/. - Indexes (map-driven): provenance_grandfathered.txt, registry.json references and evidence paths, wiki_bindings.json; baseline/campaign.json re-pins the draft inventory hash of the changed registry. - Docs: apply_migration_map.py --rewrite-refs repoints every literal old path and relative markdown link (wiki/, READMEs, hpc/ comments); four links that were already broken in the moved ledgers fixed by hand. - Tests: test_results_mirror_scripts.py (results variants are a subset of scripts variants; script-only variants reported), test_apply_migration_map.py, nested-ledger check_wiki case, archive provenance case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HhogiUPH3y6uuAVz17P89B
Contributor
Author
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.
PR 2 of 6 for #442 (likelihood-lifecycle 0B): applies the day-zero migration map merged in #444.
DRAFT — hold until #441 merges. #441 edits
results/notes/cluster_pointsolver_campaign.mdandwiki/campaigns/cluster_pointsolver.md, both of which this PR moves. Once #441 is in:build_migration_map.pyand commit the regenerated map.apply_migration_map.py --applyand commit.--rewrite-refs.There are no live RAL jobs on a RAL checkout of this repo; the only running job, checked 2026-10-23, belongs to autolens_inference.
Commits, reviewable separately
6d4ce975— renames only. 1,384git mv, every one R100. The 23 unresolved rows stay where they are; they are the map'sunresolvedarray (8 files underresults/breakdown/{cluster,datacube}, 15 underresults/runtime/{datacube,interferometer,imaging}).c07b5c7e— docs and applier.scripts/misc/tooling/apply_migration_map.py:--applychecks each file's sha and is safe to re-run;--rewrite-refsis idempotent.results/README.mdgets the layout description and an old → new redirect table.archive/README.md.45b1cfcc— path adaptation, code and config only.results_layout.pylets readers see each moved file under its old path while linking to where it lives now.build_catalogue(which now also readsarchive/**),build_dashboard,build_readme,check_wiki,check_results_layoutandlist_timing_assertionsuse it._profile_cli.resolve_output_pathswrites default-folder runs into the mirrored cell, using the generator's owndestination(). When no cell can be derived it falls back toresults/misc/<group>/with a printed note.provenance_grandfathered.txt, the registry references and evidence paths, andwiki_bindings.json.test_results_mirror_scripts.py(the phase-0 mirror witness) andtest_apply_migration_map.py.Data guard
results/orarchive/data file changed bytes.wiki/campaigns/show R88–R99 only because their links were rewritten.dashboard/andwiki/setups/were regenerated: compared against main after swapping old paths for new, only path strings and the path-derived shard sha256 values differ.profiling-summary@2(the move to @3 is PR 3).Writers not adapted yet (PR 3)
These still write the old layout:
--output-dir:sweep.py→aggregate.py,build_baseline.py, and the HPC submits that setRESULTS_DIR=…/results/breakdown/….point_source_imageruntime scripts,cluster/oracle_figure.py, and thefixed_light_numba_*_witness.pyscripts.size_sweep_table.py,fixed_light_scaling_table.pyandnnls_iterations_matrix.py.hazards/aggregate.pytoo: 3 of its inputs are archived, so a re-run would drop them.Review asks
baseline/campaign.json(still a draft) pins the sha ofcatalogue/registry.json, which changed (new paths plus the archive glob). It has been re-pinned; please confirm.results_layout.pystays until PR 3. Until then, runs written into the mirrored tree appear on the catalogue and dashboard only weakly.Checks
ruff checkandruff format --check: clean.--checkstep in lint.yml passes:build_readme,build_catalogue --validate-with ../PyAutoPulse,check_wiki,build_dashboard,check_results_layout,check_submitsandlist_timing_assertions.Tier: judge, so this merges through human
/prm.🤖 Generated with Claude Code
https://claude.ai/code/session_01HhogiUPH3y6uuAVz17P89B