pdep: namespace PES loop artifacts - #216
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #216 +/- ##
==========================================
- Coverage 81.70% 81.67% -0.03%
==========================================
Files 78 78
Lines 12740 12744 +4
Branches 2687 2688 +1
==========================================
Hits 10409 10409
- Misses 1691 1693 +2
- Partials 640 642 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unvalidated network IDs can escape the project directory when constructing round paths.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Namespaces PES-loop round artifacts by seed network ID while retaining legacy path resolution and exposing cumulative QM carry state.
Changes:
- Adds network-scoped round directories.
- Returns computed channels and QM artifact mappings.
- Updates unit and integration coverage for the new layout.
| File | Description |
|---|---|
t3/pdep/pes_rounds.py |
Adds network-scoped path resolution. |
t3/pdep/pes_loop.py |
Uses namespaced paths and exposes carry state. |
tests/test_pdep/test_pes_rounds.py |
Tests disjoint and legacy layouts. |
tests/test_pdep/test_pes_loop.py |
Updates paths and validates result fields. |
tests/test_pdep/test_pes_loop_integration.py |
Updates end-to-end path assertions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+605
to
+608
| if network_id is not None and not network_id: | ||
| raise ValueError("'network_id' must be non-empty when provided.") | ||
| root = os.path.join(project_directory, network_id, f'round_{round_index}') \ | ||
| if network_id is not None else os.path.join(project_directory, f'round_{round_index}') |
alongd
force-pushed
the
i041-m2-shape-debts
branch
from
September 30, 2026 04:54
c379953 to
1bb0ab0
Compare
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.

Summary
Verification
The local conda/ARC environment cannot collect tests: the branch and untouched base both produce 0 collected and 64 collection errors from the known NumPy/ARC binary mismatch. CI is authoritative for the full suite and verifier clauses. Direct local probes reproduced disjoint namespaced trees, carry fields, and legacy-layout manifest/artifact resolution.
No cluster submissions or quantum chemistry runs were performed.