Assessment: Include input columns in results
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Is your feature request related to a problem?
The assessment results sheet currently shows only the output columns for runs with more than 100 rows, leaving out the submission's input columns. This omission prevents reviewers from understanding the basis for the scores given.
Describe the solution you'd like
- Frontend-only approach: Use the existing endpoint with
include_signed_url=Trueto fetch and parse the full file from S3, eliminating the row limit without backend changes. - Backend solution: Modify the backend to include full source rows in
items[].inputon the assessment results, allowing for direct data joining. - Increase the limit: Change the endpoint validation to allow more than 100 rows, although this alters the intended design of the preview endpoint.
Option 2 is preferred for durability; option 1 offers a quick frontend fix.
Acceptance
- Source columns for a run of 1000 rows are displayed in the results sheet and CSV download.
- Source columns appear before output columns.
- Pre-filter-rejected rows show source columns with their verdicts.
- No 422 errors when accessing results for any run size.
Original issue
Problem
The assessment results sheet shows only the columns a run produced. The submission's own columns — including the ones the config never mapped — are absent, so a reviewer cannot see the input a score was given for.
PR #285 joins the submission's rows back onto the results by row_index, but it can only do so for runs of 100 rows or fewer.
Why 100
GET /api/v1/assessment/datasets/{dataset_id} validates limit_rows with ge=1, le=100:
Anything above the cap returns 422. The endpoint is a preview by design — it downloads and parses the whole file from S3 on each call, which is what the cap protects.
PR #285 adds no cap of its own — it requests exactly the run's row count so that this endpoint stays the single place the ceiling lives, and raising le= needs no matching frontend change. Until that happens, a run above 100 rows 422s and silently joins nothing: no error, no source columns, just the output-only sheet we have today.
Options
- Signed URL, frontend-only. The same endpoint already serves
include_signed_url=True. The frontend fetches the file from S3 and parses it with thexlsxdependency already inpackage.json. No cap, no backend change. Needs CORS on the bucket to allow browser reads, and pulls the xlsx bundle onto the results route. - Backend returns the full source row in
items[].inputon the assessment results. Cleanest — the join happens where the data already is, and the frontend keeps doing what it does now. Backend work. - Raise
le=100. One line, and with no frontend cap in the way it takes effect immediately. It does turn a deliberately bounded preview endpoint into a bulk-data one, so it is a stopgap rather than the end state.
Option 2 is the most durable; option 1 unblocks the frontend without backend changes.
Acceptance
- A run of 1000 rows shows its source columns in the results sheet and the CSV download
- Source columns come before the run's output columns
- Pre-filter-rejected rows still show their source columns alongside the verdict
- No 422 in the network log when opening results for a run of any size
Notes
Column ordering is handled separately in PR #285 — output columns now follow the config's output_schema order rather than a first-seen union across rows, which is why they used to shuffle between runs.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 19 giờ 4 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ProjectTech4DevAI/kaapi-frontend
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ProjectTech4DevAI/kaapi-frontend#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ProjectTech4DevAI/kaapi-frontend#266 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ProjectTech4DevAI/kaapi-frontend#261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ProjectTech4DevAI/kaapi-frontend#258 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ProjectTech4DevAI/kaapi-frontend#274 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ProjectTech4DevAI/kaapi-frontend
Issue tương tự
-
Add: PRO TV Chisinau SDĐang mởcheck:failed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
iptv-org/iptv#53974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
interledger/rafiki#3986 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Doist/todoist-cli#576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Suggestion: document (or optionally add) a cheaper-model config for find-skills on Claude CodeĐang mởfeature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
vercel-labs/skills#2370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug supabase/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày