← 395201c95f9d · 397767b9f88c →

39574cf4b561

A 0-background grid contains three or four distinct-color clues. Each clue is exactly three corners of an axis-aligned rectangle; complete its missing fourth corner in the same color. Preserve every existing cell, including the unrelated singleton distractor; color 9 becomes an active rectangle once in every three scheduled synthetic samples.

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!
  (for/fold ([out g]) ([color (in-list (filter (lambda (v) (not (= v 0))) (grid-colors g)))])
    (let ((pts (find-color g color)))
      (if (= (length pts) 3)
          (let* ((rs (sort (remove-duplicates (map first pts)) <))
                 (cs (sort (remove-duplicates (map second pts)) <)))
            (if (and (= (length rs) 2) (= (length cs) 2))
                (let* ((corners (for*/list ([r (in-list rs)] [c (in-list cs)]) (list r c)))
                       (missing (filter (lambda (p) (not (member? p pts))) corners)))
                  (if (= (length missing) 1)
                      (set-cell out (first (first missing)) (second (first missing)) color)
                      out))
                out))
          out))))

Provenance

Generator
generators/39574cf4b561/generator.py
Notes and decisions
generators/39574cf4b561/notes.md
Review label
reviewed_safe
Generator SHA-256
f4c7fafb46c7ce7198424e22443545d82c7f304b730703e410915d02a7aca4e9
Rule hash
6af9170b5713
Sources
bank:4e772fa039b8
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 39574cf4b561 --count 1 --seed 20261108 --test 1