Skip to content
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

testing conceptual prior violations #70

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AlexanderFengler
Copy link
Collaborator

No description provided.

Copy link

@Copilot 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.

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • src/cssm.pyx: Language not supported
Comments suppressed due to low confidence (2)

tests/test_simulator.py:142

  • The variable name 'raised_val_error' is incorrect. It should be 'raised_value_error'.
raised_val_error = 1

tests/test_simulator.py:81

  • The new fixture 'sim_input_data_violate_bounds' is not covered by any tests that check for successful runs when parameters are within logical bounds.
return data

value > config["param_bounds_logical"][key][1]
):
raise ValueError(
f"Parameter {key} is violates conceptual bounds for the simulator. "
Copy link
Preview

Copilot AI Jan 31, 2025

Choose a reason for hiding this comment

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

Typo in the error message string. The word 'is' should be removed.

Suggested change
f"Parameter {key} is violates conceptual bounds for the simulator. "
f"Parameter {key} violates conceptual bounds for the simulator. "

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
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