Skip to content

LG-12295 | Adds TMX stats to DIVR#10741

Merged
n1zyy merged 3 commits intomainfrom
mattw/LG-12295_tmx_stats_in_divr
Jun 3, 2024
Merged

LG-12295 | Adds TMX stats to DIVR#10741
n1zyy merged 3 commits intomainfrom
mattw/LG-12295_tmx_stats_in_divr

Conversation

@n1zyy
Copy link
Contributor

@n1zyy n1zyy commented May 31, 2024

🎫 Ticket

Link to the relevant ticket:
LG-12295

🛠 Summary of changes

This ticket asked to add 3 things to the daily IdV report:

  1. Count of users flagged by TMX: already present as "Workflow completed - Fraud Review Pending"
  2. Users who passed fraud review: already present as "Successfully verified - Passed fraud review"
  3. Users who did not pass fraud review: added in this ticket

(As noted in the ticket, this is the same value as "IDV Rejected (Fraud)" in the MKMR.)

Open to debate is how to organize these metrics. I just added a row somewhere reasonable-looking, but we could potentially move these metrics to a separate Fraud Stats section or something?

n1zyy added 2 commits May 31, 2024 16:25
Adds "Users who did not pass fraud review" to report.

changelog: Internal, Reporting, Adds users failing fraud review to DIVR
# @param [Boolean] gpo_verification_pending Profile is awaiting gpo verificaiton
# @param [Boolean] in_person_verification_pending Profile is awaiting in person verificaiton
# @param [Boolean] gpo_verification_pending Profile is awaiting gpo verification
# @param [Boolean] in_person_verification_pending Profile is awaiting in person verification
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pet peeve change while I was poking through here. 😇

csv << ['Workflow completed - In-Person Pending', idv_final_resolution_in_person]
csv << ['Workflow completed - Fraud Review Pending', idv_final_resolution_fraud_review]
csv << []
csv << ['Users who did not pass fraud review', idv_fraud_rejected]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

idv_fraud_rejected is already present; it just wasn't included in the Daily IdV Report.

Copy link
Contributor

@zachmargolis zachmargolis May 31, 2024

Choose a reason for hiding this comment

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

"did not pass" sounds to me like it would include "fraud review pending" as well as "fraud review rejected", WDYT of making the title clearer here?

Suggested change
csv << ['Users who did not pass fraud review', idv_fraud_rejected]
csv << ['Fraud review rejected', idv_fraud_rejected]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Clearer and simpler. I love it.

@n1zyy n1zyy requested a review from a team May 31, 2024 20:33
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

csv << ['Workflow completed - In-Person Pending', idv_final_resolution_in_person]
csv << ['Workflow completed - Fraud Review Pending', idv_final_resolution_fraud_review]
csv << []
csv << ['Users who did not pass fraud review', idv_fraud_rejected]
Copy link
Contributor

@zachmargolis zachmargolis May 31, 2024

Choose a reason for hiding this comment

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

"did not pass" sounds to me like it would include "fraud review pending" as well as "fraud review rejected", WDYT of making the title clearer here?

Suggested change
csv << ['Users who did not pass fraud review', idv_fraud_rejected]
csv << ['Fraud review rejected', idv_fraud_rejected]

@n1zyy n1zyy merged commit a10bd0b into main Jun 3, 2024
@n1zyy n1zyy deleted the mattw/LG-12295_tmx_stats_in_divr branch June 3, 2024 15:14
@aduth aduth mentioned this pull request Jun 3, 2024
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