Skip to content

Simulation | Remove grading notes from the scenario and the report - #37

Merged
BrianGenisio merged 1 commit into
mainfrom
remove/grading-rubric
Oct 7, 2026
Merged

BrianGenisio merged 1 commit into
mainfrom
remove/grading-rubric

Conversation

@BrianGenisio

Copy link
Copy Markdown
Contributor

Summary

The simulation no longer reads a grading rubric. Session reports are transcripts only, so grading notes stay out of Cosmo, the characters, and the learner UI.

Changes

Grading used to ride along in two places: a rubric.json sidecar that npm run report pasted into the transcript, and rubricHints on the scenario. Both are gone, including the example sidecar files.

If a scenario file still has rubric or rubricHints, load drops those fields and records a warning. /api/config strips them again before the client sees the config. Agent input is unchanged: the mailbox, the character card, and systemPromptExtra.

Worth a close look in lib/scenario.js (the drop and the warning) and extract-conversations.js (report mode no longer accepts --rubric).

Test plan

  • npm test
  • Run npm run report against a session and confirm the markdown has no Rubric hints section
  • Add rubricHints to a throwaway scenario, start the server, and confirm the log says the field is ignored and GET /api/config omits it

A rubric sidecar or scenario field could be read alongside the exercise. Reports are transcripts only, and leftover grading fields are dropped before the client or agents see the config.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BrianGenisio
BrianGenisio marked this pull request as ready for review October 7, 2026 20:05
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 5d3c085f-f731-4235-b9cc-72db5039c0ef
📥 Commits

Reviewing files that changed from the base of the PR and between 98edc82 and 4eb4c8c.

📒 Files selected for processing (19)
  • PRD.md
  • README.md
  • build-plan.md
  • extract-conversations.js
  • lib/rubric.js
  • lib/scenario.js
  • rubric.example.json
  • scenario-examples/01-compose-new-outreach.rubric.json
  • scenario-examples/02-reply-vendor-negotiation.rubric.json
  • scenario-examples/03-qa-summarize-status.rubric.json
  • scenario-examples/04-simulated-recipient-support.rubric.json
  • scenario-examples/05-scripted-recipient-scheduling.rubric.json
  • scenario-examples/06-software-sales-prospecting.rubric.json
  • scenario-examples/README.md
  • server.js
  • tests/api.test.js
  • tests/extract-conversations.test.js
  • tests/rubric.test.js
  • tests/scenario.test.js
💤 Files with no reviewable changes (10)
  • scenario-examples/03-qa-summarize-status.rubric.json
  • scenario-examples/01-compose-new-outreach.rubric.json
  • scenario-examples/02-reply-vendor-negotiation.rubric.json
  • scenario-examples/04-simulated-recipient-support.rubric.json
  • tests/extract-conversations.test.js
  • rubric.example.json
  • scenario-examples/06-software-sales-prospecting.rubric.json
  • lib/rubric.js
  • tests/rubric.test.js
  • scenario-examples/05-scripted-recipient-scheduling.rubric.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.


📝 Walkthrough

Walkthrough

The project removes rubric fields from scenario configuration and client responses. The transcript extraction command no longer accepts or loads rubric files or includes rubric sections in reports. Rubric helper code, tests, example rubric files, and related setup instructions were removed or updated.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 4eb4c

No concrete merge-blocking risk is established for the rubric-removal change. The listed test outcomes remain unreported; complete the usual checks before merging.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the primary change: removing grading notes from the scenario and report.
Description check ✅ Passed The description directly explains the removal of rubric inputs, report changes, ignored legacy fields, API filtering, and the test plan.
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.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@BrianGenisio
BrianGenisio merged commit b069091 into main Oct 7, 2026
2 checks passed
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