| average_word_length |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/fulltext.py code served (permissive licence) · get_code("42d18d5a64573bd2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
# Analyze the function to understand what it needs:
# - txt: str parameter
# - The function calls txt.split() to get words
# - The function calls len(txt) to get character count
# - It performs arithmetic on these values
# Create a simple text string for testing
txt = "The quick brown fox jumps over the lazy dog"
ARGS = {
"txt": txt
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| call_list |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/slice_pdfs.py code served (permissive licence) · get_code("19c492284a1e44c8") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned defaultdict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
from collections import defaultdict
# Based on the function body, we need:
# 1. ai: a list of dictionaries, each with an 'id' key
# 2. manifest: a dictionary mapping tar filenames to lists of pdf filenames
# The function uses:
# - i.get('id') on items in ai
# - id_to_tarpdf(aid) to convert article IDs to tar pdf paths
# - manifest.items() to get tar->pdfs mapping
# - inv[id_to_tarpdf(aid)] to look up which tar file contains a pdf
# Create sample article IDs that will work with id_to_tarpdf
# Format 1: "2023.12345" (has a dot)
# Format 2: "arxiv/2023/12345" (has slashes)
ai = [
{'id': '2023.12345'},
{'id': '2024.67890'},
{'id': 'arxiv/2023/11111'},
]
# Create a manifest that maps tar files to pdf filenames
# id_to_tarpdf will convert:
# "2023.12345" -> "2023/2023.12345.pdf"
# "2024.67890" -> "2024/2024.67890.pdf"
# "arxiv/2023/11111" -> "2023/arxiv202311111.pdf"
manifest = {
'data_2023.tar': ['2023/2023.12345.pdf'],
'data_2024.tar': ['2024/2024.67890.pdf'],
'data_arxiv.tar': ['2023/arxiv202311111.pdf'],
}
ARGS = {
'ai': ai,
'manifest': manifest,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| fix_unicode |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/fixunicode.py code served (permissive licence) · get_code("20ba987cb89ec402") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
import unicodedata
# Set up the unicode_mapping that the function uses
unicode_mapping = {
'fi': 'fi',
'fl': 'fl',
'ff': 'ff',
'æ': 'ae',
'œ': 'oe',
}
# Construct valid arguments for fix_unicode
ARGS = {
'txt': 'The café has fine coffee and flowers with a naïve æsthetic and œuvre.'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| format_cat |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/regex_arxiv.py code served (permissive licence) · get_code("cd1e13b1690683a8") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
CATEGORIES = ['acc-phys', 'adap-org', 'alg-geom', 'ao-sci', 'astro-ph', 'atom-ph', 'bayes-an', 'chao-dyn', 'chem-ph', 'cmp-lg', 'comp-gas', 'cond-mat', 'cs', 'dg-ga', 'funct-an', 'gr-qc', 'hep-ex', 'hep-lat', 'hep-ph', 'hep-th', 'math', 'math-ph', 'mtrl-th', 'nlin', 'nucl-ex', 'nucl-th', 'patt-sol', 'physics', 'plasm-ph', 'q-alg', 'q-bio', 'quant-ph', 'solv-int', 'supr-con', 'eess', 'econ', 'q-fin', 'stat']
dashdict = {c.replace('-', ''): c for c in CATEGORIES if '-' in c}
def format_cat(name):
""" Strip subcategory, add hyphen to category name if missing """
if '/' in name:
catsubcat, aid = name.split('/')
cat = catsubcat.split('.')[0]
return dashdict.get(cat, cat) + '/' + aid
else:
return name
ARGS = {
'name': 'hepph/2301.12345'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| id_to_tarpdf |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/slice_pdfs.py code served (permissive licence) · get_code("7b12ce643bd7f3e6") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
def id_to_tarpdf(n):
if '.' in n:
ym = n.split('.')[0]
return '{}/{}.pdf'.format(ym, n)
else:
ym = n.split('/')[1][:4]
return '{}/{}.pdf'.format(ym, n.replace('/', ''))
# Test with a string containing a dot
ARGS = {
'n': '2023.12345'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| parse_record |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/oai_metadata.py code served (permissive licence) · get_code("e1ecf90ca4c2eab5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import xml.etree.ElementTree as ET
# Create a minimal XML element structure that matches what parse_record expects
# The function looks for arXiv: namespace elements with specific names
def create_test_xml_element():
"""Create a mock XML element with the expected structure"""
# Create root element with namespace
root_str = '''<?xml version="1.0"?>
<record xmlns:arXiv="http://arxiv.org/OAI/arXivRaw/">
<arXiv:id>2101.12345</arXiv:id>
<arXiv:submitter>John Doe</arXiv:submitter>
<arXiv:authors>Alice Smith</arXiv:authors>
<arXiv:title>Test Paper Title</arXiv:title>
<arXiv:comments>5 pages</arXiv:comments>
<arXiv:journal-ref>Journal of Testing</arXiv:journal-ref>
<arXiv:doi>10.1234/test</arXiv:doi>
<arXiv:abstract>This is a test abstract.</arXiv:abstract>
<arXiv:report-no>TEST-001</arXiv:report-no>
<arXiv:categories>
<arXiv:category>cs.AI</arXiv:category>
</arXiv:categories>
<arXiv:version version="v1">
<arXiv:date>2021-01-15</arXiv:date>
</arXiv:version>
<arXiv:version version="v2">
<arXiv:date>2021-02-20</arXiv:date>
</arXiv:version>
</record>
'''
elm = ET.fromstring(root_str)
return elm
ARGS = {
'elm': create_test_xml_element()
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| parse_xml_listrecords |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/oai_metadata.py code served (permissive licence) · get_code("8cab1f1d13a28249") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import xml.etree.ElementTree as ET
# Create a minimal XML structure matching the OAI ArXiv format
def create_test_xml():
# Create root element
root = ET.Element('OAI-PMH')
root.set('xmlns', 'http://www.openarchives.org/OAI/2.0/')
root.set('xmlns:arXiv', 'http://arxiv.org/OAI/arXivRaw/')
# Add ListRecords
list_records = ET.SubElement(root, '{http://www.openarchives.org/OAI/2.0/}ListRecords')
# Add resumptionToken
resumption_token = ET.SubElement(list_records, '{http://www.openarchives.org/OAI/2.0/}resumptionToken')
resumption_token.text = 'token_12345'
# Add first record
for record_idx in range(2):
record = ET.SubElement(list_records, '{http://www.openarchives.org/OAI/2.0/}record')
metadata = ET.SubElement(record, '{http://www.openarchives.org/OAI/2.0/}metadata')
arxiv_raw = ET.SubElement(metadata, '{http://arxiv.org/OAI/arXivRaw/}arXivRaw')
# Add text fields
for field in ['id', 'submitter', 'authors', 'title', 'comments', 'journal-ref', 'doi', 'abstract', 'report-no']:
elem = ET.SubElement(arxiv_raw, '{http://arxiv.org/OAI/arXivRaw/}' + field)
elem.text = f'{field}_value_{record_idx}'
# Add categories
categories = ET.SubElement(arxiv_raw, '{http://arxiv.org/OAI/arXivRaw/}categories')
cat_elem = ET.SubElement(categories, '{http://arxiv.org/OAI/arXivRaw/}category')
cat_elem.text = f'cs.AI.{record_idx}'
# Add versions
version1 = ET.SubElement(arxiv_raw, '{http://arxiv.org/OAI/arXivRaw/}version')
version1.set('version', f'v1')
date1 = ET.SubElement(version1, '{http://arxiv.org/OAI/arXivRaw/}date')
date1.text = f'2023-01-0{record_idx+1}'
version2 = ET.SubElement(arxiv_raw, '{http://arxiv.org/OAI/arXivRaw/}version')
version2.set('version', f'v2')
date2 = ET.SubElement(version2, '{http://arxiv.org/OAI/arXivRaw/}date')
date2.text = f'2023-02-0{record_idx+1}'
return root
root_element = create_test_xml()
ARGS = {
'root': root_element
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type tuple — a tuple output has no array shape of its own; none is stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| path_to_id |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/internal_citations.py code served (permissive licence) · get_code("025263a823ab89f3") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
import os
RE_OLDNAME_SPLIT = re.compile('([a-z\\-]+)(\\d+)')
def path_to_id(path):
""" Convert filepath name of ArXiv file to ArXiv ID """
name = os.path.splitext(os.path.basename(path))[0]
if '.' in name:
return name
split = [a for a in RE_OLDNAME_SPLIT.split(name) if a]
return '/'.join(split)
# Test with various path formats
ARGS = {
'path': '/tmp/arxiv-paper1234.pdf'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| process_timeout |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/fulltext.py code served (permissive licence) · get_code("2e0a093e50ef8d97") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import subprocess
import sys
# Simple command that will execute successfully
cmd = ["python", "-c", "print('test')"]
timeout = 10
ARGS = {
"cmd": cmd,
"timeout": timeout
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| reextension |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/fulltext.py code served (permissive licence) · get_code("117fa82bd8e89f46") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import os
ARGS = {
"filename": "example_file.txt",
"extension": "csv"
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| remove_stamp |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/pdfstamp.py code served (permissive licence) · get_code("3cbee0b09002a195") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
# Construct a sample text with an arxiv stamp
txt_with_stamp = """
Some introduction text here.
arXiv: 1234.5678 v1 [cs.LG] 1 January 2023
More content after the stamp.
This is additional text that should remain.
"""
# Construct a sample text without a stamp
txt_without_stamp = """
This is just regular text without any arxiv stamp.
No special formatting here.
Just plain content throughout.
"""
# Construct a sample text with mangled/reversed stamp
txt_with_reversed_stamp = """
Some content at the beginning.
More text in the middle that we want to keep.
3202 yraurbef 52 ]gninrael-hcaM[ 8765.4321 :vivxra
"""
ARGS = {
"txt": txt_with_stamp,
"split": 1000
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| split_authors |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/authors.py code served (permissive licence) · get_code("d6bff84620e58d94") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
from typing import Dict, List
# The function split_authors takes a single parameter: authors (a string)
# It processes the string to split author names and affiliations
ARGS = {
"authors": "John Smith and Jane Doe (MIT), Bob Johnson (Stanford)"
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| strip_version |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/regex_arxiv.py code served (permissive licence) · get_code("96101ecfa2b4a87e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
REGEX_VERSION_SPLITTER = re.compile('([vV][1-9]\\d*)')
def strip_version(name):
""" 1501.21981v1 -> 1501.21981 """
return REGEX_VERSION_SPLITTER.split(name)[0]
ARGS = {
"name": "1501.21981v1"
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| tex2utf |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/tex2utf.py code served (permissive licence) · get_code("7cde1cddf103b683") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import re
from typing import Pattern, Dict, Match
# Build the ARGS dictionary for tex2utf function
ARGS = {
'tex': r"Hello \'{e} world \textit{test} \alpha \copyright",
'letters': True
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| zeropad_1501 |
Ran ran on a synthesized input |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/regex_arxiv.py code served (permissive licence) · get_code("b82c3fe2c74bbf56") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
# Analyze the function: zeropad_1501(name)
# - Takes a single parameter 'name' which is a string
# - Checks if '/' is in name
# - If not, splits by '.' into yymm and num
# - Checks if yymm as int is > 1500 and num length < 5
# - Returns modified or original name
# Test cases to construct:
# 1. A name that should be padded: yymm > 1500, num < 5 chars, no '/'
# 2. A name that should not be padded: contains '/'
ARGS = {
"name": "1501.234" # yymm=1501 (>1500), num="234" (len=3, <5), no '/' -> should pad to "1501.0234"
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| parse_author_affil |
Not yet run unverified (harvested, no recorded run) |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/authors.py code served (permissive licence) · get_code("c19d2d760a3c327d") How it ran |
| parse_manifest |
Not yet run unverified (harvested, no recorded run) |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/s3_bulk_download.py code served (permissive licence) · get_code("b4df610039d3b64f") How it ran |
| process_to_IDs_in_sparse_format |
Not yet run unverified (harvested, no recorded run) |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/embeddings/tf_hub.py code served (permissive licence) · get_code("5e1a95848f82102b") How it ran |
| texch2UTF |
Not yet run unverified (harvested, no recorded run) |
mattbierbaum/arxiv-public-datasets/arxiv_public_data/tex2utf.py code served (permissive licence) · get_code("e62c7f2c7fdf9629") How it ran |