Code Readability
Domain: Code Generation
π― Motivation
How easy code is to read and understand. Readable code is maintainable code. The model can improve readability.
π Concrete Example
Readable: βdef calculate_average(scores): return sum(scores) / len(scores)β. Unreadable: βdef avg(s): return sum(s)/len(s)β. Same logic, but the first is clearer.
π Analogy
A well-formatted essay vs a wall of text - paragraphs, headings, and clear sentences make it readable. Code readability does this for code.