FWeindel commited on
Commit
9878a68
·
verified ·
1 Parent(s): 0a3a146

Restore BugsInPy historical static repairs with verified cached images

Browse files
bugsinpy-original_environment-reliable/README.md CHANGED
@@ -1,42 +1,41 @@
1
  # BugsInPy
2
 
3
- The pinned [native BugsInPy release](https://github.com/soarsmu/BugsInPy/tree/11c5f1eea954a42132cfd06bf257766a7963e0fd) lists **501 bugs**. We converted **500**; Keras 12 has identical buggy and fixed commits and produced no task.
4
 
5
- TaskTrove used GPT-4o-mini to turn bug-fix diffs into self-contained Python tasks, with generated tests and instructions. We replaced those generated tasks with the actual project repositories at their buggy commits, using the upstream tests and reference fixes recorded by BugsInPy.
 
6
 
7
- - **Docker images:** the native benchmark supplied no Docker images. Our retained tasks use **11 shared image definitions**; this was a new conversion, not image consolidation.
8
- - **Tasks: 501 original bugs; 489 kept (all converted), 11 excluded and 1 not converted.** The 462 reviewed instruction changes remain included.
9
 
10
- ## Stage 3: Build/setup and environment compatibility
11
 
12
- - **489 retained tasks converted:** packaged the buggy repositories and pinned runtime and test dependencies for reproducible setup.
13
- - **247 tasks:** added compiler tools or system development libraries to their images.
14
- - **1 task excluded:** YouTube-DL 40 concerns an older-Python bug that its recorded Python 3.7 environment cannot exercise.
15
 
16
- ## Stage 4: Reference solution reward 1
17
 
18
- - **489 tasks adapted:** installed pinned test dependencies in a clean verifier environment so existing agent-side packages could not cause installation to be skipped.
19
- - **66 tasks:** refreshed restored source-file timestamps so Python would not reuse stale compiled bytecode after applying the fix.
20
- - **169 pandas tasks:** refreshed fixed source timestamps before rebuilding compiled extensions.
21
- - **1 task excluded:** HTTPie 4 requires the live httpbin.org service, so a correct fix can fail when the service or network is unavailable.
22
 
23
- ## Stage 5: No-op reward 0
24
 
25
- **6 tasks patched:**
26
 
27
- - **1 Ansible task:** added an existing upstream regression that detects the CPU-counting bug; the original selected test passed without the fix.
28
- - **4 tasks (Scrapy 33 and YouTube-DL 38, 39 and 42):** moved missing-function lookups into their tests so unfinished code fails a test instead of stopping test collection.
29
- - **1 YouTube-DL task:** added offline chapter-extraction checks covering JSON chapter data and the description fallback.
30
 
31
- **3 tasks excluded:** Keras 15 and Scrapy 7 and 11 passed their selected tests without the reference fix.
32
 
33
- ## Task-quality review retained
34
 
35
- - **462 reviewed instruction changes preserved.** The automatically added timeout/anti-cheating suffix is removed from all 489 retained tasks.
36
- - **6 existing exclusions preserved:** Ansible 12, Luigi 8, TheFuck 3 and 16, and Tornado 6 required implementation details that could reject alternative correct fixes. Black 23's selected test did not cover the issue described in its instruction.
37
 
38
- ## Images
 
 
 
39
 
40
- Dockerfiles are included in every task. **11 verified cached image bundles** are available in [cached_images](https://huggingface.co/datasets/FWeindel/validated-tasks/tree/main/bugsinpy-original_environment-reliable/cached_images). Task Parquets pin the image files and checksums to an immutable commit.
41
 
42
- [Detailed provenance and conversion notes](https://github.com/MLI-lab/OT-next-data/blob/33c7a1648a5eca45310eb4515f11e14f363fabb2/data/tasktrove_bugsinpy/README.md).
 
 
 
 
 
1
  # BugsInPy
2
 
3
+ ## Dataset stats
4
 
5
+ - **Tasks:** 501 native bugs = **489 retained (all 489 converted/patched)** + **11 archived** + **1 not converted** (Keras 12 has identical buggy/fixed commits). Includes 462 retained instruction rewrites.
6
+ - **Images:** native source supplied none; conversion introduces **11 shared image definitions**. **11 verified cached Apptainer bundles** cover all 489 retained tasks, pinned by checksum and immutable image commit in `tasks.parquet`.
7
 
8
+ ## Dataset characteristics
 
9
 
10
+ Real Python repositories at buggy commits, upstream regression tests and reference fixes from [BugsInPy](https://github.com/soarsmu/BugsInPy/tree/11c5f1eea954a42132cfd06bf257766a7963e0fd), replacing TaskTrove's synthetic code/tests.
11
 
12
+ <details><summary>Domains</summary>
 
 
13
 
14
+ **Debugging; Software Engineering.** Repair crashes, incorrect results and missing behavior in projects including pandas, Black, Luigi, spaCy, Tornado and youtube-dl.
15
 
16
+ </details>
 
 
 
17
 
18
+ <details><summary>Capabilities</summary>
19
 
20
+ **Exploration; Error Recovery.** Find relevant code in unfamiliar repositories, reproduce failures and iterate against regression tests. Labels follow [CLI-Universe](https://arxiv.org/abs/2606.22883v1).
21
 
22
+ </details>
 
 
23
 
24
+ **Intended benchmark transfer:** SWE-bench Verified random-100; DeepSWE 1.1, through repository-level issue diagnosis and test-driven repairs.
25
 
26
+ ## Per-stage breakdown
27
 
28
+ Counts overlap. [Historical evidence](https://huggingface.co/datasets/FWeindel/validated-tasks/blob/579dbfd3edf67734e7725129c62dcf5975945976/runs/2026-10-08-bugsinpy-original-fc23c4eacb04.json): stages 3/4/5 passed before instruction review; stage 1 reran afterwards.
 
29
 
30
+ - **1, rule-based/static:** 489 retain the timeout/anti-cheating suffix required by `check-instruction-suffix.sh` (427 carried the historical `anti-cheat-instruction` change label). **0 static archives**; 7 recorded `warning:relative-instruction-path` findings remained warnings. The contract excluded 13 checks. Separate instruction review preserved **462 rewrites** and archived **6** for tests requiring specific implementations (5) or testing a different issue (1), recorded as `flagged_by_instruction_loop`, not static-check failures.
31
+ - **3, build/setup:** **489 converted** to shared Apptainer-compatible environments with pinned dependencies; **247** include compiler/system libraries. Shared Marin/Harbor bridge fixes addressed container startup, uploads and certificate mounts. **1 archived** (`environment_task_mismatch`): YouTube-DL 40 requires older-Python behavior absent from its recorded environment.
32
+ - **4, reference reward 1:** **489 passed**. Clean verifier dependency installs for **489**; source-timestamp fixes for **66**, plus **169 pandas** native rebuilds. **1 archived** (`flagged_by_instruction_loop`): HTTPie 4 depends on live httpbin.org availability.
33
+ - **5, no-op reward 0:** **489 passed**. **6 verifier repairs:** Ansible CPU regression (1), missing-function assertions moved inside tests (4), offline YouTube-DL chapter checks (1). **3 archived** (`buggy-version-passes-verifier`): Keras 15 and Scrapy 7/11 passed without a fix.
34
 
35
+ All 11 archives were recorded as stage-0 conversion/review exclusions; the bullets group their reasons by relevant stage.
36
 
37
+ ## Resources and timing
38
+
39
+ Historical final static run: Helma, x86_64, **48 CPUs / 128G**, static concurrency **24**; Python **3.12.14**, Harbor **0.8.1**, Apptainer **1.5.4-1.el9**. Harbor-validation commit `7faf878c14b6`.
40
+
41
+ **Validation:** stage 1 wall time **7.3 s / 489 tasks**; per-task median **0.3 s**. **Not recorded:** mean task time, aggregate stages 3/4/5 time, total/per-task patching time, separate Marin version.
bugsinpy-original_environment-reliable/archive.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d6b44e000602924783405674cce6b90e0dd5a915f8415df55ba610eed37ddaf
3
- size 30872916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f448a7a911269a0a530058aa9f11cd9aa1a335958fe6d2ec5a439bc1a378aebe
3
+ size 31154810
bugsinpy-original_environment-reliable/patch.py CHANGED
@@ -2374,8 +2374,8 @@ def write_project(output: Path, rows: list[dict], manifest: list[dict], errors:
2374
  (output / "issues.json").write_text(json.dumps(cache, indent=2, sort_keys=True) + "\n")
2375
 
2376
 
2377
- def remove_publication_suffix(blob: bytes, expected_sha256: str | None) -> tuple[bytes, dict[str, bytes]]:
2378
- """Remove only the suffix; optionally require an exact historical archive hash."""
2379
  files = {}
2380
  with tarfile.open(fileobj=io.BytesIO(blob)) as archive:
2381
  for member in archive:
@@ -2394,7 +2394,9 @@ def remove_publication_suffix(blob: bytes, expected_sha256: str | None) -> tuple
2394
  if count != 1:
2395
  raise ValueError('Expected exactly one automatic instruction suffix')
2396
  files['instruction.md'] = instruction
2397
- restored = task_tar(files)
 
 
2398
  if expected_sha256 is not None and sha256(restored) != expected_sha256:
2399
  raise ValueError('Restored task differs from the accepted instruction-review payload')
2400
  return restored, files
@@ -2416,7 +2418,8 @@ def environment_exclusion_group(task: str) -> str:
2416
 
2417
 
2418
  def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_record: Path,
2419
- publication_revision: str, output: Path, payload_shards: Path | None = None) -> dict:
 
2420
  import pyarrow as pa
2421
  import pyarrow.parquet as pq
2422
  from collections import Counter
@@ -2457,12 +2460,19 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2457
  'archived': len(archive_rows), 'exclusions_by_group': dict(Counter(x['group'] for x in exclusions)),
2458
  'reviewed_instruction_changes_preserved': len(reviewed),
2459
  'quality_exclusions_preserved': sum(x['group'] == 'task-quality-review' for x in exclusions),
2460
- 'automatic_suffix_removed': len(expected), 'source_docker_images': None,
 
 
2461
  'image_consolidation': False, 'published_cached_bundles': 0,
2462
  'historical_run': run_url, 'publication_revision': publication_revision,
2463
  'fresh_validation': False,
2464
  'evidence_transfer': 'Historical runtime evidence disclosed by the publication. Only the automatic instruction suffix is removed; all runtime files and file modes are preserved. Reviewed instructions and the existing quality exclusions are intentionally retained. No new runtime or teacher run.',
2465
  }
 
 
 
 
 
2466
  published = pq.ParquetFile(tasks)
2467
  schema = published.schema_arrow
2468
  def input_rows():
@@ -2478,16 +2488,20 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2478
  if not shards:
2479
  raise ValueError('No payload shards')
2480
  for shard in shards:
2481
- for batch in pq.ParquetFile(shard).iter_batches(batch_size=8):
2482
- for payload in batch.to_pylist():
 
 
 
2483
  if payload['path'] not in annotations:
2484
  raise ValueError('Unexpected task in payload shards')
2485
  yield {**annotations[payload['path']], 'task_binary': payload['task_binary']}
2486
  output.mkdir(parents=True)
2487
  retained, images, seen, features = [], {}, set(), Counter()
2488
  # Write a bounded-memory intermediate; add the measured summary metadata below.
 
2489
  temporary = output/'tasks.data.parquet'
2490
- with pq.ParquetWriter(temporary, schema, compression='zstd') as writer:
2491
  for row in input_rows():
2492
  task = row['path']
2493
  if task in seen or task not in expected:
@@ -2499,9 +2513,15 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2499
  # Historical tar packaging varies across the review/retry runs.
2500
  # Bind every input to its published binary hash, change only the
2501
  # canonical suffix, and separately report exact assembly matches.
2502
- blob, files = remove_publication_suffix(row['task_binary'], None)
2503
- assembly_match = sha256(blob) == expected[task]['output_sha256']
2504
- features['accepted_assembly_archive_matches'] += assembly_match
 
 
 
 
 
 
2505
  image = sha256(files['environment/Dockerfile'])
2506
  images.setdefault(image, {'dockerfile': files['environment/Dockerfile'].decode(), 'tasks': []})['tasks'].append(task)
2507
  features['isolated_verifier'] += b'env -u PYTHONPATH /tests/.venv/bin/python -m pip install' in files['tests/test.sh']
@@ -2509,8 +2529,9 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2509
  features['reference_native_rebuild_refresh'] += b'os.utime(path, None)' in files['solution/solve.sh']
2510
  features['native_build_tools'] += b'apt-get install' in files['environment/Dockerfile']
2511
  features['setup_and_verifier_locks'] += bool(files['setup_files/requirements.lock'].strip() and files['tests/requirements.lock'].strip())
2512
- row.update(task_binary=blob, content_sha256=files_digest(files.items()), stages_passed='3,4,5', run=run_url,
2513
- patch_labels=[label for label in row['patch_labels'] if label != 'anti-cheat-instruction'])
 
2514
  writer.write_table(pa.Table.from_pylist([row], schema=schema))
2515
  retained.append({'task_id': task, 'historical_binary_sha256': before_binary,
2516
  'output_binary_sha256': sha256(blob), 'content_sha256': row['content_sha256'],
@@ -2523,9 +2544,10 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2523
  summary.update(shared_image_definitions=len(images), retained_runtime_features=dict(features))
2524
  metadata = dict(schema.metadata or {})
2525
  metadata[b'ot.environment_reliable.v1'] = json.dumps(summary).encode()
2526
- with pq.ParquetWriter(output/'tasks.parquet', schema.with_metadata(metadata), compression='zstd') as writer:
2527
- for batch in pq.ParquetFile(temporary).iter_batches(batch_size=1):
2528
- writer.write_table(pa.Table.from_batches([batch]).replace_schema_metadata(metadata))
 
2529
  temporary.unlink()
2530
  for row in archive_rows:
2531
  row['run'] = run_url
@@ -2533,7 +2555,7 @@ def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_r
2533
  'https://github.com/MLI-lab/OT-next-data/tree/main/data/tasktrove_bugsinpy/',
2534
  'https://github.com/MLI-lab/OT-next-data/tree/33c7a1648a5eca45310eb4515f11e14f363fabb2/data/tasktrove_bugsinpy/')
2535
  pq.write_table(pa.Table.from_pylist(archive_rows, schema=excluded.schema).replace_schema_metadata(metadata),
2536
- output/'archive.parquet', compression='zstd')
2537
  (output/'summary.json').write_text(json.dumps(summary, indent=2)+'\n')
2538
  (output/'audit.json').write_text(json.dumps({'summary': summary, 'retained': retained, 'exclusions': exclusions}, indent=2)+'\n')
2539
  (output/'image-definitions.json').write_text(json.dumps(images, indent=2)+'\n')
@@ -2554,7 +2576,9 @@ def main() -> None:
2554
  help="Shared image by Python version; fields: major, minor, version")
2555
  parser.add_argument("--render-dir", type=Path, help="Optional folder for inspectable Harbor tasks")
2556
  parser.add_argument("--issue-cache", type=Path, help="Optional saved issue responses to reuse")
2557
- parser.add_argument('--validated-tasks', type=Path, help='Prepare the reviewed publication without its automatic suffix')
 
 
2558
  parser.add_argument('--validated-archive', type=Path)
2559
  parser.add_argument('--run-record', type=Path)
2560
  parser.add_argument('--assembly-record', type=Path)
@@ -2567,9 +2591,10 @@ def main() -> None:
2567
  if any((args.start_at_project, args.stop_after_project, args.render_dir, args.issue_cache, args.metadata_revision)):
2568
  parser.error('Publication preparation cannot be combined with native conversion options')
2569
  print(json.dumps(prepare_environment(args.validated_tasks, args.validated_archive, args.run_record,
2570
- args.assembly_record, args.publication_revision, args.output, args.payload_shards), indent=2))
 
2571
  return
2572
- if any((args.validated_archive, args.run_record, args.assembly_record, args.publication_revision, args.payload_shards)):
2573
  parser.error('Publication inputs require --validated-tasks')
2574
  try:
2575
  import pyarrow # noqa: F401 - fail before writing any rendered tasks
 
2374
  (output / "issues.json").write_text(json.dumps(cache, indent=2, sort_keys=True) + "\n")
2375
 
2376
 
2377
+ def remove_publication_suffix(blob: bytes, expected_sha256: str | None, *, repack: bool = True) -> tuple[bytes, dict[str, bytes]]:
2378
+ """Remove the suffix from files; repack=False keeps the original archive bytes."""
2379
  files = {}
2380
  with tarfile.open(fileobj=io.BytesIO(blob)) as archive:
2381
  for member in archive:
 
2394
  if count != 1:
2395
  raise ValueError('Expected exactly one automatic instruction suffix')
2396
  files['instruction.md'] = instruction
2397
+ if expected_sha256 is not None and not repack:
2398
+ raise ValueError("Assembly comparison requires repacking")
2399
+ restored = task_tar(files) if repack else blob
2400
  if expected_sha256 is not None and sha256(restored) != expected_sha256:
2401
  raise ValueError('Restored task differs from the accepted instruction-review payload')
2402
  return restored, files
 
2418
 
2419
 
2420
  def prepare_environment(tasks: Path, archive: Path, run_record: Path, assembly_record: Path,
2421
+ publication_revision: str, output: Path, payload_shards: Path | None = None,
2422
+ include_static_repairs: bool = False) -> dict:
2423
  import pyarrow as pa
2424
  import pyarrow.parquet as pq
2425
  from collections import Counter
 
2460
  'archived': len(archive_rows), 'exclusions_by_group': dict(Counter(x['group'] for x in exclusions)),
2461
  'reviewed_instruction_changes_preserved': len(reviewed),
2462
  'quality_exclusions_preserved': sum(x['group'] == 'task-quality-review' for x in exclusions),
2463
+ 'automatic_suffix_removed': 0 if include_static_repairs else len(expected),
2464
+ 'automatic_suffix_preserved': len(expected) if include_static_repairs else 0,
2465
+ 'source_docker_images': None,
2466
  'image_consolidation': False, 'published_cached_bundles': 0,
2467
  'historical_run': run_url, 'publication_revision': publication_revision,
2468
  'fresh_validation': False,
2469
  'evidence_transfer': 'Historical runtime evidence disclosed by the publication. Only the automatic instruction suffix is removed; all runtime files and file modes are preserved. Reviewed instructions and the existing quality exclusions are intentionally retained. No new runtime or teacher run.',
2470
  }
2471
+ if include_static_repairs:
2472
+ summary['evidence_transfer'] = (
2473
+ 'Historical final stage-1 checks and pre-instruction-review runtime stages 3, 4 and 5. '
2474
+ 'Exact historical published task payloads retain reviewed instructions and rule-based suffix repairs. '
2475
+ 'No fresh runtime or teacher run.')
2476
  published = pq.ParquetFile(tasks)
2477
  schema = published.schema_arrow
2478
  def input_rows():
 
2488
  if not shards:
2489
  raise ValueError('No payload shards')
2490
  for shard in shards:
2491
+ parquet = pq.ParquetFile(shard)
2492
+ # Existing shards use one bounded task per row group. Reading across
2493
+ # groups through iter_batches is pathological for large binary cells.
2494
+ for group in range(parquet.num_row_groups):
2495
+ for payload in parquet.read_row_group(group).to_pylist():
2496
  if payload['path'] not in annotations:
2497
  raise ValueError('Unexpected task in payload shards')
2498
  yield {**annotations[payload['path']], 'task_binary': payload['task_binary']}
2499
  output.mkdir(parents=True)
2500
  retained, images, seen, features = [], {}, set(), Counter()
2501
  # Write a bounded-memory intermediate; add the measured summary metadata below.
2502
+ # Payloads are already compressed tar archives; avoid expensive recompression.
2503
  temporary = output/'tasks.data.parquet'
2504
+ with pq.ParquetWriter(temporary, schema, compression='NONE') as writer:
2505
  for row in input_rows():
2506
  task = row['path']
2507
  if task in seen or task not in expected:
 
2513
  # Historical tar packaging varies across the review/retry runs.
2514
  # Bind every input to its published binary hash, change only the
2515
  # canonical suffix, and separately report exact assembly matches.
2516
+ blob, files = remove_publication_suffix(row['task_binary'], None, repack=not include_static_repairs)
2517
+ assembly_match = None if include_static_repairs else sha256(blob) == expected[task]['output_sha256']
2518
+ if assembly_match is not None:
2519
+ features['accepted_assembly_archive_matches'] += assembly_match
2520
+ if include_static_repairs:
2521
+ # Restore the exact historical payload, including its tar metadata.
2522
+ blob = row['task_binary']
2523
+ with tarfile.open(fileobj=io.BytesIO(blob)) as original:
2524
+ files['instruction.md'] = original.extractfile('instruction.md').read()
2525
  image = sha256(files['environment/Dockerfile'])
2526
  images.setdefault(image, {'dockerfile': files['environment/Dockerfile'].decode(), 'tasks': []})['tasks'].append(task)
2527
  features['isolated_verifier'] += b'env -u PYTHONPATH /tests/.venv/bin/python -m pip install' in files['tests/test.sh']
 
2529
  features['reference_native_rebuild_refresh'] += b'os.utime(path, None)' in files['solution/solve.sh']
2530
  features['native_build_tools'] += b'apt-get install' in files['environment/Dockerfile']
2531
  features['setup_and_verifier_locks'] += bool(files['setup_files/requirements.lock'].strip() and files['tests/requirements.lock'].strip())
2532
+ row.update(task_binary=blob, content_sha256=files_digest(files.items()), stages_passed='1,3,4,5' if include_static_repairs else '3,4,5', run=run_url,
2533
+ patch_labels=row['patch_labels'] if include_static_repairs else
2534
+ [label for label in row['patch_labels'] if label != 'anti-cheat-instruction'])
2535
  writer.write_table(pa.Table.from_pylist([row], schema=schema))
2536
  retained.append({'task_id': task, 'historical_binary_sha256': before_binary,
2537
  'output_binary_sha256': sha256(blob), 'content_sha256': row['content_sha256'],
 
2544
  summary.update(shared_image_definitions=len(images), retained_runtime_features=dict(features))
2545
  metadata = dict(schema.metadata or {})
2546
  metadata[b'ot.environment_reliable.v1'] = json.dumps(summary).encode()
2547
+ with pq.ParquetWriter(output/'tasks.parquet', schema.with_metadata(metadata), compression='NONE') as writer:
2548
+ parquet = pq.ParquetFile(temporary)
2549
+ for group in range(parquet.num_row_groups):
2550
+ writer.write_table(parquet.read_row_group(group).replace_schema_metadata(metadata))
2551
  temporary.unlink()
2552
  for row in archive_rows:
2553
  row['run'] = run_url
 
2555
  'https://github.com/MLI-lab/OT-next-data/tree/main/data/tasktrove_bugsinpy/',
2556
  'https://github.com/MLI-lab/OT-next-data/tree/33c7a1648a5eca45310eb4515f11e14f363fabb2/data/tasktrove_bugsinpy/')
2557
  pq.write_table(pa.Table.from_pylist(archive_rows, schema=excluded.schema).replace_schema_metadata(metadata),
2558
+ output/'archive.parquet', compression='NONE')
2559
  (output/'summary.json').write_text(json.dumps(summary, indent=2)+'\n')
2560
  (output/'audit.json').write_text(json.dumps({'summary': summary, 'retained': retained, 'exclusions': exclusions}, indent=2)+'\n')
2561
  (output/'image-definitions.json').write_text(json.dumps(images, indent=2)+'\n')
 
2576
  help="Shared image by Python version; fields: major, minor, version")
2577
  parser.add_argument("--render-dir", type=Path, help="Optional folder for inspectable Harbor tasks")
2578
  parser.add_argument("--issue-cache", type=Path, help="Optional saved issue responses to reuse")
2579
+ parser.add_argument('--validated-tasks', type=Path, help='Prepare the reviewed historical publication')
2580
+ parser.add_argument('--include-static-repairs', action='store_true',
2581
+ help='Preserve exact historical payloads with reviewed instructions and rule-based suffix repairs')
2582
  parser.add_argument('--validated-archive', type=Path)
2583
  parser.add_argument('--run-record', type=Path)
2584
  parser.add_argument('--assembly-record', type=Path)
 
2591
  if any((args.start_at_project, args.stop_after_project, args.render_dir, args.issue_cache, args.metadata_revision)):
2592
  parser.error('Publication preparation cannot be combined with native conversion options')
2593
  print(json.dumps(prepare_environment(args.validated_tasks, args.validated_archive, args.run_record,
2594
+ args.assembly_record, args.publication_revision, args.output, args.payload_shards,
2595
+ include_static_repairs=args.include_static_repairs), indent=2))
2596
  return
2597
+ if any((args.validated_archive, args.run_record, args.assembly_record, args.publication_revision, args.payload_shards, args.include_static_repairs)):
2598
  parser.error('Publication inputs require --validated-tasks')
2599
  try:
2600
  import pyarrow # noqa: F401 - fail before writing any rendered tasks
bugsinpy-original_environment-reliable/tasks.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c6a13b40376dec7bb27fe07518d63a8d4fd720fc53ddc554b3275f693d3c1a1
3
- size 4377463814
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c9b90adbe2e2d5ac8f56165ebfaa5e3dbde370f51b453884be5b3c0b2944c54
3
+ size 4343661074