Repository navigation
WIP: More extensive unit tests for run to / from xml #482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
fc008e4
run functions test: compare xml of uploaded and downloaded run
mfeurer ce0694a
Initial changes
ArlindKadra 60dc43a
Refactored the run and trace classes. Refactored functions from run/f…
ArlindKadra 36f25ea
First try at fixing unit tests
ArlindKadra 949be6d
Fixing unit tests
ArlindKadra fce97c3
Fixing failing unit tests because of the run refactoring
ArlindKadra a25036a
Arff byte object expected fix
ArlindKadra 76eb2c9
Fixing OpenMLRun does not have attribute trace_content
ArlindKadra 31b8563
Fix NoneType has no attribute ...
ArlindKadra 3e184f4
Fixing the addition of setup_string in trace
ArlindKadra 43b6b62
Fixing bug
ArlindKadra fc2ec97
Refactoring code
ArlindKadra c2bf973
Reverting changes to trace and fixing bugs
ArlindKadra a150e27
sklearn converter first attempt
janvanrijn 92cba02
Revert "sklearn converter first attempt"
mfeurer c21d16b
Merge branch 'develop' into add/#465
mfeurer f5dfda5
one step further to make this refactoring work
mfeurer 2993d10
MAINT fix non-refactored function calls
mfeurer 630ef84
fix a few unit tests
mfeurer 22d2f7b
MAINT please the style checker
mfeurer 0648d58
Merge branch 'develop' into add/#465
mfeurer bb4e25b
fix merge error
mfeurer d7a94b9
MAINT move trace generation function into trace
mfeurer 4c8bf88
MAINT please style checker
mfeurer 4903e86
improve code style
mfeurer 879dc3e
work on arlind's suggestions
mfeurer dcfbc48
FIX type error and add missing file
mfeurer 6f03812
MAINT improve style
mfeurer 41e78d5
CI fix unittests
mfeurer 4444341
MAINT work on Jan's comments
mfeurer 79887b8
MAINT improve style to please flake8
mfeurer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,26 @@ | ||
| from .run import OpenMLRun | ||
| from .trace import OpenMLRunTrace, OpenMLTraceIteration | ||
| from .functions import (run_model_on_task, run_flow_on_task, get_run, list_runs, | ||
| get_runs, get_run_trace, initialize_model_from_run, | ||
| initialize_model_from_trace) | ||
| from .functions import ( | ||
| run_model_on_task, | ||
| run_flow_on_task, | ||
| get_run, | ||
| list_runs, | ||
| get_runs, | ||
| get_run_trace, | ||
| initialize_model_from_run, | ||
| initialize_model_from_trace, | ||
| ) | ||
|
|
||
| __all__ = ['OpenMLRun', 'run_model_on_task', 'run_flow_on_task', 'get_run', | ||
| 'list_runs', 'get_runs'] | ||
| __all__ = [ | ||
| 'OpenMLRun', | ||
| 'OpenMLRunTrace', | ||
| 'OpenMLTraceIteration', | ||
| 'run_model_on_task', | ||
| 'run_flow_on_task', | ||
| 'get_run', | ||
| 'list_runs', | ||
| 'get_runs', | ||
| 'get_run_trace', | ||
| 'initialize_model_from_run', | ||
| 'initialize_model_from_trace' | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you, for the future, please format like:
This will make reviewing a lot easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, this time I just followed the 'style' from the previous implementation.