• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pymc-devs / pymc3 / 7844
87%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2018 11:32AM UTC
Jobs 11
Files 141
Run time 30min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7844

push

travis-ci

ColCarroll
Improve random for ObservedRV (#3036)

To generate random array for ObservedRV in sample_ppc and sample_prior_predictive a shape kwarg sometimes is needed to make sure the generated array has the same shape as the observed.
This PR improved that to make sure the shape is inferred during random number generation.
Previously I tried to add the shape attr to ObservedRV at the model creation, but turns out it breaks the sample_ppc for theano.shared observation. I try a different approach here to always reset the distribution shape at generation.

25 of 25 new or added lines in 2 files covered. (100.0%)

17304 of 19463 relevant lines covered (88.91%)

4.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7844.1 (PYTHON_VERSION=2.7 FLOATX='float32' TESTCMD="--durations=10 --ignore=pymc3/tests/test_examples.py --cov-append --ignore=pymc3/tests/test_distributions_random.py --ignore=pymc3/tests/test_variational_inference.py --ignore=pymc3/tests/test_shared.py --ignore=pymc3/tests/test_smc.py --ignore=pymc3/tests/test_updates.py --ignore=pymc3/tests/test_posteriors.py --ignore=pymc3/tests/test_sampling.py") 18 Jun 2018 11:41AM UTC 0
71.35
Travis Job 7844.1
2 7844.2 (PYTHON_VERSION=2.7 FLOATX='float32' RUN_PYLINT="true" TESTCMD="--durations=10 --cov-append pymc3/tests/test_distributions_random.py pymc3/tests/test_shared.py pymc3/tests/test_smc.py pymc3/tests/test_sampling.py") 18 Jun 2018 11:35AM UTC 0
39.54
Travis Job 7844.2
3 7844.3 (PYTHON_VERSION=2.7 FLOATX='float32' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py") 18 Jun 2018 11:32AM UTC 0
25.43
Travis Job 7844.3
4 7844.4 (PYTHON_VERSION=2.7 FLOATX='float32' TESTCMD="--durations=10 --cov-append pymc3/tests/test_variational_inference.py pymc3/tests/test_updates.py") 18 Jun 2018 11:34AM UTC 0
28.2
Travis Job 7844.4
5 7844.5 (PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --ignore=pymc3/tests/test_examples.py --cov-append --ignore=pymc3/tests/test_distributions_random.py --ignore=pymc3/tests/test_variational_inference.py --ignore=pymc3/tests/test_shared.py --ignore=pymc3/tests/test_smc.py --ignore=pymc3/tests/test_updates.py --ignore=pymc3/tests/test_posteriors.py --ignore=pymc3/tests/test_sampling.py") 18 Jun 2018 11:43AM UTC 0
72.52
Travis Job 7844.5
6 7844.6 (PYTHON_VERSION=2.7 FLOATX='float64' RUN_PYLINT="true" TESTCMD="--durations=10 --cov-append pymc3/tests/test_distributions_random.py pymc3/tests/test_shared.py pymc3/tests/test_smc.py pymc3/tests/test_sampling.py") 18 Jun 2018 11:48AM UTC 0
40.01
Travis Job 7844.6
7 7844.7 (PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py") 18 Jun 2018 11:44AM UTC 0
25.89
Travis Job 7844.7
8 7844.8 (PYTHON_VERSION=3.6 FLOATX='float64' TESTCMD="--durations=10 --cov-append --ignore=pymc3/tests/test_examples.py --ignore=pymc3/tests/test_distributions_random.py --ignore=pymc3/tests/test_variational_inference.py --ignore=pymc3/tests/test_shared.py --ignore=pymc3/tests/test_smc.py --ignore=pymc3/tests/test_updates.py --ignore=pymc3/tests/test_posteriors.py --ignore=pymc3/tests/test_sampling.py") 18 Jun 2018 11:53AM UTC 0
73.88
Travis Job 7844.8
9 7844.9 (PYTHON_VERSION=3.6 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_distributions_random.py pymc3/tests/test_shared.py pymc3/tests/test_smc.py pymc3/tests/test_sampling.py") 18 Jun 2018 12:02PM UTC 0
41.14
Travis Job 7844.9
10 7844.10 (PYTHON_VERSION=3.6 FLOATX='float64' BUILD_DOCS="true" TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py") 18 Jun 2018 11:58AM UTC 0
26.97
Travis Job 7844.10
11 7844.11 (PYTHON_VERSION=3.6 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_variational_inference.py pymc3/tests/test_updates.py") 18 Jun 2018 11:58AM UTC 0
28.21
Travis Job 7844.11
Source Files on build 7844
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7844
  • 1e5867fd on github
  • Prev Build on master (#7842)
  • Next Build on master (#7847)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc