Add SCC convergence diagnostics and benchmark - #369
Conversation
|
This advisory review plan was generated from changed file names using trusted base-branch code. DeePTB PR Review Plan / DeePTB PR 审查计划Risk / 风险等级: Medium (中) · Changed files / 变更文件: 9 Why / 风险来源
Recommended Review / 建议审查重点
Detailed risk areas
Human review focus
Local commands and hold conditionsSuggested local commands:
Hold conditions:
Advisory only. / 仅作为审查辅助。 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe PR adds SCC iteration diagnostics, a Carbon BCC convergence scanner and documentation, a primitive-cell example structure, a Silicon tight-binding configuration, and a ChangesSCC convergence workflow
Silicon model configuration
Repository ignore rule
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to The PR adds SCC convergence diagnostics and benchmark tooling with no actionable merge-blocking correctness, runtime, or deployment risk; it is merge-ready after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant CLI
participant run_case
participant SKSCC
participant Output
CLI->>run_case: scan configuration
run_case->>SKSCC: run SCC calculation
SKSCC-->>run_case: energy and residual diagnostics
run_case->>run_case: compare energy with denser mesh
run_case-->>Output: table or JSON results
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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 |
Summary
SKSCCValidation
uv run pytest -q dptb/tests/test_dftb_scc.py -k reset_clears_stateuv run python examples/dftb_scc/carbon_bcc_scc_convergence/run.py --scan spacing --spacings 0.20 0.10 0.05 --dry-runSummary by CodeRabbit
New Features
Bug Fixes
Documentation