Skip to content

fix: update EvalGet test fixture for code grader validation#197

Merged
spboyer merged 1 commit into
mainfrom
fix/coverage-test-fixtures-grader-config
Apr 21, 2026
Merged

fix: update EvalGet test fixture for code grader validation#197
spboyer merged 1 commit into
mainfrom
fix/coverage-test-fixtures-grader-config

Conversation

@spboyer
Copy link
Copy Markdown
Member

@spboyer spboyer commented Apr 21, 2026

Follow-up to #195. The TestHandler_EvalGet_Success fixture had a code grader without config. Added config.assertions to satisfy the new validation.

Copilot AI review requested due to automatic review settings April 21, 2026 15:20
@github-actions github-actions Bot enabled auto-merge (squash) April 21, 2026 15:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the eval.get JSON-RPC handler test fixture to satisfy the newer grader-config validation added in PR #195 by providing required config.assertions for a type: code grader.

Changes:

  • Add config.assertions to the type: code grader in TestHandler_EvalGet_Success fixture YAML.
Show a summary per file
File Description
internal/jsonrpc/handlers_test.go Updates eval.yaml test fixture to include required code-grader config assertions so spec loading/validation succeeds.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread internal/jsonrpc/handlers_test.go Outdated
Replace placeholder assertion with 'len(output) > 0' which is valid
Python syntax for the inline script grader eval_wrapper.py.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@spboyer spboyer force-pushed the fix/coverage-test-fixtures-grader-config branch from de9303b to e996290 Compare April 21, 2026 15:27
@spboyer spboyer merged commit f9c575c into main Apr 21, 2026
6 checks passed
@spboyer spboyer deleted the fix/coverage-test-fixtures-grader-config branch April 21, 2026 21:03
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.

2 participants