Datasets:
Rename v2 selection assets folders to metadata
Browse filesMove eight selection manifests to metadata and update reproduction scripts and README references.
Files changed (24)
- bugsinpy_v2/README.md+1-1
- bugsinpy_v2/assets/selection.json → bugsinpy_v2/metadata/selection.jsonRenamed
- bugsinpy_v2/patch.py+2-2
- calibforge_v2/README.md+1-1
- calibforge_v2/assets/selection.json → calibforge_v2/metadata/selection.jsonRenamed
- calibforge_v2/patch.py+1-1
- crosscodeeval_v2/README.md+1-1
- crosscodeeval_v2/assets/selection.json → crosscodeeval_v2/metadata/selection.jsonRenamed
- crosscodeeval_v2/patch.py+2-2
- endless_v2/README.md+1-1
- endless_v2/assets/selection.json → endless_v2/metadata/selection.jsonRenamed
- endless_v2/patch.py+1-1
- scaleswe_v2/README.md+1-1
- scaleswe_v2/assets/selection.json → scaleswe_v2/metadata/selection.jsonRenamed
- scaleswe_v2/patch.py+1-1
- seta_v2/README.md+1-1
- seta_v2/assets/selection.json → seta_v2/metadata/selection.jsonRenamed
- seta_v2/patch.py+1-1
- swelego_v2/README.md+1-1
- swelego_v2/assets/selection.json → swelego_v2/metadata/selection.jsonRenamed
- swelego_v2/patch.py+1-1
- termigen_v2/README.md+1-1
- termigen_v2/assets/selection.json → termigen_v2/metadata/selection.jsonRenamed
- termigen_v2/patch.py+1-1
57 unmodified lines5859606162636457 unmodified lines## Select tasks by successful-attempt count`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.```pythonimport pyarrow.parquet as pq57 unmodified lines5859606162636457 unmodified lines## Select tasks by successful-attempt count`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](metadata/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.```pythonimport pyarrow.parquet as pq
53 unmodified lines5455565758596055 unmodified lines11611711811912012112253 unmodified linesimages = restrict_images(image_manifest, kept)assert set(images['tasks']) == keptrelease = {k: v for k, v in selection.items() if k != 'tasks'}release['selection_file'] = 'assets/selection.json'metadata = {b'ot.release.v2': json.dumps(release).encode(), b'ot.images.v1': json.dumps(images).encode()}schema = original_schema.remove_metadata().append(pa.field('instruct_successes', pa.int64())).append(pa.field('thinking_successes', pa.int64())).append(pa.field('attempts_per_model', pa.int64()))55 unmodified linesparser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--source-dir', type=Path)parser.add_argument('--out', type=Path, required=True)parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'assets' / 'selection.json')parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally')args = parser.parse_args()build(args.source_dir, args.out, args.selection)53 unmodified lines5455565758596055 unmodified lines11611711811912012112253 unmodified linesimages = restrict_images(image_manifest, kept)assert set(images['tasks']) == keptrelease = {k: v for k, v in selection.items() if k != 'tasks'}release['selection_file'] = 'metadata/selection.json'metadata = {b'ot.release.v2': json.dumps(release).encode(), b'ot.images.v1': json.dumps(images).encode()}schema = original_schema.remove_metadata().append(pa.field('instruct_successes', pa.int64())).append(pa.field('thinking_successes', pa.int64())).append(pa.field('attempts_per_model', pa.int64()))55 unmodified linesparser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--source-dir', type=Path)parser.add_argument('--out', type=Path, required=True)parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'metadata' / 'selection.json')parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally')args = parser.parse_args()build(args.source_dir, args.out, args.selection)
55 unmodified lines5657585960616255 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept payloads, `instruct_successes`, `instruct_graded_attempts`, `instruct_missing_attempts` and `target_attempts_per_model` (8). `assets/selection.json` records all task statuses, attempt IDs, rewards and the pinned v1 source. Excluded payloads remain in v1; no duplicate archive Parquet is uploaded. `patch.py` reproduces this snapshot.```pythonimport pyarrow.parquet as pq55 unmodified lines5657585960616255 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept payloads, `instruct_successes`, `instruct_graded_attempts`, `instruct_missing_attempts` and `target_attempts_per_model` (8). `metadata/selection.json` records all task statuses, attempt IDs, rewards and the pinned v1 source. Excluded payloads remain in v1; no duplicate archive Parquet is uploaded. `patch.py` reproduces this snapshot.```pythonimport pyarrow.parquet as pq
4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata()for name in ['instruct_successes','instruct_graded_attempts','instruct_missing_attempts','target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata()for name in ['instruct_successes','instruct_graded_attempts','instruct_missing_attempts','target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]
59 unmodified lines6061626364656659 unmodified lines## Select tasks by successful-attempt count`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.```pythonimport pyarrow.parquet as pq59 unmodified lines6061626364656659 unmodified lines## Select tasks by successful-attempt count`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](metadata/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.```pythonimport pyarrow.parquet as pq
55 unmodified lines5657585960616268 unmodified lines13113213313413513613755 unmodified linesimages = restrict_images(image_manifest, kept)assert set(images['tasks']) == keptrelease = {k: v for k, v in selection.items() if k != 'tasks'}release['selection_file'] = 'assets/selection.json'metadata = {b'ot.release.v2': json.dumps(release).encode(), b'ot.images.v1': json.dumps(images).encode()}schema = original_schema.remove_metadata().append(pa.field('instruct_successes', pa.int64())).append(pa.field('thinking_successes', pa.int64())).append(pa.field('attempts_per_model', pa.int64())).append(pa.field('archive_category', pa.string()))68 unmodified linesparser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--source-dir', type=Path)parser.add_argument('--out', type=Path, required=True)parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'assets' / 'selection.json')parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally')args = parser.parse_args()build(args.source_dir, args.out, args.selection)55 unmodified lines5657585960616268 unmodified lines13113213313413513613755 unmodified linesimages = restrict_images(image_manifest, kept)assert set(images['tasks']) == keptrelease = {k: v for k, v in selection.items() if k != 'tasks'}release['selection_file'] = 'metadata/selection.json'metadata = {b'ot.release.v2': json.dumps(release).encode(), b'ot.images.v1': json.dumps(images).encode()}schema = original_schema.remove_metadata().append(pa.field('instruct_successes', pa.int64())).append(pa.field('thinking_successes', pa.int64())).append(pa.field('attempts_per_model', pa.int64())).append(pa.field('archive_category', pa.string()))68 unmodified linesparser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--source-dir', type=Path)parser.add_argument('--out', type=Path, required=True)parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'metadata' / 'selection.json')parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally')args = parser.parse_args()build(args.source_dir, args.out, args.selection)
45 unmodified lines4647484950515245 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````assets/selection.json` records all v1 task decisions and counts. `patch.py` reproduces the task Parquet from pinned v1 data. `instruct_graded_attempts` counts attempts assigned a filtering score, including terminal failures.## Traces45 unmodified lines4647484950515245 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````metadata/selection.json` records all v1 task decisions and counts. `patch.py` reproduces the task Parquet from pinned v1 data. `instruct_graded_attempts` counts attempts assigned a filtering score, including terminal failures.## Traces
4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]
55 unmodified lines5657585960616255 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````assets/selection.json` records every v1 task's snapshot results and retention decision. `patch.py` reproduces the task Parquet from pinned v1 data.## Resources55 unmodified lines5657585960616255 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````metadata/selection.json` records every v1 task's snapshot results and retention decision. `patch.py` reproduces the task Parquet from pinned v1 data.## Resources
4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]
66 unmodified lines6768697071727366 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept payloads and each model's successes, graded attempts and missing attempts. `assets/selection.json` records every v1 task's results, selection reason and the pinned v1 revision. Excluded payloads remain in v1; no duplicate archive Parquet is uploaded. `patch.py` reproduces this snapshot.```pythonimport pyarrow.parquet as pq66 unmodified lines6768697071727366 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept payloads and each model's successes, graded attempts and missing attempts. `metadata/selection.json` records every v1 task's results, selection reason and the pinned v1 revision. Excluded payloads remain in v1; no duplicate archive Parquet is uploaded. `patch.py` reproduces this snapshot.```pythonimport pyarrow.parquet as pq
4 unmodified lines5678910114 unmodified linesimport pyarrow.parquet as pqfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists(),'Choose an empty output directory'f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'))assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']4 unmodified lines5678910114 unmodified linesimport pyarrow.parquet as pqfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text());a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists(),'Choose an empty output directory'f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'))assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']
49 unmodified lines5051525354555649 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````assets/selection.json` records every v1 task's snapshot results and retention decision. `patch.py` reproduces the task Parquet from pinned v1 data.## Resources49 unmodified lines5051525354555649 unmodified linestasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])````metadata/selection.json` records every v1 task's snapshot results and retention decision. `patch.py` reproduces the task Parquet from pinned v1 data.## Resources
4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]4 unmodified lines5678910114 unmodified linesfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)assert not (a.out/'tasks.parquet').exists()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text());f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'));assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))rows=[]
49 unmodified lines5051525354555649 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept tasks, `coder_solved`, `instruct_successes`, `instruct_missing_rewards` and `attempts_per_model`. `assets/selection.json` records every v1 task's selection and pins the source revision. Excluded payloads remain in that v1 revision; no duplicate archive Parquet is uploaded. `patch.py` reproduces this selection.```pythonimport pyarrow.parquet as pq49 unmodified lines5051525354555649 unmodified lines## Files and selecting tasks`tasks.parquet` contains kept tasks, `coder_solved`, `instruct_successes`, `instruct_missing_rewards` and `attempts_per_model`. `metadata/selection.json` records every v1 task's selection and pins the source revision. Excluded payloads remain in that v1 revision; no duplicate archive Parquet is uploaded. `patch.py` reproduces this selection.```pythonimport pyarrow.parquet as pq
7 unmodified lines8910111213147 unmodified linesp.add_argument('--out',type=Path,required=True)p.add_argument('--source',type=Path)a=p.parse_args()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text())a.out.mkdir(parents=True,exist_ok=True)f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'))assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']7 unmodified lines8910111213147 unmodified linesp.add_argument('--out',type=Path,required=True)p.add_argument('--source',type=Path)a=p.parse_args()m=json.loads((Path(__file__).parent/'metadata/selection.json').read_text())a.out.mkdir(parents=True,exist_ok=True)f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'))assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']
bugsinpy_v2/README.md+1-1
bugsinpy_v2/assets/selection.json → bugsinpy_v2/metadata/selection.jsonRenamed
bugsinpy_v2/patch.py+2-2
calibforge_v2/README.md+1-1
calibforge_v2/assets/selection.json → calibforge_v2/metadata/selection.jsonRenamed
calibforge_v2/patch.py+1-1
crosscodeeval_v2/README.md+1-1
crosscodeeval_v2/assets/selection.json → crosscodeeval_v2/metadata/selection.jsonRenamed
crosscodeeval_v2/patch.py+2-2
endless_v2/README.md+1-1
endless_v2/assets/selection.json → endless_v2/metadata/selection.jsonRenamed
endless_v2/patch.py+1-1
scaleswe_v2/README.md+1-1
scaleswe_v2/assets/selection.json → scaleswe_v2/metadata/selection.jsonRenamed
scaleswe_v2/patch.py+1-1
seta_v2/README.md+1-1
seta_v2/assets/selection.json → seta_v2/metadata/selection.jsonRenamed
seta_v2/patch.py+1-1
swelego_v2/README.md+1-1
swelego_v2/assets/selection.json → swelego_v2/metadata/selection.jsonRenamed
swelego_v2/patch.py+1-1
termigen_v2/README.md+1-1
termigen_v2/assets/selection.json → termigen_v2/metadata/selection.jsonRenamed
termigen_v2/patch.py+1-1