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

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

Build:
Build:
LAST BUILD BRANCH: mhauru/delete-flags
DEFAULT BRANCH: main
Ran 08 Oct 2024 02:40PM 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

08 Oct 2024 01:44PM UTC coverage: 79.44% (+1.3%) from 78.129%
11237398684

push

github

web-flow
Attempt at implementation of `VarNamedVector` (`Metadata` alternative) (#555)

* initial implementation of VarNameVector

* added some hacky getval and getdist get things to work for VarInfo

* Apply suggestions from code review

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

* added arbitrary metadata field as discussed

* renamed idcs to varname_to_index

* renamed vns to varnames for VarNameVector

* added keys impl for Metadata

* added push! and update! for VarNameVector

* added getindex_raw! and setindex_raw! for VarNameVector

* added `iterate` and `convert` (for `AbstractDict) impls for `VarNameVector`

* make the key and eltype part of the `VarNameVector` type

* added more tests for VarNameVector

* formatting

* more testing for VarNameVector

* minor changes to some comments

* added a bunch more tests for VarNameVector + several bugfixes in the process

* formatting

* added `similar` implementation for `VarNameVector`

* formatting

* removed debug statement

* made VarInfo slighly more generic wrt. underlying metadata

* fixed incorrect behavior in `keys` for `Metadata`

* minor style changes to VarNameVector tests

* style

* added testing of `update!` with smaller sizes and fixed bug related to this

* formatting

* move functionality related to `push!` for `VarNameVector` into `push!`

* Update src/varnamevector.jl

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

* several fixes to make sampling with VarNameVector + initiall tests for
sampling with VarNameVector

* VarInfo + VarNameVector tests for all demo models

* Apply suggestions from code review

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

* added docs on the design of `VarNameVector`

* Apply suggestions from code review

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

* added note on `update!`... (continued)

557 of 663 new or added lines in 10 files covered. (84.01%)

63 existing lines in 7 files now uncovered.

3319 of 4178 relevant lines covered (79.44%)

403304.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
74.63
2.4% src/abstract_varinfo.jl
1
47.66
-7.12% src/threadsafe.jl
4
82.35
0.43% src/utils.jl
41
89.78
src/varnamedvector.jl
59
79.62
-6.18% src/varinfo.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.44
-2.83% src/contexts.jl
2
82.35
0.43% src/utils.jl
2
92.47
4.01% src/model.jl
9
74.63
2.4% src/abstract_varinfo.jl
9
57.79
1.05% src/context_implementations.jl
15
47.66
-7.12% src/threadsafe.jl
25
79.62
-6.18% src/varinfo.jl
Jobs
ID Job ID Ran Files Coverage
1 11237398684.1 08 Oct 2024 02:40PM UTC 30
77.19
GitHub Action Run
2 11237398684.2 08 Oct 2024 02:41PM UTC 30
76.98
GitHub Action Run
3 11237398684.3 08 Oct 2024 02:43PM UTC 30
77.46
GitHub Action Run
4 11237398684.4 08 Oct 2024 02:43PM UTC 30
77.32
GitHub Action Run
5 11237398684.5 08 Oct 2024 02:43PM UTC 30
77.32
GitHub Action Run
6 11237398684.6 08 Oct 2024 02:47PM UTC 30
77.32
GitHub Action Run
7 11237398684.7 08 Oct 2024 02:47PM UTC 30
77.32
GitHub Action Run
Source Files on build 11237398684
  • Tree
  • List 30
  • Changed 27
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11237398684
  • c38e65f3 on github
  • Prev Build on master (#11160832460)
  • Next Build on master (#11327761860)
  • 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