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

TuringLang / DynamicPPL.jl / 6576682134
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: mhauru/delete-flags
DEFAULT BRANCH: main
Ran 19 Oct 2023 04:00PM UTC
Jobs 1
Files 25
Run time 2s
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 Oct 2023 03:14PM UTC coverage: 82.767% (+1.2%) from 81.518%
6576682134

push

github

web-flow
`subset` and `merge` for `VarInfo` (clean version) (#544)

* added `subset` which can extract a subset of the varinfo

* added testing of `subset` for `VarInfo`

* formatting

* added implementation of `merge` for `VarInfo` and tests for it

* more tests

* formatting

* improved merge_metadata for NamedTuple inputs

* added proper handling of the `vals` in `subset`

* added docs for `subset` and `merge`

* added `subset` and `merge` to documentation

* formatting

* made merge and subset part of the AbstractVarInfo interface

* added implementations `subset` and `merge` for `SimpleVarInfo`

* follow standard merge semantics where the right one takes precedence

* added proper testing of merge and subset for SimpleVarInfo too

* forgotten inclusion in previous commit

* Update src/simple_varinfo.jl

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

* remove two-argument impl of merge

* formatting

* forgot to add more formatting

* removed 2-arg version of merge for abstract varinfo in favour of 3-arg version

* allow inclusion of threadsafe varinfo in setup_varinfos

* more tests for thread safe varinfo

* bugfixes for link and invlink methods when using thread safe varinfo

* attempt at fixing docs

* fixed missing test coverage

* formatting

---------

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

184 of 184 new or added lines in 5 files covered. (100.0%)

2632 of 3180 relevant lines covered (82.77%)

225943.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
75.25
3.98% src/simple_varinfo.jl
5
93.32
0.53% src/varinfo.jl
7
85.84
-5.34% src/abstract_varinfo.jl
8
45.61
25.21% src/threadsafe.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.32
0.53% src/varinfo.jl
Jobs
ID Job ID Ran Files Coverage
1 6576682134.1 19 Oct 2023 04:00PM UTC 25
82.77
GitHub Action Run
Source Files on build 6576682134
  • Tree
  • List 25
  • Changed 16
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • efd9da3d on github
  • Prev Build on gh-readonly-queue/master/pr-535-0289358a4b91cf53f020f47a666b4a349854433e (#6476225354)
  • 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