SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.10187 · 2026

Decision-Calibrated Conformal Uncertainty for Pacing Decisions in Streaming Advertising

Prashant Shekhar, Caroline Howard

arXiv · PDF · Open in the Atlas

Code that ran

9 of 13 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, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 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/2606.10187.json · badge: /api/ran/2606.10187.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
p-shekhar/pacing-decisions-advertising community
Papers with Code archive
9 ran · 4 no recorded run
FunctionStatusWhere it lives
_segment_campaign_profile Ran
ran, honoured the contract we drafted
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("61366531f3e83e24")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np
import pandas as pd
from dataclasses import dataclass

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict

# Create minimal valid data structures
z_blocks = np.random.randn(2, 4)
history_features = np.random.randn(3, 5)

segment_table = pd.DataFrame({
    'segment_id': [0, 1, 2],
    'name': ['seg_a', 'seg_b', 'seg_c']
})

campaign_table = pd.DataFrame({
    'preferred_segment': [0, 1, 2, 0, 1],
    'budget': [100.0, 200.0, 150.0, 120.0, 180.0],
    'impressions': [1000.0, 2000.0, 1500.0, 1200.0, 1800.0]
})

metadata = {'key1': 1.5, 'key2': 2.5}

streaming_case = StreamingCase(
    case='test_case',
    z_blocks=z_blocks,
    history_features=history_features,
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=0.5,
    member_scale=0.8,
    metadata=metadata
)

