rafaelschlatter / pipedesign-api

A prediction API hosted on Azure app service, continuously integrated & deployed.
http://pipedesign.azurewebsites.net/
MIT License
0 stars 0 forks source link

General improvements #22

Closed rafaelschlatter closed 5 years ago

rafaelschlatter commented 5 years ago

-Return proper status codes in case of errors -Unified behaviour of blobhandler functions -Unified structure of api requests code -Added some unit tests

codecov-io commented 5 years ago

Codecov Report

Merging #22 into master will decrease coverage by 0.35%. The diff coverage is 89.79%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   95.88%   95.53%   -0.36%     
==========================================
  Files          18       18              
  Lines         389      403      +14     
==========================================
+ Hits          373      385      +12     
- Misses         16       18       +2
Impacted Files Coverage Δ
tests/apis/test_prediction.py 100% <ø> (ø) :arrow_up:
tests/apis/test_pipedesign.py 100% <100%> (ø) :arrow_up:
tests/apis/test_ml_model.py 100% <100%> (ø) :arrow_up:
tests/infrastructure/test_blobhandler.py 100% <100%> (ø) :arrow_up:
tests/ml/test_preprocessor.py 100% <100%> (ø) :arrow_up:
src/infrastructure/blobhandler.py 95.83% <100%> (ø) :arrow_up:
tests/ml/test_model.py 100% <100%> (ø) :arrow_up:
src/apis/prediction.py 82.85% <42.85%> (-4.65%) :arrow_down:
src/apis/pipedesign.py 72% <60%> (-0.73%) :arrow_down:
src/apis/ml_model.py 96.22% <91.66%> (+2.6%) :arrow_up:

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 14d9022...0baa8c5. Read the comment docs.