E04 · JetBrains/e14

Full sample results

Scores

MethodScoreScaleDataset rank
(0–100)
GPT-6.1 Sol180–20; mean of three runs
77.5Δ 48.7
DeepSeek V4 Pro17.670–20; mean of three runs
88.6Δ 59.7
BTTF0.4780–1; higher is more readable
60.2Δ 31.4
Human0.590–1; original rating
28.8

Loading feature diagnosis…

Source code

GPT-6.1 Sol explanations

Run 1 · 18/20

Code Structure: The main loop and binary-counting helper are logically separated.

Nesting: Both methods use shallow, easily followed loop-and-condition nesting.

Clarity of intent: The class and helper names communicate the purpose, though naming count as onesCount and documenting odious numbers would improve accessibility.

Code length: Short and focused, with no unnecessary code.

Action granularity: Each statement performs one clear action; the conventional for-loop header remains readable.

Reading flow: Execution proceeds naturally from iterating over numbers to counting binary ones and printing matches. Minor weaknesses include the unexplained upper bound of 1000 and missing spaces after control-flow keywords.

Run 2 · 18/20

Code Structure: Well organized, with iteration and output in main and binary counting in a separate helper.

Nesting: Shallow and manageable, with one conditional inside each loop.

Clarity of intent: Descriptive class and method names make the purpose clear, although the definition of an odious number and the choice of 1000 are not explained.

Code length: Concise, without unnecessary logic.

Action granularity: Each statement performs one action; the loop header uses standard Java conventions.

Reading flow: Natural progression from enumerating numbers to counting binary ones and checking odd parity. Minor spacing inconsistencies and an unexplained upper bound slightly reduce readability.

Run 3 · 18/20

Code Structure: Clearly separates number iteration and output from binary bit counting through a helper method.

Nesting: Shallow, with an if inside each loop, making control flow easy to follow.

Clarity of intent: Descriptive class and method names communicate the purpose, though the definition of an odious number and the fixed upper limit could be clarified.

Code length: Compact without unnecessary repetition.

Action granularity: Each statement performs one action; loop initialization, condition, and increment use standard Java syntax.

Reading flow: Natural progression from iterating over numbers to counting bits and printing qualifying values. Minor spacing inconsistencies and the unexplained limit of 1000 slightly reduce readability.

BTTF feature contributions

Score 0.478 / 1