| detect_format |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("00a9fbc81f74bcf6") 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 json
import argparse
def detect_format(text):
if re.search('INFORMATION COMMISSIONER\\s*:', text):
return '2026'
if re.search('Relevant facts emerging from Second Appeal', text, re.IGNORECASE):
return '2026'
if re.search('O\\s*R\\s*D\\s*E\\s*R', text):
return '2023a'
if 'Adjunct Decision:' in text:
return '2023a'
if re.search('Observations:', text):
return '2023b'
return '2026'
# Construct valid arguments for detect_format
# The function takes a single 'text' parameter (string)
# and applies regex patterns and string searches to classify the format
ARGS = {
'text': 'This is a sample document with Observations: section that needs format detection.'
}
- 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
|
| detect_subtype |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("f80007a18879d6a0") 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 json
import argparse
ARGS = {
'text': '''This is a document containing DECISION information.
INFORMATION COMMISSIONER has made the following determination.
decision: The application is approved.
date of hearing: 2024-01-15
full bench review was conducted.
interim order issued pending final decision.''',
'filename': 'FULL_BENCH_DECISION_2024.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
|
| extract_appellant_2026 |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("59f02ba6d12eb9a9") 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 json
import argparse
def extract_appellant_2026(text):
m = re.search('^([A-Z][a-zA-Z\\s.]{2,50}?)\\s{2,}(?:…\\.|\\.\\.\\.)\\s*(?:अपीलकताŊ/)?(?:Appellant|Complainant)', text, re.MULTILINE)
if m:
return m.group(1).strip()
m = re.search('([A-Z][a-zA-Z\\s.]{3,50})\\s*\\n\\s*\\.\\.\\.\\s*(?:Complainant|Appellant)', text)
if m:
return m.group(1).strip()
return None
# Test case 1: Text matching the first regex pattern
text_1 = "John Smith ... Appellant"
# Test case 2: Text matching the second regex pattern
text_2 = "Mary Johnson\n ... Complainant"
# Test case 3: Text that doesn't match either pattern
text_3 = "No match here"
ARGS = {
"text": text_1
}
- 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
|
| extract_application |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("b91bf56ec48c37f0") 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 json
import argparse
# The function extract_application takes a single parameter: text (a string)
# It performs regex searches on this text to extract application information
# Construct a valid text argument that will match the first regex pattern
text_sample = """
Court Proceedings Document
Submissions made by the parties during Hearing:
The applicant submitted that the regulations were improperly applied.
The respondent argued that all procedures were followed correctly.
Several witnesses provided testimony regarding the matter.
Observations:
The court notes that both parties presented valid arguments.
DECISION
The court finds in favor of the applicant.
"""
ARGS = {
"text": text_sample
}
- 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
|
| extract_case_no |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("463a493584c7dd66") 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 json
import argparse
def extract_case_no(text):
m = re.search('(CIC/[A-Z0-9]+/[A-Z]+/\\d{4}/\\d+)', text)
return m.group(1) if m else None
# The function takes a single parameter: text (a string)
# It searches for a pattern matching CIC case numbers
# Valid case number format: CIC/[uppercase letters/digits]+/[uppercase letters]+/4 digits/digits
ARGS = {
'text': 'This document references case CIC/ABC123/XYZ/2024/456 for legal purposes.'
}
- 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
|
| extract_commissioner |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("4da72d17cac5e8ed") 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
# The function extract_commissioner takes a single parameter 'text' which is a string
# It uses regex patterns to search through the text and extract commissioner names
# We need to provide a valid text string that could contain commissioner information
ARGS = {
'text': '''
INFORMATION COMMISSIONER : John Smith Anderson
Some other content here
Department of Information Services
'''
}
- 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
|
| extract_conclusion |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("d9d31246b83b95b7") 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 json
import argparse
# Construct valid arguments for extract_conclusion function
ARGS = {
'text': """
DECISION
The applicant has submitted a request for information under the RTI Act, 2005.
After careful consideration of the matter and reviewing all relevant documents,
it is hereby decided that the requested information shall be provided to the
applicant as per the provisions of Section 7 of the RTI Act, 2005.
The decision is based on the merits of the case and the applicable legal
provisions. The information officer is directed to furnish the information
within the stipulated timeframe.
Sd/-
John Smith
Information Commissioner
""",
'fmt': '2026'
}
- 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
|
| extract_date_signed |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("1e2e79f0cc5c16a0") 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
# The function extract_date_signed takes a single parameter 'text'
# It searches for date patterns using regex and returns the matched date string
# Create a test text that contains a date pattern matching the regex
text_with_date = "िदनांक / Date: 15/03/2024"
ARGS = {
"text": text_with_date
}
- 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
|
| extract_exemptions |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("572080d192397b92") 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
import json
import argparse
def extract_exemptions(text):
matches = re.findall('[Ss]ection\\s*8\\s*\\(\\s*1\\s*\\)\\s*\\(\\s*([a-z])\\s*\\)', text)
return list(dict.fromkeys((f'8(1)({x})' for x in matches)))
# Setup code to construct valid arguments
text_with_exemptions = """
This document contains Section 8 ( 1 ) ( a ) exemptions.
We also have Section 8(1)(b) and section 8 ( 1 ) ( c ) listed.
Some additional text Section 8 ( 1 ) ( a ) mentioned again.
"""
ARGS = {
'text': text_with_exemptions
}
- 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
|
| extract_issue |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("b98506dcec745e66") 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 json
import argparse
def extract_issue(text):
m = re.search('Information [Ss]ought:\\s*\\n+(.*?)(?:\\n\\d+\\.\\s*\\n|\\nGrounds for|\\nSecond Appeal/|\\nSubmissions made|\\nRelevant Facts|\\nObservations:|\\Z)', text, re.DOTALL)
if m:
return m.group(1).strip()[:800]
return None
# Construct test arguments
sample_text = """
Some preamble here.
Information Sought:
The defendant seeks clarification on the following points:
This is the main content of the information sought section.
It can span multiple lines and contains important details.
More details here.
1. Grounds for Appeal
Some grounds content here.
"""
ARGS = {
"text": sample_text
}
- 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
|
| extract_penalty_amount |
Ran ran, honoured the contract we drafted |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("7f4b8b938b2f5bd6") 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 re
import json
import argparse
def extract_penalty_amount(text):
m = re.search('penalty\\s+of\\s+Rs\\.?\\s*([\\d,]+)', text, re.IGNORECASE)
if m:
try:
return float(m.group(1).replace(',', ''))
except Exception:
pass
return None
ARGS = {
'text': 'The court imposed a penalty of Rs. 50,000 on the defendant.'
}
- 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 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
|
| extract_public_authority_2023 |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("f82b9de43fe13fd1") 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 json
import argparse
# The function takes a single parameter 'text' which is a string
# It uses re.search() to find a pattern and extract content
# The pattern looks for text between 'CPIO,' and a respondent marker
# It processes lines and joins them
text_input = """CPIO,
First Authority Name
Second Authority Name
Third Authority Name
Some additional content here
More details
... ᮧितवादीगण / Respondent"""
ARGS = {
'text': text_input
}
- 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
|
| extract_public_authority_2026 |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("f7ce3dd4690636d5") 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
def extract_public_authority_2026(text):
m = re.search('CPIO[,\\s]*\\n([^\\n]+)\\n([^\\n]+)\\s+(?:\\.\\.\\.|…)', text)
if m:
return f'{m.group(1).strip()}, {m.group(2).strip()}'
m = re.search('CPIO[,\\s]*\\n\\s*([^\\n]+)', text)
if m:
return m.group(1).strip()
return None
# Test case 1: text with full pattern (CPIO followed by two lines and ellipsis)
text_1 = """CPIO,
Authority Name One
Authority Name Two ...
Some other content"""
# Test case 2: text with simpler pattern (CPIO followed by single line)
text_2 = """CPIO,
Single Authority Name
Other content"""
# Test case 3: text with no matching pattern
text_3 = """Some random text
with no CPIO marker"""
ARGS = {
'text': text_1
}
- 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
|
| extract_timeline |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("e71469dce14f8c36") 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 re
import json
import argparse
# Create valid arguments for extract_timeline function
ARGS = {
'text': '''
RTI Application filed on: 15/01/2023
CPIO replied on: 20/01/2023
First Appeal filed on: 25/01/2023
FAA's order dated: 01/02/2023
Second Appeal dated: 05/02/2023
Date of Hearing: 10/02/2023
Date of Decision: 15/02/2023
Complaint filed on: 20/02/2023
''',
'slash_dates': 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 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
|
| outcome_from_conclusion |
Ran ran; our contract draft was wrong, not the code |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("b13e26c4eeaffdd7") 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 json
import argparse
def outcome_from_conclusion(conclusion):
if not conclusion:
return 'UNKNOWN'
c = conclusion.lower()
if re.search('withdrawn|stands closed as withdrawn', c):
return 'WITHDRAWN'
if re.search('nature of a grievance|not information as defined|not.*?definition of information', c):
return 'APPEAL_DISMISSED'
if re.search('no adverse action|complaint.*?disposed|no cause of action|no further action lies|stands disposed', c):
return 'APPEAL_DISMISSED'
if re.search('suitable.*?reply|suitable and updated reply|upholds it|reply was given|no deficiency|adequate.*?information|categorical reply|attended.*?within|information.*?not available|no malafide|no mala.?fide|no scope of action|no infirmity|appeal.*?dismissed|complaint.*?dismissed', c):
return 'APPEAL_DISMISSED'
if re.search('direct\\w*.*?(?:provide|furnish|supply|give|disclose|convey|ensure|pay|allow|revisit|procure|submit)', c):
return 'INFORMATION_DIRECTED'
if re.search('(?:provide|furnish|supply|disclose|give|convey)\\s+(?:the\\s+)?(?:information|details|copies|documents|status|reply)', c):
return 'INFORMATION_DIRECTED'
if re.search('appeal.*?(?:is\\s+)?(?:allowed|upheld|accepted)', c):
return 'INFORMATION_DIRECTED'
if re.search('penalty|show cause|section\\s*20', c):
return 'PENALTY_IMPOSED'
if re.search('transferred|transfer.*?application|de novo|remand', c):
return 'REMANDED'
if re.search('section.?18|complaint filed under', c):
return 'COMPLAINT_S18'
if re.search('partial|some.*?information', c):
return 'PARTIAL_RELIEF'
return 'UNKNOWN'
ARGS = {
'conclusion': 'The appeal is allowed and the department is directed to provide the information within 30 days.'
}
- 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_file |
Not yet run unverified (harvested, no recorded run) |
joyboseroy/rti-bench/pipeline/extract_cic_pdfs_v4.py code served (permissive licence) · get_code("67c1faa4ce7ef4b3") How it ran |