Skip to content

pdep: namespace PES loop artifacts - #216

Merged
alongd merged 1 commit into
mainfrom
i041-m2-shape-debts
Oct 1, 2026
Merged

alongd merged 1 commit into
mainfrom
i041-m2-shape-debts

Conversation

@alongd

@alongd alongd commented Sep 29, 2026

Copy link
Copy Markdown
Member

Summary

  • namespace standalone PES round artifacts by seed network ID
  • expose cumulative QM channel and artifact carry maps on PESLoopResult
  • preserve legacy un-namespaced path resolution and add regression coverage

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.

@codecov-commenter

codecov-commenter commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.67%. Comparing base (a6973b6) to head (1bb0ab0).

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     
Flag Coverage Δ
unittests 81.67% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unvalidated network IDs can escape the project directory when constructing round paths.

Review effort: Balanced
Findings: 1 High severity

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 thread t3/pdep/pes_rounds.py
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
alongd force-pushed the i041-m2-shape-debts branch from c379953 to 1bb0ab0 Compare September 30, 2026 04:54
@alongd
alongd merged commit 1e0b41a into main Oct 1, 2026
4 checks passed
@alongd
alongd deleted the i041-m2-shape-debts branch October 1, 2026 03:57
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.

3 participants