StarThomas1002's picture
Add 31 PRBench task specifications (instructions, task.yaml, paper markdown; ground truth withheld)
a48f2b1 verified
Raw History Blame Contribute Delete
4.67 kB
# PRBench Task Configuration
task_id: task_shvetsov_2016
paper:
title: "Semiclassical two-step model for strong-field ionization"
author: "N. I. Shvetsov-Shilovski et al."
doi: "10.1103/PhysRevA.94.013415"
year: 2016
paper_file: "shvetsov2016.md"
instruction_file: "instruction.md"
metadata_file: "metadata.md"
ground_truth_data_dir: "data"
ground_truth_code_dir: "reproduction"
expected_outputs:
analysis:
- "reproduction/ANALYSIS.md"
code:
- "reproduction/scts_core.py"
- "reproduction/fig1_momentum_distribution.py"
- "reproduction/fig2_lowenergy_momentum.py"
- "reproduction/fig4_energy_spectrum.py"
- "reproduction/fig4_angular_distribution.py"
- "reproduction/fig6_sfa_momentum.py"
- "reproduction/fig7_sfa_energy_spectrum.py"
- "reproduction/fig7_sfa_angular_distribution.py"
data:
- "data/fig1_momentum_distribution.csv"
- "data/fig2_lowenergy_momentum.csv"
- "data/fig4_energy_spectrum.csv"
- "data/fig4_angular_distribution.csv"
- "data/fig6_sfa_momentum.csv"
- "data/fig7_sfa_energy_spectrum.csv"
- "data/fig7_sfa_angular_distribution.csv"
docker:
image: "python:3.11-slim"
memory_limit: "4g"
timeout: 10800
pip_install:
- numpy
- matplotlib
grading:
dimensions:
- name: "methodology_understanding"
weight: 0.20
description: >
Does ANALYSIS.md correctly describe the SCTS two-step model,
tunneling ionization (EQ-9), Newton's equations (EQ-14),
semiclassical phase with factor-2 Coulomb correction (EQ-22),
Coulomb mapping (EQ-26-29), and coherent sum (EQ-41)?
- name: "code_correctness"
weight: 0.15
description: >
Are all required code files present? Does the code correctly implement
the SCTS model including adaptive RK4 integration, importance sampling,
tunnel exit computation, and SFA parallel velocity?
- name: "data_accuracy"
weight: 0.50
description: >
How well do the generated CSV data files match the ground truth?
This is a Monte Carlo simulation so tolerances are larger (~10-20%).
Check momentum distributions, energy spectra, angular distributions.
Verify ATI peak spacing, fanlike interference patterns, ionization fractions.
- name: "completeness"
weight: 0.15
description: >
Are all 7 CSV files, all 8 code files, and ANALYSIS.md present and non-trivial?
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/scts_core.py"
- "reproduction/fig1_momentum_distribution.py"
- "reproduction/fig2_lowenergy_momentum.py"
- "reproduction/fig4_energy_spectrum.py"
- "reproduction/fig4_angular_distribution.py"
- "reproduction/fig6_sfa_momentum.py"
- "reproduction/fig7_sfa_energy_spectrum.py"
- "reproduction/fig7_sfa_angular_distribution.py"
grading:
dimensions:
- name: "methodology_understanding"
weight: 0.25
description: >
Does ANALYSIS.md correctly describe the SCTS model, tunneling ionization,
semiclassical phase with factor-2 Coulomb term, and Coulomb mapping?
- name: "code_correctness"
weight: 0.50
description: >
Read every code file carefully. Check whether the implementation is
physically and algorithmically correct:
- Tunneling rate: ADK formula (EQ-9) with importance sampling
- Tunnel exit: parabolic coordinate equation (EQ-11-13)
- Propagation: adaptive RK4 for Newton's equations (EQ-14)
- Phase: SCTS formula with 2Z/r Coulomb term (EQ-22)
- Coulomb mapping: asymptotic momentum (EQ-26-29)
- Post-pulse phase: Coulomb correction (EQ-40)
- Observable: coherent sum (EQ-41)
- SFA parallel velocity (EQ-47-48)
- name: "code_quality"
weight: 0.10
description: >
Is the code well-structured and readable?
- name: "completeness"
weight: 0.15
description: >
Are all 8 code files and ANALYSIS.md present and non-trivial?