Danish Bricks Builder

Research

Compositional-structure evals

Official LEGO models ship as .mpdfiles carrying the designer's authored sub-assemblies — the wheels, the chassis, the cabin a booklet would have you build separately. These evals strip that structure away, hand a model to an algorithm as a flat part list plus its physical joint graph, and score how well the designer's decomposition is recovered. Ground truth is the designer's own partition.

Metrics

ARI Adjusted Rand Index

Chance-corrected agreement with the designer's grouping. 1 = recovered the exact sub-assemblies; ≈0 = random.

Q Newman modularity

Intrinsic quality on the joint graph — dense inside modules, sparse between. Needs no ground truth.

Interface cut lower is better

Fraction of physical joints crossing module boundaries. Clean sub-assemblies attach at few, well-defined points.