Skip to content

Implement token usage and latency comparison charts in eval Reporter#15

Merged
AmineAfia merged 1 commit intomainfrom
amine/evalsreporte
Oct 24, 2025
Merged

Implement token usage and latency comparison charts in eval Reporter#15
AmineAfia merged 1 commit intomainfrom
amine/evalsreporte

Conversation

@AmineAfia
Copy link
Owner

  • Added a new createBarChart function for generating horizontal bar charts to visualize token usage and latency.
  • Updated the Reporter class to display token usage and latency comparisons when multiple executors are present.
  • Enhanced TestRunner and PromptWithTests to aggregate token usage data across tests and include it in the final results.
  • Improved error handling in VercelAIExecutor for usage extraction, supporting both new and legacy formats.

- Added a new `createBarChart` function for generating horizontal bar charts to visualize token usage and latency.
- Updated the `Reporter` class to display token usage and latency comparisons when multiple executors are present.
- Enhanced `TestRunner` and `PromptWithTests` to aggregate token usage data across tests and include it in the final results.
- Improved error handling in `VercelAIExecutor` for usage extraction, supporting both new and legacy formats.
@AmineAfia AmineAfia merged commit 86cd0bb into main Oct 24, 2025
1 check passed
@AmineAfia AmineAfia deleted the amine/evalsreporte branch October 24, 2025 09:03
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.

1 participant