8000 Add test for compare method standard error sorting consistency by uzairgheewala · Pull Request #2407 · arviz-devs/arviz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add test for compare method standard error sorting consistency #2407

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

Merged
merged 4 commits into from
May 27, 2025

Conversation

uzairgheewala
Copy link
Contributor
@uzairgheewala uzairgheewala commented Jan 12, 2025

Description

This PR adds a test to verify that standard errors maintain their proper association with models in the compare method's output, regardless of input order.

The problem of standard errors not properly maintaining their association with models when the input order changed as mentioned in #2350 was resolved in issue #2351 but #2350 was left open for a test to be added to check just that.

Checklist

  • Follows official PR format
  • Includes new or updated tests to cover the new feature
  • Code style correct (follows pylint and black guidelines)
  • Changes are listed in changelog

📚 Documentation preview 📚: https://arviz--2407.org.readthedocs.build/en/2407/

@uzairgheewala
Copy link
Contributor Author

The ReadTheDocs build appears to be failing due to a documentation system error related to type hints (FilePath not defined). This seems unrelated to the test changes.

Any assistance that could be provided would be greatly appreciated.

@OriolAbril OriolAbril changed the title Add test for compare method standard error sorting consistency (#2350) Add test for compare method standard error sorting consistency May 27, 2025
Copy link
codecov bot commented May 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.82%. Comparing base (3205b82) to head (1125f9e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2407   +/-   ##
=======================================
  Coverage   86.81%   86.82%           
=======================================
  Files         124      124           
  Lines       12972    12972           
=======================================
+ Hits        11262    11263    +1     
+ Misses       1710     1709    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Copy link
Member
@OriolAbril OriolAbril left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Sorry about the very slow response both here and in your other PR

@OriolAbril OriolAbril merged commit 1d8c010 into arviz-devs:main May 27, 2025
12 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.

standard error does not get properly sorted in result of compare method
2 participants
0