[codex] Avoid torch for PE rebuild import and help#191
Open
anth-volk wants to merge 1 commit into
Open
Conversation
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.
Fixes #146
Summary
microplex_uspackage root resolve convenience exports lazily, including the previously eagermicroplex.targetsand validation/geography-facing exports.build_policyengine_us_data_rebuild_checkpoint_parser()so--helpexits before stage/runtime execution imports are needed.Validation
uv run --no-sync ruff check src/microplex_us/__init__.py src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/test_package_imports.pyuv run --no-sync pytest -q tests/test_package_imports.py tests/pipelines/test_pe_us_data_rebuild_checkpoint.py-> 28 passeduv run --no-sync python -m py_compile src/microplex_us/__init__.py src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/test_package_imports.pyuv run --no-sync python -m microplex_us.pipelines.pe_us_data_rebuild_checkpoint --helpNotes
_load_runtime_symbols()design and keeps existing checkpoint monkeypatch seams working via lazy wrapper functions..gitnexusindex files were visible in this worktree, so I used targetedrgcaller/import checks plusgit diff --checkfor the impact/scope fallback.