SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.14578 · September 2026

A Building as a Repository: KIR, a Typed Intermediate Representation for Agent-Authored Building Information Models

Dmitry Kuklev

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 7 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2609.14578.json · badge: /api/ran/2609.14578.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
5vbkgsghhh-hash/kir canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
cmd_ops Ran
ran on a synthesized input
5vbkgsghhh-hash/kir/kir/__main__.py
code served (permissive licence) · get_code("ed6ea2f0b1032c41")
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 int, ndim 0, 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 argparse
import sys

# Create a minimal argparse.Namespace with the required parameters
# Looking at cmd_ops, it expects:
# - args.name: optional name of an operation (can be None)

ARGS = {
    'args': argparse.Namespace(name=None)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
kir — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int — no output shape is stated: observe_signature.py could not observe it (call:ModuleNotFoundError)
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
cmd_skill Ran
ran on a synthesized input
5vbkgsghhh-hash/kir/kir/__main__.py
code served (permissive licence) · get_code("bf59a41734a93b3e")
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 int, ndim 0, 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 argparse
import torch

torch.manual_seed(0)

# The function cmd_skill takes a single parameter: _args of type argparse.Namespace
# Looking at the body, it calls skill.build_skill_text() which doesn't use _args
# So _args can be a minimal Namespace object

_args = argparse.Namespace()

ARGS = {
    '_args': _args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
kir, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int — no output shape is stated: observe_signature.py could not observe it (call:ModuleNotFoundError)
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
collect_op_refusals Ran
ran; our contract draft was wrong, not the code
5vbkgsghhh-hash/kir/kir/a5_live.py
code served (permissive licence) · get_code("ab292e20d6e2f479")
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 1, dtype family float; 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
import numpy as np
from typing import Any, Mapping, Optional, Sequence

torch.manual_seed(0)

# Construct exec_res - simulates execution results with refusals
exec_res = {
    'result': {
        'op_1': {
            'refused': 'Permission denied on target resource',
            'refused_op_id': 'op_1'
        },
        'op_3': {
            'refused': 'Host unreachable',
            'refused_op_id': 'op_3'
        },
        'op_2': {
            'id': 'op_2',
            'status': 'ok'
        }
    }
}

# Construct program - defines the operations with metadata
program = {
    'ops': [
        {
            'id': 'op_1',
            'op': 'create_curtain_grid_line',
            'host': 'host_a',
            'target': 'resource_1',
            'type': 'grid_op'
        },
        {
            'id': 'op_2',
            'op': 'update_grid',
            'host': 'host_b',
            'target': 'resource_2',
            'type': 'update_op'
        },
        {
            'id': 'op_3',
            'op': 'delete_element',
            'host': 'host_c',
            'target': 'resource_3',
            'type': 'delete_op'
        }
    ]
}

ARGS = {
    'exec_res': exec_res,
    'program': program
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — 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
count_ops_without_element Ran
ran, honoured the contract we drafted
5vbkgsghhh-hash/kir/kir/a5_live.py
code served (permissive licence) · get_code("cfaf1170c843529e")
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 int, ndim 0, dtype family int, shape () 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 numpy as np
from typing import Any, Mapping, Optional, Sequence

# Test case 1: exec_res with result containing ops with created=False and no refused
exec_res_1 = {
    'result': {
        'op_1': {'created': False},
        'op_2': {'created': False, 'refused': False},
        'op_3': {'created': True},
        'op_4': {'created': False, 'refused': True},
        'op_5': {'id': 'some_id'},
    }
}

# Test case 2: exec_res that is not a Mapping
exec_res_2 = "not a mapping"

# Test case 3: exec_res with no 'result' key
exec_res_3 = {
    'data': {
        'op_1': {'created': False},
    }
}

# Test case 4: exec_res with empty result
exec_res_4 = {'result': {}}

# Test case 5: exec_res as a list (not Mapping)
exec_res_5 = [1, 2, 3]

# Test case 6: exec_res with result containing non-Mapping values
exec_res_6 = {
    'result': {
        'op_1': {'created': False},
        'op_2': 'string_value',
        'op_3': {'created': False},
    }
}

# Choose a representative test case
ARGS = {
    'exec_res': exec_res_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () 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: none by the harness; any seed is in the setup block
expectation_digest Ran
ran; our contract draft was wrong, not the code
5vbkgsghhh-hash/kir/kir/acceptance.py
code served (permissive licence) · get_code("8178a06bba0d6a52")
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 str. 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 hashlib
import json
from dataclasses import dataclass
from enum import Enum
from typing import Any, Iterable, Mapping, Sequence

class Certainty(str, Enum):
    """How firmly the delta of an expectation row is known."""
    EXACT = 'exact'
    AT_LEAST = 'at_least'
    UNKNOWN = 'unknown'

@dataclass(frozen=True, slots=True)
class BlindOp:
    """An op the expectation cannot say anything checkable about."""
    op_id: str
    op_name: str
    reason: str

    def to_dict(self) -> dict[str, Any]:
        return {'op_id': self.op_id, 'op': self.op_name, 'reason': self.reason}

@dataclass(frozen=True, slots=True)
class ExpectedRow:
    """One expectation row: how much is added, where, and how firmly."""
    categories: tuple[str, ...]
    level: str | None
    count: int
    certainty: Certainty
    op_ids: tuple[str, ...]
    why: str = ''

    def to_dict(self) -> dict[str, Any]:
        return {'categories': list(self.categories), 'level': self.level, 'count': self.count, 'certainty': self.certainty.value, 'op_ids': list(self.op_ids), 'why': self.why}

@dataclass(frozen=True, slots=True)
class Expectation:
    """The acceptance predicate, derived from the program."""
    rows: tuple[ExpectedRow, ...]
    derived_categories: tuple[str, ...]
    blind_ops: tuple[BlindOp, ...]
    upper_bounds_valid: bool
    op_count: int
    notes: tuple[str, ...] = ()

    @property
    def checkable(self) -> bool:
        """Whether there is even one row that can fail."""
        return self.lower_bounds_valid and any((row.certainty is not Certainty.UNKNOWN and row.count > 0 for row in self.rows))

    @property
    def lower_bounds_valid(self) -> bool:
        """Whether no blind operation can subtract a registered census cell."""
        _OPS_CAN_INVALIDATE_LOWER_BOUNDS = {'delete', 'remove', 'replace'}
        return not any((op.op_name in _OPS_CAN_INVALIDATE_LOWER_BOUNDS for op in self.blind_ops))

    def to_dict(self) -> dict[str, Any]:
        return {'rows': [row.to_dict() for row in self.rows], 'derived_categories': list(self.derived_categories), 'blind_ops': [op.to_dict() for op in self.blind_ops], 'lower_bounds_valid': self.lower_bounds_valid, 'upper_bounds_valid': self.upper_bounds_valid, 'op_count': self.op_count, 'notes': list(self.notes)}

def expectation_digest(expectation: Expectation) -> str:
    """A short expectation signature — proof of pre-registration."""
    payload = json.dumps(expectation.to_dict(), ensure_ascii=False, sort_keys=True, separators=(',', ':'))
    return hashlib.sha256(payload.encode('utf-8')).hexdigest()

# Construct valid arguments
row1 = ExpectedRow(
    categories=('Wall', 'Column'),
    level='Level 1',
    count=5,
    certainty=Certainty.EXACT,
    op_ids=('op_1', 'op_2'),
    why='Test row 1'
)

row2 = ExpectedRow(
    categories=('Door',),
    level=None,
    count=3,
    certainty=Certainty.AT_LEAST,
    op_ids=('op_3',),
    why='Floating row'
)

blind_op1 = BlindOp(
    op_id='blind_1',
    op_name='unknown_create',
    reason='Unknown category source'
)

expectation = Expectation(
    rows=(row1, row2),
    derived_categories=('Wall', 'Column', 'Door', 'Window'),
    blind_ops=(blind_op1,),
    upper_bounds_valid=True,
    op_count=3,
    notes=('Test expectation', 'For validation')
)

ARGS = {
    'expectation': expectation
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
prune_ground_snapshot Ran
ran; our contract draft was wrong, not the code
5vbkgsghhh-hash/kir/kir/open_model.py
code served (permissive licence) · get_code("d923825ef98edef3")
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 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 numpy as np
from typing import Any, Mapping, Sequence

torch.manual_seed(0)

# Construct a valid snapshot dict with the structure expected by prune_ground_snapshot
snapshot = {
    'levels': [
        {
            'id': 'level_1',
            'name': 'Ground Floor',
            'elevation_mm': 0,
            'extra_field': 'ignored'
        },
        {
            'id': 'level_2',
            'name': 'First Floor',
            'elevation_mm': 3500,
            'version_guid': 'abc-123'
        },
        {
            'id': 'level_3',
            'name': 'No Elevation',
            'extra_field': 'will_be_skipped'
        }
    ],
    'family_symbols': [
        {
            'id': 'symbol_1',
            'name': 'Wall Type A',
            'section': {
                'width': 200,
                'height': 2700
            },
            'unique_id': 'uid_1',
            'version_guid': 'guid_1',
            'counter': 42
        },
        {
            'id': 'symbol_2',
            'name': 'Door Type B',
            'section': {
                'width': 900,
                'height': 2100
            },
            'unique_id': 'uid_2'
        }
    ],
    'other_pool': [
        {
            'id': 'other_1',
            'name': 'Not Levels or With Section',
            'section': None
        }
    ],
    'invalid_pool': 'not_a_list',
    'empty_pool': []
}

ARGS = {
    'snapshot': snapshot
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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: none by the harness; any seed is in the setup block
request_digest Ran
ran; our contract draft was wrong, not the code
5vbkgsghhh-hash/kir/kir/a5_recovery.py
code served (permissive licence) · get_code("49d499ed39de9614")
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 str. 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 hashlib
import json
from typing import Any, Mapping

# The function takes a Mapping[str, Any] as the 'value' parameter
# It converts it to a dict, then serializes it to JSON with specific settings
# The function doesn't call any methods on the value, just passes it to dict()
# and json.dumps(), so any mapping will work

ARGS = {
    "value": {
        "scope": "A5",
        "id": 12345,
        "name": "test_scope",
        "config": {"key1": "value1", "key2": 42},
        "enabled": True,
        "data": [1, 2, 3, 4]
    }
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
shifted_point Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
5vbkgsghhh-hash/kir/kir/emit_core.py
code served (permissive licence) · get_code("bc5e794b6a0ad71c")
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 list, ndim 1, dtype family float; 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
import numpy as np

# Analyze the function:
# - shifted_point(pt, shift) -> list | tuple
# - pt: should be indexable (list or tuple of numbers)
# - shift: should be indexable (list or tuple of numbers)
# - The function checks if shift is empty/zero with any(shift)
# - It accesses pt[i] and shift[i] for indexing
# - It concatenates lists and converts to list

# Test case 1: 2D point with 2D shift (non-zero)
pt_1 = [1.0, 2.0]
shift_1 = [0.5, 1.5]

# Test case 2: 3D point with zero shift (should return original)
pt_2 = (10, 20, 30)
shift_2 = [0, 0, 0]

# Test case 3: 2D point with 3D shift (shift has more dimensions)
pt_3 = [5, 7]
shift_3 = [1, 2, 3]

# Test case 4: 3D point with 2D shift (point has more dimensions)
pt_4 = [100, 200, 300]
shift_4 = [10, 20]

# Use the first test case as primary arguments
ARGS = {
    "pt": [1.0, 2.0],
    "shift": [0.5, 1.5]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list 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
symbol_rows_from_snapshot Ran
ran; our contract draft was wrong, not the code
5vbkgsghhh-hash/kir/kir/acceptance.py
code served (permissive licence) · get_code("82dcd280ba695419")
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 1, dtype family float; 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
from typing import Any, Mapping

torch.manual_seed(0)

# Test case 1: Valid snapshot with family_symbols as a list of dicts
snapshot_valid = {
    'family_symbols': [
        {'name': 'symbol1', 'value': 1},
        {'name': 'symbol2', 'value': 2},
        {'name': 'symbol3', 'value': 3},
    ],
    'other_field': 'other_value'
}

# Test case 2: Snapshot with truncated flag set to True
snapshot_truncated = {
    'family_symbols': [
        {'name': 'symbol1', 'value': 1},
    ],
    'family_symbols__truncated': True
}

# Test case 3: Snapshot with None value
snapshot_none = None

# Test case 4: Snapshot with family_symbols as non-list
snapshot_invalid_type = {
    'family_symbols': 'not_a_list',
    'other_field': 'value'
}

# Test case 5: Snapshot with family_symbols containing mixed valid and invalid rows
snapshot_mixed = {
    'family_symbols': [
        {'name': 'symbol1', 'value': 1},
        'invalid_row_string',
        {'name': 'symbol2', 'value': 2},
        123,
        {'name': 'symbol3', 'value': 3},
    ]
}

# Test case 6: Snapshot with empty family_symbols list
snapshot_empty = {
    'family_symbols': [],
    'other_field': 'value'
}

# Test case 7: Not a mapping
snapshot_not_mapping = "not_a_mapping"

ARGS = {
    'snapshot': snapshot_valid
}
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 1, dtype family float — 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
tolerances Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
5vbkgsghhh-hash/kir/kir/emit_model.py
code served (permissive licence) · get_code("10683fdbda2e8c09")
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 ToleranceSet. 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 sys
from unittest.mock import MagicMock, patch

# Mock the kir.spec module before importing
sys.modules['kir'] = MagicMock()
sys.modules['kir.spec'] = MagicMock()

# Create a mock OpSpec class
class MockOpSpec:
    def __init__(self, op_name, tolerances_dict):
        self.op_name = op_name
        self.tolerances = tolerances_dict

# Set up the mock registry
mock_spec = MagicMock()
mock_spec.OPS = {
    'my_operation': MockOpSpec('my_operation', {
        'endpoint_mm': 0.1,
        'angle_deg': 0.5,
        'relative_error': 1e-6
    }),
    'another_op': MockOpSpec('another_op', {
        'threshold': 0.01,
        'tolerance': 1e-5
    })
}

sys.modules['kir.spec'].OPS = mock_spec.OPS

# Now we can define the test arguments
ARGS = {
    'op_name': 'my_operation'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
kir — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ToleranceSet — a ToleranceSet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ToleranceSet 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
cmd_demo Not yet run
unverified (harvested, no recorded run)
5vbkgsghhh-hash/kir/kir/__main__.py
code served (permissive licence) · get_code("3066314eae4ce56e")
How it ran

no invocation recorded.

tolerance Not yet run
unverified (harvested, no recorded run)
5vbkgsghhh-hash/kir/kir/emit_model.py
code served (permissive licence) · get_code("acbda702673f9121")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 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 12 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-24.

Repositories linked to this paper

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

Abstract

Autonomous agents that author building information models need more than access to a host API. They need a representation of what they intended, what a compiler decided on their behalf, what was refused, what was observed after execution and what remains unknown. We present KIR, a typed intermediate representation in which a building is authored as a program held in a versioned repository and lowered to host applications as build targets. KIR is organised around seven ways in which a generator writing into a stateful, partially observable host goes silently wrong, and gives each a representation in data: ambiguous selectors become typed refusals with candidates; defaults keep their provenance; obligations that will not be checked are named before execution; vacuous witnesses are rejected statically; a lost transaction response becomes the state UNCONFIRMED with a verify-before-retry rule; the reverse path obeys a census invariant; and decisions are bound by digest to the state they were made against. On a pinned snapshot with 83 operation contracts and Revit as the only backend, offline experiments refuse 29 of 42 stress-test programs with diagnostic codes and no uncaught exception, name 38 of 377 witness obligations as unwitnessable, admit 31 of 100 combinations of execution, witness and acceptance states under seven stated invariants, and find no vacuous witness in 219 certificate runs; a 60-storey tower is 11,263 characters as KIR against 3,709,235 characters of emitted C#. Native Revit runs are reported from project records and kept separate from reproduced results. A controlled comparison with agents that write host code directly is specified but not yet executed; it is the principal open question.

For agents

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

get_harvested_code_for_paper("2609.14578")
get_code_for_paper("2609.14578")
have("2609.14578")

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

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

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

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

Connect an agent — have() is free.