SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.25956 · 2026

Pulmonary Embolism Risk Stratification from CTPA and Medical Records: Vascular Graphs Are Not All You Need

Johannes Lutzeyer, Thomas Lampert, Nathan Painchaud, Tristan Habémont, Morgane Des Ligneris, Allan Serva, Pierre Croisille, Laurent Bertoletti, Odyssée Merveille

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 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/2606.25956.json · badge: /api/ran/2606.25956.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
creatis-myriad/GENESIS canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
create_predictions_dataframe Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
creatis-myriad/GENESIS/src/genesis/utils/logging_utils.py
code served (permissive licence) · get_code("f4a3c4f9fd9099f3")
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 DataFrame. 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
import pandas as pd

# Test case 1: Classification predictions with softmax
predictions_classification = np.array([
    [1.0, 2.0, 0.5],
    [0.5, 1.0, 2.0],
], dtype=np.float32)

batch_indices_1 = np.array([0, 1])
output_labels_1 = ['class_0', 'class_1', 'class_2']
samplewise_op_1 = 'softmax'

ARGS = {
    'predictions': predictions_classification,
    'batch_indices': batch_indices_1,
    'output_labels': output_labels_1,
    'samplewise_op': samplewise_op_1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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_cosine_schedule_with_warmup Ran
ran; our contract draft was wrong, not the code
creatis-myriad/GENESIS/src/genesis/models/optim.py
code served (permissive licence) · get_code("3e4c1f48e1424fd6")
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 LambdaLR. 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 torch.optim import SGD

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

# Create an optimizer
optimizer = SGD(model.parameters(), lr=0.1)

# Define arguments
ARGS = {
    "optimizer": optimizer,
    "num_warmup_epochs": 2,
    "num_training_epochs": 10,
    "num_cycles": 0.5,
    "last_epoch": -1
}
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 LambdaLR — a LambdaLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LambdaLR 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
is_identical_function Ran
ran, violated the contract we drafted
creatis-myriad/GENESIS/src/genesis/utils/builtin.py
code served (permissive licence) · get_code("dc6d76888df11b1f")
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 bool, ndim 0, dtype family float, 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
from collections.abc import Callable
from functools import wraps

torch.manual_seed(0)

# Define some test functions
def function_a(x):
    return x + 1

def function_b(x):
    return x + 1

def function_c(x):
    return x * 2

# Create a wrapped function
@wraps(function_a)
def wrapped_function_a(x):
    return function_a(x)

# Create a bound method
class TestClass:
    def method_a(self, x):
        return x + 1

obj = TestClass()
bound_method = obj.method_a

# Create another bound method that is identical
bound_method_same = obj.method_a

# Create a non-callable object
non_callable = 42

ARGS = {
    "callable_obj": function_a,
    "target_function": function_a,
}
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 bool, ndim 0, dtype family float, 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
metrics_table Ran
ran; our contract draft was wrong, not the code
creatis-myriad/GENESIS/src/genesis/utils/rich_utils.py
code served (permissive licence) · get_code("dcf2782da7526c27")
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 Table. 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 collections.abc import Sequence
from typing import Any

# Construct a metrics dictionary with keys formatted as "prefix/metric_name"
metrics = {
    "train/loss": 0.5234,
    "train/accuracy": 0.9123,
    "train/f1_score": 0.8856,
    "val/loss": 0.6234,
    "val/accuracy": 0.8923,
    "val/f1_score": 0.8456,
    "test/loss": 0.7234,
    "test/accuracy": 0.8723,
}

# Define cols_from_prefixes to specify which prefixes should become columns
cols_from_prefixes = ["train", "val", "test"]

ARGS = {
    "metrics": metrics,
    "cols_from_prefixes": cols_from_prefixes,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, rich, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Table — a Table output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Table 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
pad_keys Ran
ran; our contract draft was wrong, not the code
creatis-myriad/GENESIS/src/genesis/utils/logging_utils.py
code served (permissive licence) · get_code("47262d263fa8764a")
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
from collections.abc import Mapping, Sequence
from typing import Any

torch.manual_seed(0)

# Create a simple mapping with string keys
mapping = {
    'layer1': torch.randn(2, 4),
    'layer2': torch.randn(3, 5),
    'bias': torch.randn(4),
    'excluded_key': torch.randn(2, 2)
}

prefix = 'model_'
postfix = '_v1'
exclude = ['excluded_key']

ARGS = {
    'mapping': mapping,
    'prefix': prefix,
    'postfix': postfix,
    'exclude': exclude
}
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

Also present in other papers' code

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

Risk stratification for pulmonary embolism (PE) is critical for clinical decision-making. Stratification guidelines are based on patient medical records, parameters measured from computed tomography pulmonary angiography (CTPA), and blood tests. However, blood tests are often missing in routine practice. This work studies whether state-of-the-art models can accurately classify risk stratification from only medical records and biomarkers extracted from CTPA images. We benchmark different approaches to combine medical records and cardiac biomarkers with rich pulmonary vascular information; we add vascular biomarkers to tabular models and apply graph neural networks (GNNs) on the vascular tree's intrinsic graph representation. We use a private dataset (n=353) with uniquely complete data for PE risk stratification. Our results show that, among global features, medical records and cardiac biomarkers are the most significant predictors, while vascular biomarkers do not further improve stratification. Even more surprising, even GNNs on vascular graphs fail to outperform strong tabular baseline on global features. We consider hypotheses, on both models and data, that could explain this suboptimal performance. Our investigation suggests that, counter-intuitively, vascular graphs might hold no discriminative information for PE risk stratification. Code is available from https://github.com/creatis-myriad/GENESIS.

For agents

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

get_harvested_code_for_paper("2606.25956")
get_code_for_paper("2606.25956")
have("2606.25956")

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

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

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

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

Connect an agent — have() is free.