E30 · Scalabrio83
Scores
| Method | Score | Scale | Dataset rank (0–100) |
|---|---|---|---|
| GPT-6.1 Sol | 13 | 0–20; mean of three runs | 5.0Δ 34.9 |
| DeepSeek V4 Pro | 6.33 | 0–20; mean of three runs | 3.0Δ 36.9 |
| BTTF | 0.393 | 0–1; higher is more readable | 14.1Δ 25.9 |
| Human | 3.44 | 1–5; original rating | 39.9 |
Loading feature diagnosis…
GPT-6.1 Sol explanations
Run 1 · 13/20
Code Structure: Setup, query execution, and cleanup follow a logical order, but many unrelated expression cases are grouped without labels or separation.
Nesting: The method is flat and easy to scan.
Clarity of intent: The method name indicates expression testing, but repeatedly overwriting unused results and omitting assertions leave expected behavior unclear; short names such as h and txn provide limited context.
Code length: Moderate overall, but repetitive query statements and long SQL strings make the method visually dense.
Action granularity: Most lines represent one operation, although query creation, parameter binding, and execution are sometimes chained together.
Reading flow: The lifecycle proceeds naturally from initialization to cleanup, but inconsistent spacing and an uninterrupted sequence of queries hinder comprehension.
Run 2 · 13/20
Code Structure: Setup, query execution, and cleanup are logically ordered, but the many expression tests lack grouping or helper methods.
Nesting: The method is flat and easy to traverse.
Clarity of intent: The method name and queries indicate expression testing, but repeatedly overwriting unused results without assertions leaves expected outcomes unclear; abbreviated variable names add minor ambiguity.
Code length: Individual operations are concise, but the repetitive query block makes the method lengthy and monotonous.
Action granularity: Most lines represent one operation, although chained query creation, parameter binding, and execution compress several steps onto a line.
Reading flow: Execution proceeds naturally from initialization to cleanup, but long query strings, inconsistent spacing, and absent visual separation between query categories reduce scanability.
Run 3 · 13/20
Code Structure: Setup, query execution, and cleanup follow a logical sequence, but the query cases lack grouping or descriptive labels.
Nesting: The method is flat and easy to navigate.
Clarity of intent: The test name and query strings communicate expression testing, but repeatedly overwriting unused results without assertions leaves expected outcomes unclear.
Code length: The method is manageable, though repetitive query boilerplate and long lines make scanning harder.
Action granularity: Most statements occupy separate lines, but chained query creation, parameter binding, and execution combine several operations.
Reading flow: The lifecycle is natural, yet the uninterrupted series of similar queries, terse variable names, and inconsistent spacing reduce readability.
DeepSeek V4 Pro explanations
Run 1 · 8/20
The code has a clear overall structure (setup, execute, teardown) but suffers from severe readability issues. The test method has a single responsibility but is overloaded with 20+ similar query assertions, making it unnecessarily long and repetitive. Nesting is minimal, which is good, but clarity of intent is weak because there are no comments explaining what specific functionality each query tests. Multiple actions are packed into many lines (e.g., query creation, parameter binding, and list execution all on one line). Reading flow is natural but monotonous. The code would benefit from extracting helper methods, grouping related test cases, and breaking up complex query strings into separate lines or constants for better readability.
Run 2 · 4/20
The code is extremely unreadable primarily due to repetitive long query strings assigned to the same variable, excessive line lengths, and lack of logical grouping. The structure is flat but tangled: every query is jammed into a single method with no helper methods, comments, or separation by intent. Nesting is acceptable but the method body is monolithic. Clarity of intent is poor — the purpose is only vaguely clear and no distinction is made between test cases. Code length is unnecessarily bloated due to repeated verbose query strings. Action granularity is violated because multiple steps (query creation, parameter setting, listing) are chained on one line. Reading flow is broken by uniform repetition and no whitespace between logical blocks. The method uses raw types and suppresses warnings, further reducing clarity. Overall, the test is hard to scan, maintain, or extend.
Run 3 · 7/20
The code has a clear overall structure (setup, operations, teardown), but readability is severely impacted by repetitive, extremely long lines that perform multiple actions (query creation, execution, and assignment). Nesting is minimal, which is positive, but the test name and string-heavy queries make intent unclear without domain knowledge. Many lines exceed reasonable length, harming scanning and comprehension. Reading flow is monotonous and difficult to follow. The repeated reassignment of the same variable across many unrelated queries obscures what is being tested. Overall, the code is functional but not optimized for human readability.
BTTF feature contributions
Score 0.393 / 1