Skip to content

Conversation

@mfeurer
Copy link
Collaborator

@mfeurer mfeurer commented Mar 14, 2018

No description provided.

@codecov-io
Copy link

codecov-io commented Mar 14, 2018

Codecov Report

Merging #421 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #421   +/-   ##
========================================
  Coverage    89.37%   89.37%           
========================================
  Files           32       32           
  Lines         2683     2683           
========================================
  Hits          2398     2398           
  Misses         285      285

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5058e1d...8642c04. Read the comment docs.

@mfeurer mfeurer assigned janvanrijn and unassigned janvanrijn Mar 28, 2018
@mfeurer mfeurer requested a review from janvanrijn March 28, 2018 16:04
Copy link
Member

@janvanrijn janvanrijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool Unit test, very useful

def test_Figure1a(self):
"""Test listing in Figure 1a on a single task and the old OpenML100 study

import openml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you sure want to copy the code into the comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the original code from the listing which is a bit different from the actual code of the unit test. So yes, I want this code there. I'll add a sentence about this.

run.publish() # publish the experiment on OpenML (optional)
print('URL for run: %s/run/%d' %(openml.config.server,run.run_id))
"""
import openml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be possible to somehow load this from the appropriate (paper) repo? Or don't you want these dependencies? Or should we add this test actually there?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to avoid such dependencies such that users can run unit tests locally without having to install such dependencies which will most likely never make it to pypi.

@mfeurer mfeurer merged commit 5b701bb into develop Mar 29, 2018
@mfeurer mfeurer deleted the test/study_examples branch March 29, 2018 08:18
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.

4 participants