Skip to content

Add diagnostics for intermittent vibrational regression failures#334

Closed
harryswift01 wants to merge 10 commits intomainfrom
debug-vibrational-regression
Closed

Add diagnostics for intermittent vibrational regression failures#334
harryswift01 wants to merge 10 commits intomainfrom
debug-vibrational-regression

Conversation

@harryswift01
Copy link
Copy Markdown
Member

Summary

This PR adds temporary diagnostic output to help identify the source of intermittent CI-only vibrational regression failures.

The goal is to capture the covariance matrices and eigenvalues used in failing vibrational entropy calculations so that local passing runs, CI failing runs, and CI reruns can be compared directly.

Changes

Add vibrational matrix diagnostics:

  • Dump united-atom force and torque covariance matrices during regression debug runs.
  • Use CODEENTROPY_DEBUG_REGRESSION=1 to enable diagnostic output.
  • Write debug files to CODEENTROPY_DEBUG_DIR.

Add eigenvalue diagnostics:

  • Dump vibrational entropy input matrices.
  • Dump raw eigenvalues before filtering and entropy calculation.
  • Label dumped files by matrix type.

Upload regression debug artifacts:

  • Enable regression debug mode in the PR regression job.
  • Upload regression-debug/** when regression tests fail.

Impact

  • Makes CI-only regression failures inspectable instead of relying only on final entropy mismatches.
  • Helps determine whether divergence occurs during covariance construction, eigenvalue calculation, or entropy filtering.
  • Does not intentionally change production entropy calculations.

@harryswift01 harryswift01 deleted the debug-vibrational-regression branch May 8, 2026 13:46
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.

1 participant