Publish V4 beta.2 live Track B domains
Browse filesKeep Track A unchanged; publish four complete live Track B domains; temporarily remove Track C. Evaluator-only private artifacts are public by explicit project-owner approval and remain excluded from router input.
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +5 -0
- README.md +124 -16
- checksums.sha256 +0 -0
- data/track_b_tasks/full.parquet +2 -2
- docs/EVALUATION.md +5 -4
- docs/LIMITATIONS.md +3 -2
- release_manifest.json +1 -1
- track_b_package_report.json +1 -1
- track_b_packets/code_debugging/code-bugsinpy-black-3/manifest.json +31 -2
- track_b_packets/code_debugging/code-bugsinpy-black-3/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-black-3/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-black-3/private/reference.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-black-3/private/test_contract_audit.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/manifest.json +31 -2
- track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/reference.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/test_contract_audit.json +19 -0
- track_b_packets/code_debugging/code-bugsinpy-fastapi-10/manifest.json +31 -2
- track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/reference.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/test_contract_audit.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/manifest.json +38 -2
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/baseline_verification.json +97 -0
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/gold.patch +14 -0
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/reference.json +18 -0
- track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/test_contract_audit.json +19 -0
- track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/manifest.json +31 -2
- track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/reference.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/test_contract_audit.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-scrapy-37/manifest.json +31 -2
- track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/packet_content_review.json +26 -0
- track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/reference.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/test_contract_audit.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/manifest.json +38 -2
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/baseline_verification.json +24 -0
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/packet_content_review.json +25 -0
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/reference.json +18 -0
- track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/test_contract_audit.json +17 -0
- track_b_packets/code_debugging/code-bugsinpy-tornado-9/manifest.json +38 -2
- track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/baseline_verification.json +78 -0
- track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/gold.patch +13 -0
- track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/packet_content_review.json +25 -0
- track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/reference.json +18 -0
.gitattributes
CHANGED
|
@@ -58,4 +58,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/public/cases/case_1/input.xlsx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/private/cases/case_1/answer.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/private/cases/case_2/answer.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/private/cases/case_2/input.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/private/cases/case_3/answer.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/private/cases/case_3/input.xlsx filter=lfs diff=lfs merge=lfs -text
|
| 66 |
track_b_packets/structured_data_processing/sdp-spreadsheetbench-41-47/public/cases/case_1/input.xlsx filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -2,16 +2,34 @@
|
|
| 2 |
license: other
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
pretty_name: RoutingBench V4-beta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
size_categories:
|
| 7 |
- 1K<n<10K
|
| 8 |
tags:
|
| 9 |
- multi-agent
|
|
|
|
| 10 |
- agent-routing
|
|
|
|
|
|
|
| 11 |
- orchestration
|
| 12 |
- dynamic-routing
|
| 13 |
- live-trajectories
|
| 14 |
- tool-use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
configs:
|
| 16 |
- config_name: router_state
|
| 17 |
default: true
|
|
@@ -88,14 +106,15 @@ configs:
|
|
| 88 |
path: data/track_b_provenance/full.parquet
|
| 89 |
---
|
| 90 |
|
| 91 |
-
# RoutingBench V4-beta
|
| 92 |
|
| 93 |
-
RoutingBench
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
|
|
|
| 99 |
|
| 100 |
This is **version 4.0.0-beta.2**. It keeps Track A unchanged and replaces the
|
| 101 |
earlier simulated Track B export with 82 live trajectories from four task
|
|
@@ -164,19 +183,109 @@ updated.
|
|
| 164 |
| `track_b_runs` | 4 | Analysis public | Domain-level run provenance and headline metrics |
|
| 165 |
| `track_b_provenance` | 82 | Analysis public | Source revision, record identifier, generator, checksum, and license |
|
| 166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
The runnable packet trees are under:
|
| 168 |
|
| 169 |
```text
|
| 170 |
track_b_packets/<domain>/<packet_id>/
|
| 171 |
├── manifest.json
|
| 172 |
├── public/ # router/executor-visible task artifacts
|
| 173 |
-
|
|
|
|
| 174 |
```
|
| 175 |
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
|
|
|
| 180 |
|
| 181 |
## Loading
|
| 182 |
|
|
@@ -286,7 +395,8 @@ complete 20-episode live run, so no replacement run was needed for this release.
|
|
| 286 |
|
| 287 |
- 82/82 Track B packets have a canonical live episode.
|
| 288 |
- Formal-proof manifests validate after the review update (30/30).
|
| 289 |
-
- Public task artifacts
|
|
|
|
| 290 |
- Compact trajectory rows retain routing choices, probabilities, timing,
|
| 291 |
budget, dispatch status, event status, and state hashes without publishing raw
|
| 292 |
model prompts or outputs.
|
|
@@ -299,8 +409,6 @@ complete 20-episode live run, so no replacement run was needed for this release.
|
|
| 299 |
|
| 300 |
- Track B has no sealed test split and should not be used for hidden-leaderboard
|
| 301 |
claims.
|
| 302 |
-
- The public Hub package does not contain private oracle artifacts, so exact
|
| 303 |
-
trusted-score reproduction requires the matching frozen project harness.
|
| 304 |
- New Track B live states do not yet have human valid-action labels.
|
| 305 |
- Structured-data packet human review is pending and its executor creates a
|
| 306 |
strong outcome floor.
|
|
|
|
| 2 |
license: other
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
pretty_name: "RoutingBench V4-beta: Multi-Agent Dynamic Routing Benchmark"
|
| 6 |
+
annotations_creators:
|
| 7 |
+
- expert-generated
|
| 8 |
+
multilinguality:
|
| 9 |
+
- monolingual
|
| 10 |
+
source_datasets:
|
| 11 |
+
- extended
|
| 12 |
size_categories:
|
| 13 |
- 1K<n<10K
|
| 14 |
tags:
|
| 15 |
- multi-agent
|
| 16 |
+
- multi-agent-systems
|
| 17 |
- agent-routing
|
| 18 |
+
- llm-routing
|
| 19 |
+
- slm
|
| 20 |
- orchestration
|
| 21 |
- dynamic-routing
|
| 22 |
- live-trajectories
|
| 23 |
- tool-use
|
| 24 |
+
- agent-evaluation
|
| 25 |
+
- benchmark
|
| 26 |
+
- datasets
|
| 27 |
+
- text
|
| 28 |
+
- tabular
|
| 29 |
+
- code-debugging
|
| 30 |
+
- formal-proof
|
| 31 |
+
- database-migration
|
| 32 |
+
- spreadsheet
|
| 33 |
configs:
|
| 34 |
- config_name: router_state
|
| 35 |
default: true
|
|
|
|
| 106 |
path: data/track_b_provenance/full.parquet
|
| 107 |
---
|
| 108 |
|
| 109 |
+
# RoutingBench V4-beta: Multi-Agent Dynamic Routing Benchmark
|
| 110 |
|
| 111 |
+
RoutingBench is a benchmark for **LLM/decision-model routing**, **multi-agent
|
| 112 |
+
orchestration**, and coordination of **small language model (SLM) or
|
| 113 |
+
deterministic executors** on multi-step tasks. A router observes the public
|
| 114 |
+
state, selects one role or `STOP`, and receives the observable consequence of
|
| 115 |
+
that action. The environment preserves action consequences, separates
|
| 116 |
+
router-visible artifacts from evaluator-only artifacts, and reports routing
|
| 117 |
+
behavior separately from final task correctness.
|
| 118 |
|
| 119 |
This is **version 4.0.0-beta.2**. It keeps Track A unchanged and replaces the
|
| 120 |
earlier simulated Track B export with 82 live trajectories from four task
|
|
|
|
| 183 |
| `track_b_runs` | 4 | Analysis public | Domain-level run provenance and headline metrics |
|
| 184 |
| `track_b_provenance` | 82 | Analysis public | Source revision, record identifier, generator, checksum, and license |
|
| 185 |
|
| 186 |
+
## Agent-pool design
|
| 187 |
+
|
| 188 |
+
Each domain exposes the complete role pool plus `STOP` at every routing step.
|
| 189 |
+
The environment does not prescribe a fixed role order or a single workflow.
|
| 190 |
+
Role cards define a bounded implementation contract through `role_goal`,
|
| 191 |
+
`use_when`, `avoid_when`, supported inputs, tools, and expected outputs; they do
|
| 192 |
+
not tell the router which role must be selected next. The router may revisit a
|
| 193 |
+
role, skip a role, branch after new evidence, recover from failure, or stop.
|
| 194 |
+
|
| 195 |
+
The pools intentionally separate evidence collection, artifact authoring,
|
| 196 |
+
execution, diagnosis, repair, and verification. This creates alternative valid
|
| 197 |
+
workflows while preserving role accountability: an inspector cannot claim an
|
| 198 |
+
execution result, an author cannot claim validation, and a verifier evaluates
|
| 199 |
+
the current artifact rather than silently replacing it.
|
| 200 |
+
|
| 201 |
+
### Database migration and integrity — 10 roles
|
| 202 |
+
|
| 203 |
+
| Role | Contract boundary |
|
| 204 |
+
|---|---|
|
| 205 |
+
| Schema Inspector | Materialize schema, index, trigger, foreign-key, and migration-history evidence without mutation. |
|
| 206 |
+
| Data Profiler | Measure nulls, duplicates, orphan rows, types, and distributions relevant to migration safety. |
|
| 207 |
+
| Constraint Analyzer | Analyze invariants and concrete foreign-key, uniqueness, or check-constraint failures. |
|
| 208 |
+
| Migration Planner | Plan operation ordering, transaction boundaries, and rollback boundaries from visible evidence. |
|
| 209 |
+
| Data Repair Planner | Design the smallest justified backfill, deduplication, remapping, or orphan repair. |
|
| 210 |
+
| SQL Migration Author | Produce the smallest evidence-grounded SQLite migration candidate; does not execute it. |
|
| 211 |
+
| Transactional Dry-run Executor | Execute the current candidate on an isolated copy and preserve its trace and consequences. |
|
| 212 |
+
| Integrity Validator | Check target schema, invariants, rows, foreign keys, and regression queries on the executed artifact. |
|
| 213 |
+
| Query Performance Auditor | Inspect query plans or explicit performance constraints when the task requires them. |
|
| 214 |
+
| Snapshot & Rollback Operator | Create or restore explicit database snapshots; recovery remains an observable routed action. |
|
| 215 |
+
|
| 216 |
+
Possible trajectories include direct inspect–author–execute–validate, a
|
| 217 |
+
profile/constraint branch before authoring, data-repair planning, repeated
|
| 218 |
+
author–dry-run–diagnose cycles, performance audit, or explicit snapshot recovery.
|
| 219 |
+
|
| 220 |
+
### Code debugging — 6 roles
|
| 221 |
+
|
| 222 |
+
| Role | Contract boundary |
|
| 223 |
+
|---|---|
|
| 224 |
+
| Repository Test Reproducer | Prepare the pinned checkout and establish a fresh baseline with the supplied reproducer. |
|
| 225 |
+
| Failure Diagnostician | Explain a concrete failure mechanism from execution or repair evidence without changing source. |
|
| 226 |
+
| Patch Author | Produce the smallest justified unified diff from visible source, tests, and diagnostics. |
|
| 227 |
+
| Regression Verifier | Run the public regression contract against the exact current candidate. |
|
| 228 |
+
| Verified Patch Consumer | Promote an exactly verified candidate into the downstream workflow artifact when packaging is needed. |
|
| 229 |
+
| Patch Finalizer | Commit the verified downstream patch as the final deliverable after all visible requirements are satisfied. |
|
| 230 |
+
|
| 231 |
+
The router can choose reproduction before diagnosis, diagnose after a failed
|
| 232 |
+
patch, iterate patch and verification, or omit optional packaging roles when the
|
| 233 |
+
task contract does not require them. Promotion and finalization cannot substitute
|
| 234 |
+
for fresh regression evidence.
|
| 235 |
+
|
| 236 |
+
### Formal proof — 7 roles
|
| 237 |
+
|
| 238 |
+
| Role | Contract boundary |
|
| 239 |
+
|---|---|
|
| 240 |
+
| Proof State Inspector | Read the Lean goal, hypotheses, source, and compiler diagnostics without editing the proof. |
|
| 241 |
+
| Premise and Lemma Retriever | Identify applicable visible hypotheses and Mathlib lemmas without claiming compilation. |
|
| 242 |
+
| Tactic Synthesizer | Construct a candidate Lean proof from the current goal and evidence. |
|
| 243 |
+
| Proof Repair Specialist | Revise a failed candidate using the latest compiler diagnostic while preserving the theorem statement. |
|
| 244 |
+
| Lean Compiler Executor | Compile the current candidate in the pinned Lean/Mathlib environment. |
|
| 245 |
+
| Kernel and Assumption Verifier | Confirm closure without `sorry`, `admit`, forbidden placeholders, or added assumptions. |
|
| 246 |
+
| Formal Failure Diagnostician | Explain concrete compiler/proof failures and derive repair constraints. |
|
| 247 |
+
|
| 248 |
+
Valid workflows may retrieve lemmas before synthesis, synthesize directly from
|
| 249 |
+
the goal, diagnose after compilation, perform several repair–compile cycles, or
|
| 250 |
+
verify immediately after a clean compile. Compilation and kernel/assumption
|
| 251 |
+
verification remain separate evidence stages.
|
| 252 |
+
|
| 253 |
+
### Structured data processing — 10 roles
|
| 254 |
+
|
| 255 |
+
| Role | Contract boundary |
|
| 256 |
+
|---|---|
|
| 257 |
+
| Workbook Surveyor | Inspect sheets, dimensions, values, formulas, and styles without modifying the input. |
|
| 258 |
+
| Data Quality Profiler | Measure missing values, row types, key multiplicity, and other transformation-relevant properties. |
|
| 259 |
+
| Formula Dependency Analyst | Inspect formulas and dependencies that may be affected by workbook changes. |
|
| 260 |
+
| Table Reshaping Specialist | Author reusable grouping, filtering, joining, sorting, or reshaping transformations. |
|
| 261 |
+
| Formula Computation Specialist | Author reusable transformations dominated by formulas or calculated-field semantics. |
|
| 262 |
+
| Cross-sheet Reconciler | Reconcile identifiers or values across sheets while preserving unrelated content. |
|
| 263 |
+
| Formatting & Presentation Specialist | Implement styles, number formats, layout, or presentation requirements. |
|
| 264 |
+
| Workbook Repair Specialist | Revise a failed candidate from concrete public execution or validation evidence. |
|
| 265 |
+
| Workbook Test Executor | Run the current candidate in the restricted Python/OpenPyXL public runner. |
|
| 266 |
+
| Workbook Integrity Validator | Check a fresh public output against deterministic transformation and preservation constraints. |
|
| 267 |
+
|
| 268 |
+
Task archetypes—aggregation, cleaning, formatting, formula/dependency, and
|
| 269 |
+
reshape/join—activate different authoring roles. The router can survey or profile
|
| 270 |
+
first, combine cross-sheet and formula analysis, test early, repair after either
|
| 271 |
+
execution or semantic validation failure, and decide when a fresh validation is
|
| 272 |
+
sufficient for `STOP`.
|
| 273 |
+
|
| 274 |
The runnable packet trees are under:
|
| 275 |
|
| 276 |
```text
|
| 277 |
track_b_packets/<domain>/<packet_id>/
|
| 278 |
├── manifest.json
|
| 279 |
├── public/ # router/executor-visible task artifacts
|
| 280 |
+
├── fixtures/ # pinned source/provenance fixtures
|
| 281 |
+
└── private/ # evaluator-only reference and oracle material
|
| 282 |
```
|
| 283 |
|
| 284 |
+
This is a transparent public beta: private reference proofs, gold patches,
|
| 285 |
+
answer workbooks, and oracle files are downloadable, but **evaluator-only**.
|
| 286 |
+
Their visibility label is a benchmark protocol boundary, not repository access
|
| 287 |
+
control. Never pass `private/`, `track_b_results`, or Track A label rows to the
|
| 288 |
+
router.
|
| 289 |
|
| 290 |
## Loading
|
| 291 |
|
|
|
|
| 395 |
|
| 396 |
- 82/82 Track B packets have a canonical live episode.
|
| 397 |
- Formal-proof manifests validate after the review update (30/30).
|
| 398 |
+
- Public task artifacts and evaluator-only private artifacts are packaged in
|
| 399 |
+
separate directories with explicit visibility boundaries.
|
| 400 |
- Compact trajectory rows retain routing choices, probabilities, timing,
|
| 401 |
budget, dispatch status, event status, and state hashes without publishing raw
|
| 402 |
model prompts or outputs.
|
|
|
|
| 409 |
|
| 410 |
- Track B has no sealed test split and should not be used for hidden-leaderboard
|
| 411 |
claims.
|
|
|
|
|
|
|
| 412 |
- New Track B live states do not yet have human valid-action labels.
|
| 413 |
- Structured-data packet human review is pending and its executor creates a
|
| 414 |
strong outcome floor.
|
checksums.sha256
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/track_b_tasks/full.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7d94b569413af8580128b966abc8758ac70847639680793ee45ee98c9ca6669
|
| 3 |
+
size 113584
|
docs/EVALUATION.md
CHANGED
|
@@ -5,10 +5,11 @@ For Track A, only `router_state`, `router_structured`,
|
|
| 5 |
`track_a_labels` evaluator-only.
|
| 6 |
|
| 7 |
For Track B, expose the selected packet's `public/` directory and the matching
|
| 8 |
-
rows from `track_b_tasks` and `track_b_agents`.
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
Report Track A and Track B separately and do not combine them with utility
|
| 14 |
weights. Report trajectory success, independent end-task success, routing
|
|
|
|
| 5 |
`track_a_labels` evaluator-only.
|
| 6 |
|
| 7 |
For Track B, expose the selected packet's `public/` directory and the matching
|
| 8 |
+
rows from `track_b_tasks` and `track_b_agents`. Although the transparent beta
|
| 9 |
+
publishes packet `private/` directories, keep them and `track_b_results`
|
| 10 |
+
evaluator-only. Repository visibility does not authorize including oracle data
|
| 11 |
+
in a router prompt. `track_b_trajectories` is an analysis export, not an input
|
| 12 |
+
for rerunning the same episode.
|
| 13 |
|
| 14 |
Report Track A and Track B separately and do not combine them with utility
|
| 15 |
weights. Report trajectory success, independent end-task success, routing
|
docs/LIMITATIONS.md
CHANGED
|
@@ -14,5 +14,6 @@ floor effect, so use its milestone bundle rather than hard pass alone.
|
|
| 14 |
Track C is temporarily removed and will return after redesign and review.
|
| 15 |
|
| 16 |
Private reference proofs, gold patches, answer workbooks, and oracle files are
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
| 14 |
Track C is temporarily removed and will return after redesign and review.
|
| 15 |
|
| 16 |
Private reference proofs, gold patches, answer workbooks, and oracle files are
|
| 17 |
+
public for transparent reproduction. This increases contamination and answer
|
| 18 |
+
lookup risk; valid benchmark runs must enforce the declared public/private
|
| 19 |
+
visibility boundary in the harness.
|
release_manifest.json
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
"track_b_packet_root": "track_b_packets",
|
| 87 |
"track_b_packet_count": 82,
|
| 88 |
"track_b_canonical_live_episode_count": 82,
|
| 89 |
-
"track_b_private_evaluator_artifacts_included":
|
| 90 |
"track_b_raw_model_outputs_included": false,
|
| 91 |
"human_review": {
|
| 92 |
"packet_review_complete_domains": [
|
|
|
|
| 86 |
"track_b_packet_root": "track_b_packets",
|
| 87 |
"track_b_packet_count": 82,
|
| 88 |
"track_b_canonical_live_episode_count": 82,
|
| 89 |
+
"track_b_private_evaluator_artifacts_included": true,
|
| 90 |
"track_b_raw_model_outputs_included": false,
|
| 91 |
"human_review": {
|
| 92 |
"packet_review_complete_domains": [
|
track_b_package_report.json
CHANGED
|
@@ -25,5 +25,5 @@
|
|
| 25 |
"structured_data_processing": "pending",
|
| 26 |
"routing_decision_labels": "pending_all_domains"
|
| 27 |
},
|
| 28 |
-
"private_evaluator_artifacts_published":
|
| 29 |
}
|
|
|
|
| 25 |
"structured_data_processing": "pending",
|
| 26 |
"routing_decision_labels": "pending_all_domains"
|
| 27 |
},
|
| 28 |
+
"private_evaluator_artifacts_published": true
|
| 29 |
}
|
track_b_packets/code_debugging/code-bugsinpy-black-3/manifest.json
CHANGED
|
@@ -81,6 +81,36 @@
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
"public_files": [
|
| 85 |
{
|
| 86 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -106,6 +136,5 @@
|
|
| 106 |
],
|
| 107 |
"seed": 0,
|
| 108 |
"source_type": "bugsinpy_upstream",
|
| 109 |
-
"task": "The pinned `black` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 110 |
-
"private_files": []
|
| 111 |
}
|
|
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
| 84 |
+
"private_files": [
|
| 85 |
+
{
|
| 86 |
+
"artifact_id": "private-gold.patch",
|
| 87 |
+
"media_type": "text/x-diff",
|
| 88 |
+
"path": "private/gold.patch",
|
| 89 |
+
"sha256": "049b08e935f635e45d658d27acdcf9c445daad264c08f2104386b7b9100c8462",
|
| 90 |
+
"visibility": "private"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"artifact_id": "private-reference.json",
|
| 94 |
+
"media_type": "application/json",
|
| 95 |
+
"path": "private/reference.json",
|
| 96 |
+
"sha256": "f763aab357c39c20f70b3e498f2caedd0ab0ec4a1ef911ff492f99a4f06ed962",
|
| 97 |
+
"visibility": "private"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 101 |
+
"media_type": "application/json",
|
| 102 |
+
"path": "private/test_contract_audit.json",
|
| 103 |
+
"sha256": "1a6b1d76b711008f2592b0ab148c7ddf18e66affe785882c365dad3c5f0bcc65",
|
| 104 |
+
"visibility": "private"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"artifact_id": "private-packet_content_review.json",
|
| 108 |
+
"media_type": "application/json",
|
| 109 |
+
"path": "private/packet_content_review.json",
|
| 110 |
+
"sha256": "4b14e40dfdeb708fd3f75964c1c2093fee7b7ab63a6a7b16c6ff8de02e2ec4c9",
|
| 111 |
+
"visibility": "private"
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
"public_files": [
|
| 115 |
{
|
| 116 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 136 |
],
|
| 137 |
"seed": 0,
|
| 138 |
"source_type": "bugsinpy_upstream",
|
| 139 |
+
"task": "The pinned `black` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 140 |
}
|
track_b_packets/code_debugging/code-bugsinpy-black-3/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/black.py b/black.py
|
| 2 |
+
index d9348a3..26a2915 100644
|
| 3 |
+
--- a/black.py
|
| 4 |
+
+++ b/black.py
|
| 5 |
+
@@ -394,7 +394,7 @@ def target_version_option_callback(
|
| 6 |
+
@click.option(
|
| 7 |
+
"--config",
|
| 8 |
+
type=click.Path(
|
| 9 |
+
- exists=False, file_okay=True, dir_okay=False, readable=True, allow_dash=False
|
| 10 |
+
+ exists=True, file_okay=True, dir_okay=False, readable=True, allow_dash=False
|
| 11 |
+
),
|
| 12 |
+
is_eager=True,
|
| 13 |
+
callback=read_pyproject_toml,
|
track_b_packets/code_debugging/code-bugsinpy-black-3/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "pending_runtime_verification",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "A nonexistent --config path is accepted by the Click option validator; the reproducer expects the normal CLI usage-error exit code 2.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Prepare compatible Black/Click and the upstream test-module imports.",
|
| 9 |
+
"Run the same reproducer on the pinned buggy checkout and the gold-patched checkout."
|
| 10 |
+
],
|
| 11 |
+
"test": "The fixed-revision test creates and deletes a config path and checks the resulting exit code. It is a deterministic local CLI scenario."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-black-3",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": null,
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-black-3/private/reference.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "8126b4f6a9342290de4655e6a8a78cd288ce7daa",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"black.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "7a14a37981862ef418f3cdb4a7e2375856f97529",
|
| 7 |
+
"local_reproduction": "pending_before_empirical_collection",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "psf/black",
|
| 10 |
+
"source_bug_id": "3",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "black",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tests/test_black.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-black-3/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-black-3",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests.test_black.BlackTestCase.test_invalid_config_return_code",
|
| 6 |
+
"exists_in_base": false,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [],
|
| 13 |
+
"test_framework": "unittest",
|
| 14 |
+
"designated_test_command": "python -m unittest -q tests.test_black.BlackTestCase.test_invalid_config_return_code",
|
| 15 |
+
"runtime_verification": "pending_before_empirical_collection",
|
| 16 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/manifest.json
CHANGED
|
@@ -81,6 +81,36 @@
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
"public_files": [
|
| 85 |
{
|
| 86 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -113,6 +143,5 @@
|
|
| 113 |
],
|
| 114 |
"seed": 0,
|
| 115 |
"source_type": "bugsinpy_upstream",
|
| 116 |
-
"task": "The pinned `cookiecutter` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 117 |
-
"private_files": []
|
| 118 |
}
|
|
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
| 84 |
+
"private_files": [
|
| 85 |
+
{
|
| 86 |
+
"artifact_id": "private-gold.patch",
|
| 87 |
+
"media_type": "text/x-diff",
|
| 88 |
+
"path": "private/gold.patch",
|
| 89 |
+
"sha256": "63c936e3dd4185ce668c144c6e37d4e03d6bdafd0c287180aa44d3041fb1d3d7",
|
| 90 |
+
"visibility": "private"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"artifact_id": "private-reference.json",
|
| 94 |
+
"media_type": "application/json",
|
| 95 |
+
"path": "private/reference.json",
|
| 96 |
+
"sha256": "4186b4637345ed9b6149974d5d3455d2bbe411d3f0c4c5237d8d08b732ae3026",
|
| 97 |
+
"visibility": "private"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 101 |
+
"media_type": "application/json",
|
| 102 |
+
"path": "private/test_contract_audit.json",
|
| 103 |
+
"sha256": "ee9009fb56fc7c54004b92ed8fe922a67ffab0ac7ba18aaa971e62eb38e8097f",
|
| 104 |
+
"visibility": "private"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"artifact_id": "private-packet_content_review.json",
|
| 108 |
+
"media_type": "application/json",
|
| 109 |
+
"path": "private/packet_content_review.json",
|
| 110 |
+
"sha256": "ed111563cb2b12da22a760c19f7c9f5b50c143b3e9f02c6c6cdee4a7bfa22ec9",
|
| 111 |
+
"visibility": "private"
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
"public_files": [
|
| 115 |
{
|
| 116 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 143 |
],
|
| 144 |
"seed": 0,
|
| 145 |
"source_type": "bugsinpy_upstream",
|
| 146 |
+
"task": "The pinned `cookiecutter` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 147 |
}
|
track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/cookiecutter/generate.py b/cookiecutter/generate.py
|
| 2 |
+
index 37365a4..c526b97 100644
|
| 3 |
+
--- a/cookiecutter/generate.py
|
| 4 |
+
+++ b/cookiecutter/generate.py
|
| 5 |
+
@@ -82,7 +82,7 @@ def generate_context(
|
| 6 |
+
context = OrderedDict([])
|
| 7 |
+
|
| 8 |
+
try:
|
| 9 |
+
- with open(context_file) as file_handle:
|
| 10 |
+
+ with open(context_file, encoding='utf-8') as file_handle:
|
| 11 |
+
obj = json.load(file_handle, object_pairs_hook=OrderedDict)
|
| 12 |
+
except ValueError as e:
|
| 13 |
+
# JSON decoding error. Let's throw a new exception that is more
|
track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "pending_runtime_verification",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "Reading a UTF-8 context file with the platform default encoding can fail or misdecode non-ASCII names.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Record and verify the original/default encoding used for reproduction; do not assume a UTF-8 locale reproduces the bug.",
|
| 9 |
+
"Prepare compatible dependencies and run buggy/fixed under the same documented configuration. Do not rewrite the test simply to force failure."
|
| 10 |
+
],
|
| 11 |
+
"test": "The upstream non-ASCII reproducer and its non_ascii.json fixture are both packaged. The failure is conditional on the default locale/encoding."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-cookiecutter-1",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": null,
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/reference.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "c15633745df6abdb24e02746b82aadb20b8cdf8c",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"cookiecutter/generate.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "7f6804c4953a18386809f11faf4d86898570debc",
|
| 7 |
+
"local_reproduction": "pending_before_empirical_collection",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "cookiecutter/cookiecutter",
|
| 10 |
+
"source_bug_id": "1",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "cookiecutter",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tests/test_generate_context.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-cookiecutter-1/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-cookiecutter-1",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests/test_generate_context.py::test_generate_context_decodes_non_ascii_chars",
|
| 6 |
+
"exists_in_base": false,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [
|
| 13 |
+
"tests/test-generate-context/non_ascii.json"
|
| 14 |
+
],
|
| 15 |
+
"test_framework": "pytest",
|
| 16 |
+
"designated_test_command": "python -m pytest -q tests/test_generate_context.py::test_generate_context_decodes_non_ascii_chars",
|
| 17 |
+
"runtime_verification": "pending_before_empirical_collection",
|
| 18 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 19 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-fastapi-10/manifest.json
CHANGED
|
@@ -67,6 +67,36 @@
|
|
| 67 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 68 |
},
|
| 69 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
"public_files": [
|
| 71 |
{
|
| 72 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -92,6 +122,5 @@
|
|
| 92 |
],
|
| 93 |
"seed": 0,
|
| 94 |
"source_type": "bugsinpy_upstream",
|
| 95 |
-
"task": "The pinned `fastapi` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 96 |
-
"private_files": []
|
| 97 |
}
|
|
|
|
| 67 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 68 |
},
|
| 69 |
"packet_review_status": "accepted",
|
| 70 |
+
"private_files": [
|
| 71 |
+
{
|
| 72 |
+
"artifact_id": "private-gold.patch",
|
| 73 |
+
"media_type": "text/x-diff",
|
| 74 |
+
"path": "private/gold.patch",
|
| 75 |
+
"sha256": "24784c8a9601e6b3bfb43c0d2f2398d68ee943eb498f069dee8550db7d755f17",
|
| 76 |
+
"visibility": "private"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"artifact_id": "private-reference.json",
|
| 80 |
+
"media_type": "application/json",
|
| 81 |
+
"path": "private/reference.json",
|
| 82 |
+
"sha256": "3dc5a9fe9360d658fa8a252487a9ce179b0c3e824dd8f50595ae2dad585242c7",
|
| 83 |
+
"visibility": "private"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 87 |
+
"media_type": "application/json",
|
| 88 |
+
"path": "private/test_contract_audit.json",
|
| 89 |
+
"sha256": "3003f86ab7f24c7d8efca5e4e44b087d5113414634e7ffd34fb552674d06fa2c",
|
| 90 |
+
"visibility": "private"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"artifact_id": "private-packet_content_review.json",
|
| 94 |
+
"media_type": "application/json",
|
| 95 |
+
"path": "private/packet_content_review.json",
|
| 96 |
+
"sha256": "3485a4b9d1333623f7ba26f469999b514b8a60942e2c94d4f8ed47393d1dd56a",
|
| 97 |
+
"visibility": "private"
|
| 98 |
+
}
|
| 99 |
+
],
|
| 100 |
"public_files": [
|
| 101 |
{
|
| 102 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 122 |
],
|
| 123 |
"seed": 0,
|
| 124 |
"source_type": "bugsinpy_upstream",
|
| 125 |
+
"task": "The pinned `fastapi` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 126 |
}
|
track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/fastapi/routing.py b/fastapi/routing.py
|
| 2 |
+
index 3c6774c..930cbe0 100644
|
| 3 |
+
--- a/fastapi/routing.py
|
| 4 |
+
+++ b/fastapi/routing.py
|
| 5 |
+
@@ -52,6 +52,8 @@ def serialize_response(
|
| 6 |
+
errors.extend(errors_)
|
| 7 |
+
if errors:
|
| 8 |
+
raise ValidationError(errors)
|
| 9 |
+
+ if skip_defaults and isinstance(response, BaseModel):
|
| 10 |
+
+ value = response.dict(skip_defaults=skip_defaults)
|
| 11 |
+
return jsonable_encoder(
|
| 12 |
+
value,
|
| 13 |
+
include=include,
|
track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "pending_runtime_verification",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "Response serialization loses the intended skip-defaults behavior for a nested Pydantic model.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Pin compatible historical FastAPI/Pydantic/Starlette test dependencies.",
|
| 9 |
+
"Confirm imports resolve to the pinned checkout and reproduce the exact JSON assertion on buggy/fixed."
|
| 10 |
+
],
|
| 11 |
+
"test": "The added upstream test defines nested models and checks the in-process TestClient response against {\"sub\": {}}; it requires no external HTTP service."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-fastapi-10",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": null,
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/reference.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "b77a43bcac3ec8e7edbe82543e777c60ae85c178",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"fastapi/routing.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "38495fffa560fa57a8f0e6437d8e43c36c8e5612",
|
| 7 |
+
"local_reproduction": "pending_before_empirical_collection",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "tiangolo/fastapi",
|
| 10 |
+
"source_bug_id": "10",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "fastapi",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tests/test_skip_defaults.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-fastapi-10/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-fastapi-10",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests/test_skip_defaults.py::test_return_defaults",
|
| 6 |
+
"exists_in_base": false,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [],
|
| 13 |
+
"test_framework": "pytest",
|
| 14 |
+
"designated_test_command": "python -m pytest -q tests/test_skip_defaults.py::test_return_defaults",
|
| 15 |
+
"runtime_verification": "pending_before_empirical_collection",
|
| 16 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/manifest.json
CHANGED
|
@@ -100,6 +100,43 @@
|
|
| 100 |
"verification_status": "locally_reproduced"
|
| 101 |
},
|
| 102 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
"public_files": [
|
| 104 |
{
|
| 105 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -125,6 +162,5 @@
|
|
| 125 |
],
|
| 126 |
"seed": 0,
|
| 127 |
"source_type": "bugsinpy_upstream",
|
| 128 |
-
"task": "The pinned `httpie` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 129 |
-
"private_files": []
|
| 130 |
}
|
|
|
|
| 100 |
"verification_status": "locally_reproduced"
|
| 101 |
},
|
| 102 |
"packet_review_status": "accepted",
|
| 103 |
+
"private_files": [
|
| 104 |
+
{
|
| 105 |
+
"artifact_id": "private-baseline_verification.json",
|
| 106 |
+
"media_type": "application/json",
|
| 107 |
+
"path": "private/baseline_verification.json",
|
| 108 |
+
"sha256": "105dda0c134be4f1f381bcb6e7ffdd81c0a67e9969234c89dd45f060f3f6fa6f",
|
| 109 |
+
"visibility": "private"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"artifact_id": "private-gold.patch",
|
| 113 |
+
"media_type": "text/x-diff",
|
| 114 |
+
"path": "private/gold.patch",
|
| 115 |
+
"sha256": "bab732020de22930e9d87be963253b5bd53f2d67f4069f1a07bbe859e0c5c7ff",
|
| 116 |
+
"visibility": "private"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"artifact_id": "private-reference.json",
|
| 120 |
+
"media_type": "application/json",
|
| 121 |
+
"path": "private/reference.json",
|
| 122 |
+
"sha256": "24fbb741d6e0028bd87ecb200b836b6e5ba05ce5d747dc7562890df94ef297a9",
|
| 123 |
+
"visibility": "private"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 127 |
+
"media_type": "application/json",
|
| 128 |
+
"path": "private/test_contract_audit.json",
|
| 129 |
+
"sha256": "ea41cff73b4025d57470fa9f32652974d5055ce3badd311597b5f46010b205e2",
|
| 130 |
+
"visibility": "private"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"artifact_id": "private-packet_content_review.json",
|
| 134 |
+
"media_type": "application/json",
|
| 135 |
+
"path": "private/packet_content_review.json",
|
| 136 |
+
"sha256": "59030ca7a46e3bc6a8cd383898d556853e5b221686a00b545b6bc61ee3b242f9",
|
| 137 |
+
"visibility": "private"
|
| 138 |
+
}
|
| 139 |
+
],
|
| 140 |
"public_files": [
|
| 141 |
{
|
| 142 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 162 |
],
|
| 163 |
"seed": 0,
|
| 164 |
"source_type": "bugsinpy_upstream",
|
| 165 |
+
"task": "The pinned `httpie` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 166 |
}
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/baseline_verification.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_revision": "8c892edd4fe700a7ca5cc733dcb4817831d253e2",
|
| 3 |
+
"environment": {
|
| 4 |
+
"dependencies": {
|
| 5 |
+
"Pygments": "2.6.1",
|
| 6 |
+
"atomicwrites": "1.4.0",
|
| 7 |
+
"attrs": "24.2.0",
|
| 8 |
+
"certifi": "2026.10.19",
|
| 9 |
+
"chardet": "3.0.4",
|
| 10 |
+
"colorama": "0.4.3",
|
| 11 |
+
"idna": "2.10",
|
| 12 |
+
"importlib-metadata": "6.7.0",
|
| 13 |
+
"more-itertools": "9.1.0",
|
| 14 |
+
"packaging": "24.0",
|
| 15 |
+
"pluggy": "0.13.1",
|
| 16 |
+
"py": "1.11.0",
|
| 17 |
+
"pytest": "5.4.2",
|
| 18 |
+
"requests": "2.3.0",
|
| 19 |
+
"setuptools": "47.3.1",
|
| 20 |
+
"typing_extensions": "4.7.1",
|
| 21 |
+
"urllib3": "1.25.11",
|
| 22 |
+
"wcwidth": "0.2.14",
|
| 23 |
+
"zipp": "3.15.0"
|
| 24 |
+
},
|
| 25 |
+
"dependency_adjustment": "Requests 2.3.0 matches upstream setup.py minimum and provides requests.compat.is_windows; 2.23.0 lacks that API, while benchmark requirements specified 2.0.0 below the source minimum.",
|
| 26 |
+
"network_enforcement": "Socket connect guard within reproducer and proxy bypass; not an OS-level firewall.",
|
| 27 |
+
"network_policy": {
|
| 28 |
+
"external_network": false,
|
| 29 |
+
"loopback": true
|
| 30 |
+
},
|
| 31 |
+
"platform": "Windows x86_64",
|
| 32 |
+
"python": "Python 3.7.9",
|
| 33 |
+
"source_benchmark_python_version": "3.7.3",
|
| 34 |
+
"test_import_source": "pinned HTTPie checkout and its tests/utils.py"
|
| 35 |
+
},
|
| 36 |
+
"fixed_commit_scope": "Only upstream changes between revisions are models.py and the added test; production source exactly matches fixed commit, with the documented adapted test overlay.",
|
| 37 |
+
"fixed_revision": "040d981f00c3f6830b2d0db3daf3c64c080e96e3",
|
| 38 |
+
"method": "actual_httpie_cli_against_loopback_server_on_buggy_gold_and_fixed_implementation",
|
| 39 |
+
"results": {
|
| 40 |
+
"buggy": {
|
| 41 |
+
"errors": 0,
|
| 42 |
+
"failed": 1,
|
| 43 |
+
"passed": 1,
|
| 44 |
+
"return_code": 1,
|
| 45 |
+
"stderr": "",
|
| 46 |
+
"stdout": "F. [100%]\n================================== FAILURES ===================================\n______________________ test_Host_header_overwrite[host] _______________________\n\nheader_name = 'host'\n\n @pytest.mark.parametrize('header_name', ['host', 'Host'])\n def test_Host_header_overwrite(header_name):\n \"\"\"Preserve explicit Host and print it exactly once, regardless of casing.\"\"\"\n requested_host = 'example.test' # Header value only; never resolved.\n with local_http_server() as (server, received):\n address = ('127.0.0.1', server.server_port)\n original_connect = socket.socket.connect\n \n def loopback_only(sock, target):\n if target != address:\n raise RuntimeError('Reproducer attempted a non-fixture connection')\n return original_connect(sock, target)\n \n # Ignore inherited proxy settings and block other connect destinations\n # inside this test. This is a test guard, not an OS-level sandbox.\n proxy_settings = {\n 'NO_PROXY': '127.0.0.1', 'no_proxy': '127.0.0.1',\n 'HTTP_PROXY': '', 'http_proxy': '',\n 'HTTPS_PROXY': '', 'https_proxy': '',\n 'ALL_PROXY': '', 'all_proxy': '',\n }\n with patch.dict(os.environ, proxy_settings), \\\n patch.object(socket.socket, 'connect', loopback_only):\n r = http('--timeout=5', '--print=hH',\n 'http://127.0.0.1:{}/get'.format(server.server_port),\n '{}:{}'.format(header_name, requested_host))\n assert r.exit_status == 0\n assert HTTP_OK in r\n assert received == [[requested_host]]\n # Preserve the original output assertion. Header value correctness is\n # checked on the received request above, independently of CLI rendering.\n> assert r.lower().count('host:') == 1\nE assert 2 == 1\nE + where 2 = <built-in method count of str object at 0x0000018ACBDE8C10>('host:')\nE + where <built-in method count of str object at 0x0000018ACBDE8C10> = \"get /get http/1.1\\r\\naccept: */*\\r\\naccept-encoding: gzip, deflate\\r\\nhost: 127.0.0.1:13049\\r\\nuser-agent: b'httpie/0...tp/1.1 200 ok\\r\\ncontent-length: 0\\r\\ndate: thu, 22 oct 2026 09:13:01 gmt\\r\\nserver: basehttp/0.6 python/3.7.9\\r\\n\\r\\n\".count\nE + where \"get /get http/1.1\\r\\naccept: */*\\r\\naccept-encoding: gzip, deflate\\r\\nhost: 127.0.0.1:13049\\r\\nuser-agent: b'httpie/0...tp/1.1 200 ok\\r\\ncontent-length: 0\\r\\ndate: thu, 22 oct 2026 09:13:01 gmt\\r\\nserver: basehttp/0.6 python/3.7.9\\r\\n\\r\\n\" = <built-in method lower of StrCLIResponse object at 0x0000018ACB950548>()\nE + where <built-in method lower of StrCLIResponse object at 0x0000018ACB950548> = \"GET /get HTTP/1.1\\r\\nAccept: */*\\r\\nAccept-Encoding: gzip, deflate\\r\\nHost: 127.0.0.1:13049\\r\\nUser-Agent: b'HTTPie/0...TP/1.1 200 OK\\r\\nContent-Length: 0\\r\\nDate: Thu, 22 Oct 2026 09:13:01 GMT\\r\\nServer: BaseHTTP/0.6 Python/3.7.9\\r\\n\\r\\n\".lower\n\ntests\\test_regressions.py:78: AssertionError\n============================== warnings summary ===============================\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.\n _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n from collections import Mapping, MutableMapping\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nhttpie\\output\\formatters\\xml.py:8\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_buggy_duui6vpc\\httpie\\output\\formatters\\xml.py:8: DeprecationWarning: invalid escape sequence \\?\n DECLARATION_RE = re.compile('<\\?xml[^\\n]+?\\?>', flags=re.I)\n\nhttpie\\downloads.py:56\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_buggy_duui6vpc\\httpie\\downloads.py:56: DeprecationWarning: invalid escape sequence \\d\n '^bytes (?P<first_byte_pos>\\d+)-(?P<last_byte_pos>\\d+)'\n\nhttpie\\downloads.py:57\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_buggy_duui6vpc\\httpie\\downloads.py:57: DeprecationWarning: invalid escape sequence \\*\n '/(\\*|(?P<instance_length>\\d+))$'\n\nhttpie\\input.py:446\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_buggy_duui6vpc\\httpie\\input.py:446: DeprecationWarning: invalid escape sequence \\=\n \"\"\"\n\ntests/test_regressions.py::test_Host_header_overwrite[host]\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:164: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n if isinstance(hook, collections.Callable):\n\n-- Docs: https://docs.pytest.org/en/latest/warnings.html\n- generated xml file: C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_buggy_duui6vpc\\verification.xml -\n=========================== short test summary info ===========================\nFAILED tests/test_regressions.py::test_Host_header_overwrite[host] - assert 2...\n1 failed, 1 passed, 26 warnings in 1.41s\n",
|
| 47 |
+
"tests": [
|
| 48 |
+
{
|
| 49 |
+
"name": "test_Host_header_overwrite[host]",
|
| 50 |
+
"outcome": "fail"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": "test_Host_header_overwrite[Host]",
|
| 54 |
+
"outcome": "pass"
|
| 55 |
+
}
|
| 56 |
+
]
|
| 57 |
+
},
|
| 58 |
+
"fixed_commit": {
|
| 59 |
+
"errors": 0,
|
| 60 |
+
"failed": 0,
|
| 61 |
+
"passed": 2,
|
| 62 |
+
"return_code": 0,
|
| 63 |
+
"stderr": "",
|
| 64 |
+
"stdout": ".. [100%]\n============================== warnings summary ===============================\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.\n _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n from collections import Mapping, MutableMapping\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nhttpie\\output\\formatters\\xml.py:8\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_fixed_commit_ycb5fcyw\\httpie\\output\\formatters\\xml.py:8: DeprecationWarning: invalid escape sequence \\?\n DECLARATION_RE = re.compile('<\\?xml[^\\n]+?\\?>', flags=re.I)\n\nhttpie\\downloads.py:56\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_fixed_commit_ycb5fcyw\\httpie\\downloads.py:56: DeprecationWarning: invalid escape sequence \\d\n '^bytes (?P<first_byte_pos>\\d+)-(?P<last_byte_pos>\\d+)'\n\nhttpie\\downloads.py:57\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_fixed_commit_ycb5fcyw\\httpie\\downloads.py:57: DeprecationWarning: invalid escape sequence \\*\n '/(\\*|(?P<instance_length>\\d+))$'\n\nhttpie\\input.py:446\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_fixed_commit_ycb5fcyw\\httpie\\input.py:446: DeprecationWarning: invalid escape sequence \\=\n \"\"\"\n\ntests/test_regressions.py::test_Host_header_overwrite[host]\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:164: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n if isinstance(hook, collections.Callable):\n\n-- Docs: https://docs.pytest.org/en/latest/warnings.html\n- generated xml file: C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_fixed_commit_ycb5fcyw\\verification.xml -\n2 passed, 26 warnings in 1.43s\n",
|
| 65 |
+
"tests": [
|
| 66 |
+
{
|
| 67 |
+
"name": "test_Host_header_overwrite[host]",
|
| 68 |
+
"outcome": "pass"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": "test_Host_header_overwrite[Host]",
|
| 72 |
+
"outcome": "pass"
|
| 73 |
+
}
|
| 74 |
+
]
|
| 75 |
+
},
|
| 76 |
+
"gold_patched": {
|
| 77 |
+
"errors": 0,
|
| 78 |
+
"failed": 0,
|
| 79 |
+
"passed": 2,
|
| 80 |
+
"return_code": 0,
|
| 81 |
+
"stderr": "",
|
| 82 |
+
"stdout": ".. [100%]\n============================== warnings summary ===============================\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\_pytest\\junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.\n _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:459: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\connectionpool.py:705: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\_collections.py:7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n from collections import Mapping, MutableMapping\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\packages\\urllib3\\poolmanager.py:61: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:746: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:52: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:63: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:74: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:86: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:97: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:108: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\api.py:118: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:465: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:475: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:485: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:496: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:506: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:516: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nC:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\sessions.py:525: DeprecationWarning: invalid escape sequence \\*\n \"\"\"\n\nhttpie\\output\\formatters\\xml.py:8\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_gold_patched_0dv2gjm7\\httpie\\output\\formatters\\xml.py:8: DeprecationWarning: invalid escape sequence \\?\n DECLARATION_RE = re.compile('<\\?xml[^\\n]+?\\?>', flags=re.I)\n\nhttpie\\downloads.py:56\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_gold_patched_0dv2gjm7\\httpie\\downloads.py:56: DeprecationWarning: invalid escape sequence \\d\n '^bytes (?P<first_byte_pos>\\d+)-(?P<last_byte_pos>\\d+)'\n\nhttpie\\downloads.py:57\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_gold_patched_0dv2gjm7\\httpie\\downloads.py:57: DeprecationWarning: invalid escape sequence \\*\n '/(\\*|(?P<instance_length>\\d+))$'\n\nhttpie\\input.py:446\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_gold_patched_0dv2gjm7\\httpie\\input.py:446: DeprecationWarning: invalid escape sequence \\=\n \"\"\"\n\ntests/test_regressions.py::test_Host_header_overwrite[host]\n C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie37_deps\\requests\\models.py:164: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\n if isinstance(hook, collections.Callable):\n\n-- Docs: https://docs.pytest.org/en/latest/warnings.html\n- generated xml file: C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\httpie4_gold_patched_0dv2gjm7\\verification.xml -\n2 passed, 26 warnings in 1.37s\n",
|
| 83 |
+
"tests": [
|
| 84 |
+
{
|
| 85 |
+
"name": "test_Host_header_overwrite[host]",
|
| 86 |
+
"outcome": "pass"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": "test_Host_header_overwrite[Host]",
|
| 90 |
+
"outcome": "pass"
|
| 91 |
+
}
|
| 92 |
+
]
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"status": "locally_reproduced",
|
| 96 |
+
"test_artifact_sha256": "72b33c2cc48eb004dd080e31364a3a324f9a3cc8be7a19783abc9e470bf03344"
|
| 97 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/gold.patch
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/httpie/models.py b/httpie/models.py
|
| 2 |
+
index f6b9dff..af6163f 100644
|
| 3 |
+
--- a/httpie/models.py
|
| 4 |
+
+++ b/httpie/models.py
|
| 5 |
+
@@ -102,8 +102,7 @@ class HTTPRequest(HTTPMessage):
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
headers = dict(self._orig.headers)
|
| 9 |
+
-
|
| 10 |
+
- if 'Host' not in headers:
|
| 11 |
+
+ if 'Host' not in self._orig.headers:
|
| 12 |
+
headers['Host'] = url.netloc.split('@')[-1]
|
| 13 |
+
|
| 14 |
+
headers = ['%s: %s' % (name, value)
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "runtime_verified",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "Converting case-insensitive request headers to a plain dict changes the Host-header membership check and can duplicate/overwrite an explicit host header.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Reuse the recorded CPython 3.7.9 environment and pinned dependency lock; permit loopback and deny external network.",
|
| 9 |
+
"Obtain human confirmation of the adapted reproducer before marking human_verified."
|
| 10 |
+
],
|
| 11 |
+
"test": "A documented loopback adaptation preserves the actual CLI/HTTP exchange and original single-Host assertion. Buggy fails lowercase host and passes uppercase Host; gold and upstream-fixed implementations pass both. Original upstream test and adaptation diff are retained."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-httpie-4",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": "private/baseline_verification.json",
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/reference.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "8c892edd4fe700a7ca5cc733dcb4817831d253e2",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"httpie/models.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "040d981f00c3f6830b2d0db3daf3c64c080e96e3",
|
| 7 |
+
"local_reproduction": "locally_reproduced",
|
| 8 |
+
"regression_test_origin": "adapted_from_upstream_fixed_test",
|
| 9 |
+
"regression_test_visibility": "executor_public",
|
| 10 |
+
"repository": "jakubroztocil/httpie",
|
| 11 |
+
"source_bug_id": "4",
|
| 12 |
+
"source_dataset": "BugsInPy",
|
| 13 |
+
"source_project": "httpie",
|
| 14 |
+
"test_files": [
|
| 15 |
+
"tests/test_regressions.py"
|
| 16 |
+
],
|
| 17 |
+
"upstream_status": "OK"
|
| 18 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-httpie-4/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adaptation_verified": true,
|
| 3 |
+
"audit_scope": "Documented upstream adaptation, actual CLI/HTTP exchange, control case and buggy/fixed reproduction.",
|
| 4 |
+
"designated_test_command": "python -m pytest -q tests/test_regressions.py::test_Host_header_overwrite",
|
| 5 |
+
"materialization_verified": true,
|
| 6 |
+
"packet_id": "code-bugsinpy-httpie-4",
|
| 7 |
+
"runtime_verification": "locally_reproduced",
|
| 8 |
+
"selectors": [
|
| 9 |
+
{
|
| 10 |
+
"exists_in_adapted_test": true,
|
| 11 |
+
"exists_in_base": false,
|
| 12 |
+
"target": "tests/test_regressions.py::test_Host_header_overwrite"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"support_artifacts": [],
|
| 16 |
+
"test_framework": "pytest",
|
| 17 |
+
"test_source_matches_fixed_revision": false,
|
| 18 |
+
"test_source_relation": "adapted_from_upstream_fixed_test"
|
| 19 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/manifest.json
CHANGED
|
@@ -81,6 +81,36 @@
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
"public_files": [
|
| 85 |
{
|
| 86 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -106,6 +136,5 @@
|
|
| 106 |
],
|
| 107 |
"seed": 0,
|
| 108 |
"source_type": "bugsinpy_upstream",
|
| 109 |
-
"task": "The pinned `PySnooper` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 110 |
-
"private_files": []
|
| 111 |
}
|
|
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
| 84 |
+
"private_files": [
|
| 85 |
+
{
|
| 86 |
+
"artifact_id": "private-gold.patch",
|
| 87 |
+
"media_type": "text/x-diff",
|
| 88 |
+
"path": "private/gold.patch",
|
| 89 |
+
"sha256": "ff241462dac77feacce42f4c1a555c6da08f3ac6c9ace1c54900e9814bcc4536",
|
| 90 |
+
"visibility": "private"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"artifact_id": "private-reference.json",
|
| 94 |
+
"media_type": "application/json",
|
| 95 |
+
"path": "private/reference.json",
|
| 96 |
+
"sha256": "e4cee45fc9fc3ed1b6b27fdd1ea1f461b50c1742dceedafd3f4f6c93c3e7c32f",
|
| 97 |
+
"visibility": "private"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 101 |
+
"media_type": "application/json",
|
| 102 |
+
"path": "private/test_contract_audit.json",
|
| 103 |
+
"sha256": "1e00ba7aba70849f9179f37e9285ed4ea85f429f7ef855730d9e1337a42c0fe6",
|
| 104 |
+
"visibility": "private"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"artifact_id": "private-packet_content_review.json",
|
| 108 |
+
"media_type": "application/json",
|
| 109 |
+
"path": "private/packet_content_review.json",
|
| 110 |
+
"sha256": "e9a0374e25b7323ae7846180085ed58885681fb869acd38f38ed2e362165c652",
|
| 111 |
+
"visibility": "private"
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
"public_files": [
|
| 115 |
{
|
| 116 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 136 |
],
|
| 137 |
"seed": 0,
|
| 138 |
"source_type": "bugsinpy_upstream",
|
| 139 |
+
"task": "The pinned `PySnooper` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 140 |
}
|
track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/pysnooper/pysnooper.py b/pysnooper/pysnooper.py
|
| 2 |
+
index 8d0c6a7..19139d3 100644
|
| 3 |
+
--- a/pysnooper/pysnooper.py
|
| 4 |
+
+++ b/pysnooper/pysnooper.py
|
| 5 |
+
@@ -23,7 +23,7 @@ def get_write_function(output):
|
| 6 |
+
stderr.write(s)
|
| 7 |
+
elif isinstance(output, (pycompat.PathLike, str)):
|
| 8 |
+
def write(s):
|
| 9 |
+
- with open(output_path, 'a') as output_file:
|
| 10 |
+
+ with open(output, 'a') as output_file:
|
| 11 |
+
output_file.write(s)
|
| 12 |
+
else:
|
| 13 |
+
assert isinstance(output, utils.WritableStream)
|
track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "pending_runtime_verification",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "The file-output writer refers to output_path instead of the supplied output argument, causing a NameError when writing a trace to a file.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Prepare compatible python_toolbox and test dependencies.",
|
| 9 |
+
"Reproduce file-output failure and success on buggy/fixed; check trace assertions against the selected Python version."
|
| 10 |
+
],
|
| 11 |
+
"test": "The restored upstream test creates a temporary output file, runs a decorated function, and checks actual trace content using existing test helpers."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-pysnooper-3",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": null,
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/reference.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "6e3d797be3fa0a746fb5b1b7c7fea78eb926c208",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"pysnooper/pysnooper.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "15555ed760000b049aff8fecc79d29339c1224c3",
|
| 7 |
+
"local_reproduction": "pending_before_empirical_collection",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "cool-RR/PySnooper",
|
| 10 |
+
"source_bug_id": "3",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "PySnooper",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tests/test_pysnooper.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-pysnooper-3/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-pysnooper-3",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests/test_pysnooper.py::test_file_output",
|
| 6 |
+
"exists_in_base": false,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [],
|
| 13 |
+
"test_framework": "pytest",
|
| 14 |
+
"designated_test_command": "python -m pytest -q tests/test_pysnooper.py::test_file_output",
|
| 15 |
+
"runtime_verification": "pending_before_empirical_collection",
|
| 16 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-scrapy-37/manifest.json
CHANGED
|
@@ -81,6 +81,36 @@
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
"public_files": [
|
| 85 |
{
|
| 86 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -106,6 +136,5 @@
|
|
| 106 |
],
|
| 107 |
"seed": 0,
|
| 108 |
"source_type": "bugsinpy_upstream",
|
| 109 |
-
"task": "The pinned `scrapy` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 110 |
-
"private_files": []
|
| 111 |
}
|
|
|
|
| 81 |
"execution_gate_schema_version": "routingbench.code_execution_gate.v1"
|
| 82 |
},
|
| 83 |
"packet_review_status": "accepted",
|
| 84 |
+
"private_files": [
|
| 85 |
+
{
|
| 86 |
+
"artifact_id": "private-gold.patch",
|
| 87 |
+
"media_type": "text/x-diff",
|
| 88 |
+
"path": "private/gold.patch",
|
| 89 |
+
"sha256": "6294db7053d0147de2dfc8d9f0ffee00cd1b84ce94746a92a25f8101963bd26c",
|
| 90 |
+
"visibility": "private"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"artifact_id": "private-reference.json",
|
| 94 |
+
"media_type": "application/json",
|
| 95 |
+
"path": "private/reference.json",
|
| 96 |
+
"sha256": "5eda70b4910ba77742c6b8df789bd9975a726291aa82c95fba3c52c76326efe2",
|
| 97 |
+
"visibility": "private"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 101 |
+
"media_type": "application/json",
|
| 102 |
+
"path": "private/test_contract_audit.json",
|
| 103 |
+
"sha256": "15b28e76ddb0c867f420a30b0bb6e07fe923c28f577f2cf15cf46f3481aa7902",
|
| 104 |
+
"visibility": "private"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"artifact_id": "private-packet_content_review.json",
|
| 108 |
+
"media_type": "application/json",
|
| 109 |
+
"path": "private/packet_content_review.json",
|
| 110 |
+
"sha256": "d4432a67ae9b5cf9c8a2c71da3f541f11a48c7ac95566dc450263749a7423611",
|
| 111 |
+
"visibility": "private"
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
"public_files": [
|
| 115 |
{
|
| 116 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 136 |
],
|
| 137 |
"seed": 0,
|
| 138 |
"source_type": "bugsinpy_upstream",
|
| 139 |
+
"task": "The pinned `scrapy` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 140 |
}
|
track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/scrapy/http/request/__init__.py b/scrapy/http/request/__init__.py
|
| 2 |
+
index d09eaf84..76a42819 100644
|
| 3 |
+
--- a/scrapy/http/request/__init__.py
|
| 4 |
+
+++ b/scrapy/http/request/__init__.py
|
| 5 |
+
@@ -66,7 +66,7 @@ class Request(object_ref):
|
| 6 |
+
s = safe_url_string(url, self.encoding)
|
| 7 |
+
self._url = escape_ajax(s)
|
| 8 |
+
|
| 9 |
+
- if ':' not in self._url:
|
| 10 |
+
+ if ('://' not in self._url) and (not self._url.startswith('data:')):
|
| 11 |
+
raise ValueError('Missing scheme in request url: %s' % self._url)
|
| 12 |
+
|
| 13 |
+
url = property(_get_url, obsolete_setter(_set_url, 'url'))
|
track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "pending_runtime_verification",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "Treating any colon as evidence of a URL scheme wrongly accepts relative input such as /foo:bar.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Prepare the historical Scrapy import dependencies.",
|
| 9 |
+
"Run the designated method and appropriate neighboring URL-validation cases on buggy/fixed."
|
| 10 |
+
],
|
| 11 |
+
"test": "The updated upstream method checks ValueError for relative URLs, including /foo:bar. It constructs request objects and does not fetch remote URLs."
|
| 12 |
+
},
|
| 13 |
+
"human_review_status": "human_verified",
|
| 14 |
+
"packet_id": "code-bugsinpy-scrapy-37",
|
| 15 |
+
"packet_review_status": "accepted",
|
| 16 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 17 |
+
"reviewed_at": "2026-10-22",
|
| 18 |
+
"reviewer_id": "codex",
|
| 19 |
+
"reviewer_type": "assistant",
|
| 20 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 21 |
+
"verified_evidence": {
|
| 22 |
+
"runtime_baseline": null,
|
| 23 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 24 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 25 |
+
}
|
| 26 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/reference.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "1d5c270ce8caf954ce83c8db262e2a35707e0c5e",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"scrapy/http/request/__init__.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "f701f5b0db10faef08e4ed9a21b98fd72f9cfc9a",
|
| 7 |
+
"local_reproduction": "pending_before_empirical_collection",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "scrapy/scrapy",
|
| 10 |
+
"source_bug_id": "37",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "scrapy",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tests/test_http_request.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-scrapy-37/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-scrapy-37",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests.test_http_request.RequestTest.test_url_no_scheme",
|
| 6 |
+
"exists_in_base": true,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [],
|
| 13 |
+
"test_framework": "unittest",
|
| 14 |
+
"designated_test_command": "python -m unittest -q tests.test_http_request.RequestTest.test_url_no_scheme",
|
| 15 |
+
"runtime_verification": "pending_before_empirical_collection",
|
| 16 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/manifest.json
CHANGED
|
@@ -79,6 +79,43 @@
|
|
| 79 |
"verification_status": "locally_reproduced"
|
| 80 |
},
|
| 81 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
"public_files": [
|
| 83 |
{
|
| 84 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -104,6 +141,5 @@
|
|
| 104 |
],
|
| 105 |
"seed": 0,
|
| 106 |
"source_type": "bugsinpy_upstream",
|
| 107 |
-
"task": "The pinned `thefuck` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 108 |
-
"private_files": []
|
| 109 |
}
|
|
|
|
| 79 |
"verification_status": "locally_reproduced"
|
| 80 |
},
|
| 81 |
"packet_review_status": "accepted",
|
| 82 |
+
"private_files": [
|
| 83 |
+
{
|
| 84 |
+
"artifact_id": "private-baseline_verification.json",
|
| 85 |
+
"media_type": "application/json",
|
| 86 |
+
"path": "private/baseline_verification.json",
|
| 87 |
+
"sha256": "6fa93a5b54a03b419739ae3803f81eb6e739517f95ca316cf1be03c8cb1e7f92",
|
| 88 |
+
"visibility": "private"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"artifact_id": "private-gold.patch",
|
| 92 |
+
"media_type": "text/x-diff",
|
| 93 |
+
"path": "private/gold.patch",
|
| 94 |
+
"sha256": "64f68e44c407e637941b5cd28f7547e5d39a0ecaffdd746e7a44d872e29ec2a9",
|
| 95 |
+
"visibility": "private"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"artifact_id": "private-reference.json",
|
| 99 |
+
"media_type": "application/json",
|
| 100 |
+
"path": "private/reference.json",
|
| 101 |
+
"sha256": "cf223d60d9267068968c7955b67e6897038c26aae83cb64d793484926cf4190d",
|
| 102 |
+
"visibility": "private"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 106 |
+
"media_type": "application/json",
|
| 107 |
+
"path": "private/test_contract_audit.json",
|
| 108 |
+
"sha256": "822a2df687cefdacff1ac5ecedcf6b7251414ef14bf01d95a4b9ecfdcc1e5e3a",
|
| 109 |
+
"visibility": "private"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"artifact_id": "private-packet_content_review.json",
|
| 113 |
+
"media_type": "application/json",
|
| 114 |
+
"path": "private/packet_content_review.json",
|
| 115 |
+
"sha256": "cc7937b5476b55191fe8292deecea6e359d8b32953f1f41461c363e4857eef5d",
|
| 116 |
+
"visibility": "private"
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
"public_files": [
|
| 120 |
{
|
| 121 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 141 |
],
|
| 142 |
"seed": 0,
|
| 143 |
"source_type": "bugsinpy_upstream",
|
| 144 |
+
"task": "The pinned `thefuck` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 145 |
}
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/baseline_verification.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy": {
|
| 3 |
+
"assertion_failures": 1,
|
| 4 |
+
"passed": 1,
|
| 5 |
+
"return_code": 1,
|
| 6 |
+
"test_count": 2
|
| 7 |
+
},
|
| 8 |
+
"correct": {
|
| 9 |
+
"assertion_failures": 0,
|
| 10 |
+
"passed": 2,
|
| 11 |
+
"return_code": 0,
|
| 12 |
+
"test_count": 2
|
| 13 |
+
},
|
| 14 |
+
"environment": {
|
| 15 |
+
"container_image": "python:3.7-slim",
|
| 16 |
+
"container_image_digest": "sha256:b53f496ca43e5af6994f8e316cf03af31050bf7944e0e4a308ad86c001cf028b",
|
| 17 |
+
"python_version": "3.7",
|
| 18 |
+
"test_command": "pytest -q tests/test_utils.py::test_get_all_executables_pathsep"
|
| 19 |
+
},
|
| 20 |
+
"gold_patch": "private/gold.patch",
|
| 21 |
+
"method": "checkout_buggy_commit_apply_executor_visible_regression_test_then_compare_gold_patch",
|
| 22 |
+
"regression_test_artifact": "public/regression_tests/test_utils.py.patch",
|
| 23 |
+
"status": "locally_reproduced"
|
| 24 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/thefuck/utils.py b/thefuck/utils.py
|
| 2 |
+
index bd8028e..6112c01 100644
|
| 3 |
+
--- a/thefuck/utils.py
|
| 4 |
+
+++ b/thefuck/utils.py
|
| 5 |
+
@@ -118,7 +118,7 @@ def get_all_executables():
|
| 6 |
+
tf_entry_points = ['thefuck', 'fuck']
|
| 7 |
+
|
| 8 |
+
bins = [exe.name.decode('utf8') if six.PY2 else exe.name
|
| 9 |
+
- for path in os.environ.get('PATH', '').split(':')
|
| 10 |
+
+ for path in os.environ.get('PATH', '').split(os.pathsep)
|
| 11 |
+
for exe in _safe(lambda: list(Path(path).iterdir()), [])
|
| 12 |
+
if not _safe(exe.is_dir, True)
|
| 13 |
+
and exe.name not in tf_entry_points]
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "runtime_verified",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "PATH parsing hard-codes a colon instead of using os.pathsep.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Reuse the recorded Python 3.7 container environment when collecting live trajectories."
|
| 9 |
+
],
|
| 10 |
+
"test": "The upstream test covers colon and semicolon environments with mocked Path calls. Earlier full reproduction and later isolated replay agree on the buggy/fixed distinction."
|
| 11 |
+
},
|
| 12 |
+
"human_review_status": "human_verified",
|
| 13 |
+
"packet_id": "code-bugsinpy-thefuck-2",
|
| 14 |
+
"packet_review_status": "accepted",
|
| 15 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 16 |
+
"reviewed_at": "2026-10-22",
|
| 17 |
+
"reviewer_id": "codex",
|
| 18 |
+
"reviewer_type": "assistant",
|
| 19 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 20 |
+
"verified_evidence": {
|
| 21 |
+
"runtime_baseline": "private/baseline_verification.json",
|
| 22 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 23 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 24 |
+
}
|
| 25 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/reference.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "40ab4eb62db57627bff10cf029d29c94704086a2",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"thefuck/utils.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "78ef9eec88f43d5727986be2237f6e0e250cbbbc",
|
| 7 |
+
"local_reproduction": "locally_reproduced",
|
| 8 |
+
"regression_test_revision": "78ef9eec88f43d5727986be2237f6e0e250cbbbc",
|
| 9 |
+
"regression_test_visibility": "executor_public",
|
| 10 |
+
"repository": "nvbn/thefuck",
|
| 11 |
+
"source_bug_id": "2",
|
| 12 |
+
"source_dataset": "BugsInPy",
|
| 13 |
+
"source_project": "thefuck",
|
| 14 |
+
"test_files": [
|
| 15 |
+
"tests/test_utils.py"
|
| 16 |
+
],
|
| 17 |
+
"upstream_status": "OK"
|
| 18 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-thefuck-2/private/test_contract_audit.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"packet_id": "code-bugsinpy-thefuck-2",
|
| 3 |
+
"selectors": [
|
| 4 |
+
{
|
| 5 |
+
"target": "tests/test_utils.py::test_get_all_executables_pathsep",
|
| 6 |
+
"exists_in_base": false,
|
| 7 |
+
"exists_in_fixed": true
|
| 8 |
+
}
|
| 9 |
+
],
|
| 10 |
+
"materialization_verified": true,
|
| 11 |
+
"test_source_matches_fixed_revision": true,
|
| 12 |
+
"support_artifacts": [],
|
| 13 |
+
"test_framework": "pytest",
|
| 14 |
+
"designated_test_command": "python -m pytest -q tests/test_utils.py::test_get_all_executables_pathsep",
|
| 15 |
+
"runtime_verification": "locally_reproduced",
|
| 16 |
+
"audit_scope": "AST selector resolution and actual adapter materialization; no dependency-backed test execution in this audit"
|
| 17 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-tornado-9/manifest.json
CHANGED
|
@@ -107,6 +107,43 @@
|
|
| 107 |
"verification_status": "locally_reproduced"
|
| 108 |
},
|
| 109 |
"packet_review_status": "accepted",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
"public_files": [
|
| 111 |
{
|
| 112 |
"artifact_id": "public-execution_contract.json",
|
|
@@ -132,6 +169,5 @@
|
|
| 132 |
],
|
| 133 |
"seed": 0,
|
| 134 |
"source_type": "bugsinpy_upstream",
|
| 135 |
-
"task": "The pinned `tornado` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
| 136 |
-
"private_files": []
|
| 137 |
}
|
|
|
|
| 107 |
"verification_status": "locally_reproduced"
|
| 108 |
},
|
| 109 |
"packet_review_status": "accepted",
|
| 110 |
+
"private_files": [
|
| 111 |
+
{
|
| 112 |
+
"artifact_id": "private-baseline_verification.json",
|
| 113 |
+
"media_type": "application/json",
|
| 114 |
+
"path": "private/baseline_verification.json",
|
| 115 |
+
"sha256": "49dcf371a470ef1bd4d18a74eef243e175fb36dbd0efc3391714dc885d93f49f",
|
| 116 |
+
"visibility": "private"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"artifact_id": "private-gold.patch",
|
| 120 |
+
"media_type": "text/x-diff",
|
| 121 |
+
"path": "private/gold.patch",
|
| 122 |
+
"sha256": "fcd2f981563a8f174266064f81c711602f48113bdbb636b3ad490d5e74133936",
|
| 123 |
+
"visibility": "private"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"artifact_id": "private-reference.json",
|
| 127 |
+
"media_type": "application/json",
|
| 128 |
+
"path": "private/reference.json",
|
| 129 |
+
"sha256": "3f9459e3cfc826c059487f248c9684f38a2ca32cb8370fbeb1360aafbcab41fc",
|
| 130 |
+
"visibility": "private"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"artifact_id": "private-test_contract_audit.json",
|
| 134 |
+
"media_type": "application/json",
|
| 135 |
+
"path": "private/test_contract_audit.json",
|
| 136 |
+
"sha256": "7fc48b3aadc654924ed7000e5df37e9559a6a35a00e968518eab960ef21e5e05",
|
| 137 |
+
"visibility": "private"
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"artifact_id": "private-packet_content_review.json",
|
| 141 |
+
"media_type": "application/json",
|
| 142 |
+
"path": "private/packet_content_review.json",
|
| 143 |
+
"sha256": "9971a97c940066e30b227437a1bcfc672e09c3296a211ca4a44fe6b80c9cf735",
|
| 144 |
+
"visibility": "private"
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
"public_files": [
|
| 148 |
{
|
| 149 |
"artifact_id": "public-execution_contract.json",
|
|
|
|
| 169 |
],
|
| 170 |
"seed": 0,
|
| 171 |
"source_type": "bugsinpy_upstream",
|
| 172 |
+
"task": "The pinned `tornado` revision fails the designated regression test. Reproduce the failure, diagnose its cause, implement a minimal repair, rerun the designated test, and return a verified patch."
|
|
|
|
| 173 |
}
|
track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/baseline_verification.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "locally_reproduced",
|
| 3 |
+
"environment": {
|
| 4 |
+
"python": "Python 3.7.9",
|
| 5 |
+
"platform": "Windows x86_64",
|
| 6 |
+
"runtime_source": "https://www.python.org/ftp/python/3.7.9/python-3.7.9-embed-amd64.zip",
|
| 7 |
+
"third_party_dependencies": [],
|
| 8 |
+
"test_framework": "stdlib unittest",
|
| 9 |
+
"runtime_archive_sha256": "18627a097adf47829a847053febac5532376075243e233bd9ec61d6ea09dee1f",
|
| 10 |
+
"checkout_import_path": "explicit checkout at sys.path[0]"
|
| 11 |
+
},
|
| 12 |
+
"method": "same_upstream_test_patch_on_buggy_gold_patched_and_fixed_implementation",
|
| 13 |
+
"buggy_commit": "c9d2a3fa573987629ad576e991c2f3b65f4daab4",
|
| 14 |
+
"fixed_commit": "86cc31f52992fb9d11f92de6fd5496842fea2265",
|
| 15 |
+
"results": {
|
| 16 |
+
"buggy": {
|
| 17 |
+
"reproducer": {
|
| 18 |
+
"test_count": 1,
|
| 19 |
+
"failures": 0,
|
| 20 |
+
"errors": 1,
|
| 21 |
+
"passed": 0,
|
| 22 |
+
"return_code": 1,
|
| 23 |
+
"stdout": "{\"test_count\": 1, \"failures\": 0, \"errors\": 1, \"passed\": 0}\n",
|
| 24 |
+
"stderr": "test_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ERROR\n\n======================================================================\nERROR: test_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\tornado9_buggy_agka6llj\\tornado\\test\\httputil_test.py\", line 72, in test_url_concat_none_params\n None,\n File \"C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\tornado9_buggy_agka6llj\\tornado\\httputil.py\", line 616, in url_concat\n raise TypeError(err)\nTypeError: 'args' parameter should be dict, list or tuple. Not <class 'NoneType'>\n\n----------------------------------------------------------------------\nRan 1 test in 0.002s\n\nFAILED (errors=1)\n"
|
| 25 |
+
},
|
| 26 |
+
"regression_group": {
|
| 27 |
+
"test_count": 12,
|
| 28 |
+
"failures": 0,
|
| 29 |
+
"errors": 1,
|
| 30 |
+
"passed": 11,
|
| 31 |
+
"return_code": 1,
|
| 32 |
+
"stdout": "{\"test_count\": 12, \"failures\": 0, \"errors\": 1, \"passed\": 11}\n",
|
| 33 |
+
"stderr": "test_url_concat_dict_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_encode_args (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_mult_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ERROR\ntest_url_concat_q_with_no_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_q (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_with_frag (tornado.test.httputil_test.TestUrlConcat) ... ok\n\n======================================================================\nERROR: test_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\tornado9_buggy_agka6llj\\tornado\\test\\httputil_test.py\", line 72, in test_url_concat_none_params\n None,\n File \"C:\\Users\\23521\\.codex\\worktrees\\4381\\RACO_MAS\\puppeteer\\.packet_work\\tornado9_buggy_agka6llj\\tornado\\httputil.py\", line 616, in url_concat\n raise TypeError(err)\nTypeError: 'args' parameter should be dict, list or tuple. Not <class 'NoneType'>\n\n----------------------------------------------------------------------\nRan 12 tests in 0.002s\n\nFAILED (errors=1)\n"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"gold_patched": {
|
| 37 |
+
"reproducer": {
|
| 38 |
+
"test_count": 1,
|
| 39 |
+
"failures": 0,
|
| 40 |
+
"errors": 0,
|
| 41 |
+
"passed": 1,
|
| 42 |
+
"return_code": 0,
|
| 43 |
+
"stdout": "{\"test_count\": 1, \"failures\": 0, \"errors\": 0, \"passed\": 1}\n",
|
| 44 |
+
"stderr": "test_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ok\n\n----------------------------------------------------------------------\nRan 1 test in 0.000s\n\nOK\n"
|
| 45 |
+
},
|
| 46 |
+
"regression_group": {
|
| 47 |
+
"test_count": 12,
|
| 48 |
+
"failures": 0,
|
| 49 |
+
"errors": 0,
|
| 50 |
+
"passed": 12,
|
| 51 |
+
"return_code": 0,
|
| 52 |
+
"stdout": "{\"test_count\": 12, \"failures\": 0, \"errors\": 0, \"passed\": 12}\n",
|
| 53 |
+
"stderr": "test_url_concat_dict_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_encode_args (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_mult_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_q_with_no_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_q (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_with_frag (tornado.test.httputil_test.TestUrlConcat) ... ok\n\n----------------------------------------------------------------------\nRan 12 tests in 0.001s\n\nOK\n"
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
"fixed_commit": {
|
| 57 |
+
"reproducer": {
|
| 58 |
+
"test_count": 1,
|
| 59 |
+
"failures": 0,
|
| 60 |
+
"errors": 0,
|
| 61 |
+
"passed": 1,
|
| 62 |
+
"return_code": 0,
|
| 63 |
+
"stdout": "{\"test_count\": 1, \"failures\": 0, \"errors\": 0, \"passed\": 1}\n",
|
| 64 |
+
"stderr": "test_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ok\n\n----------------------------------------------------------------------\nRan 1 test in 0.000s\n\nOK\n"
|
| 65 |
+
},
|
| 66 |
+
"regression_group": {
|
| 67 |
+
"test_count": 12,
|
| 68 |
+
"failures": 0,
|
| 69 |
+
"errors": 0,
|
| 70 |
+
"passed": 12,
|
| 71 |
+
"return_code": 0,
|
| 72 |
+
"stdout": "{\"test_count\": 12, \"failures\": 0, \"errors\": 0, \"passed\": 12}\n",
|
| 73 |
+
"stderr": "test_url_concat_dict_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_encode_args (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_mult_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_multi_same_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_no_query_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_none_params (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_q_with_no_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_amp (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_trailing_q (tornado.test.httputil_test.TestUrlConcat) ... ok\ntest_url_concat_with_frag (tornado.test.httputil_test.TestUrlConcat) ... ok\n\n----------------------------------------------------------------------\nRan 12 tests in 0.001s\n\nOK\n"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"fixed_commit_scope": "base checkout with exact fixed implementation and exact fixed regression test; other files remain at buggy revision"
|
| 78 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/gold.patch
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diff --git a/tornado/httputil.py b/tornado/httputil.py
|
| 2 |
+
index dc206fc8..818ea914 100644
|
| 3 |
+
--- a/tornado/httputil.py
|
| 4 |
+
+++ b/tornado/httputil.py
|
| 5 |
+
@@ -603,6 +603,8 @@ def url_concat(url, args):
|
| 6 |
+
>>> url_concat("http://example.com/foo?a=b", [("c", "d"), ("c", "d2")])
|
| 7 |
+
'http://example.com/foo?a=b&c=d&c=d2'
|
| 8 |
+
"""
|
| 9 |
+
+ if args is None:
|
| 10 |
+
+ return url
|
| 11 |
+
parsed_url = urlparse(url)
|
| 12 |
+
if isinstance(args, dict):
|
| 13 |
+
parsed_query = parse_qsl(parsed_url.query, keep_blank_values=True)
|
track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/packet_content_review.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assistant_recommendation": "recommended_accept",
|
| 3 |
+
"execution_readiness": "runtime_verified",
|
| 4 |
+
"findings": {
|
| 5 |
+
"bug": "url_concat raises TypeError for args=None instead of preserving the URL.",
|
| 6 |
+
"decision": "recommended_accept",
|
| 7 |
+
"execution_next_steps": [
|
| 8 |
+
"Reuse the recorded Python 3.7.9 environment with the pinned checkout on the import path."
|
| 9 |
+
],
|
| 10 |
+
"test": "The upstream None test and TestUrlConcat group were reproduced on Python 3.7.9; buggy passes 11/12 and gold/upstream-fixed implementations pass 12/12."
|
| 11 |
+
},
|
| 12 |
+
"human_review_status": "human_verified",
|
| 13 |
+
"packet_id": "code-bugsinpy-tornado-9",
|
| 14 |
+
"packet_review_status": "accepted",
|
| 15 |
+
"release_notes": "License redistribution verification remains independent; see fixtures/upstream/license_metadata.json. Packet acceptance is not release approval.",
|
| 16 |
+
"reviewed_at": "2026-10-22",
|
| 17 |
+
"reviewer_id": "codex",
|
| 18 |
+
"reviewer_type": "assistant",
|
| 19 |
+
"scope": "Packet content: task, provenance, test semantics, fixtures and observability. Runtime execution and human acceptance are separate.",
|
| 20 |
+
"verified_evidence": {
|
| 21 |
+
"runtime_baseline": "private/baseline_verification.json",
|
| 22 |
+
"test_provenance": "fixtures/upstream/test_artifact_provenance.json",
|
| 23 |
+
"test_target_and_materialization": "private/test_contract_audit.json"
|
| 24 |
+
}
|
| 25 |
+
}
|
track_b_packets/code_debugging/code-bugsinpy-tornado-9/private/reference.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"buggy_commit_id": "c9d2a3fa573987629ad576e991c2f3b65f4daab4",
|
| 3 |
+
"changed_paths": [
|
| 4 |
+
"tornado/httputil.py"
|
| 5 |
+
],
|
| 6 |
+
"fixed_commit_id": "86cc31f52992fb9d11f92de6fd5496842fea2265",
|
| 7 |
+
"local_reproduction": "locally_reproduced",
|
| 8 |
+
"regression_test_visibility": "executor_public",
|
| 9 |
+
"repository": "tornadoweb/tornado",
|
| 10 |
+
"source_bug_id": "9",
|
| 11 |
+
"source_dataset": "BugsInPy",
|
| 12 |
+
"source_project": "tornado",
|
| 13 |
+
"test_files": [
|
| 14 |
+
"tornado/test/httputil_test.py"
|
| 15 |
+
],
|
| 16 |
+
"upstream_status": "OK",
|
| 17 |
+
"regression_test_origin_revision": "86cc31f52992fb9d11f92de6fd5496842fea2265"
|
| 18 |
+
}
|