Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shuyangli
Copy link
Member

@shuyangli shuyangli commented Dec 18, 2025

  • Created a new /internal/workflow-evaluations/run-statistics endpoint that returns aggregated statistics for workflow evaluation runs
  • Moved Wilson confidence interval calculation from evaluations to a new statistics module in tensorzero-core

Important

Add /internal/workflow-evaluations/run-statistics endpoint and refactor Wilson confidence interval calculation into statistics_util.rs.

  • Behavior:
    • Added /internal/workflow-evaluations/run-statistics endpoint for aggregated workflow evaluation run statistics.
    • Supports optional filtering by metric_name.
  • Refactoring:
    • Moved wilson_confint and related functions to statistics_util.rs.
    • Updated imports in evaluations/src/lib.rs and evaluations/src/stats.rs to use new statistics_util module.
  • Models:
    • Added WorkflowEvaluationRunStatisticsRow and WorkflowEvaluationRunStatisticsRaw structs in workflow_evaluation_queries.rs.
    • Added TypeScript types WorkflowEvaluationRunStatistics and GetWorkflowEvaluationRunStatisticsResponse.
  • Tests:
    • Added tests for new endpoint in get_run_statistics.rs and workflow_evaluation_queries.rs.
    • Updated e2e tests in workflow_evaluation_queries.rs to cover new functionality.
  • UI:
    • Updated UI components to use new endpoint for displaying evaluation statistics.

This description was created by Ellipsis for 2f4cd03. You can customize this summary. It will automatically update as commits are pushed.

@shuyangli shuyangli force-pushed the sl/migrate-get-workflow-evaluation-runs-by-ids branch from 7dfe530 to a52ec9f Compare December 18, 2025 17:36
@shuyangli shuyangli mentioned this pull request Dec 18, 2025
52 tasks
Base automatically changed from sl/migrate-get-workflow-evaluation-runs-by-ids to main December 18, 2025 21:42
@shuyangli shuyangli changed the title [Stacked] Migrate getWorkflowEvaluationRunStatisticsByMetricName Migrate getWorkflowEvaluationRunStatisticsByMetricName Dec 18, 2025
@shuyangli shuyangli force-pushed the sl/migrate-get-workflow-evaluation-run-statistics-by-metric-name branch from b461e77 to e25e8f2 Compare December 18, 2025 22:03
@shuyangli shuyangli force-pushed the sl/migrate-get-workflow-evaluation-run-statistics-by-metric-name branch 5 times, most recently from 06a5f95 to 09e134e Compare December 18, 2025 23:10
@shuyangli shuyangli marked this pull request as ready for review December 18, 2025 23:12
Move stats computation into tensorzero-core
@shuyangli shuyangli force-pushed the sl/migrate-get-workflow-evaluation-run-statistics-by-metric-name branch from 09e134e to 2f4cd03 Compare December 18, 2025 23:23
@shuyangli shuyangli requested a review from virajmehta December 18, 2025 23:24
Copy link
Member Author

/merge-queue

@github-actions
Copy link
Contributor

🚀 Merge queue workflow triggered!

View the run: https://github.com/tensorzero/tensorzero/actions/runs/20354465719

Copy link
Member

@virajmehta virajmehta left a comment

Choose a reason for hiding this comment

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

LGTM

@virajmehta virajmehta assigned shuyangli and unassigned virajmehta Dec 19, 2025
@virajmehta virajmehta added this pull request to the merge queue Dec 19, 2025
Merged via the queue into main with commit 9372b95 Dec 19, 2025
61 checks passed
@virajmehta virajmehta deleted the sl/migrate-get-workflow-evaluation-run-statistics-by-metric-name branch December 19, 2025 16:08
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