← 5ee8de1860a7 · 5f6fdf4f9900 →

5f5b990b28ab

A zero-background grid contains two to four disconnected cyan (8) rectangular objects. Sort the objects by bounding-box area, largest first, then recolour them in the fixed order red(2), yellow(4), magenta(6), orange(7), green(3), gray(5), maroon(9). Canonical roles are nested; ranking-stress roles separate the objects so area must be distinguished from scan order, perimeter/cell count and width.

frame detectionnesting depthpalette remapping

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).

Reference rule (Racket)

(rule!
  (let* ((palette (list 2 4 6 7 3 5 9))
         (frames (sort (filter (lambda (obj) (= (obj-color obj) 8)) (objects g 0))
                       (lambda (a b)
                         (> (* (obj-h a) (obj-w a)) (* (obj-h b) (obj-w b)))))))
    (let loop ([out (empty-grid (rows g) (cols g) 0)] [remaining frames] [depth 0])
      (if (empty? remaining)
          out
          (loop (paint-cells out (obj-cells (first remaining)) (nth palette depth))
                (rest remaining)
                (+ depth 1))))))

Provenance

Generator
generators/5f5b990b28ab/generator.py
Notes and decisions
generators/5f5b990b28ab/notes.md
Review label
reviewed_safe
Generator SHA-256
118d51fde17615f49b93040afce0bef735df4537c9074d23e694b2bd42d7f623
Rule hash
d23e43212061
Sources
bank:868e1a8cbe17
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 5f5b990b28ab --count 1 --seed 20261108 --test 1