openml / openml/OpenML

Run listing contains wrong key

Open
#961 1 comment 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

The XML returned by the list runs function contains a field uploader, but instead of the name of the uploader it contains the uploader ID.

Reproduce:

https://test.openml.org/api/v1/xml/run/list/limit/1/task/1

Output

<oml:runs>
  <oml:run>
    <oml:run_id>8151</oml:run_id>
    <oml:task_id>1</oml:task_id>
    <oml:task_type_id>1</oml:task_type_id>
    <oml:setup_id>6950</oml:setup_id>
    <oml:flow_id>24682</oml:flow_id>
    <oml:uploader>1</oml:uploader>
    <oml:upload_time>2019-03-22 14:15:53</oml:upload_time>
    <oml:error_message/>
    <oml:run_details/>
  </oml:run>
</oml:runs>

Expected Output

<oml:runs>
  <oml:run>
    <oml:run_id>8151</oml:run_id>
    <oml:task_id>1</oml:task_id>
    <oml:task_type_id>1</oml:task_type_id>
    <oml:setup_id>6950</oml:setup_id>
    <oml:flow_id>24682</oml:flow_id>
    <oml:uploader_id>1</oml:uploader_id>
    <oml:upload_time>2019-03-22 14:15:53</oml:upload_time>
    <oml:error_message/>
    <oml:run_details/>
  </oml:run>
</oml:runs>

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 run listing implementation behind /api/v1/xml/run/list/limit/1/task/1 and inspect how the uploader field is serialized. Done means the response uses uploader_id with the reported ID, matching the expected XML output; verify the endpoint response afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.