SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.07954 · 2023

Simulation-based inference for stochastic gravitational wave background data analysis

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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 0 have no contract verdict; 3 failures of our instrument; 1 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/2309.07954.json · badge: /api/ran/2309.07954.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
peregrine-gw/saqqara canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
FunctionStatusWhere it lives
load_settings Ran
ran; our contract draft was wrong, not the code
peregrine-gw/saqqara/saqqara/config.py
code served (permissive licence) · get_code("2bf10f5b8a8a59c7")
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 yaml
import os
import tempfile

# Create a temporary YAML config file
temp_dir = tempfile.mkdtemp()
config_path = os.path.join(temp_dir, "test_config.yaml")

# Write a valid YAML configuration with nested structure
config_content = """
model:
  name: test_model
  layers: 3
  hidden_dim: 128
  activation: relu
  
training:
  learning_rate: 0.001
  batch_size: 32
  epochs: 100
  optimizer:
    type: adam
    beta1: 0.9
    beta2: 0.999
    
data:
  path: /data/dataset
  split: 0.8
"""

with open(config_path, 'w') as f:
    f.write(config_content)

ARGS = {
    'config_path': config_path,
    'verbose': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — 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
setup_logger Ran
ran; our contract draft was wrong, not the code
peregrine-gw/saqqara/saqqara/training.py
code served (permissive licence) · get_code("73de8659377256a1")
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 WandbLogger. 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 pytorch_lightning.loggers import WandbLogger, TensorBoardLogger

torch.manual_seed(0)

# Setup for settings parameter with WandB logger
settings_wandb = {
    'train': {
        'logger': {
            'type': 'wandb',
            'entity': 'test_entity',
            'name': 'test_run',
            'project': 'test_project',
            'offline': False,
            'log_model': 'all'
        }
    },
    'model': {
        'hidden_dim': 64
    }
}

# Setup for settings parameter with TensorBoard logger
settings_tensorboard = {
    'train': {
        'logger': {
            'type': 'tensorboard',
            'save_dir': '/tmp/tb_logs',
            'name': 'tb_experiment'
        }
    }
}

# Setup for settings parameter with no logger
settings_none = {
    'train': {
        'logger': {
            'type': None
        }
    }
}

# rid parameter (run id)
rid_value = 42

ARGS = {
    'settings': settings_wandb,
    'rid': rid_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pytorch_lightning, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type WandbLogger — a WandbLogger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a WandbLogger 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
setup_scheduler Ran
ran; our contract draft was wrong, not the code
peregrine-gw/saqqara/saqqara/training.py
code served (permissive licence) · get_code("2c5e398f81d02fef")
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 torch.nn as nn
from torch.optim.lr_scheduler import _LRScheduler

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)

# Create model and optimizer
model = SimpleModel()
optimizer = torch.optim.SGD(model.parameters(), lr=0.1)

# Define training_settings with different scenarios
training_settings_none = {}

training_settings_reduce = {
    'lr_scheduler': {
        'type': 'ReduceLROnPlateau',
        'lr_scheduler_factor': 0.5,
        'lr_scheduler_patience': 2
    }
}

training_settings_cosine = {
    'lr_scheduler': {
        'type': 'CosineWithWarmUp',
        'T_max': 100,
        'eta_min': 1e-6,
        'total_warmup_steps': 10
    }
}

ARGS = {
    'optimizer': optimizer,
    'training_settings': training_settings_cosine
}
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_settings Not yet run
unverified (harvested, no recorded run)
peregrine-gw/saqqara/saqqara/config.py
code served (permissive licence) · get_code("f6235727b33ac148")
How it ran

no invocation recorded.

Also present in other papers' code

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

The next generation of space- and ground-based facilities promise to reveal an entirely new picture of the gravitational wave sky: thousands of galactic and extragalactic binary signals, as well as stochastic gravitational wave backgrounds (SGWBs) of unresolved astrophysical and possibly cosmological signals. These will need to be disentangled to achieve the scientific goals of experiments such as LISA, Einstein Telescope, or Cosmic Explorer. We focus on one particular aspect of this challenge: reconstructing an SGWB from (mock) LISA data. We demonstrate that simulation-based inference (SBI) - specifically truncated marginal neural ratio estimation (TMNRE) - is a promising avenue to overcome some of the technical difficulties and compromises necessary when applying more traditional methods such as Monte Carlo Markov Chains (MCMC). To highlight this, we show that we can reproduce results from traditional methods both for a template-based and agnostic search for an SGWB. Moreover, as a demonstration of the rich potential of SBI, we consider the injection of a population of low signal-to-noise ratio supermassive black hole transient signals into the data. TMNRE can implicitly marginalize over this complicated parameter space, enabling us to directly and accurately reconstruct the stochastic (and instrumental noise) contributions. We publicly release our TMNRE implementation in the form of the code saqqara.

For agents

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

get_harvested_code_for_paper("2309.07954")
get_code_for_paper("2309.07954")
have("2309.07954")

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

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

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

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

Connect an agent — have() is free.