← 0d6d64e90301 · 0da360b839c1 →
0d877a4c52fd
A zero-background grid contains two or three distinct foreground colors. Each color marks exactly three corners of one axis-aligned rectangle and its fourth corner is blank. Complete every rectangle by painting only that missing corner with the same color.
axis-aligned rectanglescorner reasoningsame-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).
Original task pairs
From the source task; the reference rule must reproduce them.
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (e8b-colors-reading grid) (remove-duplicates (filter (lambda (v) (not (= v 0))) (map (lambda (p) (at grid (first p) (second p))) (grid-positions grid))))) (for/fold ((out g)) ((color (in-list (e8b-colors-reading g)))) (let* ((cells (find-color g color)) (rs (sort (remove-duplicates (map first cells)) <)) (cs (sort (remove-duplicates (map second cells)) <))) (if (and (= (length cells) 3) (= (length rs) 2) (= (length cs) 2)) (for*/fold ((acc out)) ((r (in-list rs)) (c (in-list cs))) (set-cell acc r c color)) out)))))
Provenance
- Generator
- generators/0d877a4c52fd/generator.py
- Notes and decisions
- generators/0d877a4c52fd/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 028c8cf9c9873fd8624563786e0d3fa086142869503ae4510627c9733cc9b621
- Rule hash
- bf8c9dd4f7fa
- Sources
- bank:0e3c36a9dbcc
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0d877a4c52fd --count 1 --seed 20261108 --test 1