Skip to content

Conversation

@PGijsbers
Copy link
Collaborator

Closes #1013.

@PGijsbers PGijsbers requested a review from mfeurer December 21, 2020 13:48
Also moved the test to OpenMLRun, since it mainly tests the OpenMLRun
behavior, not a function from openml.runs.functions.
@mfeurer
Copy link
Collaborator

mfeurer commented Dec 21, 2020

Hey, I think the changes are good, but it's really hard to tell given the massive amount of failing unit tests. We have fixed most of them in PR #1000, but it would be great if you could check the changes in _api_calls.py. We can then merge it and you could rebase this one so the tests are more indicative of whether the changes actually work?

@PGijsbers
Copy link
Collaborator Author

I noticed description_text is also not stored, will add.

@PGijsbers
Copy link
Collaborator Author

@PGijsbers
Copy link
Collaborator Author

Oops. Looks like description_text relates to the arff description. Adding run_details separately.

@PGijsbers PGijsbers requested a review from mfeurer March 24, 2021 12:58
Long pipelines (e.g. gridsearches) could lead to too long setup strings.
This prevented run uploads.
Also add mypy ignores for old errors which weren't yet vetted by mypy.
@PGijsbers
Copy link
Collaborator Author

@mfeurer I think it's done now. Updated the progress log so it doesn't need a separate PR. The extension.py file apparently hadn't been made mypy compliant yet, so I had to add some ignores (I wasn't sure why the attributes weren't recognized, but I don't have time to sort that out right now- I hope that's ok).

@mfeurer mfeurer merged commit bd8ae14 into develop Mar 25, 2021
@mfeurer mfeurer deleted the fix_1013 branch March 25, 2021 20:55
github-actions bot pushed a commit that referenced this pull request Mar 25, 2021
PGijsbers added a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
* Test setup_string is stored and retrievable

* Add setup_string to run dictionary representation

* Add fix to release notes

* Test setup_string in xml without roundtrip

Also moved the test to OpenMLRun, since it mainly tests the OpenMLRun
behavior, not a function from openml.runs.functions.

* Serialize run_details

* Update with merged PRs since 11.0

* Prepare for run_details being provided by the server

* Remove pipeline code from setup_string

Long pipelines (e.g. gridsearches) could lead to too long setup strings.
This prevented run uploads.
Also add mypy ignores for old errors which weren't yet vetted by mypy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setup_string of Run is not saved

3 participants