Skip to content

Tweak the IdentityVerificationReport#9072

Merged
jmhooper merged 3 commits intomainfrom
jmhooper-tweak-idv-report
Aug 23, 2023
Merged

Tweak the IdentityVerificationReport#9072
jmhooper merged 3 commits intomainfrom
jmhooper-tweak-idv-report

Conversation

@jmhooper
Copy link
Contributor

This commit makes a few small changes to the identity verification report:

  1. Allow the report to be run without an issuer
  2. Change the GPO verification counter to filter users who still new fraud review or in-person proofing
  3. Change the final resolution event to filter users who still new fraud review, in-person, or GPO. Previously this used "deactivation_reason" which is not deprecated

Copy link
Contributor

Choose a reason for hiding this comment

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

should we drop a comment in analytics_events.rb near this event? along the lines of "if changing these properties, please update identity_verification_report.rb` too maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there prior art for this kind of comment? I don't want to develop a new pattern if one exists. I didn't see anything but anaytics_events.rb is huge.

Copy link
Contributor

Choose a reason for hiding this comment

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

no not really, I was just trying to think of a way we could catch (or at least warn about) these kinds of changes that could risk breaking analytics, because we can't quite write specs for it.

don't worry about inventing a new pattern

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I dug through yards tags and found @see. I threw up a PR with that included a reference to the query method here.

@zachmargolis zachmargolis requested a review from a team August 23, 2023 17:08
This commit makes a few small changes to the identity verification report:

1. Allow the report to be run without an issuer
2. Change the GPO verification counter to filter users who still new fraud review or in-person proofing
3. Change the final resolution event to filter users who still new fraud review, in-person, or GPO. Previously this used "deactivation_reason" which is not deprecated

[skip changelog]
@jmhooper jmhooper force-pushed the jmhooper-tweak-idv-report branch from 0840ff6 to 084ad7e Compare August 23, 2023 17:34
# @param [Boolean] gpo_verification_pending Profile is awaiting gpo verificaiton
# @param [Boolean] in_person_verification_pending Profile is awaiting in person verificaiton
# @param [Idv::ProofingComponentsLogging] proofing_components User's current proofing components
# @see Reporting::IdentityVerificationReport#query This event is used by the identity verification report.
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️ thx!!

@jmhooper jmhooper merged commit 54284ee into main Aug 23, 2023
@jmhooper jmhooper deleted the jmhooper-tweak-idv-report branch August 23, 2023 19:30
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.

2 participants