← 8921bea21bbb · 899e2a4cfac9 →

892ae3bfe537

A 0-background 6..10 by 8..10 grid contains two or three distinct colors, each used at exactly two opposite bbox corners. Exactly one pair spans both rows and columns and the remaining pair(s) are collinear. The pair bboxes are disjoint. Fill every pair's complete axis-aligned bbox with its own color.

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 (empty-grid (rows g) (cols g) 0))) ((color (in-list (e8b-colors-reading g)))) (let ((cells (find-color g color))) (if (= (length cells) 2) (let ((bb (bbox-of-cells cells))) (paint-cells out (positions-in-rect (first bb) (second bb) (third bb) (fourth bb)) color)) out)))))

Provenance

Generator
generators/892ae3bfe537/generator.py
Notes and decisions
generators/892ae3bfe537/notes.md
Review label
reviewed_safe
Generator SHA-256
60d4eb6dced78460a3c15c9612820033b9c7ae1d368a983ede33aaafb362a894
Rule hash
5b511829e91b
Sources
bank:66491d778d88
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 892ae3bfe537 --count 1 --seed 20261108 --test 1