Join GitHub today
Added StochasticProcess and DiscreteMarkovChain #16981
References to other Issues or PRs
Brief description of what is fixed or changed
Following are the references for the additions,
Your release notes are in good order.
Here is what the release notes will look like:
This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5.
Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it.
Click here to see the pull request description that was parsed.
The release notes on the wiki have been updated.
@@ Coverage Diff @@ ## master #16981 +/- ## ============================================= + Coverage 73.959% 74.108% +0.148% ============================================= Files 620 622 +2 Lines 160407 160741 +334 Branches 37637 37724 +87 ============================================= + Hits 118637 119123 +486 + Misses 36293 36187 -106 + Partials 5477 5431 -46
This was referenced
Jun 12, 2019
Can you in upcoming PRs please increase the code coverage of this? Much of the non-covered code is exceptions (use
After trying to increase coverage in other parts of the code I can tell that it is not always easy for someone that has not written the code to reach all parts of the code (not even exceptions), and after a few iterations of other persons improving the code, some code (and exceptions) may be unreachable, which is even harder to confirm if there are not original tests for it.
@oscargus Is there any way to run the codecov locally? I am unable to find them at https://docs.sympy.org/latest/modules/utilities/runtests.html
I do it with pytest like this:
$ pytest --cov=sympy.solvers.ode --cov-report=html sympy/solvers/tests/test_ode.py -m 'not slow'
That runs the not slow tests in test_ode.py and reports coverage for the ode module. The results in html are in a folder called htmlcov: open htmlcov/index.py in a web browser.
You need to pip install pytest, coverage and possibly pytest-cov first.