tessl install tessl/pypi-aenum@3.1.0Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.21x
Baseline
Agent success rate without this tile
63%
{
"context": "Evaluates how well the solution uses aenum's descriptor utilities to control member exposure, immutability, and read-only properties for the access-scope enum. Focuses on correct use of member/skip/constant/enum_property rather than general coding style.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Forced member",
"description": "Uses aenum.member to turn the computed TOTAL_COUNT callable/value into an enum member that shows up in iteration and __members__.",
"max_score": 25
},
{
"name": "Skipped helpers",
"description": "Marks helper attributes like registry/_cache with aenum.skip or aenum.nonmember so they remain accessible but are excluded from enum membership and __members__.",
"max_score": 20
},
{
"name": "Constant prefix",
"description": "Defines AUDIT_PREFIX via aenum.constant to keep it immutable and prevent it from being treated as an enum member.",
"max_score": 20
},
{
"name": "Label property",
"description": "Exposes the human-friendly label through aenum.enum_property or aenum.property so it is read-only, coexists with stored codes, and does not create extra members.",
"max_score": 15
},
{
"name": "Count derived",
"description": "Derives TOTAL_COUNT from the number of real scopes (e.g., via len on the enum) instead of hard-coding, showing correct use of aenum iteration semantics alongside member/skip descriptors.",
"max_score": 20
}
]
}