[Feature Request] Add checkbox to enable overwritting existing problems on upload
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7k
- Forks
- 476
- Avg merge
- 15h 48m
- Merged PRs (30d)
- 3
Description
When I edit a problem locally and upload the updated .zip to Hydro, the system assigns a new PID if that PID already exists. I can't delete the old problem to reuse the PID because it would result in the loss of historical submission records.
It would be highly appreciated if we could add a checkbox (e.g., "Overwrite when PID exists") to the upload interface. This would allow users to update existing problems without breaking the link to past submissions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing the upload interface and the PID-assignment path for an uploaded .zip, then determine how an existing problem is identified. Done means a user can opt into overwriting an existing PID while preserving historical submission records, with the default behavior unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100