aboutsummaryrefslogtreecommitdiff
path: root/test/test_differential.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_differential.ml')
-rw-r--r--test/test_differential.ml16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/test_differential.ml b/test/test_differential.ml
index dd601a1..a9bdb91 100644
--- a/test/test_differential.ml
+++ b/test/test_differential.ml
@@ -76,13 +76,14 @@
family would still be caught by everything except the digit itself.
- Layer C (data/ef/expected-divergences.sexp, matched by
- [layer_c_reason] below): the CITED allow-list. Ten genuine liturgical
- disagreements, each citing its RG paragraph and stating which engine is
- right (always colitur, verified against the Missal/register, never
- against lectio's own behaviour -- "lectio does it differently" is not
- itself a justification anywhere in this file). This is the ONLY layer
- that may cover a difference in rank, colour, or which celebration is
- observed; A and B never do (enforced structurally below: A/B only ever
+ [layer_c_reason] below): the CITED allow-list. Eleven genuine liturgical
+ disagreements (C11 added by Task 16's oracle work, below), each citing
+ its RG paragraph and stating which engine is right (always colitur,
+ verified against the Missal/register, never against lectio's own
+ behaviour -- "lectio does it differently" is not itself a justification
+ anywhere in this file). This is the ONLY layer that may cover a
+ difference in rank, colour, or which celebration is observed; A and B
+ never do (enforced structurally below: A/B only ever
touch the season/slug fields, and Layer C's predicates each require an
exact, narrow field-diff SET, not "anything goes").
@@ -448,6 +449,7 @@ let layer_c_reason (l : row) (c : row) diffs =
(String.equal l.date "2011-07-02" || String.equal l.date "2011-07-04")
&& subset diffs [ Slug_f; Rank; Colour_f ]
then Some "C10"
+ else if String.equal c.slug "ef-passiontide-2-thursday" && diffs = [ Colour_f ] then Some "C11"
else None
(* ---------------------------------------------------------------------- *)