Skip to content

closure/ -> examples/: keep the working applications, drop studies and archive - #10

Merged
OmarAlterkait merged 1 commit into
mainfrom
pr/examples
Nov 23, 2026
Merged

OmarAlterkait merged 1 commit into
mainfrom
pr/examples

Conversation

@OmarAlterkait

Copy link
Copy Markdown
Collaborator

Keeps the muon, segments and MCS applications, with outputs going to a git-ignored directory, and drops closure/archive and old studies (still in git history). Adds tests/test_examples.py.

…d archive

Kept (all run on current main; measured on A100, see examples/README.md):
- muon: track fit (run.py), detector-parameter gradient check (detector_surfaces.py),
  event display, 3D render.
- segments: whole-event point-charge reconstruction (run.py), convergence check.
- mcs: forward model + physics, staged fit (run.py), multi-seed, event display,
  forward-model and wire-sensitivity checks; FINDINGS kept as the record.
Dropped: closure/archive (226 files incl. a vendored old tools/ copy), loss-choice
and hyperparameter studies, superseded or broken scripts, tracked PNGs.

Fixes needed to run them:
- outputs go to examples/<name>/outputs/ (git-ignored) or $JAXTPC_EXAMPLES_OUT,
  instead of overwriting tracked files next to the scripts;
- segments: clamp max_reloc to the segment count (crashed for n_seg < 1000);
- muon event_display: current visualize_wire_signals API (sparse=, SimConfig);
- include_noise -> include_intrinsic_noise.

tests/test_examples.py: MCS forward-model checks by default; end-to-end runs with
JAXTPC_SLOW_TESTS=1 (5/5 pass on A100, ~14 min).
@OmarAlterkait
OmarAlterkait merged commit 5eac1cb into main Nov 23, 2026
8 checks passed
@OmarAlterkait
OmarAlterkait deleted the pr/examples branch November 24, 2026 07:50
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.

1 participant