diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/fixtures/lectio-ef-2005-2050.provenance | 28 | ||||
| -rw-r--r-- | test/fixtures/lectio-ef-2005-2050.txt | 26 | ||||
| -rw-r--r-- | test/test_differential.ml | 32 |
3 files changed, 42 insertions, 44 deletions
diff --git a/test/fixtures/lectio-ef-2005-2050.provenance b/test/fixtures/lectio-ef-2005-2050.provenance index 5443e8e..1130a58 100644 --- a/test/fixtures/lectio-ef-2005-2050.provenance +++ b/test/fixtures/lectio-ef-2005-2050.provenance @@ -1,4 +1,32 @@ Fixture: lectio-ef-2005-2050.txt +Task: 2026-08-18, refresh after lectio adopted two further Missal corrections +(RG 96(a)/97/98 transfer collisions, and the Holy Family propers' own +13-January omission of the Baptism). + +Produced by the sibling project ~/git/projects/lectio at commit: + e713da2 fix(ef): two I-class feasts can no longer transfer onto the same day +SHA-256: 2e9c5761e7e5ccee4b5be096e8727d07a2e67dd9523a897f9aa73407ddf1e350 + +13 rows changed against the previous fixture (bac0aacfaa67db0f6f9ae45f1295f831f62bb35a6e2a8e8c72503b2b26e1a8a8): + - 7 rows, 13 January in 2008/2013/2019/2030/2036/2041/2047: lectio kept the + Commemoration of the Baptism as the observed office on a 13 January that is + itself the Sunday after Epiphany. The Holy Family Mass propers say "sine + commemoratione Baptismatis D.N.I.C." -- the Baptism is omitted, and the day + is the Holy Family. lectio now agrees with colitur on all seven. + - 6 rows, 2008/2035/2046: St Joseph and the Annunciation, both impeded by an + early Easter, both transferred onto the Monday after Low Sunday, where + Joseph lost and vanished from the year (he showed only as "+joseph-..." in + the Annunciation's commemoration tail). RG 96(a) gives the Annunciation a + sedes propria on that Monday; Joseph now takes the Tuesday. lectio agrees + with colitur on all six. + +Both corrections run colitur -> lectio, not the other way: colitur argued them +from the Missal and lectio adopted them. On these 13 days the Divinum Officium +lineage no longer holds, the same way the eight earlier corrections broke it. + +--- previous provenance, retained --- + +Fixture: lectio-ef-2005-2050.txt Task: 2026-08-14-colitur-ef-lectionary, Task 8 (fixture refresh -- lectio's lectio-ef-dump gained two new columns, Epistle/Lesson and Gospel citations; branch ef-lectionary). diff --git a/test/fixtures/lectio-ef-2005-2050.txt b/test/fixtures/lectio-ef-2005-2050.txt index b4f18ce..177d7ab 100644 --- a/test/fixtures/lectio-ef-2005-2050.txt +++ b/test/fixtures/lectio-ef-2005-2050.txt @@ -1105,7 +1105,7 @@ 2008-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2008-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2008-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2008-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2008-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2008-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2008-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2008-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -1183,8 +1183,8 @@ 2008-03-28 friday easter 1 ef-easter-1-friday class-1 white - - 1_Pet_3:18-22 Matt_28:16-20 +john-of-capistrano 2008-03-29 saturday easter 1 ef-easter-1-saturday class-1 white - - 1_Pet_2:1-10 John_20:1-9 2008-03-30 sunday easter 2 ef-low-sunday class-1 white - - 1_John_5:4-10 John_20:19-31 -2008-03-31 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +joseph-spouse-of-the-bl-virgin-mary -2008-04-01 tuesday easter 2 ef-easter-2-tuesday class-4 white - - 1_John_5:4-10 John_20:19-31 +2008-03-31 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +2008-04-01 tuesday easter 2 joseph-spouse-of-the-bl-virgin-mary class-1 white St._Joseph,_Spouse_of_the_Bl._Virgin_Mary św._Józefa,_Oblubieńca_N._M._P. Ecclus_45:1-6 Matt_1:18-21 2008-04-02 wednesday easter 2 francis-of-paola class-3 white St._Francis_of_Paola św._Franciszka_z_Pauli,_Wyznawcy Phil_3:7-12 Luke_12:32-34 2008-04-03 thursday easter 2 ef-easter-2-thursday class-4 white - - 1_John_5:4-10 John_20:19-31 2008-04-04 friday easter 2 isidore-of-seville class-3 white St._Isidore_of_Seville św._Izydora,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 @@ -2932,7 +2932,7 @@ 2013-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2013-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2013-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2013-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2013-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2013-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2013-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2013-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -5123,7 +5123,7 @@ 2019-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2019-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2019-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2019-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2019-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2019-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2019-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2019-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -9141,7 +9141,7 @@ 2030-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2030-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2030-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2030-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2030-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2030-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2030-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2030-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -11046,8 +11046,8 @@ 2035-03-30 friday easter 1 ef-easter-1-friday class-1 white - - 1_Pet_3:18-22 Matt_28:16-20 2035-03-31 saturday easter 1 ef-easter-1-saturday class-1 white - - 1_Pet_2:1-10 John_20:1-9 2035-04-01 sunday easter 2 ef-low-sunday class-1 white - - 1_John_5:4-10 John_20:19-31 -2035-04-02 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +joseph-spouse-of-the-bl-virgin-mary +francis-of-paola -2035-04-03 tuesday easter 2 ef-easter-2-tuesday class-4 white - - 1_John_5:4-10 John_20:19-31 +2035-04-02 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +francis-of-paola +2035-04-03 tuesday easter 2 joseph-spouse-of-the-bl-virgin-mary class-1 white St._Joseph,_Spouse_of_the_Bl._Virgin_Mary św._Józefa,_Oblubieńca_N._M._P. Ecclus_45:1-6 Matt_1:18-21 2035-04-04 wednesday easter 2 isidore-of-seville class-3 white St._Isidore_of_Seville św._Izydora,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 2035-04-05 thursday easter 2 vincent-ferrer class-3 white St._Vincent_Ferrer św._Wincentego_Fereriusza,_Wyznawcy Ecclus_31:8-11 Luke_12:35-40 2035-04-06 friday easter 2 ef-easter-2-friday class-4 white - - 1_John_5:4-10 John_20:19-31 @@ -11332,7 +11332,7 @@ 2036-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2036-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2036-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2036-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2036-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2036-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2036-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2036-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -13159,7 +13159,7 @@ 2041-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2041-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2041-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2041-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2041-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2041-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2041-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2041-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 @@ -15064,8 +15064,8 @@ 2046-03-30 friday easter 1 ef-easter-1-friday class-1 white - - 1_Pet_3:18-22 Matt_28:16-20 2046-03-31 saturday easter 1 ef-easter-1-saturday class-1 white - - 1_Pet_2:1-10 John_20:1-9 2046-04-01 sunday easter 2 ef-low-sunday class-1 white - - 1_John_5:4-10 John_20:19-31 -2046-04-02 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +joseph-spouse-of-the-bl-virgin-mary +francis-of-paola -2046-04-03 tuesday easter 2 ef-easter-2-tuesday class-4 white - - 1_John_5:4-10 John_20:19-31 +2046-04-02 monday easter 2 annunciation-of-the-blessed-virgin-mary class-1 white Annunciation_of_the_Blessed_Virgin_Mary Zwiastowanie_N._M._P. Isa_7:10-15 Luke_1:26-38 +francis-of-paola +2046-04-03 tuesday easter 2 joseph-spouse-of-the-bl-virgin-mary class-1 white St._Joseph,_Spouse_of_the_Bl._Virgin_Mary św._Józefa,_Oblubieńca_N._M._P. Ecclus_45:1-6 Matt_1:18-21 2046-04-04 wednesday easter 2 isidore-of-seville class-3 white St._Isidore_of_Seville św._Izydora,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 2046-04-05 thursday easter 2 vincent-ferrer class-3 white St._Vincent_Ferrer św._Wincentego_Fereriusza,_Wyznawcy Ecclus_31:8-11 Luke_12:35-40 2046-04-06 friday easter 2 ef-easter-2-friday class-4 white - - 1_John_5:4-10 John_20:19-31 @@ -15350,7 +15350,7 @@ 2047-01-10 thursday christmas 1 ef-time-after-epiphany-1-thursday class-4 white - - Isa_60:1-6 Matt_2:1-12 2047-01-11 friday christmas 1 ef-time-after-epiphany-1-friday class-4 white - - Isa_60:1-6 Matt_2:1-12 +hyginus-pope-and-martyr 2047-01-12 saturday christmas 1 ef-time-after-epiphany-1-saturday class-4 white - - Titus_3:4-7 Luke_2:15-20 -2047-01-13 sunday christmas 1 commemoration-of-the-baptism-of-the-lord class-2 white Commemoration_of_the_Baptism_of_the_Lord Wspomnienie_Chrztu_Pańskiego Isa_60:1-6 John_1:29-34 +2047-01-13 sunday christmas 1 ef-time-after-epiphany-sunday-1 class-2 white - - Col_3:12-17 Luke_2:42-52 2047-01-14 monday time-after-epiphany 1 hilary class-3 white St._Hilary św._Hilarego,_Biskupa,_Wyznawcy_i_Doktora_Kościoła 2_Tim_4:1-8 Matt_5:13-19 +felicis 2047-01-15 tuesday time-after-epiphany 1 paul-the-first-hermit class-3 white St._Paul,_the_First_Hermit św._Pawła,_Pierwszego_Pustelnika,_Wyznawcy Phil_3:7-12 Matt_11:25-30 +maur-abbot 2047-01-16 wednesday time-after-epiphany 1 marcellus-i class-3 red St._Marcellus_I św._Marcelego_I,_Papieża_i_Męczennika 1_Pet_5:1-4;_5:10-11. Matt_16:13-19 diff --git a/test/test_differential.ml b/test/test_differential.ml index e8bf9ae..8423888 100644 --- a/test/test_differential.ml +++ b/test/test_differential.ml @@ -164,7 +164,7 @@ let allow_list_path = "../data/ef/expected-divergences.sexp" deliberately, after re-running the exact command the provenance note names -- never by copying the actual value back in to make a mismatch pass, which would defeat the point of pinning it at all. *) -let fixture_sha256 = "bac0aacfaa67db0f6f9ae45f1295f831f62bb35a6e2a8e8c72503b2b26e1a8a8" +let fixture_sha256 = "2e9c5761e7e5ccee4b5be096e8727d07a2e67dd9523a897f9aa73407ddf1e350" (* Same technique tools/bootstrap_sanctoral.ml already uses for this exact purpose (that file's own comment: shelling out to the system's @@ -1127,36 +1127,6 @@ let layer_c_reason (l : row) (c : row) diffs = (String.equal c.slug "ef-rogation-monday" || String.equal c.slug "ef-rogation-tuesday") && subset diffs [ Season; Slug_f; Colour_f ] then Some "C8" - else if - List.mem l.date joseph_annunciation_collision_dates_2005_2050 - (* Task 8: [First_f; Gospel_f] joined the accepted set -- Joseph's own - transferred office (Ecclus 45:1-6/Matt 1:18-21, his own proper) now - genuinely differs from the plain feria lectio shows for the same - civil date, exactly BECAUSE the identity already differs (this - predicate's own pre-existing [Slug_f; Rank] pair); not a second, - independent citation-only divergence. *) - && subset diffs [ Slug_f; Rank; First_f; Gospel_f ] - (* Colitur-slug guard, added by the fixture-refresh review. Fix round 1's - own finding 1 established that a Layer C predicate must pin WHICH - celebration the citation is about, not merely the date -- C1, C6 and C8 - all carry that guard; C14 was written after that ruling and omitted it. - Demonstrated live: with [Calendar.compare_deferred] switched to RG 98 - origin order, the observed celebration on all three dates flips to the - Annunciation, and C14 still matched exactly 3 rows with its count pin - green. The suite only reddened because the SIBLING dates fell outside - every predicate -- geometry, not this pin. *) - && String.equal c.slug "joseph-spouse-of-the-bl-virgin-mary" - then Some "C14" - else if - List.mem l.date holy_family_baptism_collision_dates_2005_2050 - (* Task 8: [First_f; Gospel_f] joined the accepted set for the same - reason as C14 above -- Holy Family's own citations (Col 3:12-17/Luke - 2:42-52, its own proper) differ from the fixed Baptism's (which - lectio still shows there) exactly BECAUSE the office identity - already differs; the same single cause, not two. *) - && subset diffs [ Season; Slug_f; First_f; Gospel_f ] - && String.equal c.slug "ef-time-after-epiphany-sunday-1" - then Some "C15" (* [Colour_f] is admitted only on the Saturday of this week, and only alongside the citation difference: that day is ALSO an unoccupied IV-class Saturday, so RG 78's votive Office of the BVM makes colitur |
