Skip to content
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

Added paper code examples as tests #123

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

mbohlkeschneider
Copy link
Contributor

Added paper code examples from the arxiv paper as tests. If these break, we need to update the arxiv paper code examples. One caveat is that the tests do not pull and run electricity because it takes too long. So if this line changes, the example would still break. But we should be able to catch a lot of other API changes this way.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@szha
Copy link
Member

szha commented Jun 18, 2019

Job PR-123/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-123/1/index.html

lostella
lostella previously approved these changes Jun 18, 2019
aalexandrov
aalexandrov previously approved these changes Jun 18, 2019
)


def test_arxiv_example():

Choose a reason for hiding this comment

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

The names are a bit misleading. It's probably better to have something like test_listing_1 and test_appendix_c.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, the icml and arxiv listings 1 are the same, but I guess we cannot update the ICML paper anyway once the proceedings a published. Renamed.

@szha
Copy link
Member

szha commented Jun 19, 2019

Job PR-123/2 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-123/2/index.html

@codecov-io
Copy link

codecov-io commented Jun 19, 2019

Codecov Report

Merging #123 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   79.05%   79.01%   -0.04%     
==========================================
  Files         110      110              
  Lines        6301     6305       +4     
==========================================
+ Hits         4981     4982       +1     
- Misses       1320     1323       +3
Impacted Files Coverage Δ
src/gluonts/dataset/artificial/_base.py 32.08% <0%> (-0.09%) ⬇️

@mbohlkeschneider mbohlkeschneider merged commit 6c5621a into awslabs:master Jun 19, 2019
@mbohlkeschneider mbohlkeschneider deleted the development branch November 27, 2019 08:39
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.

5 participants