Skip to content

Improve compare#22

Merged
johannes-moegerle merged 5 commits into
pairinteraction:mainfrom
johannes-moegerle:improve-compare
May 20, 2026
Merged

Improve compare#22
johannes-moegerle merged 5 commits into
pairinteraction:mainfrom
johannes-moegerle:improve-compare

Conversation

@johannes-moegerle
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the local comparison tooling (states + matrix elements) and adjusts dependency metadata related to comparison/mypy extras.

Changes:

  • Updates tools/compare/* scripts for MQDT-oriented comparisons (paths, index columns, tolerances, verbosity controls).
  • Removes the comparison extra dependencies from the locked rydstate metadata and updates provided extras accordingly.
  • Removes a mypy ignore in Wigner table generation and pins the mypy pre-commit rydstate dependency.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
uv.lock Removes comparison extra deps and drops comparison from provides-extras; adds typing-extensions for mypy.
tools/compare/compare_states.py Adjusts MQDT indexing/rounding, tolerances, and verbosity behavior for state-table comparisons.
tools/compare/compare_matrix_elements.py Updates MQDT index columns and default comparison ranges for matrix elements.
src/generate_database_sqdt/generate_misc.py Drops a type: ignore on a calc_wigner_3j_with_symmetries call.
.pre-commit-config.yaml Pins mypy hook’s rydstate dependency version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/compare/compare_states.py Outdated
Comment thread tools/compare/compare_states.py Outdated
Comment thread tools/compare/compare_states.py
@johannes-moegerle johannes-moegerle merged commit 551c99e into pairinteraction:main May 20, 2026
9 checks passed
@johannes-moegerle johannes-moegerle deleted the improve-compare branch May 20, 2026 13:32
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