-
Notifications
You must be signed in to change notification settings - Fork 166
Add count of users passing fraud review to Identity Verification Report #9251
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
Changes from all commits
dab0768
6914d9d
53e753a
e05ccd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ | |
| { 'user_id' => 'user3', 'name' => 'IdV: doc auth welcome submitted' }, | ||
| { 'user_id' => 'user3', 'name' => 'IdV: doc auth image upload vendor submitted', 'success' => '1' }, | ||
| { 'user_id' => 'user3', 'name' => 'IdV: final resolution', 'fraud_review_pending' => '1' }, | ||
| { 'user_id' => 'user3', 'name' => 'Fraud: Profile review passed', 'success' => '1' }, | ||
|
|
||
| # Success through address confirmation user | ||
| { 'user_id' => 'user4', 'name' => 'IdV: GPO verification submitted' }, | ||
|
|
@@ -80,10 +81,11 @@ | |
| ['Workflow completed - In-Person Pending', '1'], | ||
| ['Workflow completed - Fraud Review Pending', '1'], | ||
| [], | ||
| ['Succesfully verified', '3'], | ||
| ['Succesfully verified - Inline', '1'], | ||
| ['Succesfully verified - GPO Code Entry', '1'], | ||
| ['Succesfully verified - In Person', '1'], | ||
| ['Successfully verified', '4'], | ||
| ['Successfully verified - Inline', '1'], | ||
| ['Successfully verified - GPO Code Entry', '1'], | ||
| ['Successfully verified - In Person', '1'], | ||
| ['Successfully verified - Passed Fraud Review', '1'], | ||
| ] | ||
|
|
||
| aggregate_failures do | ||
|
|
@@ -115,6 +117,7 @@ | |
| 'IdV Reject: Doc Auth' => 3, | ||
| 'IdV Reject: Phone Finder' => 1, | ||
| 'IdV Reject: Verify' => 1, | ||
| 'Fraud: Profile review passed' => 1, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is an "event", like a literal CW event name right? so we put it up above?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the guidance. I was trying to figure out the patterns here, and adding success = 1 to the query is what I was missing.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed the code to print out the query and then tested it out in cloudwatch. Fixed one problem, thanks for the suggestion. |
||
| ) | ||
| end | ||
| end | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In CloudWatch, I see that the
Fraud: Profile review passedrows have the computed valueidentity_verifiedset to 1, so I checked whether adding thefraud_review_passedcount here will double count them. Looks likeidentity_verifiedis only used for the final_resolution event, so the code should work as is. Tests pass.