← 02280b74c8ab · 0261c073ae3f →

023f0cc17b52

Place one blue anchor and a uniquely largest solid rectangle or non-rectangular blob, optionally with one smaller decoy. The oracle returns only the largest object's boundary translated so its bbox top-left is the anchor, with edge clipping.

bounding box alignmentoutline extractiontranslation

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* ((anchor (first (find-color g 1)))
         (comp (first (sort (filter (lambda (obj) (not (= (obj-color obj) 1))) (objects g 0))
                            (lambda (a b) (> (obj-size a) (obj-size b))))))
         (dr (- (first anchor) (obj-r1 comp)))
         (dc (- (second anchor) (obj-c1 comp))))
    (for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([p (in-list (obj-boundary-cells comp))])
      (let ((nr (+ (first p) dr)) (nc (+ (second p) dc)))
        (if (in-bounds? nr nc (rows g) (cols g))
            (set-cell out nr nc (obj-color comp))
            out)))))

Provenance

Generator
generators/023f0cc17b52/generator.py
Notes and decisions
generators/023f0cc17b52/notes.md
Review label
reviewed_safe
Generator SHA-256
127ae04152c535db2e87c4586fad64a4462f1fdd8de92bb7e87cd229af2dc098
Rule hash
72d627c3478b
Sources
bank:fe45a3aa7042
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 023f0cc17b52 --count 1 --seed 20261108 --test 1