E29 · Dorn/cuda/71

Full sample results

Scores

MethodScoreScaleDataset rank
(0–100)
GPT-6.1 Sol150–20; mean of three runs
52.8Δ 34.1
DeepSeek V4 Pro12.330–20; mean of three runs
55.8Δ 37.2
BTTF0.2560–1; higher is more readable
10.9Δ 7.8
Human2.761–5; original rating
18.7

Loading feature diagnosis…

Source code

GPT-6.1 Sol explanations

Run 1 · 15/20

Code Structure: Logically organized into position retrieval, coordinate transformation, bounds checking, and sampling or padding.

Nesting: Two conditional levels are manageable, though the outer guard adds indentation.

Clarity of intent: Descriptive variable names and comments explain the coordinate conversion; boundary conventions and the mask-based output index are less obvious.

Code length: Reasonably concise, but repeated matrix calculations could be encapsulated to reduce repetition.

Action granularity: Most statements perform one action, although the output assignment combines index lookup, texture sampling, and storage.

Reading flow: Operations follow a natural sequence, but inconsistent spacing, long expressions, the unbraced else, and an unmatched closing brace in the supplied snippet reduce readability.

Run 2 · 15/20

Code Structure: Logically separates coordinate transformation, bounds checking, and sampling or padding.

Nesting: Two conditional levels are manageable, though the compact else statement weakens visual consistency.

Clarity of intent: Descriptive variable names and comments explain the main steps; texture-based indexing and boundary conventions require domain knowledge.

Code length: Reasonably concise, but repeated matrix calculations and normalization could be abstracted to reduce duplication.

Action granularity: Most statements perform one action, although the final assignment combines index lookup, texture sampling, and storage.

Reading flow: Execution follows a natural transformation-to-validation-to-output sequence, but inconsistent spacing, alignment, long expressions, and an unmatched closing brace in the supplied snippet reduce readability.

Run 3 · 15/20

Code Structure: Logically organized into position retrieval, coordinate transformation, bounds checking, and sampling or padding.

Nesting: Only two conditional levels, keeping complexity manageable.

Clarity of intent: Descriptive variable names and comments explain the coordinate conversions, though texture APIs, boundary conventions, and mask indexing require domain knowledge.

Code length: Reasonably concise, but repeated matrix-row calculations and normalization could be abstracted for readability.

Action granularity: Most statements perform one action; nested texture fetches in assignments slightly increase cognitive load.

Reading flow: Processing follows a natural sequence, but inconsistent spacing, uneven alignment, the unbraced else, and an unmatched closing brace in the supplied snippet reduce polish and make scope less clear.

BTTF feature contributions

Score 0.256 / 1