openml / openml/OpenML

Why are NoResult responses errors?

Open
#1,100 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

There are error codes for each entity to indicate no results are found for a query (e.g. for flows). I was wondering why the choice was made to work with error codes here instead of an empty list?

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 reading the linked flows example in openml_OS/views/pages/api_new/v1/xml/pre.php and inspect how the API represents no-result responses for each entity. The issue does not define a requested behavior or acceptance criteria, so a maintainer decision about error codes versus empty lists is needed before implementation can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.