syntax check of predictions
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
When uploading a run the XML file is validated against the spec, however, the predictions file is not. Even uploading a file of a different format (maybe by accident) succeeds, and a run ID is assigned. I propose to add a simple syntax check, e.g., validating the ARFF header.
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
The issue names no file or test. Start by locating the run-upload path and the existing XML-spec validation, then inspect how prediction files are accepted; done means an invalid or non-ARFF prediction upload is rejected before a run ID is assigned while a valid file still uploads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100