← 75422b6b0a4d · 75837d4fa905 →

758360aea29b

N separated monochrome connected objects with varied bounding-box widths; output is the N x N width-comparison matrix (1=equal, 2=greater, 3=less).

parametric familybbox 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))))))
         (widths (map obj-w objs))
         (n (length widths)))
    (grid-from-fn n n
      (lambda (r c)
        (let ((a (list-ref widths r)) (b (list-ref widths c)))
          (cond [(= a b) 1] [(> a b) 2] [else 3]))))))

Provenance

Generator
generators/758360aea29b/generator.py
Notes and decisions
generators/758360aea29b/notes.md
Review label
reviewed_safe
Generator SHA-256
d663a62c889d551711b73dbb49d67c4449a9d264b75b84b367d4ae139e34fe22
Rule hash
a2e0aeab30da
Sources
bank:cc07013acae1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 758360aea29b --count 1 --seed 20261108 --test 1