← 2d5acf84dd20 · 2dacb90452ce →

2da4094bc0e1

Cap maximal horizontal yellow length-3 runs with magenta; every generated input also contains uncapped wrong-length yellow runs and uncapped exact-3 runs in another colour, with canonical three/four-colour palette support.

parametric family

Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:

refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).

Original task pairs

From the source task; the reference rule must reproduce them.

Reference rule (Racket)

(rule!
  (grid-from-fn h w
    (lambda (r c)
      (let ((v (cell-at g r c)))
        (if (and (= v 0)
                 (or
                   (and (< (+ c 3) w)
                        (= (cell-at g r (+ c 1)) 4)
                        (= (cell-at g r (+ c 2)) 4)
                        (= (cell-at g r (+ c 3)) 4)
                        (or (= (+ c 4) w)
                            (not (= (cell-at g r (+ c 4)) 4))))
                   (and (>= (- c 3) 0)
                        (= (cell-at g r (- c 1)) 4)
                        (= (cell-at g r (- c 2)) 4)
                        (= (cell-at g r (- c 3)) 4)
                        (or (< (- c 4) 0)
                            (not (= (cell-at g r (- c 4)) 4))))))
            6
            v)))))

Provenance

Generator
generators/2da4094bc0e1/generator.py
Notes and decisions
generators/2da4094bc0e1/notes.md
Review label
reviewed_safe
Generator SHA-256
616f2557d331c26df6093031ed6926920e0728328913960546dc1f5159f457e3
Rule hash
5f2c21d44ce7
Sources
bank:e2825ca16ace
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2da4094bc0e1 --count 1 --seed 20261108 --test 1