openml / openml/OpenML

syntax check of predictions

Open
#266 7 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.