← 26f02d922ca0 · 27080597d778 →
26f313fdf812
Order same-color 4-connected nonzero objects by bounding-box top-left position. Output an N×N matrix with 1 for equal cell area, 2 when the row object is larger, and 3 when it is smaller.
component abstractiondynamic outputpairwise relations
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* ((objs (sort (objects g 0)
(lambda (a b)
(if (= (obj-r1 a) (obj-r1 b))
(< (obj-c1 a) (obj-c1 b))
(< (obj-r1 a) (obj-r1 b))))))
(areas (map obj-size objs))
(n (length objs)))
(grid-from-fn n n
(lambda (i j)
(let ((ai (list-ref areas i)) (aj (list-ref areas j)))
(if (= ai aj) 1 (if (> ai aj) 2 3)))))))Provenance
- Generator
- generators/26f313fdf812/generator.py
- Notes and decisions
- generators/26f313fdf812/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a7ae251a40ef234a542abb1167b32c3507d99ff3f7c7dfb10a1a50e7c95c57e6
- Rule hash
- 80930b679862
- Sources
- bank:0527e10c7137
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 26f313fdf812 --count 1 --seed 20261108 --test 1