ARGS = {
    'case': streaming_case,
    'column': 'budget',
    'n_segments': 3,
    'normalize': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (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
component_sensitivity_matrices Ran
ran; our contract draft was wrong, not the code
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("c7a490ecd6a9738e")
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
import pandas as pd
from dataclasses import dataclass

@dataclass(frozen=True)
class Policy:
    name: str
    intensity: float
    quality_focus: float
    demand_focus: float
    load_guard: float
    budget_guard: float

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict

# Create a small segment table with 3 segments
segment_table = pd.DataFrame({
    'segment_popularity': np.array([1.0, 2.0, 1.5])
})

# Create a small campaign table with 4 campaigns
campaign_table = pd.DataFrame({
    'preferred_segment': np.array([0, 1, 2, 0]),
    'value_per_incremental': np.array([10.0, 15.0, 12.0, 11.0]),
    'delivery_target': np.array([100.0, 150.0, 120.0, 110.0]),
    'budget': np.array([50.0, 75.0, 60.0, 55.0])
})

# Create the StreamingCase
case = StreamingCase(
    case='test_case',
    z_blocks=np.random.randn(2, 3),
    history_features=np.random.randn(5, 4),
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=1.5,
    member_scale=0.8,
    metadata={'key1': 1.0, 'key2': 2.0}
)

# Create policies
policy1 = Policy(
    name='aggressive',
    intensity=0.9,
    quality_focus=0.7,
    demand_focus=0.6,
    load_guard=0.5,
    budget_guard=0.4
)

policy2 = Policy(
    name='conservative',
    intensity=0.3,
    quality_focus=0.4,
    demand_focus=0.2,
    load_guard=0.8,
    budget_guard=0.9
)

policies = [policy1, policy2]

# Create lambdas array with shape (3,) for 3 constraints
lambdas = np.array([0.1, 0.2, 0.15])

ARGS = {
    'policies': policies,
    'case': case,
    'lambdas': lambdas
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
conformal_quantile Ran
ran; our contract draft was wrong, not the code
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("ced7de83db89a6f0")
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 float, 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 numpy as np

# Construct valid arguments for conformal_quantile
scores = np.array([0.1, 0.5, 0.3, 0.9, 0.2, 0.7], dtype=float)
alpha = 0.1

ARGS = {
    "scores": scores,
    "alpha": alpha,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
decision_scores Ran
ran, honoured the contract we drafted
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("dd03df7a5059c48c")
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 ndarray, ndim 1, dtype family float, shape (2,) 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

# Construct arguments for decision_scores function
# The function takes:
# - w: np.ndarray (weight matrix)
# - errors: np.ndarray (error matrix)
# Returns: np.ndarray of decision scores

# w is used in: errors @ w.T
# This means w should be 2D where the second dimension matches errors' second dimension
# errors @ w.T will have shape (errors.shape[0], w.shape[0])
# np.max(..., axis=1) reduces along axis 1, so we get shape (errors.shape[0],)

# Let's use:
# errors: shape (2, 4) - batch of 2, dimension 4
# w: shape (3, 4) - 3 weight vectors, each of dimension 4

np.random.seed(0)

w = np.random.randn(3, 4).astype(np.float32)
errors = np.random.randn(2, 4).astype(np.float32)

ARGS = {
    "w": w,
    "errors": errors,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 1, dtype family float, shape (2,) — shape (2,) 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
evaluate_policy Ran
ran; our contract draft was wrong, not the code
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("d3e1e851a080a450")
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 PolicyEvaluation. 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
from dataclasses import dataclass

@dataclass(frozen=True)
class Policy:
    name: str
    intensity: float
    quality_focus: float
    demand_focus: float
    load_guard: float
    budget_guard: float

@dataclass
class PolicyEvaluation:
    policy: str
    value: float
    constraints: np.ndarray
    delivery: float
    spend: float
    member_load: float

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict

# Create minimal segment_table
segment_table = pd.DataFrame({
    'segment_popularity': np.array([1.0, 2.0, 1.5, 0.5], dtype=float)
})

# Create minimal campaign_table with required columns
campaign_table = pd.DataFrame({
    'preferred_segment': np.array([0, 1, 2, 3], dtype=int),
    'value_per_incremental': np.array([10.0, 15.0, 12.0, 8.0], dtype=float),
    'delivery_target': np.array([100.0, 150.0, 120.0, 80.0], dtype=float),
    'budget': np.array([1000.0, 1500.0, 1200.0, 800.0], dtype=float),
    'max_member_load': np.array([50.0, 75.0, 60.0, 40.0], dtype=float)
})

# Create StreamingCase
case = StreamingCase(
    case='test_case',
    z_blocks=np.array([1.0, 2.0, 3.0, 4.0]),
    history_features=np.array([[1.0, 2.0], [3.0, 4.0]]),
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=0.8,
    member_scale=1.2,
    metadata={'key': 1.0}
)

# Create Policy
policy = Policy(
    name='test_policy',
    intensity=0.5,
    quality_focus=0.6,
    demand_focus=0.4,
    load_guard=0.1,
    budget_guard=0.2
)

# Create z vector (decision variables)
# n_segments = 4, so z should have 3*4 = 12 elements (inv, demand, qual per segment)
z = np.array([0.1, 0.2, 0.15, 0.25, 0.05, 0.08, 0.12, 0.06, 0.11, 0.09, 0.14, 0.07], dtype=float)

ARGS = {
    'policy': policy,
    'case': case,
    'z': z
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PolicyEvaluation — a PolicyEvaluation output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PolicyEvaluation 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
generic_scores Ran
ran, honoured the contract we drafted
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("ff908a458ca33ca5")
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 ndarray, ndim 1, dtype family float, shape (2,) 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

# Create a small errors array with shape (batch_size, error_dim)
# The function computes the norm along axis=1, so we need a 2D array
errors = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0]
], dtype=np.float32)

ARGS = {
    "errors": errors
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 1, dtype family float, shape (2,) — shape (2,) 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
nominal_dual_prices Ran
ran; our contract draft was wrong, not the code
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("1b1ae6ec4aeb18e8")
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 1, dtype family float, shape (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 numpy as np
import pandas as pd
from dataclasses import dataclass

@dataclass(frozen=True)
class Policy:
    name: str
    intensity: float
    quality_focus: float
    demand_focus: float
    load_guard: float
    budget_guard: float

@dataclass
class PolicyEvaluation:
    policy: str
    value: float
    constraints: np.ndarray
    delivery: float
    spend: float
    member_load: float

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict

# Build small segment table
segment_table = pd.DataFrame({
    'segment_popularity': np.array([1.2, 0.8, 1.1, 0.9])
})

# Build small campaign table
campaign_table = pd.DataFrame({
    'preferred_segment': np.array([0, 1, 2, 1]),
    'value_per_incremental': np.array([10.0, 15.0, 12.0, 11.0]),
    'delivery_target': np.array([100.0, 150.0, 120.0, 110.0]),
    'budget': np.array([50.0, 75.0, 60.0, 55.0]),
    'max_member_load': np.array([5.0, 7.5, 6.0, 5.5])
})

# Build streaming case
case = StreamingCase(
    case='test_case',
    z_blocks=np.random.randn(12),
    history_features=np.random.randn(8, 4),
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=0.5,
    member_scale=0.3,
    metadata={'key': 1.0}
)

# Build policies
policies = [
    Policy(
        name='policy_1',
        intensity=0.7,
        quality_focus=0.4,
        demand_focus=0.6,
        load_guard=2.0,
        budget_guard=1.5
    ),
    Policy(
        name='policy_2',
        intensity=0.9,
        quality_focus=0.5,
        demand_focus=0.5,
        load_guard=2.5,
        budget_guard=1.8
    )
]

# Build z_hat vector matching expected dimensions (3 segments * 3 coord types = 9 values)
z_hat = np.random.randn(12)

ARGS = {
    'policies': policies,
    'case': case,
    'z_hat': z_hat
}
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 ndarray, ndim 1, dtype family float, shape (3,) — shape (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
policy_coefficients Ran
ran; our contract draft was wrong, not the code
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("2499e795b51358ae")
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. 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
from dataclasses import dataclass

@dataclass(frozen=True)
class Policy:
    name: str
    intensity: float
    quality_focus: float
    demand_focus: float
    load_guard: float
    budget_guard: float

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict[str, float]

# Create a minimal Policy instance
policy = Policy(
    name="test_policy",
    intensity=0.75,
    quality_focus=0.6,
    demand_focus=0.5,
    load_guard=2.0,
    budget_guard=1.5
)

# Create segment_table with required column
n_segments = 4
segment_table = pd.DataFrame({
    'segment_popularity': np.array([1.0, 1.5, 0.8, 1.2])
})

# Create campaign_table with required columns
campaign_table = pd.DataFrame({
    'preferred_segment': np.array([0, 1, 2, 1, 3]),
    'value_per_incremental': np.array([10.0, 15.0, 8.0, 12.0, 20.0]),
    'delivery_target': np.array([100.0, 150.0, 80.0, 120.0, 200.0]),
    'budget': np.array([50.0, 75.0, 40.0, 60.0, 100.0])
})

# Create StreamingCase instance
streaming_case = StreamingCase(
    case="test_case",
    z_blocks=np.zeros((2, 3)),
    history_features=np.zeros((3, 4)),
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=0.95,
    member_scale=1.1,
    metadata={"key1": 0.5, "key2": 0.3}
)

ARGS = {
    "policy": policy,
    "case": streaming_case
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
policy_targets Ran
ran, honoured the contract we drafted
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("a0e03e242ca543c3")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np
import pandas as pd
from dataclasses import dataclass

@dataclass(frozen=True)
class StreamingCase:
    case: str
    z_blocks: np.ndarray
    history_features: np.ndarray
    segment_table: pd.DataFrame
    campaign_table: pd.DataFrame
    response_scale: float
    member_scale: float
    metadata: dict

# Create minimal valid data structures
z_blocks = np.random.randn(2, 4)
history_features = np.random.randn(3, 5)

segment_table = pd.DataFrame({
    'segment_id': [1, 2],
    'size': [100, 200]
})

campaign_table = pd.DataFrame({
    'delivery_target': [1000.0, 500.0],
    'budget': [5000.0, 3000.0],
    'max_member_load': [100.0, 150.0]
})

streaming_case = StreamingCase(
    case='test_case',
    z_blocks=z_blocks,
    history_features=history_features,
    segment_table=segment_table,
    campaign_table=campaign_table,
    response_scale=1.5,
    member_scale=2.0,
    metadata={'key1': 0.5, 'key2': 1.2}
)

ARGS = {
    'case': streaming_case
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (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
Policy Not yet run
unverified (harvested, no recorded run)
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("4f0d15e65ff0dada")
How it ran

no invocation recorded.

PolicyEvaluation Not yet run
unverified (harvested, no recorded run)
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("f795e4d070f0583e")
How it ran

no invocation recorded.

StreamingCase Not yet run
unverified (harvested, no recorded run)
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("a1e2e4d2a9e6d112")
How it ran

no invocation recorded.

calibrate_radii Not yet run
unverified (harvested, no recorded run)
p-shekhar/pacing-decisions-advertising/src/pacing.py
code served (permissive licence) · get_code("3b9ef301c8f9411b")
How it ran

no invocation recorded.

Also present in other papers' code

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

We develop a decision-calibrated conformal framework for pacing decisions in streaming advertising. Pacing depends on uncertain future inventory, demand pressure, incremental response, and member-experience load. Instead of calibrating a generic forecast residual, the framework measures forecast error by its largest impact on the policies that could actually be deployed. The main theorem shows that the proposed score is the smallest valid uncertainty measure that uniformly protects all deployable pacing policies. Geometrically, it is the support function of the signed policy sensitivity set. Split conformal calibration gives finite-sample coverage for this score. A high-dimensional separation theorem shows that traditional residual calibration can be arbitrarily more conservative by paying for nuisance inventory dimensions, and a robust pacing result combines inventory, response, and experience uncertainty. On public-data-calibrated pacing replays built from Criteo Uplift and KuaiRand datasets, traditional conformal pacing remains unresolved with high residual radii of 7236.7 on Criteo and 4629.4 on KuaiRand. With the proposed decision calibration approach, the uncertainty radii are reduced to 18.4 and 278.6 respectively, with separate margins for value, delivery, budget, and member load. On Criteo, the proposed method certifies a less aggressive pacing policy than the point-forecast baseline, and reduces held-out any-violation rate from 16.7% to 3.3%, with zero budget and member-load violations. On KuaiRand, the choice remains unresolved. Across forecasters, the lowest test MAE doesn't necessarily give the smallest pacing radius. Although a simple temporal-Transformer model attains minimum Criteo MAE, seasonal ridge forecast model attains the smallest uncertainty radius. In a nutshell, the paper establishes that forecasts, response estimates, and member-experience models should be judged by whether they shrink the uncertainty that the pacing decision uses, as this leads to confident decisions that are not overly conservative.

For agents

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

get_harvested_code_for_paper("2606.10187")
get_code_for_paper("2606.10187")
have("2606.10187")

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

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

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

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

Connect an agent — have() is free.