Changelog¶
All notable changes to this project are documented here. The format follows Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
0.6.0 - 2026-10-15¶
Changed¶
- Every letter rule now declares German (ADR 0063, partly superseding ADR 0047). A
letter rule is a row of family
letterwhoserequiresis withintokens,alphabetandfold_diacritics, so its checker reads letters and nothing else. Twenty such rows lackedde, and they now declare it. German editorial scope goes from 46 rows to 66, andruns_indoes not move. For these rows the declaration claims that the rule is checked in German, not that German literature attests the form. Fifteen German names and fifteen definitions were written, and most of the names are coinages, which the ADR lists. Eighteen constructed German golden cases were added: one satisfying case for each of the fourteen rows that had none, and four counterexamples.kangaroo_wordneeds a word list, so it stays outside the class, and so do the syntax, word, visual and form rows the bench also asked about. - ADR 0062 amended: an anonymous text published in 1930 or earlier meets the
public-domain cutoff. The US rule is publication-based and the EU term for an
anonymous work runs seventy years from publication; such a case's
sourcesays "anonymous, printed" and names the compilation and its compiler's death year. The amendment admits its cost: an anonymous text's real author could have lived past 1955, which for a text printed near 1930 is ordinary, and the EU term ends if the author becomes known. - The external share of the golden corpus rises from 14.5% (102 of 704) to 17.4% (131
of 752), and ADR 0062's floors are raised to the measured values:
EXTERNAL_SHARE_FLOORfrom 0.144 to 0.174 andEXTERNAL_FLOORfrom 102 to 131. The entries below each name the cases they add. ADR 0063's eighteen constructed German cases alone would have lowered the share to 14.1%; ADR 0063 records that as the cost of its decision.eval --allreports133 procedures · 752 passed · 0 failed, andstatusandevalreport68 rows externally evidenced · 65 explained · 0 unexplained. - The evidence-gap notes report research batch 4. 25 entries said "batch 4 brief
pending".
telestich,double_acrosticandpangrammatic_lipogramleave the registry with Bombaugh cases, and the other 22 now say what batch 4 found or that it did not search them: no English instance in Bombaugh's pp. 25–64 forbivocalic,letter_bankandserial_lipogram, and leads located forconsonantal_lipogram(Wakeman, 1866; Burmann, 1788 and 1796; Rittler, 1815 and 1820; read on 2026-10-14, see thelipogramentry below).lipogramis no longer evidenced only through a grandfathered case, so ADR 0062's list of such rows drops from six to five. alcaic_stanza's English definition says the row reads alcaics accentually. It called the stanza "quantitative", which the checker has never scanned: it reads stress, as the row'snotesalready said. The definition, shown bydescribe(), now says stressed syllables stand where the classical stanza has long ones, so a quantitative imitation such as Tennyson's "Milton" falls outside it. The maintainer ruled this on 2026-10-14, and the row's evidence-gap note records the ruling in place of "pending a maintainer ruling". No verdict moves, so nochecker_versionbump.- ADR 0062 records the ruling on its grandfathered cases. On 2026-10-14 the
maintainer ruled that the post-cutoff cases stay and
cut_up,eodermdrome,snowball,reverse_snowballandcalculator_wordremain externally evidenced. The ADR states the cost: on those rows the claim rests on short post-cutoff quotations, weaker than the policy requires of a new case. - A prompt hint under
fold_diacritics = Falseno longer contradicts itself. The sharedfold_diacriticsdescription, published in every row'sparams_schemaanddescribe()(40 rows;calculator_wordhas its own), read "Treat accented letters as their base letter", andprompt_hintappends it only when the parameter is set off its default, so it told the writer the opposite of the setting. It now reads "Whether accented letters count as their base letter, and ß as ss. False keeps each accented letter, and ß, a letter of its own." The templates that said an accented form counts as the letter unconditionally now defer to that line ("Unless a line below says otherwise", "Sofern keine Zeile darunter etwas anderes sagt", "Sauf si une ligne ci-dessous dit autre chose"):lipogram(en, de, fr),lipogrammatic_translation(de, fr) andslenderizing(en, fr). Their default hints change wording, not meaning. Two guards intests/test_prompt_hints.py: a bool defaulting to True must name False in its description, and on a row takingfold_diacriticsevery hint sentence about accents must defer to a line below.
Added¶
tests/test_letter_rules_claim_german.py, which computes the class of letter rules from the catalogue and fails on any registered letter rule that does not declarede.chronogramtakescapitals_only(ADR 0064), off by default. Set, only numeral letters written as capitals count, which is the reading Hilton (1882, p. 9) calls a "pretext" and the default still rejects. Case is read from the text as given, soÏxtotals 1 withfold_diacriticson and 0 with it off; a titlecase letter such asDžcounts as a capital. Theprompt_hinttemplate now says every numeral counts in either case "unless a line below restricts it", and the switch's line tells the writer to write the date's numerals as capitals; the parameter's own description, rendered to the writer, is that instruction alone and carries no warning, which ADR 0064 keeps. Nochecker_versionbump: in 0.5.0 any call passingcapitals_onlywas refused as an unknown parameter, and no existing probe of the verdict fingerprint moved.Counting.case_switch, naming the parameter that makes case decide ("capitals_only"onchronogram);case_sensitivestill describes the default. Optional with a default ofNone, so a 0.5.0Countingstill parses.skippednow also says that German ä, ö, ü and ß are never numerals, folded or not.- Two chronogram golden cases. Bombaugh's printing of the Queen Elizabeth line,
Gleanings for the Curious (1890), p. 58, external and satisfied under
capitals_only, beside Hilton's printing, which still fails under the default; and a constructed counterexample in which lower-case numerals are ignored under the switch. The golden corpus goes from 722 cases to 724, 103 of them external. - Fifteen external golden cases from C. C. Bombaugh, Gleanings for the Curious
(enlarged ed., 1890), transcribed by script from Project Gutenberg #56805 and each run
through its checker; the page images were not checked. The UNITE/UNTIE lines (p. 40) as
telestich,acrosticanddouble_acrostic, and the Lord Hatherton lines (p. 40), every letter doubled, as telestich and acrostic:telestichanddouble_acrosticgain their first external cases and leave the gap registry. Univocalic verses in A (p. 32), E, I and O (p. 33), and the U verse (p. 33), which Bombaugh presents as univocalic and which fails on the o of "no", as an external near-miss. Lord Holland's "Eve's Legend" (p. 28) as a univocalic in e, and two e-lipograms (pp. 27–28), each also as apangrammatic_lipogram, which Bombaugh says they are; every stanza of "The Fate of Nassan" also passes alone, as he claims.pangrammatic_lipogramleaves the gap registry. All but Holland's are anonymous, and land under the ADR 0062 amendment above. The golden corpus goes from 724 cases to 739, 118 of them external. ottava_rimatakesfeminine_ending, off by default, assonnet,blank_verse,rhyme_royalandspenserian_stanzaalready do: set, a line may close on one extra unstressed syllable. The parameter needs nochecker_versionbump of its own: in 0.5.0 any call passing it was refused as an unknown parameter, and no existing probe of the verdict fingerprint moved. Re-measured on Don Juan, Canto I, as Coleridge's edition (1903, Project Gutenberg #18762) prints it, the checker rejects 219 of the 222 stanzas by default, 196 of them with an eleven-syllable line, and 217 with the switch, 185 of those on stress and 148 on rhyme. Across the rejected stanzaswrong_line_lengthfalls from 209 to 120 andwrong_stressrises from 129 to 185, because lines refused on length are now scanned. Two stanzas pass only with the switch. CXXXVIII, whose five feminine endings are what the switch is for, lands as an external case checked with it. LXXV does not: it passes because its last line reads "being" as two syllables where Byron elides it, and the switch takes the extra syllable for a feminine close. The 0.5.0 entry's "215 of the 219 stanzas" came from a screen that was not recorded. A script taking every numbered stanza between the canto's heading and the next finds 222, and 0.5.0's checker passes the same three of them, so the old figure reflects a different extraction, not a verdict that moved. One external case is added.balladetakesmetre, the stress pattern every line is scanned against, with the name and meaningsonnetgives it: its length is the syllable count. The default,01010101, is the iambic tetrameter the row always scanned;0101010101asks for pentameter; unset (null), no line is scanned for length or stress and only the line count, rhyme scheme and refrain are checked. A value that is not a string of 0s and 1s is refused. Theprompt_hinttemplate now states the pattern set (each in the stress pattern {metre}) instead of always asking for "iambic tetrameter, eight syllables"; undermetre = nullit is refused withUnsetHintParameter, since there is no line to ask for. The parameter needs nochecker_versionbump of its own: in 0.5.0 any call passingmetrewas refused as an unknown parameter, and no existing probe of the verdict fingerprint moved. Re-measured on Gleeson White's Ballades and Rondeaus (1887, Project Gutenberg #45736), screened by this rule: between PG's START and END lines, a title is a line in column 0 with an ASCII capital and no lower-case letter, and starts a poem; a blank line ends a stanza; a line indented 12 or more spaces (envoy heading, signature, centred dedication), any other non-blank line in column 0, and a line beginning~(a Greek epigraph) are dropped without ending a stanza; every other line is verse; a poem whose verse falls in stanzas of exactly 8, 8, 8 and 4 lines is screened. That selects 77, and the checker rejects 76 of them at the default, 77 at pentameter, 76 at trimeter (010101) and 61 withmetreunset, all 61 on rhyme or refrain. The gap note's "all 67 ballades of 28 lines" came from a screen that was not recorded; the count reflects a different extraction. Four land as external cases, each checked word for word against the page image of the 1887 printing: Tomson's "Ballade of Asphodel" at the default (its "too wel" is the print's), Adams's "Where Are the Pipes of Pan?" withmetre010101, and Matthews's "The Ballade of Tobacco" and Sherman's "Ballade of Rhyme" withmetreunset.balladeleaves the gap registry, with four external cases.lipogramgains the Galaxy's song without s: the anonymous song George Wakeman quotes in "Tormenting the Alphabet", The Galaxy, 1 July 1866, p. 441 (anonymous, printed 1866, under ADR 0062's 2026-10-13 amendment). It is extracted by script from archive.org's text layer (sim_galaxy_1866-07-01_1) and checked word for word against the page image; the case'ssourcestates the normalisation. Batch 4 had filed it as a lead forconsonantal_lipogram, but that row's form bans a group of letters and the song bans one, so it evidenceslipogramandconsonantal_lipogramstays in the gap registry. Every batch-4 lead for that row bans a single letter, and its note now says so and records where the German R-lipograms were sought: Burmann's Gedichte ohne den Buchstaben R. (1788) is scanned without a text layer, the OCR of his 1796 edition and of Rittler's Die Zwillinge (3rd ed., 1820) disagrees with the print too often to use without retyping (both later landed under an exception, below), and no scan of Rittler's 1815 edition was found (Google Books and MDZ were not searched). One external case is added, and no row changes standing.- Four metrical licences, each its own switch and off by default (ADR 0065):
initial_inversion(a line may open on a reversed foot),secondary_stress(an unstressed syllable of a word of three or more, not next to its main stress, may take a beat:disapprovesas101),stress_shift(a closed list of 25 two-syllable prepositions and adverbs,withoutanduponamong them, may be stressed on either syllable) anddiaeresis(a glide the dictionary runs into the next vowel may be sounded as a syllable:ambrosialas four). Every row that scans an iambic or trochaic line takes them:ballade,blank_verse,curtal_sonnet,heroic_couplet,iambic_pentameter,ottava_rima,petrarchan_sonnet,rhyme_royal,shakespearean_sonnet,sonnetandspenserian_stanzaon a newScansionParams, andtrochaic_tetrameteralone onLicenceParams, whereinitial_inversionreads the first foot as an iamb.ballade,heroic_couplet,iambic_pentameterandpetrarchan_sonnetalso gainfeminine_ending, which they lacked.alexandrinecounts syllables without scanning stress, and the five rows that scan classical or dactylic patterns (alcaic_stanza,dactylic_hexameter,double_dactyl,elegiac_couplet,sapphic_stanza) do not take them. The last three switches read CMUdict or English spelling and admit nothing in another language. The scan tries them only when the dictionary's readings fit nothing, and a word read through one names it in its evidence (10 (stress_shift)). Nochecker_versionbump: 0.5.0 refused each as an unknown parameter, and no existing fingerprint probe moved. The ADR measures the cost: on Paradise Lost, all four on let 1,614 more lines scan, and the same lines with their words shuffled 1,286 more. petrarchan_sonnet's first external case: Milton's Sonnet XVI, "When I consider how my light is spent", from Beeching's edition (Project Gutenberg #1745), extracted by script and checked withinitial_inversionandstress_shift. Re-screened against the 97 fourteen-line blocks of that edition and of Wordsworth's Poems in Two Volumes (1807), the checker admits none by default or with any one switch, and this one with those two or with all four. "Cyriack, whose Grandsire" still fails: CMUdict stressessuperfluouson its first syllable, and no switch moves a primary stress.petrarchan_sonnetleaves the gap registry, and ADR 0062's tally no longer has a row pending a maintainer ruling.limericktakesallow_identical, off by default, ashemelingdoes. Lear closes most of his limericks on the first line's word, which the default reports asidentical_rhyme; set, a repeated end word is permitted and the other rhyme checks run as before. Of the 112 limericks in Project Gutenberg #982 the checker rejects 109 by default and 32 with the switch on, all fordoes_not_rhyme. Three of them land as external passing cases underallow_identical(limericks 1, 13 and 88). A new parameter moves no existing verdict, sochecker_versionstays at 2 (ADR 0061).lipogramgains two German R-lipograms, under a new exception to ADR 0062. The maintainer granted hand-corrected OCR for two texts only, recorded as ADR 0062's 2026-10-14 amendment: Gottlob Wilhelm Burmann's "I. An Gott", from Einige Gedichte ohne den Buchstaben R (Berlin: Decker, 1796), and the first four paragraphs of Franz Rittler's Die Zwillinge … Roman ohne R, 3rd ed. (Wien: Härter, 1820), pp. 17–18. Each is the library's OCR extracted by script and corrected against the page images, 17 corrections for Burmann and 27 for Rittler, every one listed in the case'ssourcewith the normalisation (long s to s, the print's double hyphen, spacing before punctuation). Both pass withforbidden: rin German. They ban one letter, soconsonantal_lipogramstays in the gap registry, and its note now says they landed underlipogram. The amendment admits its cost: each correction is a reading of the page image, and an error in one is a retyping error.
Fixed¶
- A word the dictionary lacks no longer rhymes with itself.
scheme_violationstested for an unknown line ending before it tested whether two endings were the same word, so Lear's limerick ending twice on "Ryde" was satisfied under the defaultunknown_rhyme, matched underfreeand reported asunknown_rhymeunderstrict, while his "beard" limerick, the same fault on a word the dictionary carries, failed. Identity is read off the spelling, so a pair the scheme wants to rhyme on the same word is nowidentical_rhyme(unlessallow_identical) under everyunknown_rhymereading. The comparison now reads past an elided proclitic (l'amour, ADR 0036) only in French: in English the split took Shakespeare'sdimm'dandvntrim'dto the same wordd, and the fix would have exposed that on Sonnet 18. Aballaderefrain ending on an unknown word stays exempt. Sixteen rows move tochecker_version2:ballade,clerihew,curtal_sonnet,englyn,hemeling,heroic_couplet,limerick,ottava_rima,petrarchan_sonnet,rhyme_royal,rhyme_scheme,rondeau,shakespearean_sonnet,sonnet,spenserian_stanzaandterza_rima. No golden verdict moves. Lear's "Ryde" limerick (Project Gutenberg #982) lands as an externallimerickcase rejected foridentical_rhyme. One external case is added. - The English spelling heuristic no longer counts the silent
eof a "there-with" compound. A leadingthere,where,hereorerebefore an adverbial element (erewhile,therewith,wherefore,heretofore) read a syllable long. The rule takes a closed list of second elements, sohereditary,heresy,heretic,whereverandherepathkeep their counts, and every CMUdict word it reaches now agrees with the dictionary. Dictionary-backed packs change only for words they lack, which fall back to this heuristic:erewhileandtherewithare two syllables withdenckring[en]installed too.Abdieland four-syllableambrosialstay as they are. The checker versions of twenty-nine rows that read English syllable counts or stress are bumped:alcaic_stanza,alexandrine,arca_musarithmica,blank_verse,cinquain,dactylic_hexameter,double_dactyl,elegiac_couplet,haibun,haiku,hendecasyllable,iambic_pentameter,proteus_verse,renga,sapphic_stanza,senryu,syllable_count,tankaandtrochaic_tetrametertochecker_version2, and the ten already at 2 for this release (ballade,curtal_sonnet,englyn,heroic_couplet,ottava_rima,petrarchan_sonnet,rhyme_royal,shakespearean_sonnet,sonnet,spenserian_stanza) extend that entry's reason.monosyllabic_prosereads the count too but cannot move, since no word the rule reaches has fewer than two syllables. No golden verdict moves. willowrhymes withpillow. ADR 0057 says secondary stress does not key an English rhyme, but the key kept the stress digit of every vowel after the rhyme vowel, sowillow(IH1 L OW2) andpillow(IH1 L OW0) did not rhyme. The key now reads a secondary stress after the rhyme vowel as unstressed, and the rhyme vowel keeps its own digit, sosomedaystill does not rhyme withday. The change is indenckring-en-data; 18,289 of CMUdict's 117,493 alphabetic headwords have a key that changes, and German and French keys do not change. A pair a scheme wants rhymed may now rhyme, and a pair it keeps apart may now failunwanted_rhyme. Three rows that read English rhyme keys move tochecker_version2:ghazal,trioletandvillanelle. The seventeen already at 2 for this release (ballade,blank_verse,clerihew,curtal_sonnet,englyn,hemeling,heroic_couplet,limerick,ottava_rima,petrarchan_sonnet,rhyme_royal,rhyme_scheme,rondeau,shakespearean_sonnet,sonnet,spenserian_stanza,terza_rima) extend that entry's reason. No golden verdict moves, and the Don Juan and Lear selection figures do not change.- CMUdict's inline comments are no longer read as phonemes. 22 lines of the
dictionary end with a comment (
aalto AA1 L T OW2 # name, finnish), and the English pack kept#,name,andfinnishas three more phonemes. The lines belong to 21 headwords:aalborg,aalburg,aalen,aalsmeer,aalto,achill,d'artagnan,dail,danglar,danglars,fine,gdp,hiv,mcavinchey,porthos,sinn,spieth,taoiseach,tiernan,tierneyandtubbercurry. The pack cannot reachd'artagnan, since its lookup readsdartagnan, so 20 headwords change. Fordail,fine,sinn,tiernanandtierneyonly a second reading carried a comment, so their rhyme keys change and their phonemes do not. The other 15 change in both. The headwords' syllable counts and stress do not change, because no comment word carries a stress digit. One corner does: an-s/-esform the dictionary lacks is read through its stem, and gains a syllable when the stem ends in a sibilant.porthosanddanglarsused to end on a comment word, and now end onSandZ, soporthosesanddanglarsesgo from 2 syllables to 3. Every row that reads syllable counts or scans metre is already atchecker_version2 for this release, exceptmonosyllabic_prose, which cannot move on these words because both counts are above one.paronomasiaandportmanteauread whole phoneme strings and move tochecker_version2. The twenty rhyme rows already at 2 extend their reason.assonance_constraintandspoonerismread only vowels and onsets, which no comment reaches, so they cannot move. No golden verdict moves.
0.5.0 - 2026-10-13¶
Added¶
- The surfaces
denckring-benchreads are now promised (ADR 0060).golden_cases,GoldenCase,Description.readingandpack_provenance/PackProvenancemove out of "published, not yet promised".denckring.unmet_requirements(case, pack)(the function fromdenckring.eval.harness) anddenckring.PARAMETER_ROLES, a read-only mapping of eachx-denckring-rolevalue to its meaning, are exported. A role may be added; none is removed or renamed without a Breaking: entry. - Rows promise named metrics (ADR 0060 D3).
Description.metricsmaps each promisedmetricskey to its meaning:totalandnumeralsonchronogram,letterson eleven letter-counting rows. Parameter defaults, asdescribe().paramspublishes them, are now under the stability promise. PackProvenance.digests(ADR 0060 D4).denckring.pack_provenance(lang)now carries a SHA-256 per pack surface:graded_words,nounsandfiles, each omitted when the pack lacks the surface. The digest changes exactly when that surface's content does, which distribution versions (they move with every release) cannot say. AReport's own copy stays empty, so checks pay nothing.- Per-row checker versions (ADR 0061).
Description.checker_versionis an integer per row, bumped when a change can movesatisfied,scoreor the set of violation rules on some text.Report.provenance.checkers(and aProduction's) maps the row, and every row it delegates to, transitively (amultiple_constraintentry namingtelestichbringsacrostic), to its version, andschema_versionis1.3.denckring.checker_history(procedure_id)returns the row'sCheckerChangeentries,{version, since, reason}, shipped aseval/checker-history.yaml; every row begins at version 1 in 0.5.0. - A verdict fingerprint holds every move to a bump (ADR 0061 B3).
tests/test_verdict_fingerprints.pychecks each row's golden texts against each parameter set its golden cases use (1,135 probes in this release) and fails an outcome that moved while the probe'sprovenance.checkersdid not.uv run python -m denckring.eval.fingerprint --writerefreshes the snapshot and refuses while such a move stands. Reading.countingpublishes howchronogramcounts (ADR 0061 D4). A new exporteddenckring.Countingcarries the letter values, that they are summed (IVtotals 6), that every occurrence counts, that case does not matter, and thatfold_diacriticsdecides accented letters;Noneon a row that counts nothing. The golden casechronogram-my-day-closednow quotes Hilton, Chronograms (1882), p. 9, as its source; no verdict moves.- Every implemented row is externally evidenced or says why not (ADR 0062). Golden
cases added from 2026-10-12 quote public-domain text only, under the cutoff ADR 0062
states, and record the URL they were extracted from; earlier external cases, some of
them post-cutoff publications, stay as they are.
eval/fixtures/evidence-gaps.yamlgives each of the 70 rows with no externally sourced case a reason (after_cutoff21,none_found49, each with a note on what it rests on), and guards keep every row evidenced or listed, never both. A new exporteddenckring.CorpusShareis published asDescription.corpus(the row's cases by provenance and recorded verdict, and its gap reason) and ascorpusper row incatalogue export(nullon a row with no checker).statusprints a third line andevala fourth,63 rows externally evidenced · 70 explained · 0 unexplained;status --jsoncarries the counts asevidence,eval --jsonascoverage.evidence. With the seventeen cases below, external cases go from 85 to 102 of 704 (14.5%). The external-case floor rises from 66 to 102, joined by a share floor (0.144) and a per-row ratchet,tests/data/external-floor.json. - Thirteen external cases for seven verse rows, all public domain (ADR 0062). Each
is extracted by script from the Project Gutenberg file its
sourcenames, with the publication and death years that place it inside the cutoff: Swinburne's "Sapphics" (two stanzas), Clough's Amours de Voyage (two elegiac passages), Pope's Essay on Criticism (two couplets), Paradise Lost I.27-33, Don Juan I (two stanzas), Crapsey's "Triad" and "Moon-Shadows" forsyllable_count, Gosse's "Sestina", and Kipling's "Sestina of the Tramp-Royal", which is rejected for ending two lines on "along" where the rotation calls for "long".sapphic_stanza,elegiac_couplet,heroic_couplet,iambic_pentameter,ottava_rima,syllable_countandsestinaleave the gap registry. No verdict moves. Theottava_rima,elegiac_coupletandsapphic_stanzacases were selected from passages the checker largely or partly rejects: 215 of the 219 stanzas of Don Juan I (191 of them with an eleven-syllable line, as a feminine ending gives), 3 of 7 and 2 of 6 couplets in Clough's two closing passages, and 6 of Swinburne's 20 stanzas. Each case'ssourcesays so.alcaic_stanza,balladeandpetrarchan_sonnetfound no passing public-domain instance; their gap notes record what was rejected and why, as checker findings pending a ruling. - Four of Hilton's chronograms enter the golden corpus (ADR 0062), transcribed from
the page images of Chronograms, 5000 and More in Number (1882) because the archive.org
OCR misreads small capitals. Three English lines from p. 9 pass at the dates Hilton
gives (1652, 1651, 1651). The German rifle-target couplet on p. 87, which Hilton calls
"full of such faults" for its superfluous letters, is rejected with
wrong_total: its capitals give his 1854, every numeral letter gives 5916. lear-beardnow quotes Lear verbatim (ADR 0062): the text was lowercased, stripped of punctuation and cited no edition. It is now extracted by script from Project Gutenberg ebook #982, with its URL. Its verdict and score do not move.
0.4.0 - 2026-10-05¶
Changed¶
An entry marked Breaking: changes, for a call that is itself unchanged, a verdict, a parameter's default (in the schema too) or a published rule. The others change scores, evidence or descriptions only, or add something.
-
Breaking: A line meets a syllable count when some reading of its words does (ADR 0054, audit A3). The line-count rows read each word's first CMUdict pronunciation, while metre and rhyme read every one, so
every family singsfailed a haiku's five as seven syllables with nothing estimated.syllable_count,haiku,tanka,senryu,cinquain,englyn,hendecasyllable,alexandrine,renga,haibunandarca_musarithmicanow accept a line when any combination of listed readings meets the count.monosyllabic_proseaccepts a word with a one-syllable reading (fire), anddouble_dactylaccepts a word with a six-syllable reading (paradoxically). Packs gainsyllable_counts(word)andline_syllable_counts(line), and English's reads every CMUdict variant. Both are optional, are not on theLanguagePackprotocol, and are read withgetattr. German keeps its first transcription, because Wiktionary's list carries inflected forms (dulists deiner). French returns its one line total. A violation no reading meets names every reading:foundis4, 5 or 6 syllables. Golden corpus, re-measured over all 687 cases: no verdict or score moves. Texts like the audit's move from failing to passing. 92 of the 3,966 band-10 words have listed readings with different counts. -
Evidence.basisgainsambiguous(ADR 0054): the dictionary lists more than one reading and the checker accepted any of them. It is used on syllable, stress and rhyme evidence. It is not an estimate, soReport.estimatedstays false.dictionarynow means one reading. Metre evidence names the stress form the scan fitted (everyas10, was its first form100), or every form tried, joined by/, when the line does not scan. In the golden corpus, 51 evidence entries in 27 English cases (sonnet, stanza and rhyme rows) go fromdictionarytoambiguous, and three English metre entries changevalue. German entries staydictionary(ADR 0057, below).provenance.schema_versionis1.2(was1.1), and the schema test now ties each version to its basis values as well as its keys. -
describe().reading.determinacyisheuristicfordefinitional_expansionanddefinitional_literature(wasexact; ADR 0054): a word no gloss resolves is left unjudged, and their reports could already beestimated. It isheuristicformultiple_constrainttoo (wasexact): its entries may name a row that estimates, and a description of the row cannot know which a call composes, so a composite of exact rows is described more cautiously than it runs. The split is 84 exact and 49 heuristic (was 87 and 46). Anexactrow never reportsestimated, with no exceptions. -
Breaking: Source rows refuse a copy of their source by default (ADR 0055, audit A5).
allow_identitynow defaults tofalseon the 14 rows that take it, so a text whose letters are the source's, in order, fails asunchanged. Passallow_identity=truefor the old reading. A copy still passes where the source admits no other answer (a one-sentencerecombination, a one-wordcut_up, an N+7 source with no listed noun), because refusing it there would fail every text. A refused copy costs one unit of score, sosatisfiedand theunchangedrule are what mark it.applyon these rows refuses a copy in the same sense, socut_upno longer returnsa afora.a: it raisesdegenerate_outputwith a newobservedshape,the input's letters in the input's order(DegenerateOutput.COPY), where the text was not identical. Golden corpus, re-measured over all 687 cases: no verdict or score moves. Ones_plus_7case retypes its source to showambiguous_nouns="strict", and it now setsallow_identity: trueso that it fails for that reason alone. -
Breaking: N+7 reads a supplied dictionary strictly (ADR 0055, audit A5). On
n_plus_7ands_plus_7,ambiguous_nounsdefaults toNone, which resolves tostrictwhendictionaryis supplied and tofreewith the pack's nouns, as before. An explicit value still wins. With a supplied list, a listed word left unchanged fails asambiguous_noun_unchanged. The schema's default for the field is nownull(was"free"). A listed word whose displacement is itself (an offset that is a multiple of the list's length) now passes under every reading,strictincluded, and is not counted inambiguous_words. Golden corpus: nothing moves, since no case suppliesdictionary. -
Breaking: Positional rows score over an alignment (ADR 0056, audit A6).
column_reading,haikuization,every_nth_word,slenderizing,homoconsonantism,homovocalism,n_plus_7ands_plus_7compared a text with what their rule expects index by index, so one dropped unit made every later unit wrong, and N+7 scored any word-count mismatch 0/1. They now align the two by minimal edits (Levenshtein; a tie prefers a substitution, then a deletion, then an insertion;source_compare.align,aligned_report):goodis the matched count and the denominator the alignment's length, so one dropped unit costs one unit. Only an exact match scores 1.0. Scores and violation lists change. A substitution keeps the row's rule. An inserted run isextra_wordsorextra_lettersat its first unit, mid-text as well as at the end. A missing unit ismissing_wordormissing_letter, placed where it would go.n_plus_7ands_plus_7declareextra_wordsandmissing_wordand no longer emitwrong_word_count. Their mismatched texts are judged word by word around the gaps.missing_letteristranscriptiononslenderizing,homoconsonantismandhomovocalism(rule_categories). A lone substitution still costs one unit, as before. Golden corpus, re-measured over all 687 cases: no verdict moves. Threeslenderizingscores rise (0.25 to 0.75, 0.412 to 0.765, 0.167 to 0.833). -
Breaking: A pair kept apart fails only when every reader rhymes it (ADR 0057, audit A8).
unwanted_rhyme, on every rhyme-scheme row and onblank_verse, fired when any pair of the two words' keys matched, sogoneandon(AA1 NorAO1 N) failedAB. It now fires only when every pairing matches, or when the two words have the same set of keys:fogandbog(eachAA1 GorAO1 G) still fail, and so doeswindagainstwind. A wanted rhyme still needs one matching pairing. Each pair is decided on its own, not the scheme jointly, so one reading of a word may keep one pair apart while another makes a second pair rhyme.prosody.may_rhymeandprosody.must_rhymename the two tests.describe().reading.rhymeis new: on the 20 rows that judge a rhyme it says what the key is (from the last primary-stressed vowel in English and German, sosomedaydoes not rhyme withday, or the last vowel in a word with no primary stress; the last vowel in French) and how a scheme reads several keys; on every other row it isNone. -
Breaking: German stress and rhyme read the first transcription only (ADR 0057). Wiktionary's list for a headword carries its inflected forms' transcriptions, and the vendored table does not say which are which:
durhymed withmichthrough dich and scanned as two syllables through deiner.stress_patternsandrhyme_keyson the German Wiktionary pack now return the first transcription's alone, as syllable counts already did (ADR 0054). Real variants are lost with them:gehenis no longer offered as one syllable, andhierherno longer as01. German evidence is neverambiguous. Golden corpus, re-measured over all 687 cases: no verdict moves. Two German metre scores move, both on cases that already failed: Goethe's Iphigenie blank verse 0.9947 to 0.9895 (hierher), and itsmin_scorefloor drops from 0.99 to 0.98; Gryphius's sonnet 0.9873 to 0.9879 (du), which resolves the defect ADR 0040 parked. Seven evidence entries in three German cases changevalueas the other transcriptions drop out (hierher's rhyme iseː ɐ̯, waseː ɐ̯/iː ɐ̯ h eː ɐ̯). -
Breaking: A snowball counts letters, not characters (ADR 0058, audit A10).
snowballandreverse_snowballmeasured each word withlen, and the word pattern keeps an apostrophe inside a word, soI'mwas three letters long. They now count the word's letters (letter_spans, unfolded, soßis one):A I'm thepasses andbe I'mfails. No other checker measures a word's length that way. The hyphen andyreadings are unchanged and stated indescribe().reading: a hyphen splits a word (word_examples,well-knownis two words insentence_length_constraintandsnowball_sentencetoo), andyis no vowel in English or German (vowels). Golden corpus, re-measured over all 687 cases: no verdict or score moves. -
Breaking:
multiple_constrainttakes a list of{"id", "params"}entries (ADR 0059, audit B10).constraints: [{"id": "univocalic", "params": {"vowel": "e"}}, {"id": "lipogram", "params": {"forbidden": "a"}}]replacesconstraintsas a list of ids plusconstraint_paramskeyed by id, so the same procedure may appear twice (two lipograms, two acrostics). The old shape raisesInvalidParams, whose message is the caller's own call rewritten in the new shape; it is never re-read. The score is the mean of the constraints' own scores (was one unit per satisfied constraint, so 0, 0.5 or 1), andsatisfiedstill needs every constraint.metricscarriesdelegates.<i>.satisfiedanddelegates.<i>.scorein constraint order, replacing<id>_score. A violation'snote, and a constraint'sInvalidParams, name the entry's position when its id repeats (lipogram (constraints[1]); the error always does).prompt_hintand nowrender_hintfollow the composite's hint with one line per entry, each that constraint's own hint from itsparams(render_hintstatedconstraint_paramsas one setting line before). The CLI reads a--paramvalue as JSON when the field's schema type is an array or an object, so-p 'constraints=[...]'works, and any other value is read as before. The MCP server's length cap counts every string nested in the parameters, keys included. The explorer's bench renders and reads the field as JSON, and reports a malformed value asThat value could not be read: constraints is not valid JSON: ...(the notice for every unreadable field, which saidThat is not a number). Golden corpus, re-measured over all 687 cases: the six fixtures move to the new shape, no verdict moves, and three failing cases' scores rise (0.5 to 0.667 in English and French, 0.5 to 0.6875 in German). -
Rule ids and
Report.evidenceare under the stability promise (ADR 0059, audits B1 and B8). A rule published throughdenckring.rules(procedure_id)keeps its name and meaning; a row may add rules, and removing or renaming one is a breaking change the changelog names.evidencejoins theReportJSON fields the README promises, withEvidence's fields and its basis values (dictionary,ambiguous,estimated), so a caller can leave a verdict unscored frombasisalone.rulesandEvidencemove into the promised exports.rule_categories,failure_categories,metricskeys and the wording of messages and hints stay unpromised. -
describe()carries each row's rules (ADR 0059).Description.rulesisdenckring.rules(procedure_id), sorted, so a caller of the CLI or the MCP server reads the promised vocabulary without Python:describeandshowprint it, their--jsonoutput carries it asrules, and so does the MCPdescribe_proceduretool.multiple_constraint's is every other row's vocabulary, asdenckring.rulesanswers.
0.3.2 - 2026-10-05¶
Added¶
-
Prompt hints are templates (ADR 0050). Each hint states its row's parameters as
str.formatplaceholders ({forbidden}, not"e"), anddenckring.prompt_hint(procedure_id, lang=..., **params)renders it after validating the params ascheckdoes. A row with no hint in the language raisesNoPromptHint, and a stated parameter leftNoneraisesUnsetHintParameter. A parameter a hint leaves out is excused by its role (below), or, for a task parameter, named in the catalogue's newhint_omits, and a guard test holds the rule.describe, and the CLI, MCP, docs gallery and explorer through it, render hints from the defaults where they fill every slot. For the other 36 rows they show the template. Formultiple_constraint,prompt_hintalso appends one-line per named constraint, giving that constraint's own hint rendered from itsconstraint_params. A parameter a hint excuses only at its default (a switch, threshold, policy or tolerance) is not dropped when a caller sets it otherwise:prompt_hintandrender_hintappend it as- name = value:and the field's description, in English, one line per parameter. Soeodermdromewithmin_letters=12no longer reads as acceptingdead. Rendered from the defaults, a hint is unchanged. -
Complete the five remaining #22 checkers under ADR 0049: strict OEWN 2024 synonym/antonym substitution, and supplied-data bilingual gloss and sound checks. Unknown tokens fail, occurrence order is preserved, and bilingual schemas reject ambiguous or malformed inputs. The English package carries reproducible relation tables. These five rows provide checking only; their catalogue definitions state the dictionary and caller-data limits. Together with perverb, all 133 mechanically implementable catalogue rows are now registered and fixtured.
-
perverbgenerates and checks two-fragment grafts from a bounded English proverb corpus (part of #22). Explicit source and donor, six pairings, deterministic output and unresolved verdicts for unknown sayings. ADR 0048 records sources, editorial seams and limits; requiresdenckring[en]. -
allow_identity(defaulttrue, so no verdict moves) on the 14 source rows whose checker passed an unchanged copy of the source, measured with each row's golden parameters:anagram,buchstabwechsel,cut_up,diastic,homoconsonantism,homovocalism,lipogrammatic_translation,melting_text,mesostic,n_plus_7,recombination,s_plus_7,transposalandunivocalic_translation. Set tofalse, a text whose letters are the source's in the same order fails asunchanged, the ruleantigramhas always applied. Rows that pass a copy only on a source the rule leaves alone (one line, one sentence, no alternatives) do not take it, since the copy is the right answer there;tests/test_allow_identity.pynames them and holds the rule for new rows. On a row that carries it,falsestill lets a copy stand where the source admits no other non-empty answer: a one-sentencerecombination, or one whose every reordering has the copy's letters (It rains. It rains!), and a one-wordcut_upormelting_text, where the empty text also passes but is not counted as an answer, since it is the outputapplyrefuses as degenerate. Generators already had anallow_identity(permit output identical to the input or empty, defaultfalse); the check-side field shares the name with the opposite default until that default flips. -
require_displacementonn_plus_7ands_plus_7(defaultfalse). Set, a text in which no listed word was displaced fails asno_displacement, whateverambiguous_nounsmakes of each unchanged word. -
Opt-in minimums against trivial passes, each defaulting to today's behaviour:
word_laddertakesmin_steps(too_few_steps) andend_at_target, which makescheckreadtargetand fail a ladder ending elsewhere (wrong_end);applyrefuses rather than return a shortest ladder undermin_steps.eodermdromeandchronogramtakemin_letters(too_short). -
Each row declares its
violation.rulevocabulary (ruleson the procedure class), anddenckring.rules(procedure_id)returns it, sorted.multiple_constraintpasses its constraints' violations through unchanged, so it answers with every other row's vocabulary. A rule a shared helper can emit is declared only where the row's call reaches it:iambic_pentameterdeclares no rhyme rule. Every rule a test or a golden case emits must be declared, and every declared rule is proved emittable by a golden case or a recorded witness. The ids are published but not yet under the stability promise. -
denckring.rule_categories(procedure_id)maps each of a row's rules to the kind of failure it names, from a closed setdenckring.failure_categories()defines:excluded_letter,inventory,word_choice,position,structure,count,length,transcription,soundandunreadable. One category per rule string, the same on every row but one:wrong_letterispositiononacrosticandtelestichandtranscriptiononslenderizing, where the text departs from its source.multiple_constraintanswers with each rule's usual category. A test fails a declared rule without one, an entry for a rule no row declares, and a row exception that restates the default. Published under the rules' own terms: a category may move in a minor release, and the changelog will say so. -
Two catalogue flags for a caller building a transform prompt from a row, on
Metaanddescribe.unique_answer(onboustrophedon,every_nth_word,fold_in,haikuization,mathews_algorithm,slenderizingandtext_folding) says the source and parameters fix the one textcheckpasses; a test applies each row and fails it if a dropped, added, swapped or changed word still passes.hidden_materialnames the parameter or capability whose data decides the answer and which a prompt does not carry:n_plus_7's dictionary, a gloss lexicon, a device, a figure, the proverb corpus. A row requiring nouns, glosses or proverbs must declare it.column_readingcarriesunique_answertoo, now that an appended source word fails it (below, under Fixed). -
denckring.scope(procedure_id, *, lang="en", **params)names the smallest unit a row judges alone under its parameters:word,line,sentence, ortextfor no claim (denckring.scopes()defines each). A word-scoped row passes a text of words if and only if it passes each word alone, sodenckring.admits(procedure_id, word, ...)answers for the word wherever it is set, anddenckring.witness(procedure_id, vocabulary, ...)builds a passing text from the admitted words, proving parameters above the golden defaults satisfiable. Fifteen rows are word-scoped (the lipograms, the vowel and consonant rows,tautogram,homoteleuton,beau_present,heterogramand others), five line-scoped (the fixed metres,alliterative_verse) and two sentence-scoped; a row inferring a parameter is local only with it stated, andmultiple_constraintkeeps the coarsest scope of its constraints. A test builds texts from passing and failing golden units for every claim and fails any whose verdict departs from its units'.admitsandwitnessraise the newNotWordLocalfor any other row, naming the parameters to state where there are some. -
denckring.words(lang, *, max_band=None, letters_only=True): a pack's graded words up to a band, commonest first, without the entries the pack excludes as no everyday word.denckring-en-dataships the first such list, seven band-10 entries (payed,numbest,cs,hes,cums,leaved,re); ADR 0051 records it as an editorial override of SCOWL that touches the view only, nevergraded_words(),is_wordor a checker.denckring.nouns(lang, *, max_band=None)lists the dictionary N+7 walks by default, in its order, and withmax_bandonly its everyday nouns, so a prompt can print the material its answer comes from.BasePackgainswordsand an optionalword_exclusions; theLanguagePackprotocol is unchanged. -
English word frequency (ADR 0052).
denckring-en-dataships the count of each graded word in the Leipzig Corpora Collection'seng_news_2023_1M(CC BY 4.0, already among the distribution's licences), counted in lowercase so names in the news do not rank common nouns. The pack declares the newlexicon.frequencycapability and answersword_frequencies();denckring.words(lang, order="frequency")sorts the everyday view by it, and anyorderbutbandorfrequencyraisesValueError. No checker reads it. German and French have no counts, and their refusal names no extra. -
Every error class is importable from
denckringitself and listed in its__all__:DenckringErrorand its 23 subclasses, whichdocs/api/errors.mddocumented only underdenckring.core.errors, a path outside the stability promise. -
get_pack,LanguagePackandPosTagare importable fromdenckring, and the README lists the pack surface as a contract: a protocol method keeps its signature and meaning, and a new one arrives as an optional member read withgetattr. -
denckring.golden_cases(lang=None, *, runnable=True)returns the shipped golden examples asdenckring.GoldenCase: text, params, recorded verdict,provenanceand case-levelrequires.runnablekeeps the cases this install's packs can run, with both the row's and the case's own requirements met. -
denckring.render_hint(procedure_id, template, *, lang="en", **params)renders a template the caller owns byprompt_hint's rule, validating the params ascheckdoes and refusing a placeholder that names no parameter. A field may declare how it reads in a sentence withx-denckring-show;lettersquotes each letter of a set, soconsonantal_lipogram's hint now readsthese letters: "e", "t"rather thanthe consonants in "et", andbivocalic's does the same for its vowels. A German or French hint quotes the letters in its own marks („e“, „t“,« e », « t »). Underfold_diacriticsa letter is shown as the checker compares it:forbidden="é"renderse, since everyefails. -
describe(...).reading.unitsmapsline,clauseandsentenceto the characters that end each, as the checkers split them: a clause ends at,,;,:or a line break, a sentence at.,!,?or…. A guard holds each entry to its splitter over every character in the Basic Multilingual Plane. -
describe(...).readingstates the readings a count turns on (audit E6).word_examplesruns the word pattern on four probes, so a caller sees that an apostrophe stays inside a word (don't,l’âme), a hyphen splits one (well-knownis two) and a digit is no part of one;vowelslists the lettersunivocalic,bivocalic,monoconsonantalandhomovocalismread as vowels,yamong them in French only. Both are derived from the pack, and tests hold them to whatevery_nth_wordandunivocalicdo. -
Report.estimated: whether the verdict rests on anything estimated or left unjudged, computed fromevidenceand the row's own count, and under the README's stability promise. A caller deciding to leave a verdict unscored reads this rather thanmetrics["estimated_words"], which is not promised and which, row by row, misses whatevidencerecords (rhyme endings) or records whatevidencedoes not (words read from spelling inproteus_verseandspoonerism, unresolved glosses). Added beside the other fields; none of them changes.multiple_constraintcarries its constraints'evidenceandestimated_words, the latter only when some constraint estimated, so a composite is estimated whenever a constraint in it is; its verdict and score are unchanged.Evidenceis importable fromdenckring. -
Every params field declares its role and, for a string, its kind, in its JSON Schema:
x-denckring-roleis one oftask,inferred(unset means the checker reads it off the text),policy,leniency,switch,material,tolerance,budgetorapply_only, andx-denckring-kindone ofletter,letters,vowel,vowels,consonant,word,phrase,name,scheme,metre,digits,text,documentorid. ANonedefault no longer has to be read from prose to tell an inferred parameter from a leniency or a default dictionary, andforbiddensays whether it is a letter, a set of letters or a word. Both sets are closed; guards hold every field of every model to them and each kind to the values the golden corpus passes. Which parameters a hint may leave unstated is now derived from the roles (ADR 0050, amended):core.hints.UNSTATED_PARAMSis gone, andhint_omitsnames only the two task parameters a hint still leaves out. -
Schemas a caller can draw from, stating only what validation already refuses: the JSON Schema of
calculator_word.digitscarries thepatternits validator applies (digits a seven-segment display reads as letters),proteus_verse.metreandllull_figure.figureanenumof the metres and figures they accept, andsonnet.schemeaminLengthof 14.quenina.nlists the sizes the form exists for underx-denckring-valid(to 100), not as anenum, because any other size, zero and negatives included, is accepted and fails asinvalid_size.rhyme_scheme,hemeling,sonnet,syllable_count,assonance_constraint,rondeau,renga,calculator_wordcarryexamples. The schemas are not enforced by pydantic, so no call that succeeded fails; a test holds every validating keyword to refusing only whatcheckrefuses, and every example to a value it accepts. No bound is stated beyond what validation already enforces where the checker accepts every value that passes it:syllable_count.patternandsonnet.metretake any value, andassonance_constraint.minimumandrondeau.rentrement_wordskeep their validated minimums of 2 and 1. -
denckring.pack_provenance(lang)returns which pack answers for a language and the data distributions it reads, with their versions: the recordReport.provenance.packcarries, without checking a text first.PackProvenanceis importable fromdenckring.
Changed¶
-
Meta.prompt_hintsholds templates (ADR 0050): a raw hint may contain{placeholder}s naming the row's parameters, where it used to hold finished text written for the default parameters. Read a hint throughprompt_hintordescribe, which render it. -
provenance.schema_versionis1.1on everyReportandProduction(was1.0), for the addedReport.estimated, by its own rule: a minor step for an added field. A test now ties each version to the keysReportandProductionserialise. No verdict or score moves. -
A violation's
expectedtext names a letter set letter by letter:consonantal_lipogramsaysnone of "e", "t"(wasany letter outside 'et') andbivocalicsaysone of "a", "e"(wasae). Message wording is outside the stability promise; no verdict, score or rule moves. -
The sdist bound is raised from 1,050,000 to 1,150,000 bytes. This release's code, tests and ADRs, not a data file, took the clean build to 1,060,716 bytes; the smallest data file the bound exists to catch is now
frequencies.txt.gz(202,997 bytes), so the bound still fails a build that ships it.
Fixed¶
-
A device or figure id is read in its own case on every OS. On a case-insensitive filesystem (macOS, Windows)
LLULL_TERNARYfoundllull_ternary.yaml, sollull_figureaccepted an id that Linux refused; the lookup now matches the file's listed name exactly. -
queninawithnbelow 1 now fails. A negative size used to returnsatisfiedtrue with a score of 1.0 alongside aninvalid_sizeviolation, because the empty spiral checked no stanza and the size was counted as matched lines.n=0already failed. Now every size below 1 is unsatisfied with that one violation. No golden case moves; all of them setnto 3. -
column_readingfails a text with source words appended after the column. The column followed by more source words returnedsatisfiedtrue with a score of 1.0 alongside anextra_wordsviolation, because the surplus never reached the score's denominator; each extra word now counts against it.haikuizationshares the check but could not reach the case: a word after its last line end is not in the source, sonot_in_sourcealready failed the text. On both rows a text that already fails with surplus words now scores lower, since each surplus word joins the denominator (for example 0.857 to 0.75); its verdict does not change. No golden verdict or score moves; a new golden case holds the fix. -
assonance_constraintnames the same vowel in every process. When vowels tied for a line's top count, theno_repeated_vowelviolation named whichever asetiterated first, so itsfoundchanged withPYTHONHASHSEED. It now names the tied vowel the line reaches first. Message only: no verdict or score depends on which vowel is named. -
Seventeen fixed forms accepted
unknown_rhymeand ignored it:ballade,blank_verse,clerihew,curtal_sonnet,englyn,heroic_couplet,limerick,ottava_rima,petrarchan_sonnet,rhyme_royal,rondeau,shakespearean_sonnet,sonnet,spenserian_stanza,terza_rima,trioletandvillanelle. Each now passes it to its rhyme check and declaresunknown_rhymeamong its rules. The default,undecidable, is what they already did, so no default verdict moves; only a caller who sets the parameter sees a change. Explicitstrictfails a pair whose ending the dictionary lacks, and explicitfreelets that pair satisfy the scheme.blank_versechecks no scheme, so there onlystrictchanges anything: it fails a pair with an unknown ending, which every other setting still reads as unrhymed. One golden case already setfreeand was read asundecidable:villanelle-passerat(French) now scores 0.994 instead of 0.980, and its verdict, unsatisfied for a broken refrain, is unchanged. -
consonantal_lipogramfolds itsforbiddenletters the way it folds the text, aslipogramhas since ADR 0035 D3.forbidden="ç"never matched a folded letter, so any French text was satisfied; it now fails on everycandç. A letter that folds to two (ß) is refused withinvalid_params, namingfold_diacritics=false(ADR 0035 D4); before, it passed every text. -
boustrophedoncompares a turned line stripped and casefolded, as it already compared every line for missing or invented material. Byte for byte, a trailing space or an indent on a turned line wasline_not_turnedwhile the same space on an unturned line passed. -
text_foldingandfold_inhold the same line policy: a line in its folded position is compared stripped and casefolded. Byte for byte, a trailing space, an indent or a capital on a correctly folded line wasline_out_of_foldornot_the_fold. -
English syllable estimates read a suffixed silent
e. The spelling heuristic drops theeof a final-esor-edafter a consonant (awakes2,hoped1), but not after a sibilant (faces),-edaftert/d(wanted), or a consonant and a liquid (tables,hundred); its agreement with CMUdict rises from 83.4% to 87.0%. That is a net gain, not a pure one: 450 words that read right before now read a syllable short, mostly-ires,-ired,-atesand adjectival-ed(tired,fires,naked,wicked,affiliates), against 4,626 that read right only now. Withdenckring[en]those words are dictionary-exact and unaffected; the cost falls on core-only installs and on words the dictionary and its stems both lack. Withdenckring[en], an-s/-esform CMUdict lacks (awakes) is read through its stem (awake, plus a syllable after a sibilant). Read the same way, the 13,973 such forms CMUdict does hold agree with it on 98.9%. Both stay estimates and count inestimated_words. Two golden cases keep their verdicts with fewer length violations: Chaucer's rhyme royal (score 0.8974 to 0.9318) and Spenser's stanza (0.9688 to 0.9718, line 4 now failing on stress rather than length). -
slenderizingandevery_nth_wordplace every violation.wrong_letter,wrong_word,extra_lettersandextra_wordscarriedoffset=Nonealthough the checker had the spans; they now carry the offset of the text's letter or word, and a letter or word missing from the end is placed at the end of the text,len(text).column_readingandhaikuizationplace a missing line word the same way instead ofNone.Violation.offsetdocuments the convention:len(text)means "at the end", sotext[offset]is not always a valid index.
Docs¶
-
The README's stability promise names its Python surface: the names
denckringexports, from that path. The functions and models that 0.3.1 exported, the error classes (name, place underDenckringError,code) and the pack surface (get_pack,LanguagePack,PosTag) are under it, and so isReport.estimated, withprovenance.schema_versionat1.1. The rest is listed as published but not yet promised:rules,rule_categoriesandfailure_categories;Report.evidenceandEvidence, planned for the promise in 0.4.0 with the rule ids; theunique_answer,hidden_materialandhint_omitsflags;prompt_hintandrender_hint, whose hint wording is catalogue text;golden_casesandGoldenCase;scope,scopes,admitsandwitness;wordsandnouns;pack_provenanceandPackProvenance; anddescribe'sreadingwith itsunits,word_examplesandvowels. The API pages document every export fromdenckringrather than fromdenckring.core, addingapply,produce,Productionand six error classes they had left out. A test fails an export the API pages do not document from the top level, or the README does not classify. -
deterministicis documented, onMetaand in the README: it is a catalogue claim about the form's output (false where chance or the writer decides, as in a cut-up), not aboutcheck, which is deterministic on every row, and not derived fromapply, so a generator that draws is found by itsseedparameter rather than by the flag. -
consonantal_lipogramis documented as the checker reads it: a lipogram over any set of letters, vowels included. Itsforbiddendescription and English hint say "letters", a catalogue note says the form's consonant group is its case and not the checker's limit, and two golden cases forbidae. The checker is unchanged, and narrowing it to consonants would now need a deprecation. -
Reword 18 English prompt hints whose literal reading fails their own checker. The anaphora and epistrophe hints say where a clause ends (every comma, semicolon, colon and line break), and a guard holds that for every English hint of a row with a clause unit. Six hints that named a search (
eodermdrome,semordnilap,supervocalic,charade,tautonym,word_ladder) now state that the whole text is the answer. Seven state a rule their checker applies:tmesishyphens,paragrampairs,chronogramcase,belle_absentealphabet,serial_lipogramwrap-around,sestinarotation andreverse_snowball's end.acrosticandtelestichstate the unit count, andliponymno longer points at a subject the prompt never gives. No hint offers an example that passes its checker alone, and a guard holds that for English hints. Checkers and fixtures are unchanged. -
The hint audit extended to the transform rows,
queninaand the prosodic rows: 30 English hints reworded to state the rule their checker applies. The transforms say how to derive the one answer:haikuizationtakes each line's last word (it said "rhyming words"),every_nth_wordkeeps the words numbered by multiples ofn,boustrophedonturns the even-numbered lines character by character,slenderizingcopies the source without the letter (it said "read what the remaining letters now say"),mathews_algorithmrotates passages, not columns, andcolumn_reading,text_folding,fold_in,n_plus_7ands_plus_7state their order and wrap-around;queninagives the spiral order. Fixed forms state the line count, scheme, metre and refrains their checker holds them to:ottava_rimaandrhyme_royalare one stanza, not several;curtal_sonnethas eleven full lines, not ten and a half;englynrhymes all four lines rather than "consonant patterning";ballade,petrarchan_sonnet,shakespearean_sonnet,spenserian_stanza,rondeau,trioletandvillanellegive their schemes and refrain lines;sapphic_stanza,alcaic_stanza,dactylic_hexameter,elegiac_coupletanddouble_dactyltheir stress patterns;haibun,rengaandghazalthe order and the lines their checker reads. The word-counting transforms say that a hyphenated word counts as two, as the tokenizer reads it. Checkers are unchanged. -
Twenty-three German and French hints, written where the checker runs in the language and what it reads there is certain. German:
lipogram,lipogrammatic_translation,tautogram,pangram,beau_present,boustrophedon,column_reading,fold_in,haikuization,mathews_algorithmandtext_folding. French:lipogram,lipogrammatic_translation,consonantal_lipogram,liponym,pangram,beau_present,column_reading,every_nth_word,haikuization,mathews_algorithm,queninaandslenderizing. The lipogram hints say how a letter folds (äasa,ßasss,éandëase,çasc), and the French hints that count or pick words (every_nth_word,column_reading,haikuization,mathews_algorithm,quenina) that an elided word counts with the word it precedes. Counts are worded to read correctly at 1. Rows are left without a hint where a translation would have to settle something open:univocalic(yis a vowel in French and not in German),heterogramand the anagram rows (ßfolds to two letters),palindrome,acrosticandtelestich(theirunitrenders as an English word), the snowballs (what counts as a letter waits on the 0.4.0 reading),word_ladder, the N+7 rows, and the rhyme and metre rows. -
Every parameter defaulting to
Nonesays in its description what unset means:bivocalic.vowels,monoconsonantal.consonant,serial_lipogram.startandsnowball_sentence.startare inferred, as their siblings already said;seeddraws afresh;arca_musarithmica.tonuschecks no mode;ideenwuerfeln.headwordtakes any entry; thedomainandsplice_langfields andword_ladder.targetsay what they fall back to. A test holds every field of every params model to it. The API docs gain a section on how a checker reads text. -
Correct S+7's English, German and French definitions to the noun-displacement procedure documented by Oulipo (#23). Cite its public account and distinguish the base form from configurable word-list and offset extensions in the notes. Both IDs and their shared behavior remain unchanged. Remove the wording guard that required the earlier, inaccurate generalisation.
-
English
graded_words()andis_wordare documented as differing on purpose. The graded table is SCOWL's size classes (ADR 0028) and includes words that are not in the membership oracle: verbs and adjectives such asabjure, and band-10 junk such aspayedandnumbest. The oracle stays WordNet's nouns plus CMUdict's headwords (ADR 0015). The pack docstrings and the pack API page say so, and a test holds the rule that every graded word the oracle refuses is in neither of its sources. Verdicts are unchanged. -
ADR 0053 records why no pronunciation supplement ships for the five band-10 words CMUdict lacks (
deeming,inclining,inputted,inputting,sophisticating): no licensed source holds them, and adding them would widenis_wordand move verdicts. Their syllable counts are already right, as estimates.
0.3.1 - 2026-09-22¶
Added¶
chimera, the thirdposrow and the first that generates it (issue #22). A text's nouns, verbs and adjectives stripped out and refilled from three different donors. The parameter shape it was said to be blocked on is three role-keyed fields —nouns_from,verbs_from,adjectives_from— beside the inheritedsource, and no change tocore/base.pywas needed: the premise thatSourceParams"carries one source and chimera needs three" was wrong, since the source is the frame, the text this one was made from, and the donors are lexical stock rather than sources. An orderedsources: list[str]was rejected for hiding the role in a positionparams_schema()cannot describe.
Auditing it found the row's one real defect before it shipped: the generator
produced text its own checker rejects, because a drawn word's class is a fact
about where it lands — salt is a NOUN in the donor and PROPN at the head of a
sentence. _produce now re-tags its own output and redraws the positions whose
class did not survive. Four questions the definition leaves open — an empty
donor, repetition, capitalisation, and how the frame's surviving words are
compared — are ruled on in the module docstring, each with a test that has to
change if the ruling does. ADR 0046 records the parameter-shape decision ADR
0045 declined to make.
Two limits are measured and stated rather than papered over. apply's redraw
loop is greedy and incomplete: a refusal is that search failing, not a
proof that the frame cannot be filled, and a sweep of 400 random cases found
21 refusals of which at least 8 were false. The message says so. And a donor
pool is the tagger's reading of the donor, which can be far smaller than the
donor text looks — so each candidate carries forced_positions beside
target_positions, counting the positions where exactly one donor word
survives and seed therefore changes nothing.
- Thirty French-sourced rows now declare French (ADR 0047). meta.languages is
authored editorial scope and runs_in is computed from capabilities; measured on
2026-09-21, 174 (row, language) pairs ran without being editorially claimed, of
which 92 were French. This closes the thirty whose own source: field is the
evidence — lipogram is Perec's La Disparition and declared [en, de] — and
leaves the other 144 open rather than sweeping them. Eleven French names and
twelve French definitions were written for the rows that had none, and 24 French
golden cases, because a declared language must be one the row has actually been
run in. French editorial scope goes from 14 rows to 44; runs_in does not move.
The same test over German-sourced rows returns zero: every row sourced to a
German original already declared de. Measuring for this found the README's
denckring[fr] count stale at 103 against a measured 106, and its illustration of
the distinction resting on belle_absente — a row whose languages was wrong,
which is how it could illustrate anything. clerihew replaces it.
- tests/test_declared_language_strings.py, asserting through describe that
no declared language is ever answered in a substitute. tests/test_catalogue_quality.py
already held the rule against the YAML; this holds it at the surface a caller
sees, where the per-field fallback to English is what does the damage.
- s_plus_7 and n_plus_7's two descriptions of s_plus_7 now agree (#23,
documentation half). catalogue.yaml called the row "N+7 generalised to any part
of speech"; the module docstring called it "N+7 generalised to any displacement",
the step "left to the writer" — only one can be the row's point. Settled on the
catalogue's side, since a definition here arrives with a source and the docstring's
phrasing described an implementation instead. Neither description was ever built as
a difference: n_plus_7 already accepts offset and dictionary, SPlus7Params
adds no field, and _check/_produce both delegate — both rows' notes now say so,
in both directions, because denckring show and describe_procedure over MCP
surface notes to every caller. Still open on #23, not decided here: whether the
row's definition itself, sourced to Oulipo's La Littérature potentielle (1973),
should change — the honest reading of the code is a description of an
implementation, not of a form.
Fixed¶
- Four guards that could not fail, and the state they leaked (#17). A catalogue
test named for mutation never mutated anything and was true whether or not
Metawas frozen; an MCP assertion was a disjunction almost any dict satisfied; a preflight test was named for the changelog branch it never reached. The two concurrency tests asserted that a thread had not finished yet — a claim about the scheduler, not the lock — and restored module globals with trailing statements, so a mid-test failure left_REGISTRY/_PACKSempty for everything after. They now wait on an instrumented lock probe and restore in a fixture finalizer.test_version_fallback.pyrestores infinally, so a raising reload no longer leaves__version__at"0+unknown"for the rest of the session. - Dead code, an unexplained re-export, a test-only default and an unchecked
duplicate (#18).
differ_by_onemoved out ofparagram.pyinto the test that is its only caller;import importlib as importlibsays why it is written that way;_install'ssourcesis required, removing a branch only a test reached and with it a write into the real_SOURCESglobal._download_integrity.pyexists as five byte-identical copies of which one was checked — a new test derives the set from the filesystem and asserts they hash alike. - The release gate depended on the runner's ambient Python (#16).
preflightran a barepython3with no toolchain step while every adjacent job set one up explicitly; the script needs 3.11+ fortomllib, so the job that exists to gate a release was the one that would break, during a release. It now sets upuvand runsuv run python, which provisions a Python satisfyingrequires-pythonregardless of the image. -
The audit guard checked one direction only (#19). It caught a registered procedure with no audit file, but not a stale file for a removed one, and not that
docs/audit/README.mdlists what is on disk. Strengthening it found real drift:homosyntaxismandverbless_prosewere named in the README's intro and filed under no classification section. -
test_the_sdist_stays_smallmeasures the commit rather than the checkout (#14).uv buildreads the working tree, so a gitignoredsite/ofmkdocsoutput took the archive to 9.5 MB against a 950,000 cap and the guard failed on developer machines for reasons unrelated to the bound. Every implementer who hit it flagged it as pre-existing and worked around it — a guard training its readers to ignore it. The fixture now builds fromgit archive HEAD, so a local run and CI measure the same bytes. It skips where there is no repository, because the sdist shipstests/and a downstream packager runs this suite from an unpacked tarball. Theexcludeentries inpyproject.tomlare left in place: they no longer matter to the test but still protect a hand-runuv buildin a dirty checkout. - The sdist bound is raised from 950,000 to 1,050,000 bytes, by maintainer decision,
after merging this release's three branches crossed the old one for real: the
35,963 bytes of headroom recorded at 0.3.0 were spent by legitimately shipped prose
and fixtures, not by a data file creeping in. Re-measured from
git archive HEAD, the safe window is(953,687, 1,203,604)— the clean build up to that build plus the smallest data file the guard exists to catch (graded_words.txt.gz, 249,917 bytes) — and 1,050,000 leaves 96,313 bytes of headroom while still catching that file or the roughly 300,000-bytemutants/class of accident.
0.3.0 - 2026-09-21¶
Added¶
pos, a part-of-speech capability, and the two rows it unblocks (ADR 0045, issue #22).LanguagePack.pos_tags()reads a whole sentence and returns onePosTag(upos, verb_form, known)per token.verbless_prosebars finite verbs;homosyntaxismchecks that a text keeps its source's word classes position by position while replacing its open-class words.denckring-en-pos, a seventh distribution, supplyingposfor English: an averaged perceptron trained on UD English-EWT v2.18, shipped as a weights table, pure Python at inference time and with no model download. Its own distribution because the treebank is CC BY-SA wheredenckring-en-data's data is not, and ADR 0013 quarantines a data licence.pip install denckring[pos].
It is a model, so its verdicts are estimates, and they are not hidden.
Measured on the treebank's held-out test split: joint accuracy 0.9269, UPOS
0.9342, and for finite verbs precision 0.9482, recall 0.9498, F1 0.9490. So
about one finite verb in twenty escapes verbless_prose. PosTag.known
carries this per token, every report carries an undecided_words metric, and
describe() reports reading.determinacy as heuristic for both rows.
verbless_prose's golden fixtures include three satisfied: false cases that
are false positives on genuinely verbless Dickens, recorded rather than
avoided.
- core.text.sentence_spans(), splitting on a new _SENTENCE_END constant.
Neither existing splitter was right for this: _TERMINAL_PUNCTUATION's comment
says "sentence punctuation" while the constant carries ,;:, and clause-level
splitting measurably breaks the appositive prose verbless_prose exists for.
- check_text and apply_procedure on the MCP server now refuse a text over
DENCKRING_MCP_MAX_CHARS characters (default 50000) with a new text_too_long
error code, rather than running an algorithm sized for an interactive call
against an arbitrarily large remote input (P2-06).
Changed¶
Meta.aliases,Meta.languages,Meta.requiresandMeta.apply_requiresare nowtuple[str, ...]rather thanlist[str], andMetaitself is frozen (P2-01):catalogue.get()returns the same cached object to every caller, and a mutableMetalet one caller's introspection silently change what a registered procedure required for every futurecheck()call.Reportnow raisesValidationErrorif constructed — or, as of this release, mutated — withsatisfieddisagreeing withscore == 1.0(P2-02). This was previously only a documented convention that individual procedures were trusted to honor.describe.runnable()andapply_runnable()now propagate exceptions other thanUnknownLanguageinstead of swallowing all ofException, so a bug in a procedure's own code is no longer indistinguishable from that procedure legitimately not running in a given language.denckring-en-data'senentry point is now the factorydenckring_en_data:packrather than the classEnglishDataPack, so the tagger distribution can be composed in without claiming the language itself — the move German made under ADR 0030. The class is still exported and still works; what changed is which object the entry point names.describe._SOFTnow containspos, so the two new rows reportreading.determinacyasheuristic. A tagger never looks anything up, so aposrow can no more beexactthan a syllabic one; without this,describe()told callers a statistical verdict was certain.
0.2.0 - 2026-09-11¶
Added¶
paronomasia— the pun, as the relation between a text and the phrase it displaces. The row ischeckability: source: the caller declares the phrase, and the check decides that at least one word was displaced, that no more thanmax_displacementswere, and that each displacement lands inside a requested band of phonetic distance. Whether the result is funny is the writer's claim, the positionkangaroo_wordalready takes on synonymy.
The band has two edges on purpose. 0.0–0.0 asks for a homophone and refuses
anything else; 0.4–0.7 asks for a pun that has to work for it and refuses a
homophone as too easy. "Make it worse" is a writing constraint the same way "avoid
the letter e" is, and a ceiling alone could not express it.
What ships is narrower than the figure, and the row says so rather than
implying it. A displacement is checkable only when the word that lands is itself
in the pronouncing dictionary — bread for Brad, French Diminu'tif for
diminutif. The blends that dominate real punning shop names put a coined word
there, and nothing here can pronounce a word it has never seen: hairways,
hairitage, barberella, Haarmonie, Chaarisma and atmosphair all raise
MissingCapability, measured rather than assumed. That family needs a
phonemes.g2p capability, named on the row with no pack behind it — the honest
state ADR 0015 describes, and the one homophonic_translation is already in for
phonemes.bilingual.
New: core.phonetics, an unweighted Levenshtein over phoneme symbols normalised by
the longer sequence. Deliberately not PanPhon's feature-weighted distance, which is
more perceptually faithful and would put numpy and pandas behind a package whose
dependencies are pydantic, pyyaml and typer. The cost is admitted in ADR 0041: this
measure charges the same for /t/→/d/ as for /t/→/m/. ARPABET's stress digits
are stripped first, or the reads as a pun on the; the rule strips a trailing
digit, so it is a no-op for German and French IPA.
Measured while building it, and recorded because none of it was guessed: the
generator needs no search budget, because prefiltering on phoneme length and on a
shared first or last phoneme takes English's 45,884 pronounceable graded words down
to between 143 and 2,424 per position. Homophone density is an orthography
difference rather than a data gap — at distance exactly 0.0, French air offers 13
displacements and temps 7, English air offers 3, and German Komm and Haar
offer none.
-
Ten trades, up from three:
bar,butcher,coffee,fishmonger,florist,nailsandpetsjoinbakery,hairandoptician— 366 vocabulary words and 48 blends across three languages. A trade now ships a vocabulary and need not ship phrases at all:TradeWords.phrasesis optional, because requiring it is what pushed the first three trades into carrying phrases invented for reachability. Seven words were dropped as unpronounceable, includingperm, which had been in the hair vocabulary since it shipped and was therefore never usable. -
A bug in the blend's window search, and the two names that were resting on it.
_closest_windowstarted at(1.0, 0, 0)and returned it untouched when nothing scored below 1.0 — reporting a zero-length window as its evidence,h aː ɐ̯ for at 1.000, which is a comparison against nothing. It read as a loose match and was no match.
Monhaarlisa and Pawsome shipped on it, each with max_distance: 1.0 and a
comment calling them blends you see rather than hear. Measured honestly they are
1.000 from every stretch of their hosts, so both are removed, and the per-blend
max_distance that existed only to carry them is removed from the model. All 48
remaining blends check at the row's own default band.
The class is real and no rule reaches it: Monhaarlisa, Pawsome, Yes We Kämm
are carried by the letters and by what the reader already knows, not by sound. This
row checks the heard relation and now says so instead of opening its band until
something passes.
- Both new rows generate now.
portmanteau.applyproposes every way of splicing each trade word into the host and hands each candidate to its owncheck— the project's thesis used as a search. Not knowing where to splice stops mattering if you can afford to try everywhere, and you can: at most 859 candidates, about 0.2s.KameragivesKammera,airlinegiveshairline,curtaingivescurltain.
Measured against the attested corpus, the real salon name comes back first for 10
of 12 hosts and is in the first ten for 11. It ships at that number rather than
tuned: three ranking fixes were tried and each made the whole result worse — a
seam filter loses Coiff'Hair, length-delta starts preferring coinages that delete
host letters, replaced-length fixes Chamäleon and breaks heritage. Twelve names
is not enough to tune against. ADR 0043 records all three, and a test pins the
Chamäleon failure with a note to delete it if it ever starts passing.
amphibologia.apply selects rather than invents, which is what that figure is:
it is noticed in something people say, not built from parts. The reader supplies the
phrases, one per line (ADR 0020), and the row returns the ones that read two ways for
the trade. Given fourteen ordinary phrases and a salon: A Cut Above, Head over
heels, Curl up with a book — and not Sheer Delight, because sheer is not the
trade's word. Both rows join PARAMETER_GATED, since neither is reachable by a fuzz
harness that supplies no trade, and both carry their own round-trip test.
- The attested shop names are quotable, and eighteen of them are now evidence. The maintainer's ruling of 2026-09-10 settles the question ADR 0041 D7 deferred: a business name is a name and not a work, the sources are journalism and public registers rather than anthologies, and quoting one is nominative use.
Externally sourced cases rise from 66 to 84 (11.8% to 13.8%) — the largest single
movement in that figure since the corpus began. portmanteau carries 11 across all
three languages, paronomasia 5, amphibologia 2. Haarmonie, Kammäleon,
SaHaara, Imagin'hair, Diminu'tif, Atmosph'air, Hairport,
Hairaphernalia, Curl Up and Dye, Grateful Head, Jack of all Fades,
A Cut Above — each naming where it was seen.
Five are satisfied: false and they are the useful ones. Monhaarlisa at 1.000 is
the class of name no phonetic rule reaches, kept as the evidence for that rather
than admitted by opening the band until it passes. I Kneaded This fails because
CMUdict carries knead and needed but not kneaded — a gap in the lexicon, not
in the pun. Caldius Biberius Mero fails on Latin proper nouns. Carroll's slithy
and chortle fail because a fusion is not a splice.
One correction found while measuring: Atmosph'air splices the French air,
not the English hair — the coinage carries air and the joke is what is heard
behind it. It checks at 0.000; an earlier attempt named the wrong splice and blamed
the row.
- Three defects the suite could not see, found by evaluating the rows against the project's own standards rather than by running them. All three passed 589 golden cases and every gate.
paronomasia cited Peacham's Garden of Eloquence (1577) for a figure that could
not be verified to be in it — the house rule is to record what is checked. It now
cites Puttenham (1589), "Prosonomasia, or the Nicknamer", whose own example is
the row's operation exactly: Claudius Tiberius Nero becomes Caldius Biberius
Mero.
portmanteau was primary/author-stated for Carroll and cannot check a single
one of Carroll's portmanteaux: slithy, mimsy and chortle all fail
splice_not_present. His are fusions, where neither word survives and no host is
left standing; this row checks a splice into a host that stays readable. That is
the ADR 0015 error — a definition promising more than its checker verifies — so the
row is now reference/codified, says so in its notes, and carries two external
golden cases recording the rejection.
Two definitions promised what no checker decides: paronomasia said "a known
phrase" and amphibologia said "can be taken two ways", where the checker verifies
only that a trade word is present and polysemous. Both rewritten in antigram's
house style, which states the figure and then names what is left to the writer.
Externally sourced cases rise from 66 to 69 (11.7%), and all three came from
checking the citations rather than from adding fixtures. All three are
satisfied: false: Puttenham's Latin names are in no pronouncing dictionary, and
Carroll's fusions are not splices — each a limit met on the figure's own founding
example.
amphibologiawas built, evaluated and cut in the same session, and the reason is worth more than the row was. A phrase that reads two ways because of what the shop sells —A Cut Aboveover a salon — sourced to Puttenham'sAmphibologia, or the Ambiguous(1589), which he files among the vices of style.
It is gone because its checker was a proxy. Polysemy is not a phrase reading two
ways: A Cut Above and A Room with a View both carry a trade word with more than
one sense, and only one is a pun. The sense counts it leaned on are an editor's
decision besides — Open English WordNet gives cut seventy senses and another
dictionary would give another number. A row whose definition says "can be taken two
ways" while its checker asks "is this word polysemous" is the ADR 0015 error in a
subtler dress than the two already caught this session, and the honest response to
finding it a third time is to delete rather than to reword.
The catalogue holds at 158 rows, 124 implemented; generators go back to 31. ADR 0043's D6 is marked withdrawn and left as written.
- English and IPA are now commensurable, and it was notation all along. CMUdict
answers in ARPABET and the German and French packs in IPA, so
hairwasHH EH Ragainst Frenchɛ ʁand no distance between them meant anything. A 39-entryARPABET_TO_IPAtable fixes it — a lookup a reader can check line by line, which is what makes it admissible where ADR 0042 refused a learned model. Rhotics fold across languages and only across languages ({ɹ, ʁ, r, ɐ̯, ɐ, ɚ}), sohairsits 0.333 from Frenchairinstead of being incomparable.
This matters more than it sounds. The commonest real French salon name was one
this project could not check: tif.hair counts ~150 called Imagin'hair, and the
whole -hair family is English inside French. Roughly half the attested German
names are the same shape the other way. portmanteau takes splice_lang to reach
them; no new capability is declared, because what it needs is phonemes on two
packs and that is what it already required. homophonic_translation stays
blocked — the notation half of its problem is solved and the larger half is not.
Also in portmanteau: a host may be more than one word (Mona Lisa, Hart am
Limit), pronounced word-by-word and all-or-nothing; and the default band opens to
0.7, because attested names sit above the old ceiling. A blend may name its own
max_distance, which Monhaarlisa uses — a blend you see rather than hear,
Haar covering the a of Mona and sounding nothing like it.
portmanteau— the coinage that carries one word inside another, and the half of the punning shopfrontparonomasiacould not reach:Haarmonie,Hairitage,Föhnix. ADR 0041 namedphonemes.g2pas what this family was blocked on. It was wrong, and measuring is what showed it. A blend is never an arbitrary string — the host word and the word spliced into it are both ordinary dictionary entries — so the coinage is verified as a derived form and nothing unknown is ever sounded out. No new dependency, no espeak-ng, no learned model, no GPL.
What actually blocked German was the distance metric, not the missing pronunciation.
German vocalises a syllable-final /r/, so Haar is h aː ɐ̯ where Harmonie opens
h a ʁ — the same segment spelled two ways, which unweighted Levenshtein charges a
full substitution for. core.phonetics.EQUIVALENT now records, per language, the
symbols that are one segment: German gets {ʁ, ɐ̯, ɐ, r} and Haarmonie moves from
0.667 to 0.333. Vowel length is deliberately not folded — aː and a are
contrastive, Staat against Stadt, so collapsing them would buy a distance of
0.000 by discarding a distinction German makes. English and French get no entries at
all, because ARPABET has no vocalised-r symbol and Lexique's SAMPA maps to a single
ʁ; a table for them would be a guess dressed as data.
Verified additive before it shipped: all nine German pairs the existing fixtures and domain phrases turn on score identically with and without the fold, and a test pins that. The prefilter had to learn the same fold and briefly did not — a prefilter stricter than the measure behind it hides candidates the band would have accepted, silently.
A blend whose coinage is its host is refused as identical_to_host. Crustacean
really does contain crust and Breadwinner contains bread, and both passed an
earlier draft at a spelling distance of 0.000 — because nothing had been spliced.
That is the found pun, which states no relation between two texts because it is
one text, and paronomasia's notes already exclude it for the same reason. Found
while authoring the shipped blends, not by reasoning about the code.
Still out of reach, and neither is g2p's fault: a host the lexicon does not carry
(Barbarella is absent from CMUdict, which is most celebrity blends) and the
cross-lingual blend (Atmosph'air), which needs phonemes.bilingual. apply is not
shipped though kind says both — generating a blend is choosing where to splice,
which is Deri and Knight's multitape-FST problem; the docstring says so where a
caller will meet it.
- A pun needs to know what the shop sells, so
paronomasia's generator takes adomain. Three trades ship in core —bakery,hair,optician— each carrying, per language, a vocabulary and a set of phrases worth punning on. Every word and phrase was written for this project, so there is no third-party licence and nothing to quarantine under ADR 0013;core/domain.pyis the loader, anddomain_wordstakes a vocabulary of your own for a shop nobody catalogued.
The ranking was wrong and is fixed. Candidates were ordered by SCOWL band
first, so bread (band 20) came 74th behind brand, bad, it and put
(all band 10) whatever their distance — the row that catalogues the figure could
not generate its own canonical example. The order is now trade, then distance,
then commonness, and Bread Pitt is first. Measured across the three trades,
all 37 shipped phrases now displace onto their own trade, each pinned by its own
test.
The phrase lists were audited against the attested collections on 2026-09-10
and expanded from 37 phrases to 56, with 33 blends. The audit found six entries
that passed every mechanical check and should not have shipped: Klar gewinnt,
Weit gesehen and brosse à part were invented and are not phrases anyone says,
and Life of Pie and Site for Sore Eyes were hosts that were already the pun,
so the displacement restored the original instead of departing from it. Whether a
phrase is one a reader knows is the single property here that no test can reach —
each is real words in real grammar landing real trade vocabulary — so it is
audited by hand and the standard is written into each file.
What replaced them is attested: Curl up and die (Atlas Obscura counts thirty
American salons called Curl Up & Dye), Grateful Dead, Jack of all trades,
Kopf oder Zahl, and the German blends SaHaara, Kammäleon, Kammbodscha,
Kammpus, Philhaarmonie and Scheitelkeiten from a list of 300+ that gives
each pun's host. Curl up and die had been dropped by an earlier note arguing
that a phrase containing a trade word is "the joke already made" — wrong, because
curl being present does not stop die becoming dye.
The commonest real French salon name is one this project cannot check. The
-hair family — Imagin'hair at ~150 salons, Atmosph'air, Caract'hair — is
English inside French, refused as splice_not_a_word because hair is not a
French word. That needs phonemes.bilingual, not phonemes.g2p. Roughly half of
the attested German names fall to the same boundary or to a proper-noun host.
Recorded in docs/research/ rather than inferred from the ones that worked.
Two things decide output quality that no rule in the checker can express, both
found by measuring rather than reasoning: displacing a function word produces
nonsense — French la is 0.333 from laque, which offers laque vie en rose for
half the language — and a phrase that already contains its own trade word has
nothing left to displace (Curl up and die, Das Brot). A third applies to German
alone: every German frame is article-free, because a German article agrees with
its noun's gender and nothing here knows a noun's gender, so displacing the noun out
of Der Wille or Zum Wohl left the article stranded and produced Der Welle and
Zum Welle, which are not German. Komm rein, Kopf hoch and Locker bleiben
cannot break that way whatever lands in them — a constraint on the phrase instead of
a gender table nobody has. The shipped phrases are chosen against all three. German nouns get their capital from the trade file, because
German's graded words are an entirely lower-case frequency corpus and a
displacement spelled as that list spells it reads Alles haar.
The catalogue goes to 157 rows and 123 implemented, the golden corpus from 560 cases to 572. The externally sourced share falls from 11.8% to 11.5%, which is arithmetic and not a regression: no case here claims external provenance, because no example has been read off a page in this pass and an example nobody has read is the invented citation the house style refuses. The attested modern corpus of the figure is entirely post-1929, so it waits on the same decision about quoting in-copyright material that research batch 3 already has pending.
0.1.1 - 2026-09-08¶
Fixed¶
- A refrain is the same line returning, whatever punctuation its position wants.
form_report,rondeauandpantoumcompared repeated lines after nothing more thanstrip().casefold(), so a refrain that came back with a different stop was reported asbroken_refrain. That is not an edge case, it is how the fixed forms are printed: Passerat's villanelle (1606) closes its refrainTourterelle:, thenTourterelle., thenTourterelle,as the syntax around it changes, and Ranchin's triolet returnsdu mois de maionce bare and once asde mai !. The three sites now comparecore.text.line_identity, which strips terminal sentence punctuation and nothing else — apostrophes stay, because in French the elision is part of the word (l'âme,i'oy) and folding it would compare something other than the line.
Four canonical texts went from rejected to accepted: Ranchin's triolet, Leconte de
Lisle's pantoum and McCrae's rondeau all reach 1.000, and Passerat's villanelle rises
from 0.922 to 0.980 — its one remaining broken_refrain is a real textual question,
aprés ell against aprés elle, which the fix correctly does not paper over.
No existing verdict moved: all 34 constructed cases in the refrain-bearing rows
repeat their refrains byte-for-byte, because the same author typed both copies, which
is exactly why none of them could ever have found this.
mutants/, whichmutmutfills with 5.6 MB and leaves behind, is excluded from the source distribution and from git. Untracked, anduv buildreads the working tree rather than the index, so 312 of its files landed in the archive and pushed the sdist from 0.9 MB to 1.2 MB;test_the_sdist_stays_smallis what noticed. The fourth instance in this repository of untracked is not absent, aftersuperpowers/,stage_mockups/andfeedback/. The exclusion was verified with a 6.1 MBmutants/present rather than after deleting it.- A text's Unicode normalisation form no longer changes a verdict.
letter_spanswalked the string character by character, so a decomposedä—afollowed by U+0308 — presented its base letter, which is alphabetic, and dropped the combining mark, which is not. Withfold_diacriticsoff, the setting whose documented purpose is thatästaysä, the diacritic was folded anyway and only for text that arrived decomposed:check("lipogram", "Bär", forbidden="a", fold_diacritics=False)was satisfied in NFC and unsatisfied in NFD.prisoners_constraintcarried the same defect independently, where folding is never right at all —Bärscored 0.333 in NFC and 0.667 in NFD, and the decomposed reading listed one violation where there are two. Both now read base characters together with the combining marks that belong to them, at the base character's offset, so aViolationstill points into the text the caller passed.
Added¶
- Fifteen texts from research batch 3 enter the golden corpus across thirteen rows, taking
externally sourced cases from 51 of 545 to 66 of 560 (9.4% to 11.8%) and the rows
carrying any external evidence from 40 to 54 of 122. Eight pass — Wagner's
alliterative verse, Gaunt's anaphora, Lincoln's epistrophe, Platen's ghazal, Leconte de
Lisle's pantoum, McCrae's rondeau, Ranchin's triolet, and
courtshipfor the charade. Seven shipsatisfied: falsewith the reason read off the run rather than written from memory: the chronogram's numerals sum to 4204 and not the 1603 it claims,homoteleutoncompares final letters where Peacham's figure turns on a syllable, andspoonerismdeclines because neitherKinqueringnorCongsis in the pronouncing dictionary.
Passerat's villanelle is the honest one. It scores 0.980 on a single broken_refrain,
line 24 reading aprés ell where line 3 reads aprés elle, and its source says in
as many words that whether this is the 1606 spelling or a transcription slip is not
verified against the print. The case ships as supplied, with the question open.
Three of the batch did not land, and none for want of a checker: wechselsatz was given
the string Kuhlmann 1671 where the parameter wants the template of interchangeable
slots, denckring was given Harsdörffer's instructions to the bookbinder rather than
words built from the rings, and the sestina was six lines of a thirty-nine-line form.
EXTERNAL_FLOOR rises from 51 to 66, and the new satisfied: false cases carry
min_score floors — except where the floor would have been 0.0, which guards nothing.
- Mutation testing, via
mutmut, configured and deliberately outside the four-command gate (ADR 0039). Coverage says a line ran; this says whether a test would notice the line being wrong, which for a library of checkers is the question that matters. No score is published yet: the first run was cut short by its own timeout, and its most promising survivor turned out to be an equivalent mutant — verified over 9,757 generated inputs — so survivors are a worklist requiring judgement, not a defect count. Report.provenanceandProduction.provenance: the package version, a schema version that moves independently of it, which pack answered and which data distributions it was reading, thefold_diacriticspolicy in force, and theseeda drawing generator used. Stamped once atcheckandproducerather than in each of the places a report is built, sopangram, which builds its own, carries it too.LanguagePackimplementations declaredata_distributions. A tuple rather than one name because German is three of them —GermanWiktionaryFrequencyPacklayers the lexicon, the pronunciations and the frequency bands — and a single version would be a lie about two. Read withgetattrrather than added to theLanguagePackprotocol, which isruntime_checkableand a published contract, so a third-party pack that predates this keeps satisfying it.Report.evidence: which words a syllabic verdict counted, what it made them, and whether the number came from a dictionary or a spelling heuristic.metrics["estimated_words"]said how many words were guessed and never which, which is enough to know a verdict is soft and not enough to repair it or audit it.basisis a closed set rather than a confidence score — the pack knows which of two ways it got an answer and does not know a probability, and attaching one would invent precision no measurement here supports. Empty on the exactly decidable rows, which have nothing to explain. Metre reports the stress each word was read as, rhyme the keys each line ending was judged on — including both when a word has two pronunciations, since reporting one would make the verdict look arbitrary to anyone checking it against a dictionary. 36 of the 41 heuristic rows carry it;assonance_constraint,proteus_verseandspoonerismreach their verdicts by paths of their own that this did not thread, and are named here so the gap is a record rather than a surprise.describe().reading: the three things a specification should record thatdescribedid not —normalization(the fold policy in words),tokenization(the pack's word pattern), anddeterminacy,exactorheuristic, which is 81 rows against 41. Derived rather than authored, for the reasonruns_inis: a hand-written answer drifts from the code it describes and nothing notices.LanguagePack.syllable_evidence, the per-word breakdown behindline_syllables' two numbers.FrenchDataPackoverrides it to return oneline-scoped entry, because a final mute e elides or counts depending on what follows, so a word's contribution is not a property of the word (ADR 0034) and there is no per-word breakdown to report. Read withgetattr, so a third-party pack written before it reports nothing rather than failing.tests/test_canonical_verse.py, a conformance corpus in miniature: seven pentameter lines from out-of-copyright poems, none written for this suite. Three of the seven are not read as ten syllables, for three separate reasons — Milton's synaeresis (disobedience is four syllables to him and five to the dictionary, exactly and with no estimate), a feminine ending in Keats, and a dictionary miss on Pope's Pierian. The second is a stated limitation of the catalogue row; the third is now visible throughReport.evidence; the first is undocumented and has no treatment at all — French got elision in ADR 0034 and English and German never got the equivalent. The tests pin what the package reads rather than judging the poetry, so a future change shows as a diff here.denckring.core.text.clusters, the base-plus-marks reading the fix above is built on.- Golden cases record a
provenance—external,constructedorself-generated— anddenckring evalreports the split on a third line: 38 externally sourced (7.1%), 491 constructed, 3 self-generated of 532. The pass count says how much agrees with the implementation; only the first of these says how much of that agreement is evidence the constraint was read correctly.tests/conftest.pyloadssourceinstead of dropping it, and a guard now refuses a case that names none. - The value is explicit rather than inferred from the source prose: deriving it by
looking for an English "constructed" prefix mis-filed a German case reading
konstruiertes Beispiel, and three cases that say they were produced by the row's ownapplyand accepted back by its owncheck. tests/test_normalisation.py, pinning that the two forms agree, and pinning what was already true of zero-width spaces, byte-order marks and non-breaking spaces — that they are not letters, do not join the cluster before them, and do not shift offsets.- ADR 0040, deciding how strictly canonical verse is read, and
MetreParams.feminine_ending, the parameter that answers its first question: a klingende Kadenz — one unstressed syllable past the counted length — becomes an admissible reading rather than a rejected one, on the seven rows that hard-code a metre. Defaulting tofalse, it reachesblank_verse,shakespearean_sonnet,rhyme_royal,curtal_sonnet,sonnetandspenserian_stanzathroughwith_feminine, which offersline_metrethe pair{pattern, pattern + "0"}rather than a fixed longer string — a single string cannot span both, since Gryphius rhymes a feminineErden/Herden(13 syllables) against a masculineein/seyn(12) in the same sonnet.alexandrine, which counts syllables rather than scanning stress, takes the same flag aspattern_result'sextra. Measured against 42 German canonical lines, against the bar ADR 0040 D1 set before the work — at least 95% within their declared length or one over — the reading came in at 97.6%; the full stress-and-length scan, a stricter question D1 leaves open, rises from 35.7% to 83.3% over the same lines. Every default is today's reading, so the 532 pre-existing golden cases are unchanged by construction (D6). curtal_sonnetandelegiac_coupletgain a cataloguenotesfield declaring the verse each cannot scan (ADR 0040 D4), rather than the stress model moving to fit it. Hopkins wrote "Pied Beauty" in sprung rhythm, whichcurtal_sonnetreads against plain iambic pentameter and so rejects — the poem that named the form does not satisfy the row named after it.elegiac_coupletstays declared for English only, because German accentual hexameter puts the ictus where word stress does not fall — Schiller's own Hexameter scans0100and carries the beat regardless — and no German fixture lands for the row.tests/fixtures/canonical_lines.yaml, 111 canonical lines — 69 English, 42 German, none written for this suite — andtests/test_canonical_verse.pyasserts both bars ADR 0040 measured against them: the German length floor (95%; measured 97.6%) and the English ceiling on true disagreement with no dictionary guess involved (3 of 69, 4.3%).- 13 canonical texts enter the golden corpus — Crapsey, Bentley, Hopkins, Verlaine,
Chaucer, du Bellay, Shakespeare, Spenser, Dante via Sibbald's translation, Kuhlmann,
and Gryphius and Goethe in German — taking
denckring eval --allfrom 532 to 545 passed and the externally sourced share, ADR 0040's opening measurement, from 38 (7.1%) to 51 (9.4%). Five of the thirteen pass outright; the other eight shipsatisfied: falsewith the measured reading recorded insource— Hopkins' sprung rhythm, a Middle or Elizabethan English word the dictionary cannot place, a rhyme (Chaucer's, Sibbald's, Shakespeare's) this package's strict model does not accept, and three German cases whose feminine ending closes the length gap but leave a stress or rhyme violation standing. A rejection earns its place in the corpus the same way a pass does —tests/test_corpus_provenance.pynow checks that asatisfied: falsecase'ssourcenames only a violation rule the checker actually raised for it, after three drafts of these cases were caught citing a rule that never fired.EXTERNAL_FLOORmoves from 38 to 51 with them.
Changed¶
line_metre'swrong_line_lengthviolation names every syllable count a candidate metre would accept, not only the winning candidate's.alexandrine's syllable path already reported "12 or 13 syllables" withfeminine_endingon; the stress path reported only "12 syllables", so a caller who had turned the parameter on was told to write a line the code would in fact have accepted one longer than. Generalised to N candidates rather than the twofeminine_endingintroduces, so a row with more than one substitutable foot now reports the full list, e.g. "13, 14, 15, 16 or 17 syllables".
0.1.0 - 2026-09-07¶
Added¶
- Core protocol:
Violation,Report,Metaand theLanguagePackinterface, all serialising to stable JSON for non-Python callers. BaseProcedure, a template method that validates language, capability and parameters before delegating, so a procedure module cannot forget those checks.- Autodiscovering registry over
denckring.procedures, enforcing one module per procedure with the module name equal to the procedure id. - Catalogue of 31 sourced procedures in
src/denckring/data/catalogue.yaml, licensed CC BY 4.0, as the single source of truth for procedure metadata. - English language pack, shipping in core with no data files, declaring
tokens,alphabet,fold_diacriticsandletter_shapes. - Batch 1 — twelve lexicon-free restriction procedures:
lipogram,univocalic,tautogram,pangram,heterogram,palindrome,snowball,reverse_snowball,prisoners_constraint,beau_present,acrostic,telestich. - Three-level eval harness: golden fixtures, Hypothesis strategies, and a scoreboard that exits non-zero on regression.
- CLI:
check,apply,describe,list,search,show,status,eval,catalogue export. scripts/new_procedure.py, which scaffolds module, test, strategy, fixture and catalogue row from templates. It is a contributor tool and stays outside the package: it writes intosrc/denckring/procedures/and appends to this repository'scatalogue.yaml, so as the shippeddenckring newit put a command in every user's CLI that could do nothing for them.- Eight architecture decision records under
docs/adr/. - German language pack, shipping in core with no data files and discovered through the
denckring.langentry-point group — the same path a third-party pack takes. fold_diacritics, a per-call parameter on the nine letter-comparing procedures, deciding whetheräcounts asaandßasss. Defaults to true.LanguagePack.exceeds_x_height, and golden cases in German for all twelve procedures.- Two further ADRs, 0009 and 0010, on the fold parameter and entry-point discovery.
- Catalogue grown from 31 to 145 sourced entries across eight families.
family,aliasesandattributionon every catalogue entry.attributiondistinguishes a traced origin (primary) from a form documented in a standard reference (reference) from one with no single origin (traditional).denckring searchmatching ids, names and aliases;denckring list --family.denckring catalogue export --format json|csvemitting the dataset as a standalone file, andLICENSE-DATAcarrying the CC BY 4.0 notice.-
A catalogue quality suite: every row must have a source, an English name, definition and prompt hint, a family and an attribution; aliases must be unique catalogue-wide and must not collide with any procedure id.
-
checkabilityon every catalogue entry:self,source, ornonefor forms with no computable acceptance criterion. Coverage is now measured against the implementable subset, sodenckring statusno longer promises a gap that cannot close. - 31 further procedures implemented, taking the total from 12 to 43 — letter and
alphabet constraints, position and repetition constraints, the end-word forms
(
sestina,quenina,pantoum), and the source-relative procedures. SourceParamsanddenckring check --source FILE, for procedures decidable only against the text they were made from.apply()oncut_upandevery_nth_word, and a round-trip suite asserting thatcheck(apply(text))is satisfied — the seed's central property, deferred since the Batch 1 spec for want of any constructive procedure.Constructive, a runtime-checkable protocol for procedures that can generate.- ADR 0011 on checkability.
- Syllable counting:
syllables.heuristicin core, withsyllable_countreturning a count and whether it was looked up or estimated. Every syllabic report carriesmetrics["estimated_words"]. denckring-en-data, installed bypip install denckring[en], addingsyllables.dictionaryfrom the CMU Pronouncing Dictionary (BSD-2-Clause, vendored). On Bashō's frog-pond haiku, core alone estimates 13 words; with the data package, none.- Eight syllabic procedures:
haiku,tanka,senryu,cinquain,syllable_count,monosyllabic_prose,hendecasyllable,alexandrine. - ADRs 0012 and 0013 on the two syllable capabilities and on data as separate distributions.
- Rhyme and metre:
rhyme_key,rhyme_keys,stress_patternandstress_patternson the data pack, plus thestresscapability. Twelve procedures —rhyme_scheme,iambic_pentameter,trochaic_tetrameter,blank_verse,heroic_couplet,terza_rima,villanelle,triolet,limerick,shakespearean_sonnet,petrarchan_sonnet,rhyme_royal. - Metre is checked as a satisfiability question: polysyllabic stress is fixed,
monosyllabic stress is free, and every listed pronunciation is searched. These are
the first procedures a core-only install genuinely cannot run — without
denckring[en]they raiseMissingCapabilitynaming the extra. - ADR 0014 on metre as satisfiability, and on what strict scansion does not accept.
- Release machinery: GitHub Actions CI (lint, typecheck, a 3×3 test matrix, a separate
denckring eval --allgate, a core-only install job, a docs build and a distribution build), tag-triggered Trusted Publishing with attestations, and Dependabot. - A generated documentation gallery: one page per catalogued procedure, built from the catalogue and the golden fixtures, so every worked example is one the test suite enforces.
CITATION.cff,SECURITY.md,CODE_OF_CONDUCT.md, issue and pull request templates, and a.pre-commit-config.yamlmirroring the CI lint and typecheck jobs.lexicon.wordsandlexicon.nounscapabilities, backed by WordNet's 55,239 single-word noun lemmas (Princeton licence) added todenckring-en-data.- Five procedures:
n_plus_7,s_plus_7,charade,semordnilap,word_square. N+7 reportsambiguous_words, because a word list cannot tell you that run is a verb in this sentence. - ADRs 0015 and 0016 on lexicon capabilities and on one data pack per language.
apps/explorer, a local FastAPI browser for the catalogue and bench for the procedures. Outside the distribution: nothing published depends on it.- Combinatorial devices: ordered slots of alternatives, asked either to segment a word
or to select one alternative per position.
denckring,cent_mille_milliardsandwechselsatzimplemented on it, with Harsdörffer's 1651 rings shipped in core.denckringalso generates, so spinning the rings round-trips through its own checker. - Catalogue rows for
ars_combinatoriaandllull_figure, the tradition the Denckring descends from. - ADR 0017 on a device's data shipping with its procedure.
attestedon every catalogue entry:author-stated,codifiedorreconstruction. It records whether anyone ever set the procedure down as a rule, whichattribution— about how the source was established — does not answer.serial_lipogram, the whole-work form attributed to Tryphiodorus and excerpted by Jean Paul in 1783.- ADR 0018 on attestation.
noteson catalogue entries, for contested figures, reception history and caveats — so a definition can go back to being a definition.- Combinatory figures: an alphabet read at several levels at once. Llull's ternary Ars
ships with all six of its tables, and Kircher's Ars Magna Sciendi as a preset of the
same mechanism.
llull_figurechecks and generates chambers; counts are computed from the letters (84 ternary chambers, 36 pairs) rather than quoted. - A corpus layer:
Corpus,Entryand a parser reading JSON or plain text. No corpus ships with the package — the loader is here, the reading is the reader's. ideenwuerfeln, reconstructed from Jean Paul's notebook of February 1795, andwitz_metaphorcatalogued as the step it stops short of. The first entries to carryattested: reconstruction.- ADR 0020 on corpora not being shipped.
pasigraphy, Kircher's universal writing: a sentence sent across a numbered vocabulary, with the losses counted rather than smoothed — words with no number, numbers with no entry at the far end, and words reachable from several numbers, where two distinct things arrive as one. The vocabulary is supplied by the caller.arca_musarithmica: a phrase is measured, the tablet for that length is found, and the chosen pattern must be one that tablet offers. The patterns are never read, so Kircher's pitch numbers and a set of stress patterns work equally well in the same table. No tablet ships.- ADR 0021 on implementing the transferable part of a procedure rather than the artefact.
belle_absente: Perec's form, one line per letter of a dedicatee's name, each line omitting exactly that letter and using every other letter of the alphabet, so the missing letters read down the poem as the name itself.serial_lipogram: the whole-work form attributed to Tryphiodorus, as many parts as the alphabet has letters, the omitted letter walking one step per part.paragraph_spansincore/text.pygives a part more than one line to work with, the way Tryphiodorus's twenty-four books do.pangrammatic_window: the shortest naturally occurring stretch of text holding every letter of the alphabet, scored against a caller-statedmax_lengthrather than a hidden constant — without a bar this ispangramunder a second name.paragram, with a lexicon-gated generator: both halves of a one-letter word swap are left in the text forcheckto find, andapplyranks every candidate swap by pronounceability, noun membership and length instead of taking the first match. Checking needs no lexicon; generating does, soapplycarries its own capability requirement rather than the catalogue row claiming onechecknever needed. The newNoCandidateWorderror is raised when the search finds nothing to swap, rather than returning text with no swap in it forcheckto then reject.dactylic_hexameter: six feet, the first four either a dactyl or a spondee, the fifth a dactyl, and the sixth a spondee or trochee. This yields thirty-two readings spanning 13–17 syllables.elegiac_couplet: a dactylic hexameter answered by a pentameter. The pentameter is two hemiepes; only the first admits the spondee. That asymmetry is the form.sapphic_stanza: three hendecasyllables and an adonic, 11/11/11/5.alcaic_stanza: two hendecasyllables, an enneasyllable and a decasyllable, 11/11/9/10.double_dactyl: two quatrains, with one line of the second being a single six-syllable word. The nonsense opening, the named person and the rhyme are not checked, and the docstring says so.renga: alternating 5-7-5 and 7-7 stanzas. Itslinksparameter is a minimum, not an exact count.haibun: prose and haiku alternating.- The four new metrical procedures—
dactylic_hexameter,elegiac_couplet,sapphic_stanza,alcaic_stanza—are checked as English accentual verse. Classical quantity is vowel length, which English does not have, so stress stands in for it. This is the batch's central editorial decision. ?now means "either" on the pattern side as well as the word side—the classical anceps. Before, it was honoured only for a free monosyllable, so a pattern written with anceps rejected every fixed-stress word at that position. Sapphics and alcaics both need it.- A word not in the pronouncing dictionary no longer aborts the scan.
pack.stress_patternsraisedMissingCapabilityfor such a word—naming a capability the pack actually provides—so one ordinary English noun killed the whole check. Longfellow's own hexameter could not be checked. Unknown words now scan as free and are counted in a newestimated_wordsmetric, mirroring the contract the syllable path has always had. This changed previously deliberate behaviour: a test namedtest_an_unknown_word_raises_rather_than_guessingwas replaced. Callers who want strict scanning can reject onestimated_words > 0. word_stress,feetandstanza_violationsadded tocore/prosody.py.word_stresshandles the out-of-dictionary repair;feetenumerates substitutable foot readings, making a metre a set of readings rather than one;stanza_violationsapplies one pattern per line, since a sapphic changes shape from line to line.estimated_wordsnow reported by all twelve form-report callers—blank_verse,heroic_couplet,iambic_pentameter,limerick,petrarchan_sonnet,rhyme_royal,rhyme_scheme,shakespearean_sonnet,terza_rima,triolet,trochaic_tetrameter,villanelle—where before it was computed and discarded.- Catalogue rows for the five procedures that scan stress — the four metres and
double_dactyl— gainedstressinrequires, since scanning stress reachespack.stress_patterns.rengaandhaibundid not — they count syllables only. describe(id)andsummaries()in core, returning the catalogue as a machine reads it: a definition, the prompt hints, whether this install can actually run the row and what it lacks if not, and the parameter schema as JSON Schema. Four callers needed this assembly — the CLI'sshow, the explorer, the MCP server and the skill — so it lives in one place rather than being computed four times and drifting four ways.list_procedures()is untouched: it is public and still returnslist[str].- A stable
codeon all fourteen error classes and ato_dict()on the base, so a failure crosses a process boundary as{"code": "invalid_params", "detail": {...}}rather than as a traceback. A model can act on the first and cannot act on the second.UnknownProcedureadditionally carries near-matchsuggestions, so a mistypedlipogamanswers withlipograminstead of a dead end. denckring describe <id> --jsonanddenckring list --json, so the skill and any other non-Python caller reach the same two functions the MCP server does.--jsonrefuses to combine with--kindor--status, which filter the catalogue rather than the implemented set: the flag would otherwise be accepted and silently ignored.- An MCP server behind
pip install denckring[mcp], run asdenckring-mcp. It exposes four tools —list_procedures,describe_procedure,check_text,apply_procedure— taking the procedure as a parameter, rather than one tool per procedure. Eighty-six tool definitions would sit in every client's context, and model performance degrades sharply with tool count. No tool raises: each catchesDenckringErrorand returns its dictionary form. - A Claude Code skill at
skills/denckring/SKILL.md, which shells out to the CLI and so needs no extra beyond the package. Both transports are deliberately thin — neither computes anything, so the two cannot disagree about what a procedure is. - Twenty-eight procedures implemented, taking the total from 86 to 114. Eleven fixed
forms:
sonnet,ottava_rima,spenserian_stanza,ballade,rondeau,ghazal,curtal_sonnet,englyn,clerihew,alliterative_verse,assonance_constraint. Three clusters of source-comparison rows: letter-class (homoconsonantism,homovocalism), selection (diastic,mesostic,column_reading,haikuization) and rearrangement (boustrophedon,text_folding,mathews_algorithm). And a remainder:fold_in,univocalic_translation,lipogrammatic_translation,larding,multiple_constraint,tmesis,spoonerism,word_ladder. core/source_compare.py:letter_class_report,selection_reportandrearrangement_report, the three shapes eight of this batch's rows share. Each was extracted from a row already written, not designed ahead of one —homoconsonantismwas written by hand first, and writinghomovocalismagainst that code showed the entire body was identical but for one predicate, which is whyletter_class_reportexists at all. Precedent:form_report, extracted from real sonnets the same way.lines=onform_report, so a fixed form with a prescribed length reportswrong_line_countand stops rather than scanning a scheme or metre against lines that are already the wrong ones — matchingstanza_violations's existing behaviour.multiple_constraint, Oulipo's general composite-constraint form. It replacesunivocalic_lipogram_pair, whose definition described any composite constraint rather than the one pair its id named.denckring searchfinds the row under the old id, under the old id written as prose, and under the row's previous published English name, Compound constraint; all three are carried as aliases.denckring show univocalic_lipogram_pairstill raisesUnknownProcedure, becauseregistry.getresolves ids and never consults aliases — but it namesmultiple_constraintas the suggestion.- German declared on seventeen rows, each decided on whether the procedure means
something in German rather than whether it merely runs, and each shipping a German
golden fixture — a declaration with no fixture behind it is an assertion, not a claim.
Every one also carries
names.deanddefinitions.de, so the German a row claims appears in the row a German reader reads, and a test in the catalogue quality suite requires that of every declared language.semordnilap, which declareddewith no German name since long before this batch, is corrected with them.cent_mille_milliardsjoins them from outside the batch:checkalready accepted a German poem against German strips while the catalogue still declaredlanguages: [en], an assertion wrong in the opposite direction from the others'. It now declareslanguages: [en, de]withnames.deanddefinitions.de, backed by a German case pair in its golden fixture — a full fourteen-position poem the checker accepts, and the same poem with one line swapped for an alternative from a different position, which it does not — built from the real strips written for the stage scene. Rows declaring German: 38. tests/test_requires_honesty.py, guardingrequiresin both directions. One test watches through the realcheck()path whether a row's golden fixtures ever reach the capabilities it declares; it caughtlimerickon its first run against every implemented procedure, not just this batch's. The other runs each row's own fixtures against a pack carrying exactly what the row declares and nothing more, so a row that reaches further than it promised raises rather than passing quietly on the fullenpack. Their shared blind spot, documented in the module: a row that calls a capability's method and discards the answer is invisible to both — the gaphaikuizationfell into below.lexicon.glossesonLanguagePack: every definition Open English WordNet records for a word, or an empty sequence when the lexicon cannot resolve it at all. Every sense, not the first — which sense a writer meant is not recoverable from the text, so a reader that accepts any of them is the honest one, the same readingrhyme_keysandstress_patternsalready take. It costs 1.03 MB over shipping first senses only. Resolution tries the word as given, then its lemma, then plains/esstripping; irregulars such as went stay out of reach by design and are disclosed rather than guessed at.packages/denckring-en-data/scripts/build_lexicon.py, the build the data package never had.nouns.txtwas an opaque blob extracted by hand at some point in the past with no record of how; it is now generated, alongsideglosses.txt.gzand ametadata.jsoncarrying source, date and row counts, by a script in the repository. A test pins the shippednouns.txtagainst what the script produces, so a hand-edit is caught rather than inherited.kangaroo_word: a word carrying a synonym of itself inside its own letters, in order (encourage carries urge). It needed no thesaurus — the synonym is asynonymparameter, the writer's claim, and what the row decides is the decidable half: that the claimed synonym is a real word, hidden in order, and not the word itself.definitional_expansion: each substantive word of the source replaced once by one of its dictionary definitions. The comparison was chosen by running it against real gloss text rather than at the desk — glosses carry parentheses, semicolons and colons no writer retypes character for character, so a gloss counts as present when its own lower-cased tokens appear as a contiguous run, punctuation and case folded away, word choice and word order kept. Occurrences are counted rather than merely found: a word appearing twice needs two expansions, and each match consumes the span it used.definitional_literature: the same procedure fed back into itself, which is the form Bénabou and Perec described.checkis given the source and the finished text and nothing in between, so it discovers the depth — one round, then two, then three — and reports the first that accounts for every resolvable source word in aniterationsmetric. Below the top level a round means "some gloss of this word has all of its own substantive words present one round shallower"; word order is checked where the gloss must appear as a run and not below that, because pinning the nesting positions would mean parsing a text where every definition is stitched to the next with nothing between them. The cap of three rounds is measured, not guessed: against a genuine three-round expansion of the cat sat (3,679 tokens), depth 3 takes 0.15 s, depth 4 takes 18 s and depth 5 takes 219 s, because the cost falls on the searches that fail and cannot stop early.lexicon.synonymsandlexicon.antonymswere specified, measured, and deliberately not built, with the measurements recorded in the catalogue rows that wait on them rather than merely omitted. WordNet synonymy is synset co-membership: of twelve substitutions a writer would naturally make, five are co-members, and only four of eleven content words in plain prose have any synonym at all. Antonymy is thinner still — 6,633 lemmas have any antonym, and 2 of 11 content words in plain prose do. "Every substantive word replaced by a synonym" is not satisfiable by ordinary text, and a larger thesaurus does not change that, sosynonymic_substitution,antonymic_substitutionandantonymic_translationsay so in theirnotes.- The code is licensed Apache-2.0 rather than MIT, decided before the first release
because relicensing afterwards needs every contributor's consent. What MIT does not do
is the reason: it asks only that a notice be retained, so a fork that keeps a line in a
file has met it while presenting the work as its own, and it is silent on trade marks,
leaving the project's name — the one thing a fork cannot take without renaming —
unprotected. Apache-2.0 adds a
NOTICEevery derivative distribution must carry, a section reserving the name, and a patent grant. The catalogue stays CC BY 4.0, and ADR 0006's data rule is untouched; ADR 0024 records the change. Per-file licence headers are deliberately not used. - Each distribution now declares what it actually contains rather than only what its
author wrote:
denckringisApache-2.0 AND CC-BY-4.0and shipsLICENSE-DATAin the wheel, so the catalogue's attribution terms reach people who install the package and never see the repository;denckring-en-dataisApache-2.0 AND CC-BY-4.0 AND BSD-2-Clausefor Open English WordNet and the CMU Pronouncing Dictionary;denckring-de-dataisApache-2.0 AND CC0-1.0for Wikidata Lexemes. Both data packages gained aNOTICEnaming which file carries which terms and saying plainly that the derived lexicons are modifications of their sources. - The core source distribution no longer carries the workspace members. It was 7.1 MB
because it bundled
packages/andapps/wholesale — the CMU dictionary, the WordNet glosses and the German lexicon a second time, under a licence expression that did not describe them and inside a package that never reads them. Excluding both leaves 0.6 MB.tests/anddocs/stay, since a downstream packager building from source runs the suite.tests/test_packaging.pybuilds the sdist and reads it, because a test asserting that the pyproject contains an exclude pattern would pass while the build ignored it. - A stability statement in the README, naming the four surfaces treated as contracts
through
0.x— procedure ids,Reportas JSON, the catalogue export schema and thedenckring.langentry-point group — and what is expected to move: violationrulestrings,metricskeys, message wording anddenckring.core. The README already promised "stable JSON for non-Python callers" and left the scope of that promise to be guessed at. - A naming policy in the README. Apache-2.0 section 6 reserves the name and says nothing about permitted use, so the reservation is stated as something that can be complied with: redistribute unmodified under the name, describe compatibility freely, rename before publishing a modified version.
denckring --version.__version__was exported from the library and unreachable from the command line.poesie_automat, Enzensberger's Landsberger Poesieautomat: a flap-board of six lines by six modules by ten alternatives, so 10^36 six-line poems.checkcuts each line into its six modules and asks whether every piece is one of that module's ten alternatives;applypresses the button. The count is recomputed from the shipped modules rather than quoted, andDevice.combinationsreturns it as an integer —metrics["combinations"]is a float and cannot hold a 37-digit number exactly. Enzensberger died in 2022 and his word lists are in copyright until 2092, so all 360 fillers indata/devices/poesieautomat_2000.yamlwere written for this project; the mechanism is what the row catalogues, on the same footing as the substitute strips thecent_mille_milliardsfixture carries for Queneau. Three design rules make every one of the 10^36 readings grammatical German rather than most of them: the article is folded into the noun, everything after the subject is an adjunct, and every verb is intransitive third person singular present. A fourth constraint is about the display rather than about German: the board renders letter by letter into character cells, so no filler exceeds eleven characters and no line the modules can assemble is wider than 71 columns — both pinned bytest_no_flap_is_wider_than_the_board. Two further constraints keep the strangeness on the right side of broken: no word reaches a line from two modules, compared with German inflection folded, and each family of mutually exclusive time anchors — when on the clock, since when, from when, how long ago, which month — sits in one module per line, soDer Frost gedeihtis possible andum fünf ... um dreiis not, while roles that differ still stack.- An optional
lineonSlot, withDevice.linesandDevice.for_line, so one device can hold several lines. Additive: a device file that never mentionsline— which is every existing one — reads as a single line and behaves exactly as before. - An optional
separatorondevice.segment, defaulting to the empty string. The Denckring's rings concatenate with nothing between them; a board whose flaps carry whole words sets it to a space, and the same backtracking walk then splits a line into modules rather than a second segmentation being written. DENCKRING_DEVICE_PATH, a colon-separated list of directoriesdevice.loadsearches before the packaged one — a device's word-lists no longer have to be ours. Directories earlier on the path are tried first, so one can both add a new device id and shadow a packaged one under an existing id, which is documented as deliberate rather than left to be discovered. Unset, behaviour is unchanged: the packaged directory is still all that is searched. A directory on the path that does not exist or cannot be read is skipped quietly, so a stale entry does not stop a packaged device from loading. What it does not add: no schema versioning beyond ordinary validation, and no record of where a resolved device actually came from — a caller who needs to know whether a packaged device was shadowed must control what it puts on the path, becauseloadcannot say so after the fact. The environment is read on every call rather than cached at import time, and the on-disk readloadused to memoise bydevice_idalone is now memoised by the resolved path instead — a cache keyed on the id would have kept answering a changed environment with whatever device it saw first. A device or figure id is validated to a bare filename stem before it is ever joined to a directory (see Fixed, below), so a cartridge lives in a directory on the path and cannot be addressed by a path of its own; a relative directory on the path resolves against the process's working directory at call time, so changing directory after setting the variable can turn into silent misses under the same skip-quietly contract.ConstructiveProcedure, the template method forapplythatcheckhas always had: it resolves the pack, enforces both capability lists, validates parameters and refuses output that misrepresents what ran — identical to the input, or empty from input that was not — so a generator cannot forget any of it.parse_apply_paramsalso refuses a caller-suppliedsource: the text being transformed is the source, so a second one names two texts for one argument, and passing both now raisesInvalidParamsinstead of one silently winning.ConstructiveProcedure.ignores_inputopts the three devices that never read their text —denckring,poesie_automat,llull_figure— out of the identity half alone, where the comparison is against an argument nothing read. ADR 0025.Meta.apply_requires, so a generator can declare a capability its checker does not need —anagramgenerates only with a word lexicon and checks with core alone, and one list could not say both.Description.constructiveandSummary.constructive, reporting whether this install has a generator, distinct fromkind, which says whether the form admits one. Nine rows are honestlybothwith no generator here.Description.apply_params, the generator's own JSON Schema beside the checker'sparams, sodenckring describeand MCP'sdescribe_procedurefinally showseedandallow_identity— which live onapply_params_model()and reached no non-Python surface at all. Empty for a row with no generator. The two schemas stay separate becausesourceis a checker parameterapplysupplies for itself and refuses from a caller.DegenerateOutputandInputTooShort.Production,Report's counterpart for the generating half:procedure,texts(best first, never empty),truncated,metrics. ADR 0026.produce()on every generator, anddenckring.produce()at the package level, returning every result a generator found rather than only the first.denckring.apply()at the package level.checkhas been exported since the beginning andapplynever was, so every Python caller reached through the registry to generate anything.denckring apply --json, emitting theProduction, matchingdescribe --json.max_resultsonApplyParams, defaulting to 10.NotConstructive, replacing a dict literal the MCP server built by hand — one failure mode in this package was not aDenckringErrorand could not be caught with the others.CandidateandProduction.candidates: a result carries the metrics it was ranked by, so an order a caller is asked to trust arrives with its reason attached.anagramis the generator that needed it — its covers carrywordsandmax_band; a generator with nothing to add wraps its texts throughplain()and carries empty metrics, which is every other one so far.textsis unchanged in meaning and value, now a computed field overcandidates, and is still whatapplyreturns and what every existing consumer reads. Both are named in the README's stability contract. ADR 0027.Produced, what_producehands back in place oflist[str]: its candidates, and whether it abandoned its own search budget. The spine can see thatmax_resultscapped a result set and cannot see that a search gave up, because giving up makes the set smaller rather than larger —Production.truncatedis now either event. ADR 0026's design spec named this case in advance;anagram's node budget is it.lexicon.graded_wordsonLanguagePack: every word with the SCOWL size band it first appears at. Separate fromlexicon.wordsrather than replacing it, because ADR 0015's rule is one capability per question the lexicon is asked —semordnilapandcharadeask membership and are right to keep asking the broad oracle, and a broad oracle is exactly what cannot rank. ADR 0028.-
graded_words.txt.gzindenckring-en-data: 77,078 words from SCOWL 2020.12.07 at sizes 10 through 60, oneword<TAB>sizeline each, 244 KB in the wheel. 60 is SCOWL's own line — the largest size its documentation states it is confident holds no misspellings — and nothing above it ships, soanagram'smax_sizeis capped at 60 rather than promising bands the data does not hold.*-proper-namesand*-abbreviationsare excluded, which is the point: they are whyknown_words()cannot tellroomfromromito. Of the 26 single letters, onlyais kept, on SCOWL's bands rather than on an intuition.scripts/build_graded_words.pyis the derivation, the whole of SCOWL'sCopyrightfile ships asLICENSE-SCOWL, and the package's licence expression gainsHPND-sell-variant. -
dictionaryonNPlus7Params, the ordered list N+7 and S+7 displace within, defaulting to the pack's nouns. It sits on the check model rather than the apply model so both halves walk the same list; a generator displacing through a list its own checker could not see is the defect class the round-trip property exists to catch. The row's definition has said "the seventh noun following it in a chosen dictionary" since it was written, and until now there was no choice. Entries are validated as non-empty and single alphabetic words, which is ADR 0015's rule fornouns()for the same reason. A supplied list is matched casefolded and nothing more:pack.noun_indexlemmatises and a bare list has no lemmatiser behind it.SPlus7Paramsnow inheritsNPlus7Paramswhole instead of restatingoffset, so it gains the field with it. A dictionary does not unlock either row for a language whose pack has no noun list — capabilities are enforced before parameters are parsed — and ADR 0029 names conditional capabilities as what would fix that. ambiguous_nounson the same two rows:free(the default, and what shipped before),undecidableorstrict, deciding what an unchanged word that the dictionary lists does to the score. A word list cannot tell you that run is a verb in this sentence, so accepting the position was a policy, reported asambiguous_wordsand chosen by nobody. The three names areRhymeParams.unknown_rhyme's, which answers the same shape for a different undecidable.ambiguous_wordscounts the position under every reading, so the metric does not depend on which one was asked for. Underundecidable, a text whose every position is undecided returns anambiguous_nouns_undecidableviolation rather than scoring a vacuous 1.0 over nothing weighed.allow_subsetonAnagramParams, accepting the transposal convention — a candidate built from some of the source's letters. Also on the check model, and for the same reason. It relaxes one half only: a shortfall stops being a violation, a surplus letter never does, since relaxing both leaves a check no text could fail. A candidate with no letters against a source that has some fails asempty_transposalrather than scoring 1.0 on a zero denominator. Each cover now carriesletters_usedin itsCandidatemetrics besidewordsandmax_band. ADR 0029.FrenchPack, the third built-in default beside English and German (ADR 0022's shape), carrying no data files and declaringtokens,alphabet,fold_diacriticsandletter_shapes.œandæfold tooeandaeexplicitly, because neither has a casefold mapping or an NFKD decomposition the wayßdoes. 70 of the 119 implemented rows run in French on core alone; the other 49 wantsyllables.heuristic(29 rows),phonemes(21),stress(17),lexicon.words(6),lexicon.glosses(2) orlexicon.nouns(2). There is nodenckring[fr]distribution, and this is not one.Description.runs_in, the languages this install can actually check a row in, computed from the packs' capabilities rather than authored. Distinct fromlanguages, which is the row's editorial scope —wechselsatzis German by nature, not merely by capability — and the two visibly diverge onanagram, which islanguages: [en]and runs in all three. Two fields answering two questions is a surface a reader can confuse; one field could not answer both.- ADR 0029 on all of the above, and an amendment banner on ADR 0028, whose ranking
paragraph describes three keys where
allow_subsetmade four. - German counts syllables.
GermanPackgainssyllables.heuristic, which it never had — it inherited the raising stub, so every syllabic form in the catalogue was unreachable in German. Vowel-group counting, always reporting itself as estimated. Deliberately simpler than the English heuristic rather than a port of it: a final "e" is pronounced in German, so the silent-e rule and the-lerule that exists to compensate for it are both dropped, and the diphthongs need no special case because each is already a run of adjacent vowels. It undercounts a vowel sequence spanning a morpheme boundary —Museumgives 2 where German says 3 — which a test pins rather than leaves to be found later. German goes from 78 of 119 runnable rows to 89. - German runs every row.
denckring[de-wiktionary], a fourth distribution, vendors 837,689 pronunciations and 179,831 glosses extracted from the German Wiktionary dump, giving the German packphonemes,stress,syllables.dictionaryandlexicon.glosses. German goes from 89 of 119 runnable rows to 119, anddenckring eval --allfrom 365 passing cases to 401. Syllable counts and stress are read off the transcription rather than sourced separately, sostresscan never be present withoutphonemes. Measured 94.0% token coverage over 340,958 tokens of Wieland, Goethe, Kafka and Mann; the residue is pre-1901 orthography and proper names. ADR 0030. denckring-de-datagains apack()factory, and thedeentry point resolves to it rather than to a class. Core refuses two packs claiming one language and ADR 0013 forbids merging CC BY-SA data into a CC0 distribution; a factory satisfies both, and every pack'scapabilitiesstays a fixedClassVarrather than becoming computed.- 36 German golden cases across 30 rows, including Goethe's opening hexameter from Hermann und Dorothea, Voß's from the Odüssee and Heine's trochaic tetrameter, which scan under the checkers unmodified.
proteus_verse, the 120th implemented procedure and the 28th generator. A line whose words permute into many metrically valid variants:checkasks that the line scans as written and that its words admit at leastminimumorderings that also scan, scored separately because a writer can fix them separately.producereturns the orderings. Voß's opening hexameter admits 1,728 of its 40,320. No new prosody abstraction: the scansion iscore.prosody's, and the handover that proposed aMeter/Syllabifierpair was answered by what already existed — a pack'sstress_patternsalready returns every reading a word has, which is the ambiguity that proposal existed to model. The factorial is guarded by counting rather than enumerating: a walk over (words placed, syllables filled) is bounded by 2^n where scanning each ordering is n! * 32, and lines abovemax_wordsare refused rather than searched.InputTooLongtakes the noun it counted. It said "letters" unconditionally, which is right foranagramand wrong for a row that rearranges words.- A device is an address space.
Device.atandDevice.addressare the two directions of its index — Piṅgala's naṣṭa and uddiṣṭa, which makes the odometer reading an attested procedure rather than a modern gloss — over the mixed baseDevice.radix. The first slot is the most significant digit, stated as a choice because sources differ.Abbildungis reading 52,699 of Harsdörffer's 103,680,000. Device.maskrecords which readings are attested, after al-Khalīl's muhmal marking: enumerate the space, then flag which members are real.holdis the default because it is what the source does.denckring applyreads it underattestation: mask, and refuses in both directions — a device with no mask, or a pack that cannot answer. Measured: 0 of 20,000 spins of the rings is a word the German lexicon knows, while 4.40% of German nouns are spellable on them.denckringspinsmax_resultstimes rather than once, because a generator that flags which of its own outputs are real needs more than one to flag.Device.disputed_totalscarries the counts the literature asserts that the inventory does not support, with who asserts each.combinationsstays computed. ADR 0031.hemeling, the 155th catalogued row and the 121st implemented. Johann Hemeling's Arithmetische Letter- oder BuchstabWechslung (1653) asks for an anagram of a name und durch Reime zu erklähren — explicated beneath it in rhymed verse — and both halves are mechanically checkable, which is what makes it the tightest rule in the surveyed European material. The first line is judged byanagram's multiset comparison and the rest byrhyme_scheme's scheme walk, imported rather than reimplemented, so a text this row accepts is one those two accept. The halves are scored separately, so a broken rhyme over a sound anagram reads 0.5 and says which. The primary text has not been consulted; Kilcher, who read it, is named in the source.docs/expansion_ideas/is excluded from the source distribution, on the argument the existing exclusions already make: those are working documents — proposals, handovers and research notes addressed to whoever picks the work up — not documentation of what this package does. They stay in git, because the ADRs cite them.- The sdist bound is raised from 1,000,000 to 1,200,000 bytes, by maintainer decision
after chapter 4 crossed the old one for real. A side effect worth naming: the whole
suite now passes on a working tree, where
test_the_sdist_stays_smallhad failed locally and passed in CI for as long as the bound existed — the untracked 68 KB blob the local build swallows no longer pushes the archive over. The new number is a stated trade: 236,778 bytes of prose headroom against roughly 13,000 bytes of margin on the other side, which is what still lets the bound catch the smallest vendored data file being re-included. There is no per-file bound that separates the two, becauseuv.lockis larger thangraded_words.txt.gz. docs/expansion_ideas/is now kept out of the sdist by a name-based test as well as by the size bound, since a raised bound would let a silent re-inclusion fit underneath it.Device.from_textbuilds rings from a text the reader supplies, withscripts/rings_from_text.pywriting one out for theDENCKRING_DEVICE_PATHcartridge path — sodenckring apply poesie_automat -p device=notesruns on rings drawn fromnotes.txt. Deterministic, becausecheckandapplyderive it separately: falling frequency, ties broken by first appearance. Words are dealt round-robin so every ring spans the frequency range rather than the first ring holding the commonest words. No catalogue row: the technique has no historical precedent, and neitherattributionnorattestedhas a value meaning "contemporary, with no source". Amendment to ADR 0031.release.ymlgains a TestPyPI rehearsal onworkflow_dispatch. PyPI refuses a re-upload of a version that already exists, so without one the first genuinev*tag would also be the first time this workflow had ever run end to end.release.yml'sdocsjob runs beforepublishrather than after it. As written, a docs failure left the release on PyPI and undocumented, and unrecoverable — andmkdocs gh-deployfails outright on a private repository, so the old order guaranteed the first release would publish and then go red.- Three docstrings that counted the generators no longer do. The worst was the
apply_procedureMCP tool description, read by callers at call time, which said twenty-seven while the twenty-eighth was landing;list_proceduresanswers it exactly and cannot go stale. denckring-fr-data, installed bypip install denckring[fr]— a fifth distribution giving Frenchlexicon.words,lexicon.nouns,lexicon.glossesandlexicon.graded_words: 125,343 words, 44,746 nouns, six frequency bands and 510,973 gloss headwords. French goes from 70 to 80 of the 121 implemented rows, unblockingcharade,definitional_expansion,definitional_literature,kangaroo_word,n_plus_7,s_plus_7,semordnilap,tmesis,word_ladderandword_square, with 22 golden cases across eleven rows.denckring eval --allgoes from 417 to 439. Two sources, both CC BY-SA 4.0, so one distribution rather than German's two: Lexique 3.82 for membership, nouns and frequency, and thefrwiktionarydump for definitions. French registers its own entry point resolving to a class, not to apack()factory — there is no second French distribution to choose between. ADR 0032, which records why Wikidata Lexemes could not carry it: 12,768 French noun lexemes against German's 188,948, 6.8%, measured before anything was built.- French is the second pack with
lexicon.graded_words, soapply anagramnow runs in it. Lexique's frequencies are inverted at build time into SCOWL's direction, where larger means less common, because that is what the capability's contract says and whatanagramsorts by; a test pins the direction. The bucketing into six bands is arbitrary — Lexique gives a continuous frequency — so roughly 20,900 words share each band with no ordering inside it, which is coarser than English's editorially-graded bands. - A
french-without-dataCI job, mirroringgerman-without-pronunciations: the data-free French install is a real shape the suite never runs, and a lexical row in it must refuse by naminglexicon.nounsrather than guessing. - French declares no prosody, and 41 rows stay blocked — 18 of them permanently.
Lexique's
orthosyll,phonandsyllcolumns are present and deliberately unused: the 23 syllabic rows need a line-level count, because a French mute e counts before a consonant, elides before a vowel and never counts at line end, so summing citation forms undercounts systematically. The other 18 are accentual metres and French has no lexical stress, so no future data source closes them. ADR 0032 D5. MissingCapabilitynow namespip install denckring[fr]as the remedy for a French lexicon row, anddenckring.lang's docstring no longer says no such extra exists. Both were true when written and were falsified by the distribution above.LanguagePack.line_syllables, a pack answering how many syllables are in a whole line and how many of its words were estimated.BasePackimplements it as the per-word sumsyllable_count.line_syllablesran inline before, so English and German are unchanged by construction and a test asserts it. French overrides it, because a French final mute e is a syllable before a consonant, elides before a vowel or a mute h and never counts at the end of a line — Lexique givesfemme,une,belleandporteall one syllable in citation form where verse frequently wants two. ADR 0034 D1; the seam is on the pack because "how long is this line" is a question about the language.denckring-fr-datagainsphonemes,syllables,syllables.dictionaryandsyllables.heuristicfrom a 125,653-row table of Lexique'snbsyll, SAMPAphonandorthosyll, plus a 3,370-entry aspirated-h list Lexique cannot supply — extracted from{{h aspiré}}in frwiktionary and expanded through Lexique'slemmecolumn, which adds only 85 forms but among themhais, the high-frequency verb forms verse actually uses. French goes from 80 to 103 of the 121 implemented rows, unblocking all 23 syllabic ones —alexandrine,arca_musarithmica,assonance_constraint,cinquain,clerihew,englyn,ghazal,haibun,haiku,hemeling,hendecasyllable,limerick,monosyllabic_prose,renga,rhyme_scheme,rondeau,senryu,spoonerism,syllable_count,tanka,terza_rima,trioletandvillanelle— with 48 golden cases across them.denckring eval --allgoes from 439 to 487. French is the first pack that can honestly declaresyllables: the capability means a segmentation of the written word,orthosyllis one (car-ros-se), and ADR 0030 removed the same capability fromdenckring-en-data, which had declared it and never implemented it. ADR 0034.- The French line count is an estimate and always will be (
exact=False). Diérèse is etymological rather than spelling-derived, and the rule that ships is narrow: a glide after any consonant, gated on the-ion(s)suffix or thedia-prefix. Its measured effect is Racine's Mithridate 89.3% → 90.3% and Hugo's Hernani 79.3% → 80.2% of interior alexandrines scored at exactly twelve, against ceilings of 96.6% and 84.8% for a perfect per-site oracle — 1.0 of the 7.3 points available on Racine, short of the 94% accept bar, and recorded as a STOP rather than a success. The chapter plan's own proposed rule (a glide after a consonant cluster ending in a liquid) measured 84.5%/74.7%, five points below doing nothing. ADR 0034 D5 records the failed variants so the plausible ones are not proposed again. - French coverage stops at 103, and the remaining 18 rows are blocked on
stressalone — now measured mechanically againstmeta.requiresrather than projected. They are accentual metres and French has no lexical stress, so no data source closes them. ADR 0034 D3, confirming ADR 0032 D5. - The
french-without-dataCI job now also asserts that a syllabic row (alexandrine) refuses by namingsyllablesand a rhyme row (rhyme_scheme) by namingphonemes. The second has no other home: French gainingphonemesmeans no installed pack lacks that capability any more, sotests/test_prosody_robustness.pymoved its refusal test tosonnet/stressand a core-only install is the last place a phonemes refusal runs at all. layeron every catalogue row —verfahrenorinstrument— and a second counter beside the five-part coverage line. ADR 0033 took the split with no instrument entry in hand; this implements its D1 and D3 and still adds no row, sodenckring statusprints the unchanged155 catalogued · 130 implementable · 121 implemented · 121 validated · 25 not mechanically checkableand then0 instruments catalogued. The zero is printed rather than hidden, because a counter at zero is the expected state after that ADR and a line that appeared from nowhere with the first instrument would read as a regression. Every field ofCoveragecountsverfahrenalone — includingimplemented, which is now the registry intersected with theverfahrenids, so an instrument shipping a checker of its own could not move the denominator that every coverage figure in ADRs 0025 through 0032 was recorded against.catalogue.ids()unnarrowed still returns both layers:list,searchandexportdescribe the whole dataset, and only the counters read one layer at a time.LanguagePack.vowel_inventory(), the base vowel letters a language names, split out ofvowels()— which answers a different question and therefore carries the accented forms. All three packs inheritaeiouand none overrides.vowels()keeps its name and its meaning becauseword_ladder._alphabetwidens an alphabet with it and asks nothing about vowelhood; the five other call sites do ask, and keep the written set, which is the orthographic reading ADR 0035 D2 entitles them to. The third reading the one method was conflating — a contextual, phonetic classification, whereyinyoyois a consonant — is designed and deliberately not built: ADR 0035 D2 licenses it forspoonerismalone, the one row declaringphonemes, and D5 records that_letter_onsetstill splits on flatvowels()membership until then.calculator_word— a word a seven-segment display can write, entered as digits and read by turning the machine over:7353isESEL. The 156th catalogued row and the first whose constraint is a property of a machine rather than of an orthography or a lexicon. Checks a text against adigitsparameter, generates by partitioning a digit string intowordssegments, and runs in all three languages with no new data. ADR 0037 records the three decisions a reader would otherwise take for defects: the folk2 → Zis refused because2is rotationally symmetric on a seven-segment display, which costs roughly half the corpus in every language;fold_diacriticsdefaults tofalseon this row alone, because a calculator cannot writeGeheißorblessé; and6and9both giveG, soapplyis not the inverse ofcheckfor about a third of every corpus.denckring-de-frequency, a sixth distribution: German frequency bands from the Leipzig Corpora Collection, under CC BY. 101,296 graded words, 434 KB, between English's 77,078 and French's 125,343. It gives Germanlexicon.graded_words, soapply anagramruns in German —Lebensmittel→mitbestellen. ADR 0038 records the case rule it turns on: German capitalises common nouns, so a noun is counted only from a corpus's capitalised rows, and a source that lowercases everything cannot tell GermanTagfrom Englishtagat all.denckring.core.calculator— the display table and its two pure functions, shared by the procedure and the explorer's stage scene so neither imports the other's internals.- A ninth stage scene for it, drawing seven real segments per digit and rotating the whole
display, so the digits and the letters a viewer reads are the same marks. It carries a
keypad of its own —
7 8 9 / 4 5 6 / 1 2 3 / 0, a real machine's layout — and arrives showing the number rather than the word, so turning it over is the viewer's gesture and not the page's opening state. Pressing a key redraws the display in the browser and clears the previous verdict; every judgement still comes from the library.2is on the keypad and worth pressing: it lights like any other digit and yields no letter, which is ADR 0037 D2 made pressable rather than argued. - Coverage is enforced rather than reported: CI fails below 97%, the figure the README's badge states, so the badge cannot drift from the code without the build going red. Measured 97.1% — 6,015 of 6,194 statements.
Description.untranslated, naming the fields served in a substitute language. Localisation has always fallen back to English silently and per field — measured over 155 rows,namesde 95 / fr 98,definitionsde 95 / fr 95,prompt_hintsde 4 / fr 0 — so a French caller received English prose in a field typed as French with nothing marking it.- Over MCP — an explorer page where a local model uses denckring's own MCP tools.
The first consumer this repository has for that server, and a real stdio client rather
than an in-process shortcut. Only
gemma4of the four installed Ollama models can call tools at all; the three German and European ones are listed with Ollama's own reason for refusing them.explorer/models.pyis a second model provider beside the Anthropic one. - An overview recording —
docs/showcase/— of the catalogue, all nine stage scenes and two live MCP tool calls, produced byapps/explorer/tests/browser/overview-gif.mjsandscripts/build_overview_gif.py. On the documentation site, out of the sdist. apply_procedureover MCP now returnscandidatesandmetricsalongsidetexts. Without them ADR 0031'sattestation: "mask"was a no-op over that surface, since the mask's entire output is a per-word mark onCandidate.metrics.
Changed¶
slenderizing.apply(..., fold_diacritics=false)now refuses where it used to return text. The old_produceignored the parameter and always folded, soapply("Bäh", lang="de", deleted="a", fold_diacritics=False)returned"Bh"— deleting a letter through the very fold the caller had switched off. It now raisesDegenerateOutput, because with folding offäisä, the text holds noa, and the slenderizing of it is the text itself — which is also the answer_checkgives, so the refusal is the two agreeing for the first time. ADR 0035, Consequences.- Twenty-five fillers in
data/devices/poesieautomat_2000.yaml— published data, CC BY 4.0 — replaced, because assembled they read as camp and confinement imagery. Twenty-four were of that family:der Zaun,am Zaun,Die Mauer,Die Sperre,auf Posten,die Wache,die Rampe,das Gleis,Das Lager,im Lager,im Graben,im Moor,in Ketten,in Trümmern,in Flammen,unter Zwang,aus Draht,mit DrahtandDer Draht, plusDas Gitter(hinter Gittern),in Deckung,die Kammer,die Sireneandbrennt, the last five found by sweeping rather than listed. Each is innocent read alone — a loading ramp, a warehouse, a railway track, a watch, a fence — and the defect was never one flap but what a board of 10^36 readings eventually sets beside what. That is countable exactly rather than by sampling, because a line is six modules of ten and the per-module counts convolve: of the 6,000,000 lines the board can assemble, 1,633,120 (27.2%) carried at least one of these words and 244,620 (4.08%) carried two or more, which put 22.686% of all 10^36 poems — better than one poem in five — on the wrong side of it. Over the replaced file both figures are 0. Nobody can read 10^36 combinations, so the guard is to keep the material out of the modules rather than to look for it in the output, and the device header now carries that as a seventh constraint, marked as resting on judgement rather than on a test — as, it also now records, the fourth rule already did, there being no test in this repository for the ADV prohibition either. - The twenty-fifth,
ohne Zeugen, went on a neighbouring ground: besideDie Anzeige, which is a notice and a display and also a criminal complaint, it read as a denunciation, in 1.00% of that line's 1,000,000 readings — 10,000 of them. It is nowohne Strom. Everything about the machine is unchanged: every module still holds ten alternatives,Device.combinationsis still exactly 10^36, no filler exceeds eleven characters, no line's assembled width rose, all 360 stay distinct case-folded, and the six schemas, the three grammaticality rules and the ADV rule are untouched.kippt, which replacedbrennt, is the only one of the thirty verbs that is ambitransitive; rule 3 holds for all 10^36 readings anyway, because no schema offers a verb an object, and the header records the exception. The second positive golden fixture spun four of the replaced flaps and was rewritten to the same seed's new reading, which leaves both properties itssourceclaims — disjointness from the first fixture and no repeated word stem — true and re-derived on every run. - Breaking:
seedis a parameter onSeedParamsrather than a keyword in theConstructive.applysignature, carried only by the ten procedures that draw at random. A keyword named in the signature bound before**params, soseedwas never validated and all 27 generators acceptedseed="not-an-int". Passingseedto a procedure that does not draw now raisesInvalidParamsinstead of being silently ignored.langremains a reserved keyword on the same signature for the same reason — no params field may be namedlangeither, andApplyParamsnow says so. - Breaking:
spoonerismraisesInputTooShortrather thanNoCandidateWordfor a text of fewer than two words, andideenwuerfelnraises it rather thanMalformedCorpusfor a corpus holding fewer entries than a throw needs. Both were the shaperecombinationalready raisedInputTooShortfor, so the code a caller retries on depended on which procedure they had called.NoCandidateWordkeeps its narrower meaning — enough units, none of them suitable — andMalformedCorpuskeepscorpus.parse's: unreadable, not merely small.InputTooShort's message now ends on a remedy, as the other errors do, and counts its units in English rather than reading "0 line". - Breaking:
ConstructiveProcedure.apply_params_model()is abstract. It used to synthesise the checker's model widened byApplyParams; all 27 generators declare their own, so the default had no caller and carried an MRO trap. boustrophedon,cent_mille_milliards,recombinationandwechselsatzraiseInputTooShortwhere they used to return their input unchanged.wechselsatzraises it twice over: once for a frame offering no choice at all, and once for a frame whose alternatives the tokenizer used to check the result cannot read back as single words — a gap_apply'sdrawablefilter now closes by simply never drawing such an alternative, which is itself a known, accepted cost documented in the code and deferred to chapter 2.apply_procedure(MCP) returnstextsandtruncatedalongsidetext. Additive:textkeeps its meaning and value as the first oftexts.paragramreturns every candidate it scores, best first, where it scored them all and returned one.apply's result is unchanged.apply_procedure(MCP)'smessagefor a non-constructive procedure, from a hand-built sentence toNotConstructive's own wording, which additionally points a caller atconstructiveindescribe_procedure.codeanddetailare unchanged.- Breaking for anyone who has written a generator:
_producereturnsProducedrather thanlist[str]. All 27 generators moved with it;denckring.corewas already outside the stability statement, and this is what that clause is for. -
Breaking: the identity guard compares casefolded text, so output differing from its input only in capitalisation is refused.
word_ladder.apply("Cat", target="cat")now raisesDegenerateOutput.IDENTICALwhere it returned"cat".apply("cat", target="cat")already raised, so the change makes that row consistent with itself rather than taking anything away. -
get_pack("fr")returns a pack instead of raising. Breaking for anyone catchingUnknownLanguageon"fr":check(..., lang="fr")on a row needing only core capabilities now runs, and on a row needing a lexicon it raisesMissingCapabilitynaming the capability rather thanUnknownLanguagenaming the language.Langhas beenLiteral["en", "de", "fr"]since the first release and every catalogue row carries a French name and definition, so the old error pointed atdenckring[fr]— a distribution that does not exist and was never planned. The failure moves to the right layer; it does not go away. MissingCapability's remedy is conditional on a data distribution existing. It interpolated the language intopip install denckring[{lang}], which was harmless while every language reaching it had a package and became a false promise the moment French did not: the 49 rows a French caller cannot run were each pointing atdenckring[fr], which does not exist. English and German keep the install hint; anything else now reads "No data distribution supplies it for 'fr'". Thecode(missing_capability) anddetailare unchanged, so a caller matching on either is unaffected; one matching onmessagetext for a language with no extra is not. Untouched and older than this: naming a language's extra still assumes that extra supplies the capability, anddenckring[de]carries nostress.anagramranks covers byletters_useddescending before ADR 0028's three keys, because underallow_subsetevery single word that fits the source is a valid transposal — 373 of them forastronomer— and word count first would bury every cover worth reading. With the flag off the new key is constant across covers and the order is byte-identical to ADR 0028's, held by a regression test rather than by the argument. The flag costs no search:astronomervisits 747,769 nodes either way, because a cover is recorded at nodes the walk already visits. What it multiplies is results —astronomer1,421 covers to 15,185,dormitory48 to 742, one fewer out ofproducein each case, which drops the identity cover — which makesProduction.truncatedtrue on nearly every subset call against the defaultmax_resultsof 10. That field has meant both "the search abandoned its budget" and "max_resultscapped the list" since it existed;allow_subsetmakes the second the common case, and a caller still cannot tell them apart.tests/test_round_trip.pydraws blank-line paragraphs and terminated sentences by construction instead of waiting for a flat draw to offer them, andmax_examplesfalls from 1,000 to 600. The old budget was never measured: over twelve fixed seeds the flat-only strategy reached every constructive row on 3 of 12, missingrecombinationon nine andevery_nth_wordon three. The new composition reaches every reachable row on 60 of 60 replayed seeds at 300 examples, and 600 is twice that floor. The cost is a narrower flat draw —st.one_ofdedupes branches by identity and does not sample them uniformly, measured at about 20% for a flat branch against 45% for the prose one — which starvesspoonerism, the row that wants flat text and the first to go missing when the budget is cut.
Fixed¶
- German
lexicon.graded_wordsis no longer reported as a permanent ceiling. It was in_PERMANENTLY_MISSINGciting ADR 0028, whose own comment anticipated the removal; it now namesdenckring[de-frequency]. Frenchstressremains permanent (ADR 0034 D2). missing_capabilityno longer names an extra that cannot supply the missing capability. German is the one language with two:stress,phonemes,syllables.dictionaryandlexicon.glossescome only fromdenckring[de-wiktionary], and the remedy nameddenckring[de], which the caller may already have installed.- Six catalogue definitions promised what their checkers structurally cannot do, in all
three languages:
alexandrine's caesura,limerick's metre and line lengths,alliterative_verse's caesura and stress,homoteleuton's "or syllable",dactylic_hexameter's reading of the German spondee, andblank_versewithholding the strict-stress caveatiambic_pentameteralready published. apply_procedure's docstring sent callers toconstructive, which does not depend onlangand so cannot answer whether a call will run. It now namesapply_missing.- The word ladder's letter box had been sizing every tile on the board. Two unscoped
.tilerules sat in one stylesheet; the ladder's, declared later at equal specificity, forced all 156 board tiles to a 38px square with their contents overflowing across their neighbours. Both landed on 2026-08-20 and nothing caught it, because the explorer's tests drive Starlette'sTestClient, which renders no CSS. -
The source distribution shipped
docs/superpowers/anddocs/seed/— 1.22 MB of specs and plans that the documentation site had always refused on the same argument. The two exclusion lists are now one list with two consumers. -
s_plus_7/n_plus_7inverted a verdict on a word carrying an elided proclitic — worse than refusing.noun_indexlooked an apostrophe-bearing token likel'îleup whole and never found it, since no noun carries an internal apostrophe, so the correct S+7l'îlotfailed aschanged_a_non_nounwhile retyping the source unchanged passed, hiding exactly whatambiguous_nouns: "strict"exists to catch.d',qu'and the typographic’behaved the same; both rows share the bug, sinces_plus_7delegates entirely ton_plus_7'sdisplace/displacement_report. A newsplit_elisionsplits at the last apostrophe; the checker and generator both work on the tail and treat the proclitic as a separate unit that must match exactly, under a newchanged_procliticviolation. The proclitic is reattached exactly as written rather than re-elided against the displaced noun —l'aïolidisplaced by one entry becomesl'b, a known, honestly pinned limitation rather than a silent one; choosingl'/le/lacorrectly needs the noun's gender, which the list does not carry. ADR 0036. identical_rhymecould not telll'amourfromamour. The comparison read each rhyme scheme line's final word as written, so a minimal pair differing only by a leadingl'matched bydoes_rhymeand by neitheridentical_rhymenordoes_not_rhyme, scoring 1.0 where the bare pair correctly failed —hemeling's ownallow_identicalpublishes "Permit a word to rhyme with itself, as French rime riche does," and this was the dial bypassed by the commonest orthographic fact in the language. Fixed with the samesplit_elision, moved tocore/text.pysocore/prosody.pycan share it;hemeling,limerickandrhyme_schemeall inherit the fix throughscheme_violations. ADR 0036.kangaroo_word's own lookup broke on any accented French synonym under default folding.synonym: "école"failednot_a_word, becauseis_wordis not fold-aware — French keeps its accents on purpose (ADR 0009) — and this row folded the synonym before asking it, so a diacritic-foldedecolecould never match the table'sécole. Every otheris_wordcaller (paragram,word_ladder,semordnilap) already checks membership on the word as written; this row now does too, folding only for its own distinctness and ordering checks. ADR 0036.missing_capabilityadvised a remedy that could not work. The remedy was picked fromlang in _EXTRASalone, never asking whether that extra supplies the missing capability: all 18 Frenchstressrefusals saidpip install denckring[fr], where French has no lexical stress at all, permanently (ADR 0034 D2); Germananagramsaiddenckring[de]forlexicon.graded_words, which onlydenckring-en-dataships (ADR 0028) — measured withdenckring-de-dataalready installed, so the advice was to reinstall what was already there. A hand-maintained set of(lang, capability)pairs no extra will ever supply is checked first. The comment claiming French carries no syllables or phonemes was also false since ADR 0034 and is corrected in the same place.-
queninaaccepted every text put to it whenevernwas left out — which is the default. The size inference asked for the firstnwhose firstnend-words are all distinct, and that is1for every text there is, so no stanza was ever compared against the rotation,totalcame back 0, and_reportscored that 1.0 as vacuously satisfied. A whole sestina with an end-word wrong passed. The checker itself was correct all along: withngiven it always graded properly, which is why the fault was in the one path nothing exercised — every golden case, every strategy and every unit test passednexplicitly. The inference now reads the size off the longest all-distinct run of end-words, and two golden cases cover the unparametrised path. -
assonance_constraintandspoonerismidentified a vowel phoneme by CMUdict's stress digit — a convention no other source uses. Both rows declare onlyphonemes, so the moment German had phonemes they ran in German and found no vowels in any German word:assonance_constraintfailed every German text andspoonerismread every word as pure onset.LanguagePack.is_vowel_phonemeputs the question on the pack, where the answer lives. denckring-en-datadeclared thesyllablescapability and never implemented it, soget_pack("en").syllables("table")raisedMissingCapabilitynaming a capability the pack declared. No row requires it, so nothing was broken; butruns_incomputes fromcapabilities, so the first row to require it would have been reported as running inenand would then have raised. The claim is removed: a pronouncing dictionary is not a hyphenation dictionary.device.loadanddevice.load_figurebuilt a filename by interpolating the caller's id directly —directory / f"{item_id}.yaml"— whichPathdoes not make safe:Path.__truediv__silently discards the left operand when the right is absolute, and a..segment is never rejected. An id of/etc/passwdor../../etc/passwdread that file and returned it as though it were a device. This predatesDENCKRING_DEVICE_PATH— the same interpolation was already present for both loaders when they only ever read the packaged directory — but the cartridge is what turns a latent gap into a routine one: it multiplies the directories an id can escape from and documents "point this at your own files" as a supported feature. It is reachable from outside the process, not only from Python:DeviceParams.deviceis a barestr, an MCP client supplies it directly viamcp/server.py's**(params or {}), and the CLI reaches it through--param device=.... Both loaders now validate an id as a bare filename stem — no separators, no.., never absolute — through one shared helper, and independently confirm the resolved path is inside the directory it was joined to, so the rule and the filesystem agree. An id that fails either check is treated exactly as an id no directory offers:UnknownDevice/UnknownFigure, not a different error.- A cartridge file that failed to parse as YAML, or parsed but did not fit the
Device/Figureschema, let the rawyaml.YAMLErroror PydanticValidationErrorescape. Both exceptions quote content from the file in their default message — a YAML parse error echoes a snippet of the source around the failure, and a Pydantic error echoes each offending value back — which is a content-disclosure path once a cartridge is by design arbitrary user-authored YAML, and it broke the contractmcp/server.pystates in its own docstring: only aDenckringErroris ever converted to data for a model to act on. Both loaders now raiseMalformedDevice/MalformedFigure— newDenckringErrorsubclasses alongsideMalformedTableandMalformedCorpus— naming the path and a short, content-free reason (an exception's class name, or a count of validation errors) instead. - Two language packs claiming one language were resolved silently by load order. They
now raise
DuplicatePacknaming both, since answers that depend on installation order are the failure ADR 0004 exists to prevent. - A report could say satisfied and still list violations, when a violation was appended
without being counted in the score. The invariant suite asserted
satisfied == (score == 1.0)from the start but never that a satisfied report is silent; it does now, and the Arca's tone check was the case that showed the gap. applylet Pydantic's validation error escape wherecheckwrapped it inInvalidParams, so one kind of mistake raised two kinds of failure depending on which method you called. Both now go through one door.- Three catalogue edits in earlier releases silently did nothing, because a string replacement that matches nothing succeeds quietly. The Denckring, Wechselsatz and Proteus-verse rows never received the text they were reported as having. All three are now written, and catalogue edits assert that they applied.
- The Denckring row overstated Harsdörffer, who labels the rings but states no total, and understated the case against the 97,209,600 the literature repeats. That figure factors as 2^8 x 3 x 5^2 x 61 x 83, and neither 61 nor 83 divides any ring size on any count — a stronger refutation than the divisibility argument it replaces. The row now also records that two independent counts of the parts disagree about one boundary while both coming to 264, and cites the Erquickstunden rather than the Poetischer Trichter, where the device is often wrongly placed.
denckring,cent_mille_milliardsandwechselsatzwere filed as having no computable acceptance criterion. Asking whether a word is producible by five rings is a segmentation question, and asking whether a poem is one of Queneau's is a selection check; both are decidable.line_permutation,stanza_permutationandword_permutationkeep their classification, because their definitions claim every ordering reads as a finished text and a permutation check does not verify that.- Thirteen catalogue rows declared
lexicon.nounswhen they wanted word membership, synonyms, antonyms or glosses. Each now names what it actually needs. - Entry-point language packs were shadowed by the built-in English default, so an installed data package had no effect. Precedence is now explicit registration, then entry point, then built-in default.
- Unknown parameters passed to
checkwere silently dropped, so a mistyped--param frobidden=elooked like a constraint being applied when it was not. They now raiseInvalidParamsnaming the parameters the procedure actually accepts. - Four catalogue rows misdescribed what they need:
boustrophedonis decidable only against its source, andsemordnilap,kangaroo_word,word_squareandcharadecannot be decided without a lexicon. prisoners_constraintcompared folded letters, so it readßasssandäasaand wrongly accepted groß, Maße and Mädchen — and English naïve with them. An ascender is a property of the written glyph, and folding destroys it. The checker now reads raw characters. This changes existing English results: text containing accented letters that previously satisfied the constraint no longer does.- Six form rows published a capability contract their own code broke.
sonnet,ottava_rima,ballade,curtal_sonnetandspenserian_stanzadeclared[tokens, phonemes, syllables]; run against a pack carrying exactly that, all five raisedMissingCapability('stress'). Scanning metre reachesstress(prosody.word_stress→pack.stress_patterns) and reaches syllable counting only on the out-of-dictionary fallback, which issyllables.heuristic; nothing in this codebase callspack.syllables()at all. All five now declare[tokens, phonemes, stress, syllables.heuristic], the shapedouble_dactylalready used, andenglyn— which is syllabic, not accentual — declares[tokens, syllables.heuristic, phonemes]. - The catalogue got more honest in both directions this batch. Rows that understated
what they need:
word_ladderandtmesisgainedlexicon.words. Six rows that reachpack.vowels(), most of them throughletter_class_report, gainedalphabet:univocalic,bivocalic,monoconsonantal,homoconsonantism,homovocalismandunivocalic_translation.dactylic_hexametergainedsyllables.heuristic, which any metre scan falls back on for a word the pronouncing dictionary does not carry. Rows that declared what they never used:limerickdroppedstress— it checks the rhyme scheme only, never the anapestic metre or shortened couplet its definition names;prisoners_constraintdroppedtokensandfold_diacritics— it scans raw characters and asks only about x-height, and folding first would destroy the ascender the check needs to see;spoonerismdroppedfold_diacritics— its onset comparison lives entirely in phonemes, where accents do not apply — and gainedalphabet, which its written-onset guess does call.haikuizationis the interesting one: it gainedphonemesearly in the batch on the assumption that a rhyme-word reading and a line-end reading could be told apart, then lost it again, because this codebase's rhyme machinery always resolves a line to its final word regardless of whether it pronounces as a rhyme with anything — the two readings are not constructible here, so the capability did no work and only made the row refuse unusual vocabulary. back_translation,transductionandintralingual_translationreclassified tocheckability: none, each recording innoteswhy no acceptance criterion exists rather than merely asserting it: a translated-onward-and-back rendering, a chain of translations whose drift is the point, and a rewording into another register have no independent text to check the result against.implementablefalls from 129 to 126 as a result — the fall is the point, not a regression.- Four catalogue rows are blocked on a missing capability and now say so in
notes:homosyntaxismandverbless_proseneed a part-of-speech capability no pack provides;homophonic_translationneeds phonemes in two languages at once;perverbneeds a proverb corpus, which ADR 0020 already rules this project does not ship. - The English lexicon is now derived from Open English WordNet 2024 rather than Princeton
WordNet 3.1, which is unmaintained. The noun list grows from 55,239 to 56,468 entries
and 78,865 glosses arrive with it;
LICENSE-WORDNETis replaced with the CC BY 4.0 notice OEWN carries, and the data package's README stops naming the old release. This changes published output:n_plus_7ands_plus_7both count forward through that list, so a displacement that landed on one word can now land on another — cat displaces to catacomb, where it displaced to catafalque before. N+7's golden fixture, strategy and tests are updated to the new list; S+7's fixture words were not affected, but the same shift applies to any input. - Four catalogue rows named capabilities they never needed, each corrected against what
the row actually does:
kangaroo_wordneeds a word list (lexicon.words), not a thesaurus, since whether two words are synonyms is the writer's claim;chimerasubstitutes by part of speech and is blocked onposalongsidehomosyntaxismandverbless_prose;definitional_translationneeds glosses in the target language (lexicon.glosses.bilingual), which English ones do not serve and no shipped pack provides, named the wayhomophonic_translation'sphonemes.bilingualalready is. glosses' inflection fallback tried strippingedanding, which resolved cared to car and poled to pol — unrelated headwords, returned with the confidence of a real answer, and enough to make the definitional rows demand the wrong sense of a correctly expanded word. Measured over a sample sentence,s/esstripping earns its place anded/ingbought two extra resolutions of which both were wrong, so onlys/esis kept. The docstring no longer claims resolution never guesses: it is best-effort, and only the empty sequence is a guarantee.- The three distributions are version-locked to each other.
denckring-en-datasubclasses the core English pack, andrelease.ymlpublishes all three from one workflow for exactly that reason, but each declared a baredenckringdependency and each extra a bare data-package one — sopip install denckring-en-datawas free to pair a subclass with a core it was never built against. All four declarations now pin==0.1.0;[tool.uv.sources]keeps local development on the workspace copies. project.urlsgained Documentation and Changelog entries, which are what PyPI's sidebar shows.cent_mille_milliardssilently dropped a sheet line offering no alternatives, drawing one fewer line than the sheet has positions — the shape its ownmissing_lineviolation exists to catch.apply('a|a\n|')returned one line wherecheckrequired two. It now raisesInputTooShortfor a sheet with an empty position rather than drawing from it.recombinationshuffled an unterminated trailing fragment into the draw, where" ".joincould merge it with its new neighbour and re-split into a different multiset than the one shuffled — exactly whatcheckcompares against. It now pins the tail out of the shuffle and permutes only the terminated sentences. Both were made reachable by the previous chapter's wider round-trip input alphabet and surfaced only intermittently, becausetests/test_round_trip.py::test_apply_output_satisfies_checkis not derandomized.apply anagram "astronomer"raisedDegenerateOutput, anddormitorywith it. The generator walkedpack.nouns()greedily — a source word that is itself a noun is the longest cover of its own letters — and emitted whatever letters it could not spend as a run of single letters, which keptchecksatisfied and said nothing. It now searches the graded lexicon depth-first for sets of words whose letters are exactly the source's, bounded bymax_words,min_word_length,max_sizeand a budget of 1,000,000 nodes, and ranks what it finds by fewest words, then by the SCOWL band of the cover's least common word, then alphabetically.dormitorygivesdirty room, one of 47 covers;astronomergivesarrest moon, one of 1,420. A walk that cannot spend its remaining letters is not a cover and is abandoned rather than padded. The catalogue row declareslexicon.graded_wordsunderapply_requiresand notrequires, sincecheckhas always run on core alone.- The identity guard compared
produced.strip() == text.strip(), so a generator whose output is casefolded never compared equal to a capitalised input and slipped it:apply anagram "Dormitory"returneddormitory, the reported defect still live for anyone who types a word the way people write one. Fixed at the spine rather than inanagram, because the rule is the spine's and belongs in one place. See Changed for the one existing result this moves. - The diacritic fold applied to the text but not to the parameter compared against it,
so
vowel="ä",vowels="äö"and aßacrostic target were unsatisfiable in German under the defaultfold_diacritics: true, and the violation mixed a foldedfoundwith an unfoldedexpected. Worse,slenderizing's generated output failed its own checker:_producekept a character whenfold_diacritics(ch).lower() != deleted, andßfolds toss, soßalways survived a deletion_checkthen required —applygaveDie traße war groß.and its own check scored that 0.412 with seven violations.core.text.fold_letteris the parameter-side twin ofletter_spansand is now applied at the seven rows this decision covers —univocalic,bivocalic,monoconsonantal,slenderizingand the acrostic family — not at every such comparison; five more were named under Known remaining in ADR 0035 and were fixed the same day, below. A target that is a phrase is flattened bycore.text.fold_target, so aßclaims the two units its two letters need. The acrostic family is three rows, not two:telestichinherits fromAcrostic,double_acrostickept its own copy of the expression and now shares the one function. ADR 0035 D3 and D6. slenderizing's generator failed its own checker in French too, and on one letter it had been made worse rather than better. Foldingdeletedwas necessary and not sufficient: dropping a source character whenever any letter it folds to matched agrees with_checkonly for a uniform fold, andœ→oeis not uniform.apply("Le cœur et la sœur", lang="fr", deleted="e")returnedL cur t la sur, scoring 0.167;deleted="o"returnedLe cur et la sur, scoring 0.214, where the code before this release raisedDegenerateOutput— an honest refusal turned into text failing its own checker. The rule is now three-way: keep the source character untouched when none of its letters isdeleted, drop it when all are, emit the survivors when only some are. Both round-trip at 1.0 (L cour t la sour,Le ceur et la seur), with three golden cases and French unit tests. ADR 0035 D6.- Five more rows had the identical seam, unfiled by the sweep because it walks fixtures
and these needed a parameter no fixture supplies.
lipogram(forbidden="ä")on"Rätsel"returnedsatisfied=True— an inverted verdict, the text plainly contained the letter — withpangrammatic_lipogramthe same shape behind it.tautogramandhomoteleutonfailed closed instead: an unfoldedinitial/finalnever matched a folded word boundary.abecedarian'sstart="ä"was vacuous rather than wrong —alphabet.indexfell back to0and agreed with the right answer only becauseähappens to fold to the alphabet's first letter;start="ö"(index 14) showed the real defect, disagreeing with the correct answer on every line.serial_lipogramhad its own copy of the bug, the opposite way: it refusedstart="ä"outright withInvalidParams, even under default folding, stricter than its own text-side comparison. All six now fold viasingle_letter();abecedarianandserial_lipogramraiseInvalidParamswhen a foldedstartstill is not a letter of the row's own flat alphabet, rather than silently defaulting. Ten golden cases, one per row plus a negative for four of them. ADR 0035, Known remaining. - A single-letter parameter that folds to several characters is now refused by name.
consonant="ß"compared a two-characterexpectedagainst a one-charactergotand could never be satisfied;single_letter()raisesInvalidParamssaying what it folded to and namingfold_diacritics: false, which genuinely works. This replacesslenderizing'sdegenerate_outputadvisingallow_identity=true, which named neither the cause nor a remedy and would have returned the untouched text as a slenderizing. ADR 0035 D4. supervocalicrequired every accented vowel letter its pack names — eight in German, twenty-one in French — against a published definition that says five. Folded text can never contain an umlaut, soä ö üwere permanently missing while inflatinga o uinto repeats: no German or French text could satisfy the row at all.vowel_inventory()is the reading it wanted. ADR 0035 D1.slenderizingwas unexercised twice over — inPARAMETER_GATEDintests/test_round_trip.pyand pinninglang: enat file level in its golden file — so the row that broke the project's thesis was the one row neither net could see. A structural guard now holds those two facts together for every gated row that declaresfold_diacritics, andtests/test_fold_symmetry.pystates the invariant the whole seam violated once rather than per row: a verdict on folded input with folding on must agree with the verdict on pre-folded input with folding off.