Skip to content
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

LG-12553: A/B Test for 10-digit IdV OTP #10480

Merged
merged 18 commits into from
May 6, 2024

Conversation

solipet
Copy link
Contributor

@solipet solipet commented Apr 22, 2024

🎫 Ticket

Link to the relevant ticket:
LG-12553

🛠 Summary of changes

This PR sets up an A/B test where one group gets the current six
alphanumeric character OTP, and the other group gets the new ten numeric
digit OTP under test.

The test bucket they are put in is logged in all IdV events.

@solipet solipet force-pushed the dprice-lg-12553-ab-test-10-digit-otp branch 2 times, most recently from 7b56441 to 4f0ba13 Compare April 29, 2024 20:24
@solipet solipet requested review from zachmargolis and a team April 29, 2024 21:09
config/application.yml.default Outdated Show resolved Hide resolved
Copy link
Member

@matthinz matthinz left a comment

Choose a reason for hiding this comment

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

I just noticed that the phone call text references "your 6-character Login.gov one-time code," which I think needs to be "your 10-digit Login.gov one-time code"

<speak> 
<prosody rate='slow'> 
Hello! Your 6-character Login.gov one-time code is, 
9 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> 
9 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> . 
Your one-time code is, 
9 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> 
9 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> . 
Again, your one-time code is 
9 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
0 <break time='0.5s' /> 
1 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> 
9 <break time='0.5s' /> 
8 <break time='0.5s' /> 
0 <break time='0.5s' /> . 
This code expires in 10 minutes. 
</prosody> 
</speak>

I am assuming these messages are localized, but am not totally sure. I would say we should either change "6-character" to "10-digit" here or remove the "6-character" altogether

@matthinz
Copy link
Member

Also, I'm getting a front end error trying to submit the code:

Screenshot 2024-04-30 at 10 25 22 AM

@mitchellhenke
Copy link
Contributor

I just noticed that the phone call text references "your 6-character Login.gov one-time code," which I think needs to be
I am assuming these messages are localized, but am not totally sure. I would say we should either change "6-character" to "10-digit" here or remove the "6-character" altogether

It is, yep:

voice: Hello! Your 6-%{format_type} %{app_name} one-time code is, %{code}. Your
one-time code is, %{code}. Again, your one-time code is %{code}. This
code expires in %{expiration} minutes.

@solipet
Copy link
Contributor Author

solipet commented Apr 30, 2024

I just noticed that the phone call text references "your 6-character Login.gov one-time code," which I think needs to be "your 10-digit Login.gov one-time code"

Great catch! updated in 4ca6cba

@solipet solipet force-pushed the dprice-lg-12553-ab-test-10-digit-otp branch from 9f973dd to b8d4d4c Compare May 1, 2024 17:57
@solipet solipet requested a review from matthinz May 1, 2024 19:13
Copy link
Member

@matthinz matthinz left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@solipet solipet merged commit 95035dd into main May 6, 2024
2 checks passed
@solipet solipet deleted the dprice-lg-12553-ab-test-10-digit-otp branch May 6, 2024 20:15
@solipet solipet mentioned this pull request May 7, 2024
jmdembe pushed a commit that referenced this pull request May 7, 2024
* LG-12553: A/B Test for 10-digit IdV OTP

This PR sets up an A/B test where one group gets the current six
alphanumeric character OTP, and the other group gets the new ten numeric
digit OTP under test.

The test bucket they are put in is logged in most IdV events.

changelog: User-Facing Improvements, Identity Verification, A/B test to try out 10-digit voice OTP for Identity Verification
jmhooper added a commit that referenced this pull request May 23, 2024
In #10480 we added an A/B test that made voice OTPs 10-digits for IdV users for some percentage of users. This was to test whether a 10-digit numeric code sees more success than a 6-digit alphanumeric code.

This included a change to the message for the voice OTP since the message includes the length, e.g. "Your 10-digit Login.gov one time code is 1234567890". The translation for the 10-digit code was erroneously applied to 6-digit codes when auth users chose voice calls to confirm phones during sign up. This commit fixes that issue.

[skip changelog]
jmhooper added a commit that referenced this pull request May 23, 2024
…auth (#10694)

In #10480 we added an A/B test that made voice OTPs 10-digits for IdV users for some percentage of users. This was to test whether a 10-digit numeric code sees more success than a 6-digit alphanumeric code.

This included a change to the message for the voice OTP since the message includes the length, e.g. "Your 10-digit Login.gov one time code is 1234567890". The translation for the 10-digit code was erroneously applied to 6-digit codes when auth users chose voice calls to confirm phones during sign up. This commit fixes that issue.

[skip changelog]
mitchellhenke pushed a commit that referenced this pull request May 28, 2024
…auth (#10694)

In #10480 we added an A/B test that made voice OTPs 10-digits for IdV users for some percentage of users. This was to test whether a 10-digit numeric code sees more success than a 6-digit alphanumeric code.

This included a change to the message for the voice OTP since the message includes the length, e.g. "Your 10-digit Login.gov one time code is 1234567890". The translation for the 10-digit code was erroneously applied to 6-digit codes when auth users chose voice calls to confirm phones during sign up. This commit fixes that issue.

[skip changelog]
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.

None yet

4 participants