You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shipping example in the README sent a phone verification time with a false verification result. The updated API reference says to send the time only when the result is true. This change removes the time from that example.
The two report transaction examples did not compile. They had no colon after the with statement and one space too many of indentation. The asynchronous example called async_client.report, but the context variable is client.
The Errors section named minfraud.HttpError. The package exports minfraud.HTTPError.
The shipping example sets the phone verification result to false.
The updated API reference says to send the verification time only
when the result is true.
STF-2488
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
The README updates the documented HTTP error class, removes shipping.phone_verification_time from a request example, and corrects the order dictionary and synchronous and asynchronous report examples.
Changes: README documentation
Layer / File(s)
Summary
Correct API examples README.rst
The documented error class changes to minfraud.HTTPError. The shipping example omits phone_verification_time, and the order dictionary has corrected indentation. The synchronous and asynchronous report examples have corrected syntax and indentation. The asynchronous example calls client.report.
This is a documentation-only change that corrects README examples and the error class name. It has no runtime impact and is safe to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "STF-2488: Fix README examples" names the main change: the PR corrects README examples. It does not name the specific fixes (removed phone verification time, syntax and indentation fixes, cl…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "STF-2488: Fix README examples" names the main change: the PR corrects README examples. It does not name the specific fixes (removed phone verification time, syntax and indentation fixes, client.report call, HTTPError class name), but the title is related to the main change and is not overly misleading. The ticket prefix is acceptable, and the title is specific enough for a teammate scanning history to see the primary change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the README page And fixes examples line by line The braces sit in proper place The calls now follow syntax fine Then hops away, contented and neat
Both examples had no colon after the `with` statement and one space
too many of indentation. The asynchronous example called
`async_client.report`, but the context variable is `client`.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
README.rst: 1
295-295: Minor · Functional Correctness · Quick win
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Use continuation prompts in the report examples.
Both examples use >>> for lines inside compound statements. A Python console uses [REDACTED] for those lines, and doctest treats each >>> as a new statement. As written, the examples fail before they call report. Replace the continuation prompts with [REDACTED] in both blocks.
Also applies to: 310-310
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: f638f476-fc01-4c5d-889f-3e9e1bc10bef
Commits
Reviewing files that changed from the base of the PR and between 9f71b26 and 8810aaf.
Files selected for processing: 1
README.rst
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This branch has not been deployed
No deployments
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
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.
Summary
falseverification result. The updated API reference says to send the time only when the result istrue. This change removes the time from that example.withstatement and one space too many of indentation. The asynchronous example calledasync_client.report, but the context variable isclient.minfraud.HttpError. The package exportsminfraud.HTTPError.STF-2488
🤖 Generated with Claude Code
Summary by CodeRabbit
shipping.phone_verification_timeand corrected the indentation of theorderdictionary.