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

TuringLang / DynamicPPL.jl / 8758276676
79%
main: 83%

Build:
Build:
LAST BUILD BRANCH: mhauru/delete-flags
DEFAULT BRANCH: main
Ran 19 Apr 2024 07:04PM UTC
Jobs 7
Files 30
Run time 1min
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

19 Apr 2024 06:48PM UTC coverage: 78.813% (-3.0%) from 81.852%
8758276676

push

github

web-flow
Added `check_model` and sub-module `DebugUtils` (#540)

* initial work on model checking

* use record_pre_tilde!, record_post_tilde!, etc. instead of just a
single record_tilde! + support for dot tilde + return issuccess and
additional info in check_model

* added test_context_interface to TestUtils

* added tests for check_model

* moved debug contexts and check_model to a separate file

* export check_model + make DebugContext take the model as input so we
can further customize

* noticed I forgot to include check_models.jl file

* fixed tests

* added record-methods for observe statements too

* use explicit types for the recorded tilde statements + added
convenient show methods to make displaying the trace nicer

* renamd check__model to debug_utils and put it into a module

* renamed test/check_model.jl to test/debug_utils.jl

* removed unnecessary stuff in tests

* added test for logging of statements

* removed unnecessary splatting in broadcasting + improved errors for
encountering missing

* added missing implementation of tilde_observe for PrefixContext

* re-ordered method implementations for DebugContext to make things a
bit more readable

* addeed error message indicating that usage of missing for
de-conditioning is restricted to univariate distributions

* added missing left field to ObserveStmt

* fixed conditioned

* fixed `fixed` too, and moved the `_merge` to a more sensible location

* added check_model_post_evaluation and made it so we're using
SamplingContext by default since we're using an empty VarInfo by default

* removed show_statements

* perform some simple checks to make sure show is working for statements

* improved test for show of statements a tiny bit

* added some more docs

* more docs

* Apply suggestions from code review

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

* fixed typo in warning

* moved inclusion of trace and others in return-value from check_model
to ch... (continued)

109 of 265 new or added lines in 5 files covered. (41.13%)

2723 of 3455 relevant lines covered (78.81%)

470514.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
86.1
-1.06% src/test_utils.jl
6
79.46
-1.82% src/utils.jl
145
41.3
src/debug_utils.jl
Jobs
ID Job ID Ran Files Coverage
1 8758276676.1 19 Apr 2024 07:04PM UTC 30
77.41
GitHub Action Run
2 8758276676.2 19 Apr 2024 07:05PM UTC 30
77.18
GitHub Action Run
3 8758276676.3 19 Apr 2024 07:06PM UTC 30
77.18
GitHub Action Run
4 8758276676.4 19 Apr 2024 07:07PM UTC 30
77.18
GitHub Action Run
5 8758276676.5 19 Apr 2024 07:19PM UTC 30
76.39
GitHub Action Run
6 8758276676.6 19 Apr 2024 07:19PM UTC 30
76.12
GitHub Action Run
7 8758276676.7 19 Apr 2024 07:20PM UTC 30
77.18
GitHub Action Run
Source Files on build 8758276676
  • Tree
  • List 30
  • Changed 25
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 824f712b on github
  • Prev Build on master (#8758274405)
  • Delete
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