feat(evaluation) 12/15: UI API client for the evaluation endpoints - #823
feat(evaluation) 12/15: UI API client for the evaluation endpoints#823Ahmath-Gadji wants to merge 1 commit into
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
4795624 to
def4a59
Compare
19db6af to
d624d7d
Compare
|
@coderabbitai full review |
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 56 minutes. |
def4a59 to
fb249f5
Compare
d624d7d to
b287020
Compare
fb249f5 to
b12bfc8
Compare
b287020 to
1462181
Compare
b12bfc8 to
cbaa005
Compare
1462181 to
f7a57bb
Compare
Typed wrappers over the seven `/evaluation` routes, with interfaces mirroring the response schemas one-for-one, and two things the two eval views would otherwise each define: - `isActiveStatus` / `ACTIVE_RUN_STATUSES`, so "can this run still change?" has one definition rather than a repeated status list; - `EVAL_POLL_MS`, the refetch cadence while a run is in flight. `status-badge` learns EVALUATING so a run in its promptfoo phase renders like every other in-flight status instead of falling through to the default.
cbaa005 to
a229934
Compare
f7a57bb to
3217048
Compare
Part 12 of 15 of the split of #811. Targets
eval/11-api-routes(#822). First of three UI parts: data layer → components → page.What
ui/src/lib/api/evaluation.ts— typed wrappers over the seven/evaluationroutes, with interfaces mirroring part 11's response schemas one-for-one.Notable
isActiveStatus/ACTIVE_RUN_STATUSESgives "can this run still change?" one definition instead of a status list repeated in each view, andEVAL_POLL_MSgives the poll cadence one home — both the run list and the run detail poll while a run is in flight, and they should not be able to drift apart.createEvalDatasetappendscorpusrepeatedly, which is how FastAPI readslist[UploadFile].status-badgelearnsEVALUATINGso a run in its promptfoo phase renders like every other in-flight status rather than falling through to the default styling.Testing
tsc -bclean;eslintreports only the one warning that is already ondevelop(react-hooks/exhaustive-depsin an unrelated file). No behaviour yet — nothing imports this until part 13.