E21 · JetBrains/i56

Full sample results

Scores

MethodScoreScaleDataset rank
(0–100)
GPT-6.1 Sol18.670–20; mean of three runs
91.5Δ 66.9
DeepSeek V4 Pro17.670–20; mean of three runs
88.6Δ 64.0
BTTF0.5780–1; higher is more readable
86.4Δ 61.9
Human0.560–1; original rating
24.6

Loading feature diagnosis…

Source code

GPT-6.1 Sol explanations

Run 1 · 18/20

Code Structure: Clear separation between sequence output and next-term generation.

Nesting: Shallow, with only an if/else inside a loop.

Clarity of intent: Descriptive class, method, and variable names make the look-and-say algorithm easy to understand; the hardcoded iteration count is a minor clarity issue.

Code length: Concise without unnecessary abstractions or repetition.

Action granularity: Each line generally performs one logical action; chained appends naturally represent adding a count-character pair.

Reading flow: Initialization, character grouping, final-group handling, and return follow a natural sequence. The nonempty-input assumption in getNextTerm is implicit, slightly reducing clarity.

Run 2 · 19/20

Code Structure: Clean separation between sequence generation in main and term construction in getNextTerm.

Nesting: Shallow, with only an if/else inside a loop.

Clarity of intent: Descriptive class, method, and variable names make the look-and-say algorithm easy to understand; the fixed iteration count of 20 is unexplained.

Code length: Concise without sacrificing clarity or introducing unnecessary abstractions.

Action granularity: Most lines perform one action; chained append calls naturally express a count-character pair.

Reading flow: Initialization, character counting, group emission, and final-group handling follow a logical order. A brief explanation of the final append and a named iteration constant would offer minor readability improvements.

Run 3 · 19/20

Code Structure: Clean separation between sequence generation in main and term construction in getNextTerm.

Nesting: Shallow, with only an if/else inside a loop.

Clarity of intent: Descriptive class, method, and variable names make the look-and-say algorithm easy to understand; the unexplained iteration limit of 20 is a minor weakness.

Code length: Concise without sacrificing clarity.

Action granularity: Statements generally perform one action per line; chained append calls express a cohesive count-character pair.

Reading flow: Natural progression from initialization through character counting, group emission, and final return. Overall, highly readable with only minor opportunities to clarify the iteration limit.

BTTF feature contributions

Score 0.578 / 1