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

thanos / beancount_ex / 383f46b4aa24cd98146b39e34aff7f1b4d137bde-PR-53
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.6.0/Ecto_Storage-Native_Queries-Reunify
DEFAULT BRANCH: main
Ran 01 Jul 2026 11:13PM UTC
Jobs 1
Files 70
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

01 Jul 2026 11:12PM UTC coverage: 96.009% (+4.1%) from 91.86%
383f46b4aa24cd98146b39e34aff7f1b4d137bde-PR-53

Pull #53

github

thanos
The bench script was building a nested ledger, not a bug in DirectiveSort.

The for comprehension returned [[open, txn], [open, txn], ...] because |> List.flatten() only flattened each pair, not the outer list. DirectiveSort then hit a sublist where it expected a single directive.

Fix: use Enum.flat_map/2 so the ledger is a flat list of directives.

mix run bench/query_bench.exs completes successfully now.
Pull Request #53: V0.5.0/datalog integration directive compiler

345 of 367 new or added lines in 12 files covered. (94.01%)

1660 of 1729 relevant lines covered (96.01%)

433.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
94.44
-0.47% lib/beancount/compare.ex
5
95.33
lib/beancount/engine/elixir/query_engine.ex
5
68.75
-31.25% test/support/fake_engine.ex
4
96.88
lib/beancount/bql/parser.ex
2
91.67
lib/beancount/engine/elixir/fact_base.ex
1
95.24
lib/beancount/engine/elixir/directive_sort.ex
Jobs
ID Job ID Ran Files Coverage
1 383f46b4aa24cd98146b39e34aff7f1b4d137bde-PR-53.1 01 Jul 2026 11:13PM UTC 70
96.01
GitHub Action Run
Source Files on build 383f46b4aa24cd98146b39e34aff7f1b4d137bde-PR-53
  • Tree
  • List 70
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #53
  • PR Base - main (#A15F4A79...)
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