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

TuringLang / AbstractMCMC.jl / 11179606134

04 Oct 2024 12:06PM UTC coverage: 94.413% (-2.8%) from 97.239%
11179606134

push

github

web-flow
Addition of `step_warmup` (#117)

* added step_warmup which is can be overloaded when convenient

* added step_warmup to docs

* Update src/interface.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* introduce new kwarg `num_warmup` to `sample` which uses `step_warmup`

* updated docs

* allow combination of discard_initial and num_warmup

* added docstring for mcmcsample

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Update src/sample.jl

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* removed docstring and deferred description of keyword arguments to the docs

* Update src/sample.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/sample.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* added num_warmup to common keyword arguments docs

* also allow step_warmup for the initial step

* simplify logic for discarding fffinitial samples

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* also report progress for the discarded samples

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* move progress-report to end of for-loop for discard samples

* move step_warmup to the inner while loops too

* Update src/sample.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* reverted to for-loop

* Update src/sample.jl

Co-authored-by: github-actions[bot] <41898282+githu... (continued)

42 of 53 new or added lines in 2 files covered. (79.25%)

338 of 358 relevant lines covered (94.41%)

3992310.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.0
/src/interface.jl


Source Not Available

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