E14 · JetBrains/b39

Full sample results

Scores

MethodScoreScaleDataset rank
(0–100)
GPT-6.1 Sol180–20; mean of three runs
77.5Δ 21.2
DeepSeek V4 Pro17.670–20; mean of three runs
88.6Δ 10.2
BTTF0.5750–1; higher is more readable
85.6Δ 13.1
Human10–1; original rating
98.7

Loading feature diagnosis…

Source code

GPT-6.1 Sol explanations

Run 1 · 18/20

Code Structure: Logically organized into candidate iteration, primality checking, output, and counting.

Nesting: Moderate nesting from two loops and conditionals, but each block is short and easy to follow.

Clarity of intent: The class name, isPrime flag, and final output clearly communicate the purpose; i and j are conventional but less descriptive, and 10000 could be a named constant.

Code length: Concise without unnecessary statements.

Action granularity: Each statement performs one clear action, with standard loop-header syntax.

Reading flow: Natural progression from initialization through testing to reporting, supported by consistent indentation.

Run 2 · 18/20

Code Structure: Logically organized into candidate iteration, primality testing, output, and counting; extracting the primality test into a helper could improve separation.

Nesting: Moderate and justified, with two loops and a conditional inside the inner loop.

Clarity of intent: The class name, isPrime flag, and final output clearly communicate the purpose, though i and j are generic and 10000 is an unexplained limit.

Code length: Concise, with no unnecessary boilerplate or repetition.

Action granularity: Statements generally perform one action per line; conventional loop headers remain easy to read.

Reading flow: Natural top-to-bottom progression, consistent indentation, and an early break make the logic straightforward to follow.

Run 3 · 18/20

Code Structure: Logically organized into candidate iteration, primality testing, printing, and counting, though a separate primality method could improve separation.

Nesting: Moderate and appropriate, with an inner loop and conditional adding some depth.

Clarity of intent: The class name, isPrime flag, and output clearly communicate the purpose; i and j are conventional but less descriptive than candidate and divisor.

Code length: Concise, with no unnecessary code.

Action granularity: Each statement performs a single clear action, and formatting is consistent.

Reading flow: Natural top-to-bottom progression, with an early break making the divisor test easy to follow. A named constant for 10000 would make the range more explicit.

BTTF feature contributions

Score 0.575 / 1