E18 · Schnappinger/aoi/artofillusion.translators.TextureImageExporter

Full sample results

Scores

MethodScoreScaleDataset rank
(0–100)
GPT-6.1 Sol14.330–20; mean of three runs
19.8Δ 0.7
DeepSeek V4 Pro14.670–20; mean of three runs
34.8Δ 14.4
BTTF0.1170–1; higher is more readable
4.0Δ 16.5
Human2.891–4; original rating
20.5

Loading feature diagnosis…

Source code

GPT-6.1 Sol explanations

Run 1 · 15/20

Code Structure: Clear class responsibility and sensible separation of filename generation, lookup, and image writing, but addObject combines texture registration with UV-bound calculation.

Nesting: Most methods are shallow; addObject has nested type checks, loops, and conditionals that increase reading effort.

Clarity of intent: Documentation, descriptive method names, and component constants communicate purpose well, while abbreviated variables, raw collections, casts, and unexplained procedural-output indices obscure details.

Code length: Generally reasonable, but repeated filename checks and duplicated UV-bound updates could be extracted into helpers.

Action granularity: Mostly one action per line, although chained assignments and filename generation with an increment combine operations.

Reading flow: Methods follow a natural progression from collecting textures to exporting images; inconsistent brace indentation, long conditional expressions, and dense casting interrupt that flow.

Run 2 · 14/20

Code Structure: The class has a coherent responsibility and separates naming, lookup, and image writing, but addObject combines texture registration, component detection, and UV-bound calculation.

Nesting: Most methods are shallow, while addObject contains several conditional levels and nested loops.

Clarity of intent: Documentation, comments, and descriptive method names clarify the workflow; abbreviated variables, raw collections, casts, and unexplained output-array indices obscure details.

Code length: Generally reasonable, but repeated component checks and duplicated coordinate-bound updates add avoidable length.

Action granularity: Most statements perform one action, though chained assignments, grouped declarations, and an increment embedded in filename construction reduce explicitness.

Reading flow: The progression from collecting texture information to exporting images is natural, but inconsistent brace placement, long conditional expressions, and dense formatting interrupt readability.

Run 3 · 14/20

Code Structure: The class has a clear responsibility and separates naming, lookup, and image writing into methods, but addObject combines texture registration and UV-range calculation.

Nesting: Most methods are shallow, while addObject contains nested type checks, loops, and conditionals that increase reading effort.

Clarity of intent: Documentation, component constants, and descriptive method names explain the purpose well; abbreviated variables and unexplained procedural-output indices obscure details.

Code length: Generally reasonable, but repeated filename selection and UV-bound updates could be extracted into helpers.

Action granularity: Most lines perform one action, although chained assignments and the increment embedded in filename creation combine operations.

Reading flow: Registration, coordinate calculation, and export follow a logical sequence, but inconsistent brace placement, long conditional expressions, raw collections requiring casts, and dense formatting interrupt the flow.

BTTF feature contributions

Score 0.117 / 1