openml / openml/OpenML

Possible test server dataset description schema error

Open
#721 8 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

<xs:simpleType name="casual_string1024">
<!-- Subset on xs:string. Highly restricted form of string. URL-friendly -->
<xs:restriction base="xs:string">
   <xs:pattern value="([a-zA-Z0-9_\-\.(),])+"/>
   <xs:maxLength value="1024"/>
   <xs:minLength value="1"/></xs:restriction>
</xs:simpleType>
<xs:simpleType name="casual_string128">
<!-- Subset on xs:string. Highly restricted form of string. URL-friendly -->
<xs:restriction base="xs:string">
   <xs:pattern value="([a-zA-Z0-9_\-\.(),])+"/>
   <xs:maxLength value="128"/><xs:minLength value="1"/>
   </xs:restriction>
</xs:simpleType>
<xs:simpleType name="casual_string64">
<!-- Subset on xs:string. Highly restricted form of string. URL-friendly -->
<xs:restriction base="xs:string">
   <xs:pattern value="([a-zA-Z0-9_\-\.(),])+"/>
   <xs:maxLength value="64"/>
   <xs:minLength value="1"/>
   </xs:restriction>
</xs:simpleType>

Should the ( and ) be preceded by \ since they are meta-characters used for grouping ?
I am getting a validation error while trying to upload a dataset from scikit-learn.
As an example, the license value 'BSD (from Scikit-learn)' does not pass.

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

Review the XML schema snippet in the issue and reproduce validation with the license value “BSD (from Scikit-learn)”. Check whether the pattern permits the intended parentheses and determine the schema change needed so valid dataset metadata passes validation. Done means the example license validates without weakening unrelated constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
scikit-learn, xml
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.