SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.16177 · 2023

Fusing VHR Post-disaster Aerial Imagery and LiDAR Data for Roof Classification in the Caribbean

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 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 0 have no contract verdict; 6 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2307.16177.json · badge: /api/ran/2307.16177.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
GFDRR/caribbean-rooftop-classification canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
evaluate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GFDRR/caribbean-rooftop-classification/utils/eval_utils.py
code served (permissive licence) · get_code("731b87be9248e809")
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 numpy as np
from sklearn.metrics import make_scorer, confusion_matrix, accuracy_score, balanced_accuracy_score, precision_score, recall_score, f1_score, classification_report

# Create simple ground truth and predictions for a multi-class classification task
y_true = np.array([0, 1, 2, 0, 1, 2, 0, 1, 2, 0])
y_pred = np.array([0, 1, 2, 0, 1, 1, 0, 2, 2, 0])

ARGS = {
    'y_true': y_true,
    'y_pred': y_pred
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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
get_classes_dict Ran
ran; our contract draft was wrong, not the code
GFDRR/caribbean-rooftop-classification/utils/geoutils.py
code served (permissive licence) · get_code("4497fe01c64500d1")
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

ARGS = {
    'attribute': 'roof_material'
}
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 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
get_confusion_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GFDRR/caribbean-rooftop-classification/utils/eval_utils.py
code served (permissive licence) · get_code("68af52043f493081")
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. 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 pandas as pd
import numpy as np

torch_seed = 0

# Create sample data for confusion matrix
# y_true: ground truth labels
# y_pred: predicted labels
# class_names: list of class names

y_true = [0, 1, 2, 0, 1, 2, 0, 1, 2, 0]
y_pred = [0, 1, 2, 0, 1, 1, 0, 2, 2, 0]
class_names = ['class_A', 'class_B', 'class_C']

ARGS = {
    'y_true': y_true,
    'y_pred': y_pred,
    'class_names': class_names
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
get_dim_reduce Ran
ran; our contract draft was wrong, not the code
GFDRR/caribbean-rooftop-classification/utils/clf_utils.py
code served (permissive licence) · get_code("c791ec84ed52a0dd")
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 PCA. 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.

from sklearn.decomposition import PCA, IncrementalPCA

DIM_REDUCE = {'PCA': PCA(), 'IncrementalPCA': IncrementalPCA()}

def get_dim_reduce(dim_reduce):
    """Instantiates and returns a scaler instance.

    Args:
        scaler (str): Indicates the selector to instantiate.
    Returns:
        object: The selector for feature selection.
    """
    assert dim_reduce in DIM_REDUCE
    return DIM_REDUCE[dim_reduce]


ARGS = {
    'dim_reduce': 'PCA'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PCA — a PCA output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PCA 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
get_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GFDRR/caribbean-rooftop-classification/utils/fusion_utils.py
code served (permissive licence) · get_code("542ebb17cd101f6a")
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 pandas as pd
import numpy as np

# Create a small test DataFrame with fusion probability columns
data_probs = pd.DataFrame({
    'model1_prob_class_0': [0.1, 0.2],
    'model1_prob_class_1': [0.9, 0.8],
    'model2_prob_class_0': [0.15, 0.25],
    'model2_prob_class_1': [0.85, 0.75],
    'other_column': [1, 2],
})

# Create a small test DataFrame with fusion embeddings columns
data_embeds = pd.DataFrame({
    'model1_embedding_0': [0.1, 0.2],
    'model1_embedding_1': [0.3, 0.4],
    'model2_embedding_0': [0.5, 0.6],
    'model2_embedding_1': [0.7, 0.8],
    'other_column': [1, 2],
})

# Configuration for fusion_probs mode
c_probs = {
    'mode': 'fusion_probs',
}

# Configuration for fusion_embeds mode
c_embeds = {
    'mode': 'fusion_embeds',
}

ARGS = {
    'c': c_probs,
    'data': data_probs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
get_imagenet_mean_std Ran
ran, honoured the contract we drafted
GFDRR/caribbean-rooftop-classification/utils/cnn_utils.py
code served (permissive licence) · get_code("4b21228ebc6f9d20")
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 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

torch.manual_seed(0)

ARGS = {
    'mode': 'RGB'
}
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 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
get_scaler Ran
ran; our contract draft was wrong, not the code
GFDRR/caribbean-rooftop-classification/utils/clf_utils.py
code served (permissive licence) · get_code("56db7d6a16b0f3bb")
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 MinMaxScaler. 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.

from sklearn.preprocessing import MinMaxScaler, MaxAbsScaler, StandardScaler, RobustScaler

SCALERS = {'MinMaxScaler': MinMaxScaler(), 'StandardScaler': StandardScaler(), 'RobustScaler': RobustScaler(), 'MaxAbsScaler': MaxAbsScaler()}

def get_scaler(scaler):
    """Instantiates and returns a scaler instance.

    Args:
        scaler (str): Indicates the selector to instantiate.
    Returns:
        object: The selector for feature selection.
    """
    assert scaler in SCALERS
    return SCALERS[scaler]


ARGS = {
    'scaler': 'MinMaxScaler'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MinMaxScaler — a MinMaxScaler output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MinMaxScaler 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
create_config Not yet run
unverified (harvested, no recorded run)
GFDRR/caribbean-rooftop-classification/utils/config.py
code served (permissive licence) · get_code("53d45e52e02599a7")
How it ran

no invocation recorded.

get_resampler Not yet run
unverified (harvested, no recorded run)
GFDRR/caribbean-rooftop-classification/utils/clf_utils.py
code served (permissive licence) · get_code("257a0ec1016e9f61")
How it ran

no invocation recorded.

get_state_dict Not yet run
unverified (harvested, no recorded run)
GFDRR/caribbean-rooftop-classification/utils/cnn_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vila-lab/delt, is pointer only (licence: NONE) · get_code("b76a08bec5e010fd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vila-lab/delt, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
GFDRR/caribbean-rooftop-classification/utils/config.py
code served (permissive licence) · get_code("df4d5465a7352b8d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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.

FunctionAlso present inEarliest-datedOthers named
get_state_dict 2 other papers
2 later
2312.03526 (2023-12)
On the Diversity and Realism of Distilled Dataset: An Efficient Dataset Distillation Paradigm
2411.19946 (2024-11)
DELT: A Simple Diversity-driven EarlyLate Training for Dataset Distillation

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

Accurate and up-to-date information on building characteristics is essential for vulnerability assessment; however, the high costs and long timeframes associated with conducting traditional field surveys can be an obstacle to obtaining critical exposure datasets needed for disaster risk management. In this work, we leverage deep learning techniques for the automated classification of roof characteristics from very high-resolution orthophotos and airborne LiDAR data obtained in Dominica following Hurricane Maria in 2017. We demonstrate that the fusion of multimodal earth observation data performs better than using any single data source alone. Using our proposed methods, we achieve F1 scores of 0.93 and 0.92 for roof type and roof material classification, respectively. This work is intended to help governments produce more timely building information to improve resilience and disaster response in the Caribbean.

For agents

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

get_harvested_code_for_paper("2307.16177")
get_code_for_paper("2307.16177")
have("2307.16177")

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

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

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

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

Connect an agent — have() is free.