SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.18846 · NeurIPS · 2024

AFBench: A Large-scale Benchmark for Airfoil Design

Jing Wang, Wanli Ouyang, Wei Liu, Xianming Liu, Junjun Jiang, Miao Zhang, Jian Liu, Jianyu Wu, Hairun Xie, Guoqing Zhang, Shixiang Tang

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 4 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2406.18846.json · badge: /api/ran/2406.18846.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
hitcslj/Xfoil-cal canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
hitcslj/AFBench canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
find_cl_cd Ran
ran, honoured the contract we drafted
hitcslj/Xfoil-cal/check_valid_aero.py
pointer only (licence: NONE) · get_code("c30567687574b713")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

getOutputFileName Ran
ran; our contract draft was wrong, not the code
hitcslj/Xfoil-cal/_utils.py
pointer only (licence: NONE) · get_code("6f2e5b47c4f94a34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

get_1d_sincos_pos_embed_from_grid Ran
ran, honoured the contract we drafted
hitcslj/AFBench/models/dit.py
code served (permissive licence) · get_code("0cecc649cd728624")
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 ndarray, ndim 2, dtype family float, shape (5, 8) 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 numpy as np

# Simple setup for the function parameters
embed_dim = 8  # Must be even, output dimension for each position
pos_dim = 5    # Number of positions to encode

ARGS = {
    "embed_dim": embed_dim,
    "pos_dim": pos_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 8) — shape (5, 8) 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
is_numeric_string Ran
ran, violated the contract we drafted
hitcslj/Xfoil-cal/check_valid_aero.py
pointer only (licence: NONE) · get_code("56866a97799eb986")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

load_config Ran
ran; our contract draft was wrong, not the code
hitcslj/Xfoil-cal/sequence_calc.py
pointer only (licence: NONE) · get_code("06cbe0f855b210fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

modulate Ran
ran; our contract draft was wrong, not the code
hitcslj/AFBench/models/dit.py
code served (permissive licence) · get_code("03310bba324ae4fb")
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) 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

torch.manual_seed(0)

# Create small tensors for the modulate function
# x: input tensor with shape (batch_size, feature_dim)
x = torch.randn(2, 4)

# shift: tensor that will be unsqueezed to (batch_size, 1)
# so it should have shape (batch_size,)
shift = torch.randn(2)

# scale: tensor that will be unsqueezed to (batch_size, 1)
# so it should have shape (batch_size,)
scale = torch.randn(2)

ARGS = {
    "x": x,
    "shift": shift,
    "scale": scale,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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: none by the harness; any seed is in the setup block
process_file Ran
ran, violated the contract we drafted
hitcslj/Xfoil-cal/check_valid.py
pointer only (licence: NONE) · get_code("bf1b390abffb23a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

read_file Ran
ran, honoured the contract we drafted
hitcslj/Xfoil-cal/check_valid_geo.py
pointer only (licence: NONE) · get_code("54b2c1ba109bdef5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

restricted_float Ran
ran, honoured the contract we drafted
hitcslj/Xfoil-cal/_utils.py
pointer only (licence: NONE) · get_code("0e727f0c60eb459b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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. A run is recorded.

process_file Not yet run
unverified (harvested, no recorded run)
hitcslj/Xfoil-cal/check_valid_aero.py
pointer only (licence: NONE) · get_code("111d2e64e145c96d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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.

smooth_plot Not yet run
unverified (harvested, no recorded run)
hitcslj/Xfoil-cal/_utils.py
pointer only (licence: NONE) · get_code("0f1c90c9a1a189ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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.

write_xfoil_input Not yet run
unverified (harvested, no recorded run)
hitcslj/Xfoil-cal/sequence_calc.py
pointer only (licence: NONE) · get_code("b182009eabe3ff24")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hitcslj/Xfoil-cal 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.

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, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 11 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
modulate 101 other papers
31 dated earlier, 4 the same month, 65 later, 1 undated · 29 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
and 98 more not named here

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-22.

Repositories linked to this paper

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

Abstract

Change . Change source keypoints target keypoints. Outputs: 𝑅 Option 1 Option 2 Option 3 Figure 1: Our Airfoil Generation and Editing Software. (a) Generating diverse candidate airfoils. (b) Editing Keypoints and Editing Physical Parameters.

For agents

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

get_harvested_code_for_paper("2406.18846")
get_code_for_paper("2406.18846")
have("2406.18846")

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

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

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

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

Connect an agent — have() is free.