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

thanos / ex_datalog / f5616b85ed6b53351e7bc1e4b48e7ac0ac11ade0-PR-123
94%
main: 93%

Build:
Build:
LAST BUILD BRANCH: v0.5.0/code_review_fixes
DEFAULT BRANCH: main
Ran 21 Jun 2026 05:01AM UTC
Jobs 1
Files 35
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

21 Jun 2026 05:00AM UTC coverage: 93.998% (+0.5%) from 93.517%
f5616b85ed6b53351e7bc1e4b48e7ac0ac11ade0-PR-123

Pull #123

github

thanos
All 15 fixes from the review are complete. Summary of changes:
Critical (C1, C2)
- C1: Fixed lowercase/uppercase variable documentation in schema.ex moduledoc (lines 49-66, 94, 97-99, 110-113, 124-126), rule/2 docstring (line 537), article 01 (lines 14, 60, 64), README — all now correctly state "uppercase = logic variables, lowercase = constants"
- C2: Aggregate syntax now raises ExDatalog.DSL.CompileError with "aggregates are not yet supported (planned for v0.6.0)" in both head and body positions, instead of crashing. Removed {:aggregate, ...} handling from parse_rule_body. Fixed CHANGELOG and article 05 to match reality.
High (H1, H2)
- H1: Replaced meaningless struct-literal aggregate tests with real DSL syntax tests (testing both head and body agg(...) raise DSL.CompileError)
- H2: Query without where now raises DSL.CompileError with "query requires a where clause" instead of opaque Protocol.UndefinedError
Medium (M1, M2)
- M1: find variables not present in where pattern now raise DSL.CompileError at compile time
- M2: Unknown expressions in relation/facts blocks now raise DSL.CompileError instead of being silently dropped
Low/Nit (L1-L6)
- L1: All DSL errors now raise ExDatalog.DSL.CompileError (was mixed with CompileError/ArgumentError)
- L2: README test count updated to 786 (was 751)
- L3: Dropped unused _program parameter from validate_rules!
- L4: Removed duplicate eq constraint test from SchemaCoverageTest
- L5: Fixed moduledoc: materialize/0,1
- L6: Deleted livebooks/examples.md (521-line LLM artifact)
Verification: 792 tests, 0 failures, mix compile --warnings-as-errors clean, mix credo clean.
Pull Request #123: All 15 fixes from the review are complete. Summary of changes:

13 of 19 new or added lines in 1 file covered. (68.42%)

1065 of 1133 relevant lines covered (94.0%)

163.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
85.8
3.7% lib/ex_datalog/schema.ex
Jobs
ID Job ID Ran Files Coverage
1 f5616b85ed6b53351e7bc1e4b48e7ac0ac11ade0-PR-123.1 21 Jun 2026 05:01AM UTC 35
94.0
GitHub Action Run
Source Files on build f5616b85ed6b53351e7bc1e4b48e7ac0ac11ade0-PR-123
  • Tree
  • List 35
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #123
  • PR Base - main (#1D6B299C...)
  • 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