RunEconomy Experiment Report

Intervention Tested

vLLM can reuse cached prompt tokens while a new prompt matches a previous prompt from the beginning. In the baseline, changing metadata appeared first, so the shared prefix ended immediately. The candidate moved that metadata after the stable instructions.

Baseline
Stable instructions
Stable instructions

First tokens differ, so the shared prefix stops early.

Candidate
Stable instructions
Stable instructions

Stable instructions form a reusable shared prefix.

Synthetic labels show ordering only. No private prompt content is included.

Why this might help: A longer stable prefix may allow more prompt tokens to be reused from cache.

Control: The prompt content stayed the same. Only the block order changed.

Results

Cached input tokens

+105

More prompt tokens were served from cache.

Server time to first token

9 ms lower

The first token arrived sooner at the server.

Workflow latency

62 ms lower

Successful task pairs completed sooner.

Important: Measured across the 36 task pairs where both variants succeeded. These measurements are not a verified improvement until the quality requirements pass.

Cache reuse by agent call

Agent callMean cached input tokens across both-successful pairs
Planning callBaseline 0.00, candidate 108.89, difference 108.89 cached tokens
Final answer callBaseline 196.00, candidate 192.44, difference -3.56 cached tokens

Verdict

Result not verified

The candidate showed better cache reuse and lower measured latency, but this experiment did not establish the task-quality evidence required for a verified performance claim.

Verdict: Invalid

Invalid does not mean the candidate was slower. It means the attractive measurements were not eligible to become a verified improvement or regression claim.

Was the baseline workload reliable enough?

MeasureRecorded result
Required lower confidence bound80.00%
Observed baseline lower bound79.61%
ResultFailed by 0.39 percentage points

The baseline succeeded on 37 of 40 tasks. With only 40 tasks, the lower confidence bound remained slightly below the required threshold.

Did the candidate preserve task quality?

MeasureRecorded result
Maximum allowed regression10.00 percentage points
Observed lower-bound differencenegative 12.55 percentage points
ResultFailed by 2.55 percentage points

The candidate's observed success rate was higher, but the uncertainty was too wide to rule out a regression larger than the allowed margin.

  1. Evidence usable?Passed
  2. Baseline reliable enough?Failed
  3. Performance claimNot eligible for verification

Recommended next step: Do not present this candidate as a verified latency improvement. Establish a more reliable baseline and test the intervention on a new, sufficiently powered held-out workload. The current 40-task workload has been consumed and cannot be reused as fresh evidence.

Experiment Details

Each task gave the agent a code clue and a bounded set of repository files. The agent planned a search, used a repository-search tool and identified the enclosing Python function or class.

Experiment factRecorded value
Task families13 direct-call lookup tasks, 13 docstring lookup tasks and 14 unique-string lookup tasks
Paired workload40 baseline and candidate pairs, 80 total attempts
Workflow2 model calls and 1 repository-search tool call per attempt
EnvironmentQwen2.5-7B-Instruct, vLLM 0.33.0, Modal A10
ExecutionChat Completions, colocated driver and sequential execution

Controls: The model, backend, hardware, agent, tasks, evaluator and acceptance rules were chosen and locked before the held-out workload was run.

