SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.22056 · 2026

Learning Coverage-and Power-Optimal Transmitter Placement from City Maps: A Comparative Study of Direct and Indirect Neural Approaches

C ¸agkan Yapar

arXiv · PDF

Code that ran

13 of 15 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; 13 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2604.22056.json · badge: /api/ran/2604.22056.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
CagkanYapar/Deployment1Tx canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
center_crop_to_match Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CagkanYapar/Deployment1Tx/models/discriminative.py
code served (permissive licence) · get_code("6572501220ffec46")
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 Tensor, ndim 4, dtype family float, shape (2, 4, 5, 3) 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)

# x: a 4D tensor with shape (batch, channels, height, width)
# The function will access x.shape and perform center cropping
x = torch.randn(2, 4, 8, 6)

# target_size: a tuple of (target_height, target_width)
target_size = (5, 3)

ARGS = {
    "x": x,
    "target_size": target_size,
}
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 Tensor, ndim 4, dtype family float, shape (2, 4, 5, 3) — shape (2, 4, 5, 3) 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
compute_coverage_binary_loss Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/training/losses.py
code served (permissive licence) · get_code("a3eb8b5d72c1648b")
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 Tensor, 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for pred and target
# pred: [B, 1, H, W] where B=2, H=4, W=3
pred = torch.randn(2, 1, 4, 3)

# target: [B, 1, H, W] where B=2, H=4, W=3
target = torch.randint(0, 2, (2, 1, 4, 3)).float()

# scale parameter
scale = 10.0

ARGS = {
    "pred": pred,
    "target": target,
    "scale": scale,
}
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 Tensor, 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
compute_ms_ssim_loss Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/training/losses.py
code served (permissive licence) · get_code("c63df256016193f4")
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 Tensor, 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
import numpy as np

torch.manual_seed(0)

# Create small sample tensors for pred and target
# Shape: [B, C, H, W] = [2, 3, 8, 8]
batch_size = 2
channels = 3
height = 8
width = 8

pred = torch.randn(batch_size, channels, height, width)
target = torch.randn(batch_size, channels, height, width)

# Define weights for multi-scale SSIM
weights = [0.0448, 0.2856, 0.3001, 0.2363, 0.1333]

