Skip to content

judge: fix submit answer subtask id#1191

Open
pandadtdyy wants to merge 1 commit into
masterfrom
submit_answer_subtask
Open

judge: fix submit answer subtask id#1191
pandadtdyy wants to merge 1 commit into
masterfrom
submit_answer_subtask

Conversation

@pandadtdyy

@pandadtdyy pandadtdyy commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes
    • Improved test result tracking by associating each result with its specific subtask.
    • Ensured judging handles subtask-specific context consistently.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5110ea36-6265-4b88-b229-8456f12ebe87

📥 Commits

Reviewing files that changed from the base of the PR and between 06640c9 and 2f57829.

📒 Files selected for processing (1)
  • packages/hydrojudge/src/judge/submit_answer.ts

Walkthrough

judgeCase now receives both the existing context and a subtask context. Its per-test result includes subtaskId, sourced from the subtask context. The judge entry point and runFlow invocation remain structurally unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 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 clearly matches the change to make submit-answer judging use the correct subtask id.
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 submit_answer_subtask

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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.

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