Skip to content

Add parameterhandler.hash #2077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add parameterhandler.hash #2077

wants to merge 3 commits into from

Conversation

j-wags
Copy link
Member

@j-wags j-wags commented Jun 23, 2025

Note: This doesn't strip out cosmetic attributes or attempt to distinguish between physically meaningful changes and cosmetic ones. This really just hashes all the ParameterHandler contents, and will differ if the same value is expressed in different units, or a cosmetic attribute value changes, etc. This is a pretty clearly correct design decision IMO.

Copy link

codecov bot commented Jun 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.64%. Comparing base (54f7402) to head (7ff3cc9).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@j-wags j-wags marked this pull request as draft June 23, 2025 20:24
@j-wags
Copy link
Member Author

j-wags commented Jun 23, 2025

Hmm, the hashing is VERY slow under some conditions, likely something to do with the cost of stringifying quantities.

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