Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 37s
`count(N, Y, p(X))` silently returned `N = 1` because `Y` was never bound by the goal — every match contributed the same unbound symbol which dl-val-member? deduped to a single entry. Similarly: sum(S, Y, p(X)) => raises "expected number, got symbol" findall(L, Y, p(X)) => L = (Y) (a list containing the unbound symbol) count(N, Y, p(X)) => N = 1 (silent garbage) Added a third validator in dl-eval-aggregate: the agg-var must syntactically appear among the goal's variables. Error names the variable and the goal and explains why the result would be meaningless. 1 new test; conformance 263/263. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
775 B
JSON
21 lines
775 B
JSON
{
|
|
"lang": "datalog",
|
|
"total_passed": 263,
|
|
"total_failed": 0,
|
|
"total": 263,
|
|
"suites": [
|
|
{"name":"tokenize","passed":30,"failed":0,"total":30},
|
|
{"name":"parse","passed":22,"failed":0,"total":22},
|
|
{"name":"unify","passed":29,"failed":0,"total":29},
|
|
{"name":"eval","passed":39,"failed":0,"total":39},
|
|
{"name":"builtins","passed":23,"failed":0,"total":23},
|
|
{"name":"semi_naive","passed":8,"failed":0,"total":8},
|
|
{"name":"negation","passed":10,"failed":0,"total":10},
|
|
{"name":"aggregates","passed":23,"failed":0,"total":23},
|
|
{"name":"api","passed":22,"failed":0,"total":22},
|
|
{"name":"magic","passed":36,"failed":0,"total":36},
|
|
{"name":"demo","passed":21,"failed":0,"total":21}
|
|
],
|
|
"generated": "2026-05-11T07:56:45+00:00"
|
|
}
|