ARGS = {
    'pred': pred,
    'target': target,
    'weights': weights
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, 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
compute_ssim_loss Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/training/losses.py
code served (permissive licence) · get_code("75e09835408d55c7")
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 Tensor, 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
import numpy as np

torch.manual_seed(0)

# Create small tensors for pred and target
# Shape: [B, C, H, W] where B=2 (batch), C=3 (channels), H=4, W=5
batch_size = 2
channels = 3
height = 4
width = 5

pred = torch.randn(batch_size, channels, height, width)
target = torch.randn(batch_size, channels, height, width)

ARGS = {
    'pred': pred,
    'target': target,
    'window_size': 11,
    'reduction': 'mean'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, 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
conv_block Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/models/diffusion.py
code served (permissive licence) · get_code("89f84f0bf94f04b5")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    "in_ch": 3,
    "out_ch": 16,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
conv_block Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/models/discriminative.py
code served (permissive licence) · get_code("76d16d27813c48f1")
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 Sequential. 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

torch.manual_seed(0)

# The function conv_block takes two parameters: in_ch and out_ch
# These are integer values representing input and output channels
# Looking at the function body, it creates Conv2d layers with these channel counts

ARGS = {
    "in_ch": 3,
    "out_ch": 16
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
convert_to_json_serializable Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/training/train_diffusion_scoremap.py
code served (permissive licence) · get_code("32344640bf1fb835")
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

# Test with various numpy types and Python native types
obj = {
    "int_val": np.int32(42),
    "int64_val": np.int64(100),
    "float_val": np.float32(3.14),
    "float64_val": np.float64(2.718),
    "array_1d": np.array([1, 2, 3]),
    "array_2d": np.array([[1, 2], [3, 4]]),
    "nested_dict": {
        "inner_int": np.int16(5),
        "inner_float": np.float64(1.5),
        "inner_list": [np.int32(10), np.float32(2.5)]
    },
    "list_of_arrays": [
        np.array([1.0, 2.0]),
        np.array([3, 4, 5])
    ],
    "mixed_list": [
        42,
        "string",
        np.int64(99),
        {"nested": np.float32(0.5)}
    ],
    "native_types": {
        "python_int": 123,
        "python_float": 1.23,
        "python_str": "hello",
        "python_list": [1, 2, 3]
    }
}

ARGS = {
    "obj": obj
}
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 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
convrelu Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/models/saipp_net.py
code served (permissive licence) · get_code("2458f60cf377c8ab")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    "in_channels": 3,
    "out_channels": 64,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
convreluT Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/models/saipp_net.py
code served (permissive licence) · get_code("01b2cde8ecdca9f6")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    "in_channels": 3,
    "out_channels": 16
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
evaluate_samples_batched_inline Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CagkanYapar/Deployment1Tx/evaluation/eval_heatmap_diffusion_multisample.py
code served (permissive licence) · get_code("e95be1df94fe0c58")
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 torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import os
import tempfile

torch.manual_seed(0)
np.random.seed(0)

# Create a minimal RadioNet model that accepts input and produces output
class MinimalRadioNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(2, 8, kernel_size=3, padding=1)
        self.conv2 = nn.Conv2d(8, 1, kernel_size=3, padding=1)
    
    def forward(self, x):
        # x shape: (batch, 2, 256, 256)
        x = F.relu(self.conv1(x))
        x = self.conv2(x)
        return x

# Create minimal building map tensor (1, 1, 256, 256)
building_map_tensor = torch.zeros(1, 1, 256, 256, dtype=torch.float32)
# Add some building pixels
building_map_tensor[0, 0, 50:100, 50:100] = 1.0

# Create list of predicted coordinates
pred_coords_list = [
    np.array([100.0, 100.0], dtype=np.float32),
    np.array([120.0, 120.0], dtype=np.float32),
]

# Create device
device = torch.device('cpu')

# Create radionet model
radionet_model = MinimalRadioNet().to(device)
radionet_model.eval()

# Create temporary directories for buildings and heatmaps
buildings_dir = tempfile.mkdtemp()
heatmap_base_dir = tempfile.mkdtemp()

# Create a sample GT path loss map
building_id = "test_building_001"
building_subdir = os.path.join(heatmap_base_dir, building_id)
os.makedirs(building_subdir, exist_ok=True)

# Create GT path loss map
gt_pl_map = np.random.uniform(-100, -50, size=(256, 256)).astype(np.float32)
np.save(os.path.join(building_subdir, 'min_pl_map_power_optimized.npy'), gt_pl_map)

ARGS = {
    'pred_coords_list': pred_coords_list,
    'building_id': building_id,
    'building_map_tensor': building_map_tensor,
    'radionet_model': radionet_model,
    'device': device,
    'use_center': False,
    'optimize_for': 'power',
    'buildings_dir': buildings_dir,
    'heatmap_base_dir': heatmap_base_dir,
    'radionet_batch_size': 32,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — 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
format_hardware_info Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/evaluation/eval_heatmap_diffusion_multisample.py
code served (permissive licence) · get_code("5730534a5c472c33")
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 str. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# Construct a valid hw_info dict for GPU case
ARGS = {
    'hw_info': {
        'device_type': 'cuda',
        'gpu_name': 'NVIDIA A100',
        'gpu_memory_gb': 40,
        'cuda_version': '11.8',
        'gpu_driver_version': '525.105.17'
    }
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
sample_diffusion Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CagkanYapar/Deployment1Tx/evaluation/eval_scoremap_diffusion.py
code served (permissive licence) · get_code("f6a1d857d27e5aab")
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 3, dtype family float, shape (2, 4, 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
import torch.nn as nn
import numpy as np


torch.manual_seed(0)


class MockDiffusionModel(nn.Module):
    """Minimal diffusion model that returns noise predictions."""
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(1, 1)
    
    def forward(self, building_map, sample, timestep, optimize_for_list):
        # Return noise prediction with same shape as sample
        batch_size, channels, h, w = sample.shape
        return torch.randn(batch_size, channels, h, w, device=sample.device)


class MockScheduler:
    """Minimal DDPM/DDIM scheduler with required attributes."""
    def __init__(self, num_train_timesteps=50):
        self.num_train_timesteps = num_train_timesteps
        
        # Create alphas_cumprod (cumulative product of alphas)
        betas = torch.linspace(0.0001, 0.02, num_train_timesteps)
        alphas = 1.0 - betas
        self.alphas_cumprod = torch.cumprod(alphas, dim=0)
        
        # Create betas for scheduler
        self.betas = betas
        
        # Create posterior variance
        self.posterior_variance = torch.zeros(num_train_timesteps)
        for t in range(1, num_train_timesteps):
            alpha_prod_t = self.alphas_cumprod[t]
            alpha_prod_t_prev = self.alphas_cumprod[t - 1]
            beta_t = self.betas[t]
            self.posterior_variance[t] = (
                (1.0 - alpha_prod_t_prev) / (1.0 - alpha_prod_t) * beta_t
            )


# Construct arguments
model = MockDiffusionModel()
building_map = torch.randn(2, 1, 4, 3)  # (batch=2, channels=1, H=4, W=3)
optimize_for_list = ["energy_efficiency", "cost"]
scheduler = MockScheduler(num_train_timesteps=50)
num_inference_steps = 10
use_ddim = True
device = torch.device("cpu")

ARGS = {
    "model": model,
    "building_map": building_map,
    "optimize_for_list": optimize_for_list,
    "scheduler": scheduler,
    "num_inference_steps": num_inference_steps,
    "use_ddim": use_ddim,
    "device": device,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 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
soft_argmax Ran
ran; our contract draft was wrong, not the code
CagkanYapar/Deployment1Tx/models/discriminative.py
code served (permissive licence) · get_code("255a0daf959dc49a")
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
import torch.nn.functional as F

torch.manual_seed(0)

# Create small logits tensor: batch_size=2, channels=1, height=4, width=3
logits = torch.randn(2, 1, 4, 3)

# Create a building_mask with same spatial dimensions as logits
# Shape: (batch_size, channels, height, width)
building_mask = torch.zeros(2, 1, 4, 3, dtype=torch.bool)
building_mask[0, 0, 1, 1] = True  # Mark one pixel as masked

# Set temperature and img_size parameters
temperature = 1.0
img_size = 256

ARGS = {
    "logits": logits,
    "building_mask": building_mask,
    "temperature": temperature,
    "img_size": img_size,
}
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
create_comparison_table Not yet run
unverified (harvested, no recorded run)
CagkanYapar/Deployment1Tx/evaluation/eval_heatmap_diffusion_l2.py
code served (permissive licence) · get_code("08873c640a70115b")
How it ran

no invocation recorded.

create_diffusion_model Not yet run
unverified (harvested, no recorded run)
CagkanYapar/Deployment1Tx/models/diffusion.py
code served (permissive licence) · get_code("c4bf3182c51d0cac")
How it ran

no invocation recorded.

Also present in other papers' code

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

Optimal wireless transmitter placement is a central task in radio-network planning, yet exhaustive search becomes prohibitively expensive at scale. This paper studies the single-transmitter setting under a fixed learned propagation model, enabling exhaustive per-pixel assessment at dataset scale in a regime where measurement-based exhaustive labeling is infeasible and ray-tracing-based exhaustive labeling is computationally out of reach. We introduce a dataset of 167,525 urban scenarios (RadioMapSeer-Deployment) with dual ground-truth labels for coverage-optimal and power-optimal transmitter locations. Benchmark analysis reveals an asymmetric coverage-power trade-off: coverage-optimal placement sacrifices 13.86% of received-power, whereas power-optimal placement sacrifices only 5.50% of coverage; the best achievable balanced placement lies at d = 2.60 from the ideal point (100%, 100%). We evaluate two learning formulations: indirect heatmap-based models predicting received-power radio maps, and direct score-map models predicting the objective landscape over feasible transmitter locations. Within the heatmap family, discriminative models deliver one-shot predictions 1350-2400× faster than exhaustive search, while diffusion models additionally support multi-sample inference that improves single-objective performance and, by reusing the same sample pool under a balanced criterion, recovers strong balanced placements without explicit multi-objective training. Dual score-map strategies that combine power and coverage score-maps match the exhaustive balanced optimum ( d = 2.60) and remain close to it across smaller candidate budgets, at 14-22× speedups including the cost of evaluating shortlisted candidates. Both formulations admit very fast one-shot inference. Dual score-map methods are strongest overall, whereas heatmap formulations remain attractive for their physically meaningful intermediate maps and, in the diffusion setting, for inference-time search.

For agents

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

get_harvested_code_for_paper("2604.22056")
get_code_for_paper("2604.22056")
have("2604.22056")

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

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

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

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

Connect an agent — have() is free.