Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 55s
(:reporters-at-least N) compiles to setof(Br, report(_, Br, Sr), Bsr), length(Bsr, Nr), Nr >= N — counts distinct reporters, not raw reports. mod/decide-quorum asserts every report's report/3 fact (base engine scopes to the decided report) so Prolog can aggregate reporters. One user filing 3 reports stays :keep under quorum while the count rule escalates. Own suite. +9 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Mod conformance config — sourced by lib/guest/conformance.sh.
|
|
|
|
LANG_NAME=mod
|
|
MODE=dict
|
|
|
|
PRELOADS=(
|
|
lib/guest/pratt.sx
|
|
lib/prolog/tokenizer.sx
|
|
lib/prolog/parser.sx
|
|
lib/prolog/runtime.sx
|
|
lib/prolog/query.sx
|
|
lib/prolog/compiler.sx
|
|
lib/mod/schema.sx
|
|
lib/mod/policy.sx
|
|
lib/mod/engine.sx
|
|
lib/mod/explain.sx
|
|
lib/mod/severity.sx
|
|
lib/mod/offenders.sx
|
|
lib/mod/quorum.sx
|
|
lib/mod/lifecycle.sx
|
|
lib/mod/audit.sx
|
|
lib/mod/api.sx
|
|
lib/mod/fed.sx
|
|
lib/mod/link.sx
|
|
lib/mod/lint.sx
|
|
)
|
|
|
|
SUITES=(
|
|
"decide:lib/mod/tests/decide.sx:(mod-decide-tests-run!)"
|
|
"audit:lib/mod/tests/audit.sx:(mod-audit-tests-run!)"
|
|
"escalation:lib/mod/tests/escalation.sx:(mod-escalation-tests-run!)"
|
|
"fed:lib/mod/tests/fed.sx:(mod-fed-tests-run!)"
|
|
"extensions:lib/mod/tests/extensions.sx:(mod-extensions-tests-run!)"
|
|
"link:lib/mod/tests/link.sx:(mod-link-tests-run!)"
|
|
"lint:lib/mod/tests/lint.sx:(mod-lint-tests-run!)"
|
|
"severity:lib/mod/tests/severity.sx:(mod-severity-tests-run!)"
|
|
"offenders:lib/mod/tests/offenders.sx:(mod-offenders-tests-run!)"
|
|
"quorum:lib/mod/tests/quorum.sx:(mod-quorum-tests-run!)"
|
|
)
|