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

TuringLang / DynamicPPL.jl / 12253492086
85%
main: 83%

Build:
Build:
LAST BUILD BRANCH: mhauru/delete-flags
DEFAULT BRANCH: main
Ran 10 Dec 2024 10:33AM UTC
Jobs 6
Files 36
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

10 Dec 2024 09:48AM UTC coverage: 86.493% (+0.2%) from 86.342%
12253492086

push

github

web-flow
Using JET.jl to determine if typed varinfo is okay (#728)

* fixed calls to `to_linked_internal_transform`

* fixed incorrect call to `acclogp_assume!!`

* added `determine_varinfo` and an implementation using JET for this

* made filtering for errors only in the tilde pipeline optional

* formatting

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

* fixed incorrect comment

* added test for the branch we were currently imssing

* formatting

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

* renamed `determine_varinfo` to `determine_suitable_varinfo` with
fallback to current behavior + `supports_varinfo` to `is_suitable_varinfo`

* removed now-redundant init used with Requires.jl, since this is no
longer needed on Julia 1.10 and onwards + added error hint for when
JET.jl has not been loaded

* `determine_suitable_varinfo` now only performs checks using the
provided context, but uses `SamplingContext` by default (as this
should be a stricter check than just evaluation)

* formatting

* updated error hint

* added def of `untyped_varinfo` which takes just `model` and `context`

* fixed incorrect call to `untyped_varinfo` in `_determine_varinfo_jet`

* explicitly call `typed_varinfo` when we want such a thing rather than
the ambiguous `VarINfo`

* `typed_varinfo` and `untyped_varinfo` handles wrapping passed context
in sampling context now so no need to handle this explicitly elsewhere

* use `determine_suitable_varinfo` in `LogDensityFunction` when not constructed

* formatting

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

* formatting

* fixed a bug in `DynamicPPLJETExt.is_tilde_instance`

* updated docs

* Update docs/src/internals/varinfo.md

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

* added back def of `... (continued)

25 of 28 new or added lines in 4 files covered. (89.29%)

3695 of 4272 relevant lines covered (86.49%)

1144174.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.91
49.24% src/DynamicPPL.jl
2
60.0
src/experimental.jl
Jobs
ID Job ID Ran Files Coverage
1 12253492086.1 10 Dec 2024 10:33AM UTC 35
85.15
GitHub Action Run
2 12253492086.2 10 Dec 2024 10:47AM UTC 35
85.15
GitHub Action Run
3 12253492086.3 10 Dec 2024 11:19AM UTC 36
85.91
GitHub Action Run
4 12253492086.4 10 Dec 2024 11:21AM UTC 36
85.96
GitHub Action Run
5 12253492086.5 10 Dec 2024 11:23AM UTC 35
85.15
GitHub Action Run
6 12253492086.6 10 Dec 2024 11:25AM UTC 35
85.2
GitHub Action Run
Source Files on build 12253492086
  • Tree
  • List 36
  • Changed 18
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12253492086
  • 145f4717 on github
  • Prev Build on master (#12224895333)
  • Next Build on master (#12253504644)
  • 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

© 2025 Coveralls, Inc