Skip to content

LG-15394 Add tooling for an SP proofing events by UUID report#11787

Merged
jmhooper merged 9 commits intomainfrom
jmhooper-dol-uuid-matrix-report
Jan 28, 2025
Merged

LG-15394 Add tooling for an SP proofing events by UUID report#11787
jmhooper merged 9 commits intomainfrom
jmhooper-dol-uuid-matrix-report

Conversation

@jmhooper
Copy link
Copy Markdown
Contributor

We have an agency partner who requested a specialized report the involves a table with columns representing proofing events and rows representing users for the partner where the values in each cell correspond to whether that user encountered that event in the given time period. We have been manually servicing this request for a little while. This commit adds tooling to generate this report automatically so it does not require manual processing.

This commit does not add the report to the job schedule with the intention being to test it first before scheduling it to run automatically.

We have an agency partner who requested a specialized report the involves a table with columns representing proofing events and rows representing users for the partner where the values in each cell correspond to whether that user encountered that event in the given time period. We have been manually servicing this request for a little while. This commit adds tooling to generate this report automatically so it does not require manual processing.

This commit does not add the report to the job schedule with the intention being to test it first before scheduling it to run automatically.

[skip changelog]
@jmhooper jmhooper requested review from a team January 22, 2025 21:41
Copy link
Copy Markdown
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 (but strongly encourage doing a batch lookup of UUIDs)

Comment on lines +151 to +152
next if agency_uuid.nil?
[agency_uuid, *row_data]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this will leave out deleted users, right? should we put like some sort of deleted placeholder?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe that for this report we are okay leaving out deleted users.

Copy link
Copy Markdown
Contributor

@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

@jmhooper jmhooper merged commit c7de123 into main Jan 28, 2025
@jmhooper jmhooper deleted the jmhooper-dol-uuid-matrix-report branch January 28, 2025 20:11
n1zyy pushed a commit that referenced this pull request Jan 31, 2025
We have an agency partner who requested a specialized report the involves a table with columns representing proofing events and rows representing users for the partner where the values in each cell correspond to whether that user encountered that event in the given time period. We have been manually servicing this request for a little while. This commit adds tooling to generate this report automatically so it does not require manual processing.

[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.

3 participants