← cdb267535df8 · cde6cd1740f9 →

cddbee92b2f3

Mirror eligible cells left of the first full-height color-5 guide, preserving originals and clipping off-canvas targets.

parametric familyguide detectionreflectionsymmetry

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).

Reference rule (Racket)

(rule!
  (let ((guides (filter (lambda (c) (all? (lambda (r) (= (at g r c) 5)) (range 0 (rows g)))) (range 0 (cols g)))))
    (if (empty? guides)
        g
        (let ((gc (first guides)))
          (for*/fold ([out g]) ([r (in-range (rows g))] [c (in-range gc)])
            (let ((v (at g r c))
                  (mc (- (* 2 gc) c)))
              (if (and (not (= v 0)) (not (= v 5)) (in-bounds? r mc (rows g) (cols g)))
                  (set-cell out r mc v)
                  out)))))))

Provenance

Generator
generators/cddbee92b2f3/generator.py
Notes and decisions
generators/cddbee92b2f3/notes.md
Review label
reviewed_safe
Generator SHA-256
bfe9b25b5a9c922d37e3751b38e61eea8071a051f3ec2af7eef2465e200edaff
Rule hash
44af655891ad
Sources
bank:cc07013acae1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate cddbee92b2f3 --count 1 --seed 20261108 --test 1