| { |
| "task_id": "arc_compiler_runtime", |
| "name": "Arc Compiler Runtime", |
| "category": "Systems & Software Engineering", |
| "base_image": "python", |
| "platform": "linux/amd64", |
| "internet": false, |
| "cwd": "/home/workspace/arc-compiler-runtime-implementation/agent-start", |
| "submit_paths": [ |
| "compiler/src/" |
| ], |
| "submit_exclude": [ |
| "compiler/dist/", |
| "tests/", |
| "node_modules/", |
| ".git/", |
| ".github/", |
| ".DS_Store", |
| "*.map" |
| ], |
| "work": { |
| "image_tag": "c92a7b116597", |
| "specs_dir": "/home/workspace/arc-compiler-runtime-implementation/agent-start", |
| "agent_query": "Implement the missing Arc compiler and runtime modules under compiler/src/. Use CHEATSHEET.md, TASK.md, and the public smoke tests as the language contract. Modify only files under compiler/src/. Do not modify tests, scoring scripts, task metadata, Dockerfiles, package files, node_modules, generated dist artifacts, source maps, or evaluator-owned files. Work offline and do not depend on hidden tests or hard-coded answers." |
| }, |
| "judge": { |
| "image_tag": "200e176a8e30", |
| "eval_cmd": "cd /home/workspace/arc-compiler-runtime-implementation && python -c 'exec(\"import json\\nimport re\\nimport subprocess\\n\\nproc = subprocess.run(['\"'\"'bash'\"'\"', '\"'\"'evaluator-hidden/score_hidden.sh'\"'\"', '\"'\"'agent-start'\"'\"'], text=True, capture_output=True, timeout=1400)\\noutput = (proc.stdout or '\"'\"''\"'\"') + (proc.stderr or '\"'\"''\"'\"')\\nprint(output, end='\"'\"''\"'\"')\\nscore_match = re.search(r'\"'\"'^SCORE=([-+]?\\\\d+(?:\\\\.\\\\d+)?)$'\"'\"', output, re.MULTILINE)\\nraw_passed_match = re.search(r'\"'\"'^RAW_PASSED=(\\\\d+)$'\"'\"', output, re.MULTILINE)\\nraw_total_match = re.search(r'\"'\"'^RAW_TOTAL=(\\\\d+)$'\"'\"', output, re.MULTILINE)\\nweighted_passed_match = re.search(r'\"'\"'^WEIGHTED_PASSED=(\\\\d+)$'\"'\"', output, re.MULTILINE)\\nweighted_total_match = re.search(r'\"'\"'^WEIGHTED_TOTAL=(\\\\d+)$'\"'\"', output, re.MULTILINE)\\nscore = float(score_match.group(1)) if score_match else 0.0\\nraw_passed = int(raw_passed_match.group(1)) if raw_passed_match else 0\\nraw_total = int(raw_total_match.group(1)) if raw_total_match else 1\\nweighted_passed = int(weighted_passed_match.group(1)) if weighted_passed_match else 0\\nweighted_total = int(weighted_total_match.group(1)) if weighted_total_match else 1\\nvalid = proc.returncode == 0 and score_match is not None\\npass_rate = (raw_passed / raw_total) if raw_total else 0.0\\nprint('\"'\"'>>>>> Start Structured Result'\"'\"')\\nprint(json.dumps({\\n '\"'\"'valid'\"'\"': valid,\\n '\"'\"'score'\"'\"': score,\\n '\"'\"'pass_rate'\"'\"': pass_rate if valid else 0.0,\\n '\"'\"'total_tests'\"'\"': raw_total,\\n '\"'\"'passed'\"'\"': raw_passed if valid else 0,\\n '\"'\"'failed'\"'\"': max(raw_total - raw_passed, 0) if valid else raw_total,\\n '\"'\"'errors'\"'\"': 0 if valid else 1,\\n '\"'\"'summary'\"'\"': '\"'\"'Score: {:.2f}, raw: {}/{}, weighted: {}/{}'\"'\"'.format(score, raw_passed, raw_total, weighted_passed, weighted_total),\\n '\"'\"'details'\"'\"': [{\\n '\"'\"'name'\"'\"': '\"'\"'hidden_score'\"'\"',\\n '\"'\"'status'\"'\"': '\"'\"'PASSED'\"'\"' if valid and score > 0.0 else '\"'\"'FAILED'\"'\"',\\n '\"'\"'score'\"'\"': score,\\n '\"'\"'message'\"'\"': output[-2000:]\\n }],\\n '\"'\"'metrics'\"'\"': {\\n '\"'\"'score'\"'\"': score,\\n '\"'\"'raw_passed'\"'\"': raw_passed,\\n '\"'\"'raw_total'\"'\"': raw_total,\\n '\"'\"'weighted_passed'\"'\"': weighted_passed,\\n '\"'\"'weighted_total'\"'\"': weighted_total,\\n '\"'\"'runner_returncode'\"'\"': proc.returncode\\n }\\n}, ensure_ascii=False))\\nprint('\"'\"'>>>>> End Structured Result'\"'\"')\\n\")'", |
| "eval_timeout": 1500, |
| "parser": "structured_json", |
| "score_direction": "maximize", |
| "selection": "score_first", |
| "rescale": { |
| "kind": "linear", |
| "lower": 0.0, |
| "upper": 100.0 |
| } |
| } |
| } |
|
|