← ebdf2e943f3f · ebe7614a49f4 →

ebe355c22d70

A 6..14 by 6..14 zero-background grid contains exactly two blue (1) cells at different rows and columns. They are opposite corners of an inclusive 3..6 by 3..6 rectangle, in either diagonal orientation. The answer is not placed back into the input canvas: return a freshly cropped rectangle of exactly that height and width, with every cell color 8.

parametric familyopposite-corner reasoningrectangle fillsize-changing output

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 (nonzero-points grid) (sort (map (lambda (cell) (list (first cell) (second cell))) (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells grid))) cell<)) (define pts (nonzero-points g)) (define r0 (apply min (map first pts))) (define r1 (apply max (map first pts))) (define c0 (apply min (map second pts))) (define c1 (apply max (map second pts))) (empty-grid (+ 1 (- r1 r0)) (+ 1 (- c1 c0)) 8)))

Provenance

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