Acceptance checks
FieldRecorded value
trace_and_environment_identityPassed. Threshold: every attempt has an explicit complete DAG and each variant has complete, stable environment identity. Observed: Baseline: complete DAG count 40, complete DAG rate 1.0, environment identity complete yes, environment identity stable yes, valid trace count 40. Candidate: complete DAG count 40, complete DAG rate 1.0, environment identity complete yes, environment identity stable yes, valid trace count 40
baseline_minimum_task_successFailed. Threshold: 0.8. Observed: 0.7961352512671009 to 0.9842578201489585
candidate_minimum_task_successPassed. Threshold: 0.8. Observed: 0.8308031360405823 to 0.9938863534006492
task_success_noninferiorityFailed. Threshold: -0.1. Observed: candidate minus baseline mean 0.025, confidence interval -0.14498205538583642 to 0.18780457959853636, confidence level 0.95, method exact marginal binomial bounds with Bonferroni coverage, one sided lower bound -0.12547221188341495, outcome counts (baseline only 1, both failure 1, both success 36, candidate only 2), paired count 40
baseline_completionPassed. Threshold: 1.0. Observed: 1.0
candidate_completionPassed. Threshold: 1.0. Observed: 1.0
successful_task_workflow_latency_improvementPassed. Threshold: upper bound of paired 95% Student-t interval < 0. Observed: available yes, candidate minus baseline mean -62.43227297222221, confidence interval -123.85694821653173 to -1.0075977279126818, confidence level 0.95, method paired Student-t interval, paired count 36
successful_task_workflow_latency_non_regressionPassed. Threshold: lower bound of paired 95% Student-t interval <= 0. Observed: available yes, candidate minus baseline mean -62.43227297222221, confidence interval -123.85694821653173 to -1.0075977279126818, confidence level 0.95, method paired Student-t interval, paired count 36
Statistical details
FieldRecorded value
Cached Input TokensMean candidate minus baseline: 105.333. 95% interval: 98.648 to 112.018. Pairs: 36
Client Ttft MsMean candidate minus baseline: -9.386. 95% interval: -12.206 to -6.566. Pairs: 36
Cost UsdMean candidate minus baseline: Unknown. 95% interval: Unknown. Pairs: 0
Critical Path MsMean candidate minus baseline: -61.980. 95% interval: -123.439 to -0.522. Pairs: 36
Decode MsMean candidate minus baseline: Unknown. 95% interval: Unknown. Pairs: 0
Gpu Time MsMean candidate minus baseline: Unknown. 95% interval: Unknown. Pairs: 0
Inference Span MsMean candidate minus baseline: -61.914. 95% interval: -123.346 to -0.483. Pairs: 36
Input TokensMean candidate minus baseline: -3.444. 95% interval: -5.311 to -1.578. Pairs: 36
Output TokensMean candidate minus baseline: -1.556. 95% interval: -3.419 to 0.308. Pairs: 36
Prefill MsMean candidate minus baseline: Unknown. 95% interval: Unknown. Pairs: 0
Queue MsMean candidate minus baseline: -0.040. 95% interval: -0.334 to 0.254. Pairs: 36
Retrieval Span MsMean candidate minus baseline: Unknown. 95% interval: Unknown. Pairs: 0
Server Ttft MsMean candidate minus baseline: -9.075. 95% interval: -11.846 to -6.304. Pairs: 36
Tool Span MsMean candidate minus baseline: -0.066. 95% interval: -0.199 to 0.067. Pairs: 36
Workflow Latency MsMean candidate minus baseline: -62.432. 95% interval: -123.857 to -1.008. Pairs: 36
Paired task successMean candidate minus baseline: 2.50 percentage points. 95% interval: -14.50 percentage points to 18.78 percentage points. One-sided lower bound: -12.55 percentage points. Method: exact marginal binomial bounds with Bonferroni coverage
Planning callBaseline mean: 0.00. Candidate mean: 108.89. Difference: 108.89 cached tokens. Pairs: 36
Final answer callBaseline mean: 196.00. Candidate mean: 192.44. Difference: -3.56 cached tokens. Pairs: 36
Environment and provenance
FieldRecorded value
Api Dialectchat_completions
Backendvllm
Backend Version0.33.0
Chat Template Digestsha256:cd8e9439f0570856fd70470bf8889ebd8b5d1107207f67a5efb46e342330527f
Driver Locationsame Modal container as vLLM
Engine Configuration{"block_size": 16, "gpu_memory_utilization": 0.85, "max_model_len": 8192, "max_num_seqs": 8}
HardwareA10
ModelQwen/Qwen2.5-7B-Instruct
Model Revisiona09a35458c702b33eeacc393d103063234e8bc28
TokenizerQwen/Qwen2.5-7B-Instruct
Tokenizer Revisiona09a35458c702b33eeacc393d103063234e8bc28
Agent hashsha256:e6f42c619f15be192512d234ee21b623a09e69402a62ab16516190c9ea348dcb
Comparison hashsha256:d8df549ebcb7d814aa1d70b02e2d9c482830e02d7812a40376d1c8161dd31e8f
Driver hashsha256:1a6a589353e5352116a58ee446493fbc83c486f4fc7634a49483ac81b474b1b1
Environment Identity hashsha256:a62037eec6d2c8d31743f404018469cb8d42c9359b1fe5a84f1e0053c86638ef
Evaluator hashsha256:8f6f0ac64145392fd9f2086705345871628fce3957bae810f5cd551be4b02dba
Experiment Design hashsha256:51975b24f8792f6f9ab453fb6a2fcba84ab1247e9f1a230e3ca0b9910564a48e
Private Result hashsha256:783c08972d972b2cc7aad610c13d9df934d8f4c573915ad6423ebaf74402aa99
Status Protocol hashsha256:b3885985bfa88510d901600b28e3d6341427b2390b3dedb2c16ccd124e68e723
Workload hashsha256:85e53d2d2f2ab108b5bc83e27947a67d710ed53326a89467005630dea3bddf61
Evidence integrity
FieldRecorded value
Attempt Count80
Attempt Status Schema Versions['0.1']
Complete Dag Count80
Environment Identity CompleteTrue
Environment Identity StableTrue
Generated Content IncludedFalse
Raw Attempts IncludedFalse
Valid Trace Count80
Evaluator Failure0
Invalid Trace0
Process Or Infrastructure Failure0
Task Quality Failure5
Timeout0
Limitations
FieldRecorded value
Supported claimRunEconomy rejected an apparently faster, more cache-efficient candidate because the frozen successful-task quality requirements were not established.
Claims not supporteda verified performance improvement, universal model behavior, production-concurrency performance, superiority over another tool
LimitationsOne pinned model revision, vLLM version, A10 hardware class, and repository-analysis workload were evaluated. Execution was sequential and colocated. Production concurrency and multi-replica routing were not tested. Continuous effects use only the 36 task pairs where both variants succeeded. Workflow latency includes process startup and agent execution but excludes evaluator time. Prefill, decode, retrieval, cost, and GPU-time effects were unavailable and remain unknown rather than zero. The 40-task held-out workload is consumed and cannot be reused as fresh held-out evidence. External readers can audit the aggregate arithmetic, gate logic, provenance hashes, and claim boundary, but cannot independently recompute the experiment without the private raw tasks and traces.
Artifact sourcesrc/runeconomy/data/public-proof-rejection.json