fft_rust

mediumruntimeRust
results

Measured by wall-clock runtime in seconds — lower is better.

10.0s0.001s
sota
DeepSeek-V4-Pro
reward 0.570

Usage

Run the reference answer to verify your environment is set up correctly

$ harbor run -p tasks/fft_rust

Test model

$ harbor run -p tasks/fft_rust \
  -a claude-code -m claude-opus-4-6

Description

Implement a fast Fourier transform in Rust to compute the DFT of a length-32768 real signal as quickly as possible. The input length is always a power of two, and correctness is verified via Parseval's theorem and spectral checksum. Only the Rust standard library may be used.

Files

path
permission
/app/src/solve.rs✎ Edit
/app/src/main.rsRead-only
/app/Cargo.tomlRead-only

Rules

  • 01Edit /app/src/solve.rs only.
  • 02Standard library (std) only — no external crates.
  • 03Single-threaded only.

Tags

rustfftcooley-tukeybutterflysimd

Model Results

Click a row to view its trajectory in Live Lab

model
reward
score
DeepSeek-V4-Pro
0.570
Gemini-3.1-Pro
0.550
Qwen-3.6-Plus
0.550
GLM-5
0.530
Grok-4-20
0.530
GPT-5.4
0.520
Kimi-K2.6
0.390
Hunyuan-3-Preview
0.370
MiMo-V2.5-Pro
0.360
MiniMax-M2.7
0.350
Claude-Opus-4.6
0.000