Skip to content

Conversation

@anoto-moniz
Copy link
Collaborator

Citrine Python PR

Add support for polling via wait_while_executing to PredictorEvaluators.

PR Type:

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Maintenance (non-breaking change to assist developers)

Adherence to team decisions

  • I have added tests for 100% coverage
  • I have written Numpy-style docstrings for every method and class.
  • I have communicated the downstream consequences of the PR to others.
  • I have bumped the version in __version__.py

@anoto-moniz anoto-moniz marked this pull request as ready for review October 1, 2025 14:20
@anoto-moniz anoto-moniz requested a review from a team as a code owner October 1, 2025 14:20
kroenlein
kroenlein previously approved these changes Oct 1, 2025
Copy link
Collaborator

@kroenlein kroenlein left a comment

Choose a reason for hiding this comment

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

Version bump and testing question. Nothing really blocking.

@@ -1 +1 @@
__version__ = "3.25.0"
__version__ = "3.25.1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
__version__ = "3.25.1"
__version__ = "3.25.2"

method='GET',
path=f'/projects/{pec.project_id}/predictor-evaluations/{in_progress_response["id"]}'
)
assert (len(responses) * [expected_call]) == session.calls
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are the call counts sufficient to validate? Or should there be validation of some de-serialization behavior?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The successful deserialization of .get is confirmed elsewhere. This is primarily to ensure predictor evaluations are properly handled by wait_while_executing

@anoto-moniz anoto-moniz force-pushed the bugfix/predictor-evaluators-polling branch from f2484f8 to ec2524c Compare October 1, 2025 14:58
Copy link
Collaborator

@kroenlein kroenlein left a comment

Choose a reason for hiding this comment

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

LGTM

@anoto-moniz anoto-moniz merged commit 6931f69 into main Oct 1, 2025
72 of 82 checks passed
@anoto-moniz anoto-moniz deleted the bugfix/predictor-evaluators-polling branch October 1, 2025 17:00
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.

3 participants