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

thanos / ex_datalog / 1c7604053927387f67aaf68fa5ef9d28401ad1f2-PR-86
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v0.2.0/Constraint-Storage_Foundations
DEFAULT BRANCH: main
Ran 14 May 2026 10:47PM UTC
Jobs 1
Files 33
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

14 May 2026 10:46PM UTC coverage: 93.441% (+1.5%) from 91.979%
1c7604053927387f67aaf68fa5ef9d28401ad1f2-PR-86

Pull #86

github

thanos
T1: Constructor + introspection + validity tests
 - Added describe "type predicate constructors" with tests for type_integer/1, type_binary/1, type_atom/1
 - Added describe "string predicate constructors" with tests for starts_with/2, contains/2
 - Added describe "membership constructor" with test for member/2
 - Added describe "type_predicate?/1", describe "string_predicate?/1", describe "membership?/1" with introspection tests
 - Added valid?/1 tests for new constraint types including :member right validation, type predicate nil right, nil result validation
 - Added input_variables/1 and result_variable/1 tests for new constraint types
 - Added dispatch consistency test

T3: Portability tests for new constraint types
 - Added type_predicate_program (integer type filter), string_predicate_program (atom type), and membership_program (member filter)
 - Added 3 new portability tests for type predicates, string predicates, and membership
 - Extended iteration-parity check (D5) to cover all 8 programs

M1: Replace bare if/nil in IR
 - IR.from_constraint/1 now uses maybe_from_term/1 pattern matching helper instead of if(right != nil, ...)

M8: Refactor apply_arithmetic
 - Replaced nested case/computed pattern with guard-clause function heads that check is_integer
 - Division-by-zero returns :filter before computing (guard right == 0)
 - Non-integer operands fall through to catch-all :filter

D4: Dispatch consistency test
 - Added test that every op in @all_ops dispatches via Constraint.evaluate/3 without error

D5: Extended iteration-parity
 - All 8 portability programs (including type predicates, string predicates, membership) now check iterations parity

Doc2: Fix broken Capabilities doctests
 - Replaced ... ellipsis in merge/2 doctest with actual field assertions
 - Replaced from_backend/1 doctest with concrete field check
 - Added doctest ExDatalog.Capabilities to test file

Doc4: CHANGELOG v0.2.0
 - Added full v0.2.0 entry covering all Added, Changed,... (continued)
Pull Request #86: V0.2.0/constraint storage foundations

197 of 212 new or added lines in 15 files covered. (92.92%)

8 existing lines in 2 files now uncovered.

869 of 930 relevant lines covered (93.44%)

144.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
90.36
lib/ex_datalog/storage/ets.ex
3
84.38
-4.51% lib/ex_datalog/ir.ex
1
90.0
lib/ex_datalog/constraints/arithmetic.ex
1
92.72
-0.39% lib/ex_datalog/engine/naive.ex
1
89.36
0.73% lib/ex_datalog/storage/map.ex
1
94.44
-5.56% lib/ex_datalog/term.ex

Coverage Regressions

Lines Coverage ∆ File
5
89.36
0.73% lib/ex_datalog/storage/map.ex
3
92.72
-0.39% lib/ex_datalog/engine/naive.ex
Jobs
ID Job ID Ran Files Coverage
1 1c7604053927387f67aaf68fa5ef9d28401ad1f2-PR-86.1 14 May 2026 10:47PM UTC 33
93.44
GitHub Action Run
Source Files on build 1c7604053927387f67aaf68fa5ef9d28401ad1f2-PR-86
  • Tree
  • List 33
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #86
  • PR Base - main (#A3E6C7D1...)
  • 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