SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.22826 · 2026

Shape: A Self-Supervised 3D Geometry Foundation Model for Industrial CAD Analysis

Mile Mitrovic, Bayangmbe Mounmo, Sam Chien, Simd Ai

arXiv · PDF · Open in the Atlas

Code that ran

43 of 56 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (38 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 40 have no contract verdict; 3 failures of our instrument; 13 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.22826.json · badge: /api/ran/2604.22826.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
simd-ai/shape community
Papers with Code archive
43 ran · 13 no recorded run
FunctionStatusWhere it lives
AGNOConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("d160adedda25517f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AGNOConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class AGNOConfig:
    """AGNO (Attentional Graph Neural Operator) attention."""
    similarity: str = 'cosine'
    learned_temperature: bool = True
    initial_temperature: float = 0.1
    num_heads: int = 4
    dropout: float = 0.0

ARGS = {
    'similarity': 'cosine',
    'learned_temperature': True,
    'initial_temperature': 0.1,
    'num_heads': 4,
    'dropout': 0.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AGNOConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AGNOConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
AGNOCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("4f4c78f7c76051f8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AGNOCrossAttention: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Create a minimal TokenizerConfig stand-in class
class AGNOConfig:
    def __init__(self):
        self.num_heads = 2
        self.similarity = 'cosine'
        self.learned_temperature = True
        self.initial_temperature = 1.0
        self.dropout = 0.1

class TokenizerConfig:
    def __init__(self):
        self.agno = AGNOConfig()

# Create the configuration
cfg = TokenizerConfig()

# Define dimensions
token_dim = 4  # Must be divisible by num_heads
geo_dim = 3    # Different from token_dim for clarity

# Create the module
module = nn.Module()

# Create dummy tensors with small sizes
batch_size = 2
num_support = 5
num_queries = 3
num_edges = 6  # Number of (query, support) pairs

# query_tokens: (num_queries, token_dim)
query_tokens = torch.randn(num_queries, token_dim)

# support_feats: (num_support, token_dim)
support_feats = torch.randn(num_support, token_dim)

# geo_embed: (num_edges, geo_dim)
geo_embed = torch.randn(num_edges, geo_dim)

# q_idx: indices into query_tokens for each edge (shape: num_edges)
q_idx = torch.randint(0, num_queries, (num_edges,))

# s_idx: indices into support_feats for each edge (shape: num_edges)
s_idx = torch.randint(0, num_support, (num_edges,))

# Build ARGS dictionary
ARGS = {
    'token_dim': token_dim,
    'geo_dim': geo_dim,
    'cfg': cfg,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AGNOCrossAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AGNOCrossAttention output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
AbsolutePositionalEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("07d213e3cb9a2f42")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AbsolutePositionalEmbedding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# AbsolutePositionalEmbedding expects:
# - num_tokens: int (vocabulary size or max sequence length)
# - dim: int (embedding dimension)

# Looking at the forward method:
# - x is a torch.Tensor with shape (batch, seq_len, dim)
# - self.embed has shape (1, num_tokens, dim)
# - It adds self.embed[:, :x.shape[1]] to x
# So num_tokens should be >= the sequence length we'll use

ARGS = {
    "num_tokens": 10,
    "dim": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AbsolutePositionalEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AbsolutePositionalEmbedding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
AttentionPooling Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("ff9afc61fb306bc7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AttentionPooling: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

class AttentionPooling(nn.Module):
    """Learned attention pooling over token sequence.

    Computes scalar attention logits per token, softmax-weights tokens,
    and returns the weighted sum projected to emb_dim.
    """

    def __init__(self, token_dim: int, emb_dim: int):
        super().__init__()
        self.score = nn.Sequential(nn.LayerNorm(token_dim), nn.Linear(token_dim, 1))
        self.proj = nn.Sequential(nn.LayerNorm(token_dim), nn.Linear(token_dim, emb_dim))

    def forward(self, token_embeddings: torch.Tensor) -> torch.Tensor:
        """
        Args:
            token_embeddings: (B, T, C)
        Returns:
            pooled: (B, emb_dim)
        """
        attn_logits = self.score(token_embeddings)
        attn_weights = F.softmax(attn_logits, dim=1)
        pooled = (token_embeddings * attn_weights).sum(dim=1)
        return self.proj(pooled)


token_dim = 4
emb_dim = 3

ARGS = {
    "token_dim": token_dim,
    "emb_dim": emb_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AttentionPooling — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AttentionPooling output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
CaptionHead Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("a339279d6d4417b8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CaptionHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class CaptionHeadConfig:
    enabled: bool = True
    mode: str = 'template'
    vocab_size: int = 512
    max_length: int = 64
    hidden_dim: int = 256

# Set up arguments for CaptionHead.__init__
emb_dim = 128
cfg = CaptionHeadConfig(
    enabled=True,
    mode='template',
    vocab_size=512,
    max_length=64,
    hidden_dim=256
)

ARGS = {
    'emb_dim': emb_dim,
    'cfg': cfg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CaptionHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CaptionHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
CaptionHeadConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("dc76e36362b23d8e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CaptionHeadConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class CaptionHeadConfig:
    enabled: bool = True
    mode: str = 'template'
    vocab_size: int = 512
    max_length: int = 64
    hidden_dim: int = 256

ARGS = {
    'enabled': True,
    'mode': 'template',
    'vocab_size': 512,
    'max_length': 64,
    'hidden_dim': 256,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CaptionHeadConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CaptionHeadConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ContrastiveLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("ca68e53a968d5371")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ContrastiveLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class ContrastiveLossConfig:
    enabled: bool = True
    temperature: float = 0.07
    num_augmentations: int = 2
    concat_forward: bool = True
    jitter_std: float = 0.02
    point_dropout: float = 0.3

ARGS = {
    "enabled": True,
    "temperature": 0.07,
    "num_augmentations": 2,
    "concat_forward": True,
    "jitter_std": 0.02,
    "point_dropout": 0.3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ContrastiveLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ContrastiveLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DataConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("463edc8ee218629c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DataConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class DatasetSourceConfig:
    name: str = 'abc'
    root: str = ''
    split: str = 'train'
    max_samples: int = -1
    weight: float = 1.0

@dc.dataclass
class SyntheticLabelConfig:
    enabled: bool = True
    symmetry_plane_threshold: float = 0.01
    rotational_angle_steps: int = 36
    axisymmetry_threshold: float = 0.02
    primitive_fit_threshold: float = 0.005
    generate_perturbed: bool = True
    perturbation_scale: float = 0.01

@dc.dataclass
class DataConfig:
    sources: list[DatasetSourceConfig] = dc.field(default_factory=lambda: [DatasetSourceConfig(name='abc')])
    cache_dir: str = 'data_cache'
    val_fraction: float = 0.05
    synthetic_labels: SyntheticLabelConfig = dc.field(default_factory=SyntheticLabelConfig)

# Construct the arguments
source1 = DatasetSourceConfig(
    name='shapenet',
    root='/data/shapenet',
    split='train',
    max_samples=1000,
    weight=1.5
)

source2 = DatasetSourceConfig(
    name='modelnet',
    root='/data/modelnet',
    split='val',
    max_samples=500,
    weight=1.0
)

synthetic_config = SyntheticLabelConfig(
    enabled=True,
    symmetry_plane_threshold=0.01,
    rotational_angle_steps=36,
    axisymmetry_threshold=0.02,
    primitive_fit_threshold=0.005,
    generate_perturbed=True,
    perturbation_scale=0.01
)

data_config = DataConfig(
    sources=[source1, source2],
    cache_dir='./data_cache',
    val_fraction=0.1,
    synthetic_labels=synthetic_config
)

ARGS = {
    'sources': data_config.sources,
    'cache_dir': data_config.cache_dir,
    'val_fraction': data_config.val_fraction,
    'synthetic_labels': data_config.synthetic_labels
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DataConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GeometryEmbeddingHead Ran
ran on a synthesized input
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("418e110d16e3ba85")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

class GeometryEmbeddingHead(nn.Module):
    """Produces L2-normalized pooled and token-level embeddings for retrieval/transfer."""

    def __init__(self, token_dim: int, emb_dim: int):
        super().__init__()
        self.token_proj = nn.Sequential(nn.LayerNorm(token_dim), nn.Linear(token_dim, emb_dim))
        self.pool_proj = nn.Sequential(nn.Linear(emb_dim, emb_dim), nn.GELU(), nn.Linear(emb_dim, emb_dim))

    def forward(self, token_emb: torch.Tensor, pooled: torch.Tensor) -> dict[str, torch.Tensor]:
        token_out = F.normalize(self.token_proj(token_emb), dim=-1)
        pool_out = F.normalize(self.pool_proj(pooled), dim=-1)
        return {'token_embedding': token_out, 'pooled_embedding': pool_out}


INIT_ARGS = {
    'token_dim': 4,
    'emb_dim': 3,
}

ARGS = {
    'token_emb': torch.randn(2, 5, 4),
    'pooled': torch.randn(2, 3),
}

if __name__ == '__main__':
    model = GeometryEmbeddingHead(**INIT_ARGS)
    output = model(**ARGS)
    print("Output keys:", output.keys())
    print("Token embedding shape:", output['token_embedding'].shape)
    print("Pooled embedding shape:", output['pooled_embedding'].shape)
    print("Token embedding norm:", output['token_embedding'].norm(dim=-1))
    print("Pooled embedding norm:", output['pooled_embedding'].norm(dim=-1))
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
HeadsConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("105d3a2d222be9f7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, HeadsConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class CaptionHeadConfig:
    enabled: bool = True
    mode: str = 'template'
    vocab_size: int = 512
    max_length: int = 64
    hidden_dim: int = 256

@dc.dataclass
class PartHeadConfig:
    enabled: bool = True
    max_parts: int = 64
    hidden_dim: int = 256
    hierarchical: bool = True

@dc.dataclass
class PrimitiveHeadConfig:
    enabled: bool = True
    num_primitive_types: int = 6
    detect_repeated_sectors: bool = True
    detect_constant_cross_section: bool = True
    hidden_dim: int = 256

@dc.dataclass
class ReductionHeadConfig:
    enabled: bool = True
    hidden_dim: int = 256

@dc.dataclass
class SymmetryHeadConfig:
    enabled: bool = True
    num_classes: int = 5
    max_candidates: int = 3
    hidden_dim: int = 256
    regress_plane: bool = True
    regress_axis: bool = True

@dc.dataclass
class HeadsConfig:
    embedding_dim: int = 256
    pooling: str = 'attention'
    symmetry: SymmetryHeadConfig = dc.field(default_factory=SymmetryHeadConfig)
    primitive: PrimitiveHeadConfig = dc.field(default_factory=PrimitiveHeadConfig)
    part: PartHeadConfig = dc.field(default_factory=PartHeadConfig)
    caption: CaptionHeadConfig = dc.field(default_factory=CaptionHeadConfig)
    reduction: ReductionHeadConfig = dc.field(default_factory=ReductionHeadConfig)

ARGS = {
    'embedding_dim': 256,
    'pooling': 'attention',
    'symmetry': SymmetryHeadConfig(
        enabled=True,
        num_classes=5,
        max_candidates=3,
        hidden_dim=256,
        regress_plane=True,
        regress_axis=True
    ),
    'primitive': PrimitiveHeadConfig(
        enabled=True,
        num_primitive_types=6,
        detect_repeated_sectors=True,
        detect_constant_cross_section=True,
        hidden_dim=256
    ),
    'part': PartHeadConfig(
        enabled=True,
        max_parts=64,
        hidden_dim=256,
        hierarchical=True
    ),
    'caption': CaptionHeadConfig(
        enabled=True,
        mode='template',
        vocab_size=512,
        max_length=64,
        hidden_dim=256
    ),
    'reduction': ReductionHeadConfig(
        enabled=True,
        hidden_dim=256
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type HeadsConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a HeadsConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
InpaintingLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("eb7bd17e640df8ac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, InpaintingLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    'enabled': True,
    'crop_ratio': 0.25,
    'crop_strategy': 'spatial',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type InpaintingLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a InpaintingLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
InputConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("acd2d96ee6b26840")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, InputConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    'mode': 'surface_sampled_points',
    'num_surface_points': 8192,
    'canonicalize': True,
    'compute_normals': True,
    'compute_curvature': True,
    'append_constant_channel': True,
    'constant_channel_value': 1.0,
    'sharp_edge_ratio': 0.3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type InputConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a InputConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LatentGridConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("215b97208d20f17b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LatentGridConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    'strategy': 'structured_latent_grid',
    'latent_shape': (48, 48, 48),
    'token_dim': 256,
    'adaptive_num_tokens': 4096,
    'multires_shapes': [(24, 24, 24), (48, 48, 48)],
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LatentGridConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LatentGridConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("76188612bc7a1830")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class ContrastiveLossConfig:
    enabled: bool = True
    temperature: float = 0.07
    num_augmentations: int = 2
    concat_forward: bool = True
    jitter_std: float = 0.02
    point_dropout: float = 0.3

@dc.dataclass
class InpaintingLossConfig:
    enabled: bool = True
    crop_ratio: float = 0.25
    crop_strategy: str = 'spatial'

@dc.dataclass
class LossWeightsConfig:
    masked_token: float = 1.0
    contrastive: float = 0.2
    inpainting: float = 0.5
    symmetry: float = 0.0
    primitive: float = 0.0
    part: float = 0.0
    reduction: float = 0.0
    text_align: float = 0.2

@dc.dataclass
class MaskedTokenLossConfig:
    enabled: bool = True
    mask_ratio: float = 0.5
    mask_strategy: str = 'random'
    block_size: int = 4
    target: str = 'geo_stats'

@dc.dataclass
class ReconTargetNormConfig:
    enabled: bool = True
    n_calib_batches: int = 32
    eps: float = 1e-06

@dc.dataclass
class RegressionLossConfig:
    kind: str = 'smooth_l1'
    beta: float = 1.0

@dc.dataclass
class SupervisedLossConfig:
    symmetry_weight: float = 1.0
    primitive_weight: float = 1.0
    part_weight: float = 1.0
    plane_regression_weight: float = 0.5
    axis_regression_weight: float = 0.5

@dc.dataclass
class TextAlignLossConfig:
    enabled: bool = False
    temperature: float = 0.07

@dc.dataclass
class LossConfig:
    masked_token: MaskedTokenLossConfig = dc.field(default_factory=MaskedTokenLossConfig)
    contrastive: ContrastiveLossConfig = dc.field(default_factory=ContrastiveLossConfig)
    inpainting: InpaintingLossConfig = dc.field(default_factory=InpaintingLossConfig)
    supervised: SupervisedLossConfig = dc.field(default_factory=SupervisedLossConfig)
    regression: RegressionLossConfig = dc.field(default_factory=RegressionLossConfig)
    recon_target_norm: ReconTargetNormConfig = dc.field(default_factory=ReconTargetNormConfig)
    text_align: TextAlignLossConfig = dc.field(default_factory=TextAlignLossConfig)
    weights: LossWeightsConfig = dc.field(default_factory=LossWeightsConfig)

ARGS = {
    'masked_token': MaskedTokenLossConfig(
        enabled=True,
        mask_ratio=0.5,
        mask_strategy='random',
        block_size=4,
        target='geo_stats'
    ),
    'contrastive': ContrastiveLossConfig(
        enabled=True,
        temperature=0.07,
        num_augmentations=2,
        concat_forward=True,
        jitter_std=0.02,
        point_dropout=0.3
    ),
    'inpainting': InpaintingLossConfig(
        enabled=True,
        crop_ratio=0.25,
        crop_strategy='spatial'
    ),
    'supervised': SupervisedLossConfig(
        symmetry_weight=1.0,
        primitive_weight=1.0,
        part_weight=1.0,
        plane_regression_weight=0.5,
        axis_regression_weight=0.5
    ),
    'regression': RegressionLossConfig(
        kind='smooth_l1',
        beta=1.0
    ),
    'recon_target_norm': ReconTargetNormConfig(
        enabled=True,
        n_calib_batches=32,
        eps=1e-06
    ),
    'text_align': TextAlignLossConfig(
        enabled=False,
        temperature=0.07
    ),
    'weights': LossWeightsConfig(
        masked_token=1.0,
        contrastive=0.2,
        inpainting=0.5,
        symmetry=0.0,
        primitive=0.0,
        part=0.0,
        reduction=0.0,
        text_align=0.2
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LossWeightsConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("92031e3491c94a86")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LossWeightsConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class LossWeightsConfig:
    """Per-loss scalar weights applied before summing into total loss.

    Supervised defaults are 0.0 because the stock synthetic labels in
    data/synthetic_labels.py are memorizable per-file and overfit
    catastrophically (val CE ~2.5 vs train CE ~1e-4). Re-enable these
    per-config only once you are training against labels that genuinely
    generalize across unseen meshes.
    """
    masked_token: float = 1.0
    contrastive: float = 0.2
    inpainting: float = 0.5
    symmetry: float = 0.0
    primitive: float = 0.0
    part: float = 0.0
    reduction: float = 0.0
    text_align: float = 0.2

ARGS = {
    "masked_token": 1.0,
    "contrastive": 0.2,
    "inpainting": 0.5,
    "symmetry": 0.0,
    "primitive": 0.0,
    "part": 0.0,
    "reduction": 0.0,
    "text_align": 0.2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LossWeightsConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LossWeightsConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MaskedTokenLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("725603e8e5ba9408")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MaskedTokenLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    'enabled': True,
    'mask_ratio': 0.15,
    'mask_strategy': 'random',
    'block_size': 4,
    'target': 'geo_stats',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MaskedTokenLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MaskedTokenLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
OptimizerConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("23393fb573b18a66")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, OptimizerConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class OptimizerConfig:
    name: str = 'adamw'
    lr: float = 0.0003
    weight_decay: float = 0.05
    betas: tuple[float, float] = (0.9, 0.95)
    warmup_steps: int = 1000
    lr_schedule: str = 'cosine'

ARGS = {
    'name': 'adamw',
    'lr': 0.0003,
    'weight_decay': 0.05,
    'betas': (0.9, 0.95),
    'warmup_steps': 1000,
    'lr_schedule': 'cosine'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type OptimizerConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a OptimizerConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PartHeadConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("26cb5cc717421c56")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PartHeadConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import dataclasses as dc

@dc.dataclass
class PartHeadConfig:
    enabled: bool = True
    max_parts: int = 64
    hidden_dim: int = 256
    hierarchical: bool = True

ARGS = {
    'enabled': True,
    'max_parts': 64,
    'hidden_dim': 256,
    'hierarchical': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PartHeadConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PartHeadConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PartRegionHead Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("0afa30e9334b9184")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PartRegionHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class PartHeadConfig:
    enabled: bool = True
    max_parts: int = 64
    hidden_dim: int = 256
    hierarchical: bool = True

# Create a tiny token embedding tensor
# batch_size=2, num_tokens=3, token_dim=4
token_emb = torch.randn(2, 3, 4)

# Create config with hierarchical enabled
cfg = PartHeadConfig(
    enabled=True,
    max_parts=64,
    hidden_dim=256,
    hierarchical=True
)

# token_dim is inferred from the token_emb shape
token_dim = 4

ARGS = {
    "token_dim": token_dim,
    "cfg": cfg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PartRegionHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PartRegionHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Patchify3D Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("7432b1c66a23dc4d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Patchify3D: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from einops import rearrange

class Patchify3D(nn.Module):
    """Reshape (B, H, W, D, C) -> (B, nH*nW*nD, p^3 * C) and project."""

    def __init__(self, patch_size: int, in_dim: int, out_dim: int):
        super().__init__()
        self.patch_size = patch_size
        self.proj = nn.Linear(patch_size ** 3 * in_dim, out_dim)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        p = self.patch_size
        B, H, W, D, C = x.shape
        assert H % p == 0 and W % p == 0 and (D % p == 0), f'Grid {H}x{W}x{D} not divisible by patch_size={p}'
        x = rearrange(x, 'b (nh p1) (nw p2) (nd p3) c -> b (nh nw nd) (p1 p2 p3 c)', p1=p, p2=p, p3=p)
        return self.proj(x)


torch.manual_seed(0)

patch_size = 2
in_dim = 3
out_dim = 8

# Create input tensor with shape (B, H, W, D, C)
# B=2, H=4, W=6, D=8, C=3 (all divisible by patch_size=2)
x = torch.randn(2, 4, 6, 8, 3)

ARGS = {
    'patch_size': patch_size,
    'in_dim': in_dim,
    'out_dim': out_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Patchify3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Patchify3D output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PointNetGeoEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("b23cf17cf813e5e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetGeoEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class TokenizerConfig:
    def __init__(self):
        self.geo_embed = GeoEmbedConfig()

class GeoEmbedConfig:
    def __init__(self):
        self.augment_normals = True
        self.augment_curvature = True
        self.mlp_hidden = 8

cfg = TokenizerConfig()

# Create small tensors with distinct sizes
query_pos = torch.randn(2, 3)  # 2 query points, 3D coords
support_pos = torch.randn(4, 3)  # 4 support points, 3D coords
q_idx = torch.tensor([0, 1, 0, 1])  # indices into query_pos (4 neighbors)
s_idx = torch.tensor([0, 1, 2, 3])  # indices into support_pos (4 neighbors)
support_normals = torch.randn(4, 3)  # normals for 4 support points
support_curvature = torch.randn(4, 1)  # curvature for 4 support points

ARGS = {
    'cfg': cfg,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PointNetGeoEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetGeoEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PrimitiveHeadConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("7658b9f68d359870")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PrimitiveHeadConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class PrimitiveHeadConfig:
    enabled: bool = True
    num_primitive_types: int = 6
    detect_repeated_sectors: bool = True
    detect_constant_cross_section: bool = True
    hidden_dim: int = 256

ARGS = {
    "enabled": True,
    "num_primitive_types": 6,
    "detect_repeated_sectors": True,
    "detect_constant_cross_section": True,
    "hidden_dim": 256,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PrimitiveHeadConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PrimitiveHeadConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
PrimitiveTopologyHead Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("4b111da8b10d3443")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PrimitiveTopologyHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class PrimitiveHeadConfig:
    enabled: bool = True
    num_primitive_types: int = 6
    detect_repeated_sectors: bool = True
    detect_constant_cross_section: bool = True
    hidden_dim: int = 256

# Define ARGS
ARGS = {
    'token_dim': 4,
    'emb_dim': 3,
    'cfg': PrimitiveHeadConfig(
        enabled=True,
        num_primitive_types=6,
        detect_repeated_sectors=True,
        detect_constant_cross_section=True,
        hidden_dim=256
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PrimitiveTopologyHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PrimitiveTopologyHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ProcessorConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("c344140ed8fd30df")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ProcessorConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    'hidden_size': 256,
    'num_layers': 6,
    'num_heads': 8,
    'num_kv_heads': 2,
    'mlp_ratio': 4.0,
    'dropout': 0.0,
    'patch_size': 6,
    'positional_embedding': 'absolute',
    'rope_theta': 10000.0,
    'norm_type': 'rmsnorm',
    'uvit_skip': False,
    'spatial_dims': 3,
    'mask_patch_threshold': 0.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ProcessorConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ProcessorConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
RMSNorm Ran
ran on a synthesized input
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("7b2150d02885a569")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class RMSNorm(nn.Module):

    def __init__(self, dim: int, eps: float=1e-06):
        super().__init__()
        self.weight = nn.Parameter(torch.ones(dim))
        self.eps = eps

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        rms = x.float().pow(2).mean(-1, keepdim=True).add(self.eps).rsqrt()
        return (x.float() * rms).to(x.dtype) * self.weight


INIT_ARGS = {
    'dim': 4,
    'eps': 1e-06,
}

ARGS = {
    'x': torch.randn(2, 4),
}

if __name__ == '__main__':
    model = RMSNorm(**INIT_ARGS)
    output = model(**ARGS)
    print(output)
    print(output.shape)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ReconTargetNormConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("0d456fb95c7c109f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ReconTargetNormConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class ReconTargetNormConfig:
    """Per-dimension normalization of raw_geo_stats reconstruction targets.

    Computes (mean, std) per-dim from the training split only, over a pool
    of training batches collected at the start of training, then normalizes
    target = (target - mean) / (std + eps) before feeding into the
    reconstruction loss (masked-token, inpainting). Only the target is
    normalized — the predictor learns to output values in the normalized
    space directly.

    The computed stats are stored as registered buffers on LossComputer so
    they round-trip through checkpoint save/load and are inspectable via
    `trainer.loss_computer.recon_target_mean` / `.recon_target_std`.
    """
    enabled: bool = True
    n_calib_batches: int = 32
    eps: float = 1e-06

ARGS = {
    "enabled": True,
    "n_calib_batches": 32,
    "eps": 1e-06,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReconTargetNormConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReconTargetNormConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ReductionHeadConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("f4c5dcf458c56262")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ReductionHeadConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

ARGS = {
    "enabled": True,
    "hidden_dim": 256,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReductionHeadConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReductionHeadConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
RegressionLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("16825ac1ef618e68")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, RegressionLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class RegressionLossConfig:
    """Controls the regression-style loss used by geometry reconstruction
    (masked-token, inpainting) and geometric regression (symmetry plane,
    symmetry axis). Classification losses are unaffected.
    """
    kind: str = 'smooth_l1'
    beta: float = 1.0

ARGS = {
    'kind': 'smooth_l1',
    'beta': 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RegressionLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RegressionLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
RotaryPositionalEmbedding3D Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("058ecb051f9b2a69")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, RotaryPositionalEmbedding3D: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class RotaryPositionalEmbedding3D(nn.Module):
    """3D RoPE: splits hidden dim into 3 groups, applies 1D RoPE per axis."""

    def __init__(self, dim: int, grid_shape: tuple[int, int, int], theta: float=10000.0):
        super().__init__()
        self.dim = dim
        self.grid_shape = grid_shape
        assert dim % 6 == 0, f'dim={dim} must be divisible by 6 for 3D RoPE'
        self.dim_per_axis = dim // 3
        freqs_list = []
        for axis_size in grid_shape:
            half = self.dim_per_axis // 2
            freqs = 1.0 / theta ** (torch.arange(0, half, dtype=torch.float32) / half)
            positions = torch.arange(axis_size, dtype=torch.float32)
            angles = torch.outer(positions, freqs)
            freqs_list.append(angles)
        self.register_buffer('freqs_x', freqs_list[0])
        self.register_buffer('freqs_y', freqs_list[1])
        self.register_buffer('freqs_z', freqs_list[2])

    def forward(self, q: torch.Tensor, k: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:
        """Apply 3D RoPE to q and k. Shape: (B, H, T, D)."""
        B, H, T, D = q.shape
        gx, gy, gz = self.grid_shape
        cos_parts, sin_parts = ([], [])
        half = self.dim_per_axis // 2
        for freqs, gs in [(self.freqs_x, gx), (self.freqs_y, gy), (self.freqs_z, gz)]:
            c = freqs.cos()
            s = freqs.sin()
            cos_parts.append(c)
            sin_parts.append(s)
        cx = cos_parts[0].unsqueeze(1).unsqueeze(1).expand(gx, gy, gz, half).reshape(T, half)
        sx = sin_parts[0].unsqueeze(1).unsqueeze(1).expand(gx, gy, gz, half).reshape(T, half)
        cy = cos_parts[1].unsqueeze(0).unsqueeze(2).expand(gx, gy, gz, half).reshape(T, half)
        sy = sin_parts[1].unsqueeze(0).unsqueeze(2).expand(gx, gy, gz, half).reshape(T, half)
        cz = cos_parts[2].unsqueeze(0).unsqueeze(0).expand(gx, gy, gz, half).reshape(T, half)
        sz = sin_parts[2].unsqueeze(0).unsqueeze(0).expand(gx, gy, gz, half).reshape(T, half)
        full_cos = torch.cat([cx, cy, cz], dim=-1)
        full_sin = torch.cat([sx, sy, sz], dim=-1)
        full_cos = full_cos[:T].unsqueeze(0).unsqueeze(0)
        full_sin = full_sin[:T].unsqueeze(0).unsqueeze(0)

        def rotate(x: torch.Tensor) -> torch.Tensor:
            x1, x2 = (x[..., :D // 2], x[..., D // 2:])
            return torch.cat([x1 * full_cos - x2 * full_sin, x1 * full_sin + x2 * full_cos], dim=-1)
        return (rotate(q), rotate(k))


ARGS = {
    'dim': 12,
    'grid_shape': (2, 3, 4),
    'theta': 10000.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RotaryPositionalEmbedding3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RotaryPositionalEmbedding3D output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
StatisticalGeoEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("61931e0f16bbaa2d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, StatisticalGeoEmbed: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn


class GeoEmbedConfig:
    def __init__(self):
        self.stat_features = ['mean', 'std']
        self.augment_normals = True
        self.augment_curvature = True
        self.mlp_layers = 2
        self.mlp_hidden = 8
        self.return_raw_stats = True


class TokenizerConfig:
    def __init__(self):
        self.geo_embed = GeoEmbedConfig()


torch.manual_seed(0)

# Build model
cfg = TokenizerConfig()
model = nn.Module()
model.cfg = cfg
model.geo_embed = GeoEmbedConfig()

# Create small tensors with distinct sizes
# query_pos: (2, 3) - 2 query points in 3D
query_pos = torch.randn(2, 3)

# support_pos: (4, 3) - 4 support points in 3D
support_pos = torch.randn(4, 3)

# q_idx: (6,) - indices into query_pos for 6 neighbors
q_idx = torch.tensor([0, 0, 0, 1, 1, 1], dtype=torch.long)

# s_idx: (6,) - indices into support_pos for 6 neighbors
s_idx = torch.tensor([0, 1, 2, 1, 2, 3], dtype=torch.long)

# support_normals: (4, 3) - normals for 4 support points
support_normals = torch.randn(4, 3)

# support_curvature: (4, 1) - curvature for 4 support points
support_curvature = torch.randn(4, 1)

ARGS = {
    'cfg': cfg,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type StatisticalGeoEmbed — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a StatisticalGeoEmbed output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SupervisedLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("633d008720b4f0aa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, SupervisedLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class SupervisedLossConfig:
    symmetry_weight: float = 1.0
    primitive_weight: float = 1.0
    part_weight: float = 1.0
    plane_regression_weight: float = 0.5
    axis_regression_weight: float = 0.5

ARGS = {
    "symmetry_weight": 1.5,
    "primitive_weight": 2.0,
    "part_weight": 0.8,
    "plane_regression_weight": 0.3,
    "axis_regression_weight": 0.4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SupervisedLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SupervisedLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SymmetryHead Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("8cfffaee6f7c2cdb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, SymmetryHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class SymmetryHeadConfig:
    enabled: bool = True
    num_classes: int = 5
    max_candidates: int = 3
    hidden_dim: int = 256
    regress_plane: bool = True
    regress_axis: bool = True

# Create config
cfg = SymmetryHeadConfig(
    enabled=True,
    num_classes=5,
    max_candidates=3,
    hidden_dim=256,
    regress_plane=True,
    regress_axis=True
)

# Create arguments
emb_dim = 64

ARGS = {
    "emb_dim": emb_dim,
    "cfg": cfg,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymmetryHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SymmetryHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SymmetryHeadConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("fbfaef57a31bfb63")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, SymmetryHeadConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class SymmetryHeadConfig:
    enabled: bool = True
    num_classes: int = 5
    max_candidates: int = 3
    hidden_dim: int = 256
    regress_plane: bool = True
    regress_axis: bool = True

ARGS = {
    "enabled": True,
    "num_classes": 5,
    "max_candidates": 3,
    "hidden_dim": 256,
    "regress_plane": True,
    "regress_axis": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymmetryHeadConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SymmetryHeadConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SyntheticLabelConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("e7c6518818e7cdff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, SyntheticLabelConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class SyntheticLabelConfig:
    enabled: bool = True
    symmetry_plane_threshold: float = 0.01
    rotational_angle_steps: int = 36
    axisymmetry_threshold: float = 0.02
    primitive_fit_threshold: float = 0.005
    generate_perturbed: bool = True
    perturbation_scale: float = 0.01

ARGS = {
    "enabled": True,
    "symmetry_plane_threshold": 0.01,
    "rotational_angle_steps": 36,
    "axisymmetry_threshold": 0.02,
    "primitive_fit_threshold": 0.005,
    "generate_perturbed": True,
    "perturbation_scale": 0.01,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SyntheticLabelConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SyntheticLabelConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TextAlignLossConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("b380afe83d3c5b91")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TextAlignLossConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class TextAlignLossConfig:
    enabled: bool = False
    temperature: float = 0.07

ARGS = {
    "enabled": True,
    "temperature": 0.05,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TextAlignLossConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TextAlignLossConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TokenizerConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("ead9afd4f32ed334")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TokenizerConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class AGNOConfig:
    """AGNO (Attentional Graph Neural Operator) attention."""
    similarity: str = 'cosine'
    learned_temperature: bool = True
    initial_temperature: float = 0.1
    num_heads: int = 4
    dropout: float = 0.0

@dc.dataclass
class GeoEmbedConfig:
    """Geometric embedding of neighborhoods."""
    mode: str = 'statistical'
    stat_features: list[str] = dc.field(default_factory=lambda: ['mean', 'std', 'min', 'max'])
    mlp_hidden: int = 128
    mlp_layers: int = 2
    return_raw_stats: bool = True
    augment_normals: bool = True
    augment_curvature: bool = True
    augment_thickness: bool = False
    sdf_auxiliary_target: bool = False

@dc.dataclass
class LatentGridConfig:
    """Latent tokenization."""
    strategy: str = 'structured_latent_grid'
    latent_shape: tuple[int, int, int] = (48, 48, 48)
    token_dim: int = 256
    adaptive_num_tokens: int = 4096
    multires_shapes: list[tuple[int, int, int]] = dc.field(default_factory=lambda: [(24, 24, 24), (48, 48, 48)])

@dc.dataclass
class NeighborConfig:
    """Neighbor search configuration."""
    backend: str = 'torch_cluster'
    strategy: str = 'radius'
    knn_k: int = 32
    multiscale_radii: list[float] = dc.field(default_factory=lambda: [0.05, 0.1, 0.2])
    max_neighbors: int = 64
    enable_caching: bool = True
    edge_drop_rate: float = 0.0
    ratio_sampling: float = 1.0

@dc.dataclass
class TokenizerConfig:
    """MAGNO encoder configuration."""
    latent: LatentGridConfig = dc.field(default_factory=LatentGridConfig)
    neighbor: NeighborConfig = dc.field(default_factory=NeighborConfig)
    geo_embed: GeoEmbedConfig = dc.field(default_factory=GeoEmbedConfig)
    agno: AGNOConfig = dc.field(default_factory=AGNOConfig)
    num_scales: int = 3
    scale_fusion: str = 'concat_project'
    token_pos_encoding: bool = True

ARGS = {
    'latent': LatentGridConfig(
        strategy='structured_latent_grid',
        latent_shape=(48, 48, 48),
        token_dim=256,
        adaptive_num_tokens=4096,
        multires_shapes=[(24, 24, 24), (48, 48, 48)]
    ),
    'neighbor': NeighborConfig(
        backend='torch_cluster',
        strategy='radius',
        knn_k=32,
        multiscale_radii=[0.05, 0.1, 0.2],
        max_neighbors=64,
        enable_caching=True,
        edge_drop_rate=0.0,
        ratio_sampling=1.0
    ),
    'geo_embed': GeoEmbedConfig(
        mode='statistical',
        stat_features=['mean', 'std', 'min', 'max'],
        mlp_hidden=128,
        mlp_layers=2,
        return_raw_stats=True,
        augment_normals=True,
        augment_curvature=True,
        augment_thickness=False,
        sdf_auxiliary_target=False
    ),
    'agno': AGNOConfig(
        similarity='cosine',
        learned_temperature=True,
        initial_temperature=0.1,
        num_heads=4,
        dropout=0.0
    ),
    'num_scales': 3,
    'scale_fusion': 'concat_project',
    'token_pos_encoding': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TokenizerConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TokenizerConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TopologyReductionHead Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("a4bb268dbb694437")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TopologyReductionHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import dataclasses as dc

torch.manual_seed(0)

@dc.dataclass
class ReductionHeadConfig:
    enabled: bool = True
    hidden_dim: int = 256

ARGS = {
    'emb_dim': 64,
    'cfg': ReductionHeadConfig(enabled=True, hidden_dim=128)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TopologyReductionHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TopologyReductionHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
TrainConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("017212f0bb2b0884")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, TrainConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import dataclasses as dc

@dc.dataclass
class ContrastiveLossConfig:
    enabled: bool = True
    temperature: float = 0.07
    num_augmentations: int = 2
    concat_forward: bool = True
    jitter_std: float = 0.02
    point_dropout: float = 0.3

@dc.dataclass
class InpaintingLossConfig:
    enabled: bool = True
    crop_ratio: float = 0.25
    crop_strategy: str = 'spatial'

@dc.dataclass
class LossWeightsConfig:
    masked_token: float = 1.0
    contrastive: float = 0.2
    inpainting: float = 0.5
    symmetry: float = 0.0
    primitive: float = 0.0
    part: float = 0.0
    reduction: float = 0.0
    text_align: float = 0.2

@dc.dataclass
class MaskedTokenLossConfig:
    enabled: bool = True
    mask_ratio: float = 0.5
    mask_strategy: str = 'random'
    block_size: int = 4
    target: str = 'geo_stats'

@dc.dataclass
class OptimizerConfig:
    name: str = 'adamw'
    lr: float = 0.0003
    weight_decay: float = 0.05
    betas: tuple = (0.9, 0.95)
    warmup_steps: int = 1000
    lr_schedule: str = 'cosine'

@dc.dataclass
class ReconTargetNormConfig:
    enabled: bool = True
    n_calib_batches: int = 32
    eps: float = 1e-06

@dc.dataclass
class RegressionLossConfig:
    kind: str = 'smooth_l1'
    beta: float = 1.0

@dc.dataclass
class SupervisedLossConfig:
    symmetry_weight: float = 1.0
    primitive_weight: float = 1.0
    part_weight: float = 1.0
    plane_regression_weight: float = 0.5
    axis_regression_weight: float = 0.5

@dc.dataclass
class TextAlignLossConfig:
    enabled: bool = False
    temperature: float = 0.07

@dc.dataclass
class WandbConfig:
    enabled: bool = False
    project: str = 'shape-foundation'
    entity: str = ''
    name: str = ''
    tags: list = dc.field(default_factory=list)

@dc.dataclass
class LossConfig:
    masked_token: MaskedTokenLossConfig = dc.field(default_factory=MaskedTokenLossConfig)
    contrastive: ContrastiveLossConfig = dc.field(default_factory=ContrastiveLossConfig)
    inpainting: InpaintingLossConfig = dc.field(default_factory=InpaintingLossConfig)
    supervised: SupervisedLossConfig = dc.field(default_factory=SupervisedLossConfig)
    regression: RegressionLossConfig = dc.field(default_factory=RegressionLossConfig)
    recon_target_norm: ReconTargetNormConfig = dc.field(default_factory=ReconTargetNormConfig)
    text_align: TextAlignLossConfig = dc.field(default_factory=TextAlignLossConfig)
    weights: LossWeightsConfig = dc.field(default_factory=LossWeightsConfig)

@dc.dataclass
class TrainConfig:
    epochs: int = 100
    batch_size: int = 32
    gradient_accumulation_steps: int = 1
    max_grad_norm: float = 1.0
    mixed_precision: str = 'bf16'
    compile_model: bool = False
    seed: int = 42
    num_workers: int = 4
    pin_memory: bool = True
    log_every: int = 50
    eval_every: int = 1000
    save_every: int = 2000
    checkpoint_dir: str = '/data/shape-v2/checkpoints'
    log_dir: str = '/data/shape-v2/runs'
    optimizer: OptimizerConfig = dc.field(default_factory=OptimizerConfig)
    loss: LossConfig = dc.field(default_factory=LossConfig)
    wandb: WandbConfig = dc.field(default_factory=WandbConfig)

ARGS = {
    'epochs': 100,
    'batch_size': 32,
    'gradient_accumulation_steps': 1,
    'max_grad_norm': 1.0,
    'mixed_precision': 'bf16',
    'compile_model': False,
    'seed': 42,
    'num_workers': 4,
    'pin_memory': True,
    'log_every': 50,
    'eval_every': 1000,
    'save_every': 2000,
    'checkpoint_dir': '/data/shape-v2/checkpoints',
    'log_dir': '/data/shape-v2/runs',
    'optimizer': OptimizerConfig(),
    'loss': LossConfig(),
    'wandb': WandbConfig(),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TrainConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TrainConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Unpatchify3D Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("f9bf7649f3c73d8a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Unpatchify3D: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from einops import rearrange

torch.manual_seed(0)

class Unpatchify3D(nn.Module):
    """Reverse: (B, T, hidden) -> (B, H, W, D, C)."""

    def __init__(self, patch_size: int, hidden_dim: int, out_dim: int, grid_shape: tuple[int, int, int]):
        super().__init__()
        self.patch_size = patch_size
        self.grid_shape = grid_shape
        self.proj = nn.Linear(hidden_dim, patch_size ** 3 * out_dim)
        self.out_dim = out_dim

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        p = self.patch_size
        nH = self.grid_shape[0] // p
        nW = self.grid_shape[1] // p
        nD = self.grid_shape[2] // p
        x = self.proj(x)
        x = rearrange(x, 'b (nh nw nd) (p1 p2 p3 c) -> b (nh p1) (nw p2) (nd p3) c', nh=nH, nw=nW, nd=nD, p1=p, p2=p, p3=p)
        return x

patch_size = 2
hidden_dim = 4
out_dim = 3
grid_shape = (4, 6, 8)

model = Unpatchify3D(
    patch_size=patch_size,
    hidden_dim=hidden_dim,
    out_dim=out_dim,
    grid_shape=grid_shape
)

nH = grid_shape[0] // patch_size
nW = grid_shape[1] // patch_size
nD = grid_shape[2] // patch_size
num_patches = nH * nW * nD

x = torch.randn(2, num_patches, hidden_dim)

ARGS = {
    "patch_size": patch_size,
    "hidden_dim": hidden_dim,
    "out_dim": out_dim,
    "grid_shape": grid_shape,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Unpatchify3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Unpatchify3D output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
WandbConfig Ran
ran on a synthesized input · constructed an object; no result was computed
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("608edf322601f63e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, WandbConfig: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import dataclasses as dc

ARGS = {
    'enabled': False,
    'project': 'shape-foundation',
    'entity': 'test-entity',
    'name': 'test-run',
    'tags': ['test', 'baseline'],
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type WandbConfig — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a WandbConfig output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_radius_search_native Ran
ran; our contract draft was wrong, not the code
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("d0ab9fe65ddc34d7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create small tensors for query and support point clouds
query = torch.randn(2, 4)  # 2 query points, 4 dimensions
support = torch.randn(3, 4)  # 3 support points, 4 dimensions

# Define radius and max_neighbors
radius = 0.5
max_neighbors = 2

ARGS = {
    "query": query,
    "support": support,
    "radius": radius,
    "max_neighbors": max_neighbors,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_norm Ran
ran; our contract draft was wrong, not the code
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("1e8414eff8669ce6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RMSNorm. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "dim": 64,
    "norm_type": "rmsnorm"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RMSNorm — a RMSNorm output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RMSNorm output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
neighbor_search Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("fc93b970d75d0498")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

class TokenizerConfig:
    def __init__(self):
        self.neighbor = NeighborConfig()

class NeighborConfig:
    def __init__(self):
        self.backend = 'native'
        self.strategy = 'radius'
        self.knn_k = 3
        self.max_neighbors = 5

query = torch.randn(2, 4)
support = torch.randn(3, 4)
cfg = TokenizerConfig()
radius = 2.0
batch_q = None
batch_s = None

ARGS = {
    'query': query,
    'support': support,
    'cfg': cfg,
    'radius': radius,
    'batch_q': batch_q,
    'batch_s': batch_s,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_cluster — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DatasetSourceConfig Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("51e44312087daf7c")
How it ran

no invocation recorded.

GAOTBackbone Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("2a31dffe86ec7a4b")
How it ran

no invocation recorded.

GeoEmbedConfig Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("3bc047171b1d9787")
How it ran

no invocation recorded.

GroupedQueryAttention Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("2f0b3c7754090b3f")
How it ran

no invocation recorded.

MAGNOEncoder Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("383d064886cd4d9d")
How it ran

no invocation recorded.

MAGNOLayer Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("70a9b007b8559a17")
How it ran

no invocation recorded.

NeighborConfig Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("37f3cd919babe1e2")
How it ran

no invocation recorded.

ShapeConfig Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("fe3ac79e1c8b9f47")
How it ran

no invocation recorded.

TransformerBlock Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("59d28bdee2ad39aa")
How it ran

no invocation recorded.

TransformerProcessor Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("da2b5dd019674e42")
How it ran

no invocation recorded.

_knn_search_torch_cluster Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("2f1cdef3a9fe1099")
How it ran

no invocation recorded.

_radius_search_torch_cluster Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("42bed68bf190ba14")
How it ran

no invocation recorded.

build_geo_embed Not yet run
unverified (harvested, no recorded run)
simd-ai/shape/shape_foundation/models/gaot_backbone.py
code served (permissive licence) · get_code("00bf0b98342759be")
How it ran

no invocation recorded.

Also present in other papers' code

Of 56 samples lifted from this paper's linked repositories, 56 carry a function identity and 0 do not. Of the 56 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 56 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Industrial CAD workflows require robust, generalizable 3D geometric representations supporting accuracy and explainability. We introduce Shape, a self-supervised foundation model converting surface meshes into dense per-token embeddings. Shape combines a structured 3D latent grid, a multi-scale geometry-aware tokenizer (MAGNO) with cross-attention, and a transformer processor using grouped-query attention and RMSNorm. A learned reconstruction prior enables per-region attribution for explainable predictions. Pretraining uses masked-token reconstruction of normalized geometry statistics and multi-resolution contrastive consistency. The 10.9M-parameter backbone is pretrained on 61,052 CAD meshes from Thingi10K, MFCAD, and Fusion360. On a held-out split of 2,983 meshes, Shape achieves reconstruction R 2 = 0.729 and 98.1% top-1 retrieval under the Wang-Isola protocol, with near-zero reconstruction train/val gap (contrastive scores use a larger evaluation pool). A 2 × 2 ablation on loss type and target-space normalization shows per-dimension normalization is critical: without it, performance collapses (R 2 < 0.14, top-1 < 88%); with it, both losses succeed (R 2 > 0.70, top-1 > 96%). Smooth-L1 offers secondary stability. Code, embeddings, and an interactive demo are released at https://github.com/simd-ai/shape.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.22826")
get_code_for_paper("2604.22826")
have("2604.22826")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.22826.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.22826.svg)](https://syntology.ai/paper/2604.22826)

Connect an agent — have() is free.