Skip to content

Report update#12375

Merged
koseni123 merged 9 commits intomainfrom
irs_verification_funnel_report
Aug 8, 2025
Merged

Report update#12375
koseni123 merged 9 commits intomainfrom
irs_verification_funnel_report

Conversation

@koseni123
Copy link
Contributor

🎫 Ticket

Link to the relevant ticket:
LG-160

🛠 Summary of changes

Updated query to filter for @IdV_IAL2_Start = 1
Modified the query to be more performant by only considering max events and not sum-of-max events, using the report itself to calculate the total counts.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Step 1: Ensure spec file passes
  • Step 2: Ensure report is able to run queries and generates email
  • Step 3: ensure email sends per schedule in the config (Weekly)

👀 Screenshots


def verification_demand_results
data['IdV_IAL2_Start_User_count'].to_i || 0
fetch_event_user_ids(Events::VERIFICATION_DEMAND).count
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we executing multiple CW queries instead of doing a single query and doing counts by event? That's how the other reports utilize the CW Client

Copy link
Contributor

Choose a reason for hiding this comment

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

this may have been from my request to mimic the way you ran the demographics report @edimeo-gsa where you relied on ruby to parse out users from events for more performant cloudwatch queries.

Copy link
Contributor

Choose a reason for hiding this comment

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

but a single query to CW and then counting uuids based on event would make more sense.

@koseni123 koseni123 merged commit a7889ba into main Aug 8, 2025
1 check passed
@koseni123 koseni123 deleted the irs_verification_funnel_report branch August 8, 2025 14:41
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.

4 participants