Skip to content

Notebook as part of RTD build process#212

Merged
jeremyliweishih merged 37 commits intomasterfrom
rtd_build
Nov 18, 2019
Merged

Notebook as part of RTD build process#212
jeremyliweishih merged 37 commits intomasterfrom
rtd_build

Conversation

@jeremyliweishih
Copy link
Copy Markdown
Collaborator

@jeremyliweishih jeremyliweishih commented Nov 14, 2019

Running notebooks as part of build and made following changes for build time:

Sampled down Fraud demo to 2500 rows.
Made Explore Search Results only search 5 rows.

Can check here:
https://evalml.featurelabs.com/en/rtd_build/
https://readthedocs.com/projects/feature-labs-inc-evalml/builds/

Example CircleCI build:
https://app.circleci.com/jobs/github/FeatureLabs/evalml/4664

@jeremyliweishih jeremyliweishih changed the title Rtd build Notebook as part of RTD build process Nov 14, 2019
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 14, 2019

Codecov Report

Merging #212 into master will decrease coverage by 0.11%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
- Coverage   96.68%   96.56%   -0.12%     
==========================================
  Files          92       92              
  Lines        2411     2416       +5     
==========================================
+ Hits         2331     2333       +2     
- Misses         80       83       +3
Impacted Files Coverage Δ
evalml/demos/fraud.py 100% <100%> (ø) ⬆️
evalml/tests/demo_tests/test_datasets.py 100% <100%> (ø) ⬆️
evalml/preprocessing/utils.py 82.05% <50%> (-6.84%) ⬇️

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 16b0f83...c4af65d. Read the comment docs.

Comment thread docs/source/conf.py Outdated
Comment thread docs/source/demos/fraud.ipynb Outdated
Comment thread docs/source/demos/fraud.ipynb Outdated
Comment thread docs/source/conf.py
Copy link
Copy Markdown
Contributor

@kmax12 kmax12 left a comment

Choose a reason for hiding this comment

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

just one comment. maybe get a second opinion to make sure it's all set up correctly and catching problems when there is documentation build errors?

Comment thread evalml/preprocessing/utils.py Outdated
@jeremyliweishih
Copy link
Copy Markdown
Collaborator Author

Need to install graphviz after master update.

Comment thread evalml/demos/fraud.py Outdated
Copy link
Copy Markdown
Contributor

@angela97lin angela97lin left a comment

Choose a reason for hiding this comment

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

Minor things I was wondering about but otherwise LGTM :)

Comment thread .circleci/config.yml
- install_dependencies
- run: sudo apt update && sudo apt install -y pandoc && sudo apt install -y graphviz
- run: source test_python/bin/activate ; make -C docs/ html
- run: ls docs/build/html
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since I don't know much about rtd: is it necessary to have this line? Will we not catch errors if make fails?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Just to make sure. Usually sphinx exits with code 0 even though it didn't build anything.

Comment thread .circleci/config.yml
- checkout
- install_dependencies
- run: sudo apt update && sudo apt install -y pandoc && sudo apt install -y graphviz
- run: source test_python/bin/activate ; make -C docs/ html
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would it be helpful to make sure we're removing all old files first? (that is, call make clean or equivalent)?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Since it's a clean box the old files shouldn't exist.

@jeremyliweishih jeremyliweishih merged commit 9503827 into master Nov 18, 2019
@angela97lin angela97lin mentioned this pull request Nov 18, 2019
@dsherry dsherry deleted the rtd_build branch May 26, 2020 21:07
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.

3 participants