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

Add formatting for GenAi-PA report #491

Merged
merged 7 commits into from
Mar 7, 2024
Merged

Conversation

dyastremsky
Copy link
Contributor

@dyastremsky dyastremsky commented Mar 6, 2024

This pull request formats the printed metrics produced by GenAi-PA. While we only have two metrics so far, it aims to future-proof metrics so that there is less work as new metrics are added.

Note that the below output seems to be wrong (the number of seconds is too high). This pull request is only focused on formatting. The computation will either be in a separate ticket or be added here later, if the team decides that is easier.

Output:
image

@dyastremsky dyastremsky changed the title Format output of GenAi-PA statistics Add formatting for GenAi-PA report Mar 6, 2024
@dyastremsky
Copy link
Contributor Author

@rmccorm4 @debermudez

Updated to this format based on the discussion above and some offline discussion. We may remove some of the percentile columns if we decide to optionally output the data to a file:
image


console = Console()
console.print(table)

field_stats = {}
Copy link
Contributor

Choose a reason for hiding this comment

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

is field_stats used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching this! I missed some of the old implementation code. It should be cleaner now. :)

@dyastremsky dyastremsky merged commit 2c1c130 into feature-genai-pa Mar 7, 2024
3 checks passed
@dyastremsky dyastremsky deleted the dyas-pretty-print branch March 7, 2024 01:12
Copy link
Contributor

@rmccorm4 rmccorm4 left a comment

Choose a reason for hiding this comment

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

Nice work! 🚀

debermudez pushed a commit that referenced this pull request Mar 12, 2024
debermudez pushed a commit that referenced this pull request Mar 13, 2024
mc-nv pushed a commit that referenced this pull request Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants