fix(tf): preserve non-PBC ASE neighbor semantics#5859
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThe change preserves open-boundary semantics for TensorFlow inference with ASE neighbor lists, separates placeholder cells from boundary cells, updates neighbor-list annotations and documentation, and adds regression tests for DeepEval and DeepDipole. ChangesNon-PBC neighbor-list inference
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Keep the original open-boundary decision separate from the identity box required by TensorFlow feeds, and let both ASE builders handle a missing cell without creating periodic ghosts. Add collected DeepPotential and DeepTensor regressions for non-periodic external neighbor-list inference. Coding-Agent: Codex Codex-Version: codex-cli 0.144.4 Model: gpt-5.6-sol Reasoning-Effort: xhigh
9212126 to
f75ab0b
Compare
| for actual, expected in zip(actual_full, expected_full, strict=True): | ||
| np.testing.assert_almost_equal(actual, expected, default_places) | ||
| finally: | ||
| native.close() |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5859 +/- ##
==========================================
- Coverage 78.58% 76.90% -1.68%
==========================================
Files 1050 1050
Lines 120637 120615 -22
Branches 4356 4347 -9
==========================================
- Hits 94801 92758 -2043
- Misses 24278 26509 +2231
+ Partials 1558 1348 -210 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Possible reviewers based on changed lines, exact file history, and exact-file review history:
No review request was made automatically. Coding agent: Codex |
Closes #5668.
Summary
Why existing tests missed this
Validation
Coding agent: Codex
Codex version: codex-cli 0.144.4
Model: gpt-5.6-sol
Reasoning effort: xhigh
Summary by CodeRabbit
Bug Fixes
None/boundary semantics.Tests