Skip to content

Rename follow-ups for #7: launcher default, placeholders, docstring - #8

Closed
jdwillard19 wants to merge 1 commit into
fix-readmefrom
fix-readme-rename-followups
Closed

jdwillard19 wants to merge 1 commit into
fix-readmefrom
fix-readme-rename-followups

Conversation

@jdwillard19

Copy link
Copy Markdown
Contributor

Description

Follow-up to #7, targeting its fix-readme branch. Covers the BaseMM_PRISM references #7 left that are user-facing rather than personal Aurora script paths:

  • tools/launch_aurora.py — the PRISM_DIR fallback was /flare/ModCon/ngetty/BaseMM_PRISM, so anyone running without a .env got another user's checkout. It now falls back to the repo the launcher lives in, the same logic tools/launch_polaris.py already uses.
  • docs/platforms/aurora_operations.md — cd /lus/flare/projects/ModCon/ngetty/PRISM (a renamed path that doesn't exist) becomes <project>/<user>/PRISM.
  • tests/test_scits_fix_static.py — docstring tokenizer path now matches the model configs renamed in Replacing BaseMM_PRISM with PRISM  #7.
  • tools/launch_polaris.py comment rename; docs/platforms/running_on_polaris.md layout comment realigned after the shorter name.
  • tools/ci/site_path_allowlist.json — regenerated with check_site_paths.py --write; the two removed hardcoded paths tripped the ratchet.

Left intentionally: per-user Aurora script/experiment paths (tools/*.sh, tools/isoflop_*.py, experiments/*.yaml), NOTICE (points at a real BaseMM_PRISM issue), tests/test_site_path_gate.py (detector test input), and tools/make_release_snapshot.sh.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Documentation update
  • Infrastructure, CI, or tooling

Compatibility

  • src.* import paths
  • the prism CLI surface
  • Hydra config keys
  • checkpoint keys
  • launcher flags
  • None of the above

The launcher's default PRISM_DIR changes only when .env has no PRISM_DIR; no flags change.

Testing

ruff check clean; tests/test_scits_fix_static.py, test_site_path_gate.py, test_site_paths.py, test_docs_consistency.py, test_launch_unified.py, test_launch_common.py — 83 passed locally.

🤖 Generated with Claude Code

- launch_aurora.py: default PRISM_DIR falls back to the launcher's own
  checkout (as launch_polaris.py does) instead of a hardcoded user path
  under BaseMM_PRISM.
- aurora_operations.md: replace a real user's checkout path with a
  <project>/<user> placeholder.
- test_scits_fix_static.py: docstring tokenizer path matches the renamed
  model configs.
- launch_polaris.py: comment rename; running_on_polaris.md: realign the
  layout comment column.
- Regenerate the site-path allowlist (two hardcoded paths removed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jdwillard19
jdwillard19 requested a review from a team as a code owner October 14, 2026 18:32
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