hydro-dev / hydro-dev/Hydro

[建议] hack 功能支持直接上传 std

Open
#1,002 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7k
Forks
476
Avg merge
15h 48m
Merged PRs (30d)
3

Description

现有 hack 功能必须把 std 嵌进 checker,导致 checker 需要同时有两套东西可读性非常差,而且很麻烦。如果支持类似自动生成数据的方式,上传 std 和数据就能生成 ans 直接和选手输出比较会好很多。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing hack workflow and how the checker currently reads embedded std, generated data, and contestant output. Define the upload and answer-generation flow first; done means a hack can accept std and data separately, generate ans, and compare it with the contestant output without embedding std in the checker.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.