Skip to content

Claude/debug ni complex shape ewrvu#96

Merged
HenriqueCSJ merged 2 commits into
mainfrom
claude/debug-ni-complex-shape-Ewrvu
Feb 5, 2026
Merged

Claude/debug ni complex shape ewrvu#96
HenriqueCSJ merged 2 commits into
mainfrom
claude/debug-ni-complex-shape-Ewrvu

Conversation

@HenriqueCSJ

Copy link
Copy Markdown
Owner

No description provided.

The Kabsch algorithm minimizes RMSD but CShM uses overlap maximization.
For near-perfect matches (CShM < 1), this subtle difference caused a
~16% discrepancy between Q-Shape (0.228) and SHAPE v2.1 (0.197) for
octahedral complexes.

Added local refinement after Kabsch in exhaustivePermutationSearch()
that performs gradient-free optimization to maximize overlap. This
closes the gap and achieves perfect parity with SHAPE for all tested
CN=6 geometries.

https://claude.ai/code/session_019kQeTerQbpoMJGtNGCMfju
Additional test files created during the investigation of the OC-6
CShM discrepancy. These tests help verify normalization, overlap
calculations, and rotation optimization for octahedral complexes.

https://claude.ai/code/session_019kQeTerQbpoMJGtNGCMfju
@HenriqueCSJ HenriqueCSJ merged commit ab09395 into main Feb 5, 2026
1 of 3 checks passed
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.

2 participants