Closed kjagiello closed 7 years ago
Merging #25 into develop will increase coverage by
0.16%
. The diff coverage is93.02%
.
@@ Coverage Diff @@
## develop #25 +/- ##
===========================================
+ Coverage 87.79% 87.96% +0.16%
===========================================
Files 73 73
Lines 2417 2500 +83
Branches 125 134 +9
===========================================
+ Hits 2122 2199 +77
- Misses 277 282 +5
- Partials 18 19 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/shop/models.py | 84.07% <100%> (+0.1%) |
:white_check_mark: |
src/shop/querysets.py | 91.66% <100%> (+1.66%) |
:white_check_mark: |
src/shop/api.py | 92.15% <100%> (+2.32%) |
:white_check_mark: |
src/shop/tests/test_api.py | 100% <100%> (ø) |
:white_check_mark: |
src/shop/admin.py | 58.17% <50%> (-0.72%) |
:x: |
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 4e7bd10...ea8fa2c. Read the comment docs.
Am I wrong or do we need to take weekends into account? FooBar is namely closed during weekends and currently the system can forecast that a product will run out of stock during a weekend, which will most likely not happen. What can we do about that? @flaeppe
I think we'll leave it as it is for now and see how it performs in action, then iterate on the idea, if necessary.
Predict, based on recent sales, when a product will run out of stock.