Skip to content

Add autogrder, review score, exports to qualified table - #150

Merged
rk234 merged 1 commit into
mainfrom
review-qol
Aug 8, 2026
Merged

rk234 merged 1 commit into
mainfrom
review-qol

Conversation

@rk234

@rk234 rk234 commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Added an AUTOGRADER column to the Board Interviews dashboard, showing the highest grading score as a percentage.
    • Added CSV export for interview dashboard data, with role-specific filenames.
    • Added average review and best autograder scores to qualified applicant exports.
    • Exported interview scores and notes now include all submitted interviews.
  • Improvements

    • Missing grading scores are displayed as “-” for clearer results.

@coderabbitai

coderabbitai Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The dashboard now retrieves review and autograder scores, adds them to qualified application rows and CSV exports, displays autograder percentages in the interviews table, and supports role-filtered table exports.

Changes

Interview scoring and export

Layer / File(s) Summary
Score retrieval and row construction
frontend/src/services/gradingService.ts, frontend/src/components/dor/QualifiedDashboard/useRows.ts
The grading service computes the highest normalized grading-job score. Qualified rows now include average review and best grading scores from concurrent data requests.
Flattened row and CSV shaping
frontend/src/components/dor/QualifiedDashboard/useRows.ts
flattenRows accepts "all", combines interview fields across submitted interviews, and adds review and autograder score columns to CSV output.
Table display and export wiring
frontend/src/components/dor/BoardInterviewsDashboard/BoardInterviewsTable.tsx
The table adds a sortable autograder percentage column and exports role-filtered rows with a role-specific filename.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  actor Reviewer
  participant BoardInterviewsTable
  participant flattenRows
  participant ExportButton

  Reviewer->>BoardInterviewsTable: Select export
  BoardInterviewsTable->>flattenRows: Flatten rows with roleFilter
  flattenRows-->>BoardInterviewsTable: Return CSV rows with score columns
  BoardInterviewsTable->>ExportButton: Provide rows and role-specific filename
  ExportButton-->>Reviewer: Download CSV
Loading

Possibly related PRs

Suggested reviewers: lanceu0128

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: autograder scores, review scores, and exports for the qualified table.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch review-qol

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 3452b98):

https://h4i-applications--pr150-review-qol-czekkdej.web.app

(expires Sat, 15 Aug 2026 20:45:30 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 22093378deab11a21f59ccd5f5596d569dc5fc0d

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@frontend/src/components/dor/QualifiedDashboard/useRows.ts`:
- Around line 96-100: The review update flow must also invalidate the qualified
rows cache so its review score data refreshes. Update useUpdateReviewData to
invalidate qualifiedRowsQueryRoot after review score or notes changes, in
addition to reviewDataQueries.detail(reviewDataId), preserving the existing
review-data invalidation.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8c31c476-e16b-4d3e-9291-00a3b9090eb8

📥 Commits

Reviewing files that changed from the base of the PR and between 60c2224 and 3452b98.

📒 Files selected for processing (3)
  • frontend/src/components/dor/BoardInterviewsDashboard/BoardInterviewsTable.tsx
  • frontend/src/components/dor/QualifiedDashboard/useRows.ts
  • frontend/src/services/gradingService.ts

@rk234
rk234 merged commit c5a297f into main Aug 8, 2026
7 checks passed
@rk234
rk234 deleted the review-qol branch August 8, 2026 20:56
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.

1 participant