File size: 4,763 Bytes
a48f2b1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | # PRBench Task Configuration
# Each paper has one task.yaml that contains ALL task-specific information.
# Agent code is fully generic and reads everything from this file.
task_id: task_wu_2021
# --- Paper Info ---
paper:
title: "High-fidelity entangling gates in a three-dimensional ion crystal under micromotion"
author: "Y.-K. Wu, Z.-D. Liu, W.-D. Zhao, L.-M. Duan"
doi: "10.1103/PhysRevA.103.022419"
year: 2021
paper_file: "GateOf2D.md" # relative to task dir
# --- Files ---
instruction_file: "instruction.md" # what the white agent receives
metadata_file: "metadata.md" # ground truth formulas + methodology (for grading)
ground_truth_data_dir: "data" # directory with reference CSV files
ground_truth_code_dir: "reproduction"
# --- Expected Outputs (what the white agent must produce) ---
expected_outputs:
analysis:
- "reproduction/ANALYSIS.md"
code:
- "reproduction/GateOfLinearTrap.py"
- "reproduction/Balance_place_of_ions.py"
- "reproduction/normal_frequancy.py"
- "reproduction/infidelity_of_mu.py"
- "reproduction/Raman_Segments.py"
data:
- "data/Balance_place_of_ions.csv"
- "data/normal_frequancy.csv"
- "data/Segments.csv"
# --- Docker Environment ---
docker:
image: "python:3.11-slim"
memory_limit: "4g"
timeout: 10800 # 3 hours max
pip_install:
- numpy
- scipy
- matplotlib
# --- Grading Rubric (for model-judge) ---
grading:
dimensions:
- name: "methodology_understanding"
weight: 0.15
description: >
Does the agent's ANALYSIS.md correctly describe the 3D ion crystal physics,
Mathieu equation with micromotion, Floquet normal mode analysis, and
gate optimization methodology? Compare against metadata.md.
- name: "code_correctness"
weight: 0.15
description: >
Are all required code files present? Does the code correctly implement
the 3D equilibrium position solver with first-order corrections,
normal mode eigenvalue problem with Floquet expansion, and
segment optimization with micromotion-aware coupling?
- name: "data_accuracy"
weight: 0.55
description: >
How well do the generated CSV data files match the ground truth reference data?
Compare numerical values with ~10% relative tolerance. Check that column names
match, row counts are reasonable, and values are in the correct range.
Weights: Balance positions with corrections (40pts),
Normal frequencies with Floquet components (40pts), Segments (20pts).
- name: "completeness"
weight: 0.15
description: >
Are all 3 CSV files, all 5 code files, and the ANALYSIS.md present?
Are the files non-trivial (not empty/placeholder)?
# --- Code-Only Evaluation Mode ---
code_only:
instruction_suffix: |
## IMPORTANT: Code-Only Mode
In this task you are in **code-only mode**. You must:
1. Read and analyze the paper
2. Write `reproduction/ANALYSIS.md` with your methodology analysis
3. Implement ALL code files under `reproduction/`
4. **DO NOT** run the scripts or generate CSV data files
5. Focus on writing correct, complete, and well-structured code
Your deliverables are ONLY the analysis document and code files.
Do NOT produce any CSV data files.
expected_outputs:
analysis:
- "reproduction/ANALYSIS.md"
code:
- "reproduction/GateOfLinearTrap.py"
- "reproduction/Balance_place_of_ions.py"
- "reproduction/normal_frequancy.py"
- "reproduction/infidelity_of_mu.py"
- "reproduction/Raman_Segments.py"
grading:
dimensions:
- name: "methodology_understanding"
weight: 0.25
description: >
Does ANALYSIS.md correctly describe the 3D ion crystal physics,
Floquet normal modes, and gate optimization with micromotion?
- name: "code_correctness"
weight: 0.50
description: >
Read every code file carefully. Check whether the implementation is
physically and algorithmically correct:
- 3D equilibrium position solver with first-order corrections
- Normal mode eigenvalue problem with Floquet expansion
- Segment optimization with micromotion-aware coupling
Compare against ground truth formulas in metadata.
- name: "code_quality"
weight: 0.10
description: >
Is the code well-structured, readable, and does it follow the
expected file organization?
- name: "completeness"
weight: 0.15
description: >
Are all 5 code files and the ANALYSIS.md present and non-trivial?
|