Repository navigation
Add standard audit support - #114
Open
GabeBlanchard wants to merge 1 commit into
Open
GabeBlanchard wants to merge 1 commit into
GabeBlanchard wants to merge 1 commit into
Conversation
Adds ScaleClient.create_standard_audit (PUT /v1/audits with type standard) and Task.create_standard_audit, which accept, reject, or fix a completed task's response. A Fixed result takes fix_response_url, the corrected response. AuditResult gains Fixed. Validation stays on the API, as for fixless audits. Standard audits take no feedback items: the API stores them only for fixless audits. Bumps version to 2.21.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Customers can already create standard audits through
PUT /v1/audits, but the SDK only exposed fixless audits. This addsScaleClient.create_standard_auditandTask.create_standard_audit, which accept, reject, or fix a completed task's response. AFixedresult takesfix_response_url, the corrected response.AuditResultgainsFixed. There's nofeedback_itemsargument because the API stores feedback items only for fixless audits. Bumps the version to 2.21.0.Validation:
tests/test_audits.pypasses (13 tests, 3 new) and the pre-commit hooks pass. Not run against the live API. The 6test_v2_client.pyfailures also happen on master: they call the live API with a dummy key.🤖 Generated with Claude Code
Confidence Score: 5/5

The PR appears safe to merge; no actionable defects were found.Summary
Adds standard audits through
ScaleClient.create_standard_auditandTask.create_standard_audit.Reviews (1) · Last reviewed commit: "Add standard audit support" · Reviewed by Greptile