← be743fd05a59 · beb87e1c1b19 →

be7f70e60fb7

Sparse zero-background grids use the same shape/palette signatures as the five canonical examples. Every four-example lesson cycles through two aligned pairs, three aligned pairs, a diagonal repeated-color near miss, and singleton/aligned-triple cardinality near misses. The rule connects only colors appearing exactly twice whose endpoints share a row or column; all other cells are preserved.

endpoint pairingline completionsame-size transform

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 ((colors (filter (lambda (v) (not (= v 0))) (grid-colors g))))
    (for/fold ([out g]) ([color (in-list colors)])
      (let ((pts (find-color g color)))
        (if (= (length pts) 2)
            (let ((a (first pts)) (b (second pts)))
              (cond [(= (first a) (first b))
                     (paint-cells out
                                  (map (lambda (c) (list (first a) c))
                                       (range (min (second a) (second b)) (+ (max (second a) (second b)) 1)))
                                  color)]
                    [(= (second a) (second b))
                     (paint-cells out
                                  (map (lambda (r) (list r (second a)))
                                       (range (min (first a) (first b)) (+ (max (first a) (first b)) 1)))
                                  color)]
                    [else out]))
            out)))))

Provenance

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