# Code Correctness Grader

## Task

Evaluate the generated code against the requirements. Score from 0.0 to 1.0 based on Functional Correctness (0.4), Code Quality (0.3), and Completeness (0.3).

## Context

### Original Question
{{ input }}

### Expected Outcome
{{criteria}}

### Reference Answer
{{ expected_output }}

### Candidate Answer
{{ output }}

## Constraints
- **0.9-1.0**: Excellent (Correct, efficient, best practices)
- **0.7-0.8**: Good (Correct, minor issues)
- **0.5-0.6**: Acceptable (Core solved, some issues)
- **0.3-0.4**: Poor (Partial solution, major bugs)
- **0.0-0.2**: Unacceptable (Incorrect, critical bugs)
- Be objective and consistent.
- List specific hits and misses (max 4 each).