-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmutation.toml
More file actions
33 lines (31 loc) · 1.87 KB
/
Copy pathmutation.toml
File metadata and controls
33 lines (31 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[cosmic-ray]
module-path = "src/recon_tool/bayesian.py"
timeout = 120.0
excluded-modules = []
# The kill-set, ordered for kill speed under -x: the hand-computed unit
# anchors first (they kill the arithmetic mutants the 2026-06 baseline
# showed surviving), followed by numerical-limit guards and the loader,
# behavior, and explain-surface suites. Uses the ``pytest`` console script, never
# bare ``python``: on Windows a bare ``python`` spawned from a venv
# resolves to the base interpreter (no test deps), which silently turns
# every mutant into a false kill via a conftest ImportError. The
# baseline step exists to catch exactly that class of breakage.
test-command = "pytest -x -q -p no:cacheprovider tests/test_bayesian_unit_math.py tests/test_bayesian_numerical_limits.py tests/test_bayesian_loader_edges.py tests/test_bayesian_inference.py tests/test_bayesian_canonical.py tests/test_bayesian_evidence_groups.py tests/test_drift_check.py tests/test_bayesian_validation_rounds.py tests/test_bayesian_topology.py tests/test_bayesian_dag.py"
[cosmic-ray.distributor]
name = "local"
[cosmic-ray.filters.operators-filter]
# Applied by ``cr-filter-operators`` after init (the workflow and the
# memo's local recipe both run it). Only the identity-comparison families are
# excluded here. Postponed annotation unions carry ``# pragma: no mutate`` and
# are filtered separately by ``cr-filter-pragma``; runtime set and frozenset
# unions remain in the tested mutation surface. See validation/mutation-gate.md
# for the accepted-residual policy.
#
# - Eq_Is / Eq_IsNot: rewrites ``x == "literal"`` to ``x is "literal"``.
# Testing object identity for value equality is a Python anti-pattern;
# the exclusion is an explicit policy choice, not a proof for arbitrary
# Python string objects.
exclude-operators = [
"core/ReplaceComparisonOperator_Eq_Is",
"core/ReplaceComparisonOperator_Eq_IsNot",
]