Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate getEvaluationRunInfosForDatapoint to backend#5258

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shuyangli wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromsl/migrate-get-evaluation-run-infos-for-datapoint

Conversation

@shuyangli
Copy link
Member

@shuyanglishuyangli commentedDec 17, 2025
edited by ellipsis-devbot
Loading

  • Add get_evaluation_run_infos_for_datapoint to EvaluationQueries trait
  • Implement ClickHouse query using TagInference table
  • Add route handler at /internal/evaluations/datapoints/{datapoint_id}/run-infos
  • Add unit tests with mocks for handler and database layer
  • Add e2e tests for endpoint and database queries
  • Update TensorZeroClient with new method
  • Update UI route to use TensorZeroClient
  • Remove unused getEvaluationRunInfosForDatapoint from evaluations.server.ts

Important

MigrategetEvaluationRunInfosForDatapoint to backend with new ClickHouse query and API endpoint, updating UI and tests accordingly.

  • Backend:
    • Addget_evaluation_run_infos_for_datapoint toEvaluationQueries trait inevaluation_queries.rs.
    • Implement ClickHouse query usingTagInference table inevaluation_queries.rs.
    • Add route handler at/internal/evaluations/datapoints/{datapoint_id}/run-infos inget_run_infos.rs.
  • Testing:
    • Add unit tests for handler and database layer inevaluation_queries.rs andget_run_infos.rs.
    • Add e2e tests for endpoint and database queries inevaluation_queries.rs andevaluations.rs.
  • UI:
    • UpdateTensorZeroClient withgetEvaluationRunInfosForDatapoint method intensorzero.ts.
    • Update UI route to useTensorZeroClient inroute.tsx.
    • Remove unusedgetEvaluationRunInfosForDatapoint fromevaluations.server.ts.

This description was created byEllipsis for24a3f89. You cancustomize this summary. It will automatically update as commits are pushed.

ellipsis-dev[bot] reacted with rocket emoji
@shuyanglishuyangli mentioned this pull requestDec 17, 2025
53 tasks
@shuyanglishuyangliforce-pushed thesl/migrate-get-evaluation-run-infos branch fromcc7fc00 to89dd786CompareDecember 17, 2025 22:31
Base automatically changed fromsl/migrate-get-evaluation-run-infos tomainDecember 18, 2025 00:28
@shuyanglishuyangliforce-pushed thesl/migrate-get-evaluation-run-infos-for-datapoint branch from3d40705 tobfe7b2dCompareDecember 18, 2025 15:18
@shuyanglishuyangli changed the title[Stacked] Port getEvaluationRunInfosForDatapoint to backendMigrate getEvaluationRunInfosForDatapoint to backendDec 18, 2025
- Add get_evaluation_run_infos_for_datapoint to EvaluationQueries trait- Implement ClickHouse query using TagInference table- Add route handler at /internal/evaluations/datapoints/{datapoint_id}/run-infos- Add unit tests with mocks for handler and database layer- Add e2e tests for endpoint and database queries- Update TensorZeroClient with new method- Update UI route to use TensorZeroClient- Remove unused getEvaluationRunInfosForDatapoint from evaluations.server.ts
@shuyanglishuyangliforce-pushed thesl/migrate-get-evaluation-run-infos-for-datapoint branch frombfe7b2d to5188296CompareDecember 18, 2025 21:16
@shuyanglishuyangli marked this pull request as ready for reviewDecember 18, 2025 21:17
@shuyangliGraphite App
Copy link
MemberAuthor

/merge-queue

github-actions[bot] reacted with hooray emojigithub-actions[bot] reacted with rocket emojigithub-actions[bot] reacted with eyes emoji

@github-actions
Copy link
Contributor

🚀 Merge queue workflow triggered!

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

Changed the query to match the old TypeScript version:- Added function_type parameter to determine inference table (ChatInference vs JsonInference)- Query now selects from inference table instead of TagInference- CTE no longer filters by function_name- Gets evaluation_run_id from tags column instead of TagInference valueRevert get_evaluation_run_infos_for_datapoint query to old patternChanged the query to match the old TypeScript version:- Added function_type parameter (FunctionConfigType) to determine inference table- Query now selects from inference table (ChatInference/JsonInference) instead of TagInference- CTE no longer filters by function_name- Gets evaluation_run_id from tags column instead of TagInference value- Gateway computes function_type from config instead of requiring it as query param- Handler validates function exists in config before querying
@shuyanglishuyangliforce-pushed thesl/migrate-get-evaluation-run-infos-for-datapoint branch from0268678 to24a3f89CompareDecember 18, 2025 22:37
Copy link
MemberAuthor

@shuyanglishuyangli left a comment

Choose a reason for hiding this comment

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

Restored the old SQL

@shuyanglishuyangli added this pull request to themerge queueDec 18, 2025
@github-merge-queuegithub-merge-queuebot removed this pull request from themerge queue due to failed status checksDec 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Aaron1011Aaron1011Aaron1011 approved these changes

Assignees

@Aaron1011Aaron1011

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@shuyangli@Aaron1011

[8]ページ先頭

©2009-2025 Movatter.jp