datalog: dl-summary inspection helper (173/173)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 56s

Returns {<rel-name>: tuple-count} for relations with any tuples
or that are rule-headed (so empty IDB shows as :rel 0 rather than
disappearing). Skips placeholder entries from internal
dl-ensure-rel! calls. 4 tests cover basic, empty IDB, mixed
EDB+IDB, and empty-db cases.
This commit is contained in:
2026-05-08 09:30:50 +00:00
parent cc64ec5cf2
commit 380580af17
4 changed files with 73 additions and 7 deletions

View File

@@ -1,13 +1,13 @@
# datalog scoreboard
**169 / 169 passing** (0 failure(s)).
**173 / 173 passing** (0 failure(s)).
| Suite | Passed | Total | Status |
|-------|--------|-------|--------|
| tokenize | 26 | 26 | ok |
| parse | 18 | 18 | ok |
| unify | 28 | 28 | ok |
| eval | 18 | 18 | ok |
| eval | 22 | 22 | ok |
| builtins | 19 | 19 | ok |
| semi_naive | 8 | 8 | ok |
| negation | 10 | 10 | ok |