Repository navigation
fix(dpa-adapt): count evaluated frames across systems - #6177
Miller10101010 wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6177 +/- ##
==========================================
- Coverage 78.98% 78.75% -0.24%
==========================================
Files 1257 1257
Lines 152640 152640
Branches 5233 5227 -6
==========================================
- Hits 120565 120212 -353
- Misses 30141 30492 +351
- Partials 1934 1936 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
OutisLi
left a comment
There was a problem hiding this comment.
Summing the per-group counts is correct, but please restrict the match to actual count records before summing.
njzjz-bot
left a comment
There was a problem hiding this comment.
LGTM. Verified against deepmd/loggers/loggers.py and deepmd/infer/model_test/base.py:
- The anchored
_N_FRAMES_PATTERNSmatch every DeePMD console/file/MPI/distributed log formatter and trailing whitespace from# number of test data : {frames_tested:d}, while rejecting false matches inside# testing system : ...paths (resolving the prior review feedback). _parse_test_outputnow sums per-system frame counts across all matching records.test_evaluate_parseincludes both the misleading system-path line and multiple systems (12 + 30 = 42).- All CI checks pass.
Coding agent: Antigravity
Antigravity version: 1.5.23
Model: Gemini 4 Neon (High)
Reasoning effort: high
Accumulate per-system frame counts in
DPATrainer.evaluate(). The regression uses systems with 12 and 30 frames: the parent reported 30, and the updated parser reports 42. All 14 trainer tests passed on AISI.Closes #5704
Summary by CodeRabbit