Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
No issues found across 2 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.
View guided diff | Re-trigger cubic
CompRhys
reviewed
Nov 18, 2026
Signed-off-by: Ziming Wang <zimingwang945@gmail.com>
This branch has not been deployed
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.
November 16 mainline integration
The November 16 revision
6cff69e48cfeincludesmain@e3edf1bb995cthrough a normal merge. The new mainline contribution rules are included and the trajectory/reporting implementation remains unchanged.The November 16 merge did not rerun the runtime or device checks.
Summary
In-memory reporting currently runs every property calculator before filtering its returned values by frequency. Stateful calculators therefore consume off-grid simulation states. With a real LJ/NVE trajectory, frequency 3 and a VACF window of 4, the returned window counts at steps 0, 3, 6 and 9 are
[0, 1, 1, 2], and the expected counts are[0, 0, 0, 1]. The in-memory path also dropsforce=True, so an off-grid forced report returns empty properties.Check which systems are due before invoking each calculator. The public
report(force=True)keyword passesbypass_cadence=Trueto the private batched path. A calculator runs once on the complete batch when any system is due, then its results are selected by each system's step.force=Truereturns all enabled properties, and frequency 0 remains disabled.The batched fast path from #441 remains in place with no
SimState.split()or calculator cloning. Partially due batches keep their existing single whole-batch callback semantics, and this change doesn't add independent per-system sampling clocks. File writing, append/truncation handling and the VACF algorithm stay unchanged.Verification
On
745a79152eb7(main@869fb7103961), all five reporter cadence cases passed on Linux with PyTorch 2.14.1+cpu. They include an off-grid forced report and a file-backed VACF comparison.Earlier macOS checks
mainatb219bd037e290fda16f6bf867f805057f9f77870and pass with this patch. They exercise real LJ/NVE integration, stateful VACF, single and multiple systems, file output and readback, partial cadence, forced output and disabled calculators.1.11e-16, with window counts[[0,0], [0,0], [0,0], [1,1]].[0, 3, 6, 9, 10]. Callback traces cover multiple frequencies and scalar, per-system and per-atom outputs, with zero state splitting.git diff --checkpass.Execution used macOS CPU, Python 3.12.14 and PyTorch 2.14.1. CUDA and the remaining platform/minimum-dependency matrix remain unrun. Three existing PyTables unclosed-file warnings also occur on the original revision, and the new scenarios close their files through
ExitStack.Checklist