Port countTotalEvaluationRuns to gateway #5120
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added an API endpoint
/internal/evaluations/run-statsto count evaluation runs and migrated the UI to use this endpoint instead of direct ClickHouse queries.Important
Added
/internal/evaluations/run-statsendpoint to count evaluation runs, replacing direct ClickHouse queries in the UI./internal/evaluations/run-statsininternal.rsto count evaluation runs.get_evaluation_run_stats_handlerincount_runs.rs.count_total_evaluation_runs()inevaluation_queries.rsfor ClickHouse query.EvaluationQueriestrait inevaluation_queries.rs.EvaluationRunStatsResponsetype intypes.rs.countTotalEvaluationRunswithgetTensorZeroClient().countEvaluationRuns()inroute.tsxandindex.tsx.countTotalEvaluationRunsfromevaluations.server.ts.test_count_evaluation_runsinevaluations.rs.This description was created by
for 663b806. You can customize this summary. It will automatically update as commits are pushed.