← ffcd7510821d · ffdc0ddb44bd →

ffd3a33c5687

Sparse multicolor mirror orbits. Complete each left/right pair using the nonzero member, with the left color winning occupied conflicts.

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! (lambda (grid)
  (define height (rows grid))
  (define width (cols grid))
  (define (mirror-col col) (- (- width 1) col))
  (define (pair-color left-val right-val)
    (if (!= left-val 0) left-val
        (if (!= right-val 0) right-val 0)))
  (define (repaired-color row col)
    (let* ((other-col (mirror-col col))
           (left-col (min col other-col))
           (right-col (max col other-col))
           (left-val (cell-at grid row left-col))
           (right-val (cell-at grid row right-col)))
      (pair-color left-val right-val)))
  (grid-from-fn height width
    (lambda (row col) (repaired-color row col)))))

Provenance

Generator
generators/ffd3a33c5687/generator.py
Notes and decisions
generators/ffd3a33c5687/notes.md
Review label
reviewed_safe
Generator SHA-256
419d368c4fae796aaeaa52c5d2ee1965b106960f53e73f8a9980208d6a900ae7
Rule hash
4276b16a10bb
Sources
custom
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ffd3a33c5687 --count 1 --seed 20261108 --test 1