SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.06500 · 2024

Graph Neural Network Surrogates to leverage Mechanistic Expert Knowledge towards Reliable and Immediate Pandemic Response

arXiv · PDF · Open in the Atlas

Code that ran

1 of 6 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, 0 violated it and 1 has no contract verdict; 0 failures of our instrument; 5 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/2411.06500.json · badge: /api/ran/2411.06500.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
scicompmod/memilio community (classifier label)
classifier basis not recorded on the link
1 ran · 5 no recorded run
FunctionStatusWhere it lives
invert_dict Ran
ran on a synthesized input
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/defaultDict.py
code served (permissive licence) · get_code("fda9fd30ff484cae")
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.

# Setup code for invert_dict function

# The function takes a dictionary and inverts keys/values
# It only uses .items() method on the dictionary
# No torch, numpy, or scipy needed for this simple function

# Create a simple test dictionary
test_dict = {
    'apple': 1,
    'banana': 2,
    'cherry': 3,
    'date': 4
}

ARGS = {
    'dict_to_invert': test_dict
}
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 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
download_file Not yet run
unverified (harvested, no recorded run)
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/getDataIntoPandasDataFrame.py
code served (permissive licence) · get_code("4f08f4d0029b0955")
How it ran

no invocation recorded.

extract_zip Not yet run
unverified (harvested, no recorded run)
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/getDataIntoPandasDataFrame.py
code served (permissive licence) · get_code("f5852b08f641cc2a")
How it ran

no invocation recorded.

list_available_contact_countries Not yet run
unverified (harvested, no recorded run)
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/getContactData.py
code served (permissive licence) · get_code("c89a7c2826acc1a3")
How it ran

no invocation recorded.

load_contact_matrix Not yet run
unverified (harvested, no recorded run)
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/getContactData.py
code served (permissive licence) · get_code("8d92d5a249a3bd2f")
How it ran

no invocation recorded.

user_choice Not yet run
unverified (harvested, no recorded run)
scicompmod/memilio/pycode/memilio-epidata/memilio/epidata/getDataIntoPandasDataFrame.py
code served (permissive licence) · get_code("35c81f69d293e304")
How it ran

no invocation recorded.

Also present in other papers' code

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

During the COVID-19 crisis, mechanistic models have guided evidence-based decision making. However, time-critical decisions in a dynamical environment limit the time available to gather supporting evidence. We address this bottleneck by developing a graph neural network (GNN) surrogate of an age-structured and spatially resolved mechanistic metapopulation simulation model. This combined approach complements classical modeling approaches which are mostly mechanistic and purely data-driven machine learning approaches which are often black box. Our design of experiments spans outbreak and persistent-threat regimes, up to three contact change points, and age-structured contact matrices on a spatial graph with 400 nodes representing German counties. We benchmark multiple GNN layers and identify an ARMAConv-based architecture that offers a strong accuracy-runtime trade-off. Across horizons of 30-90 day simulation and prediction, allowing up to three contact change points, the surrogate model attains 10-27 \% mean absolute percentage error (MAPE) while delivering (near) constant runtime with respect to the forecast horizon. Our approach accelerates evaluation by up to 28,670 times compared with the mechanistic model, allowing responsive decision support in time-critical scenarios and straightforward web integration. These results show how GNN surrogates can translate complex metapopulation models into immediate, reliable tools for pandemic response.

For agents

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

get_harvested_code_for_paper("2411.06500")
get_code_for_paper("2411.06500")
have("2411.06500")

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

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

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

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

Connect an agent — have() is free.