openml / openml/OpenML

JSON API: Return integers and floats unquoted

Open
#1,041 0 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

The JSON API partly provides values as strings, although they probably should be numbers. Some examples:

Is there a way to get these values without the quotes? This blows up the client code with type conversions.

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 comparing the JSON returned by the data, data/list, data/qualities, data/features, and task API endpoints named in the issue. Locate the PHP handlers and serialization path for these endpoints, then verify that integer and floating-point fields are emitted as JSON numbers without quotes across the affected responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.