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 boundary controls and pseudo-member features to implement the four mask helpers. Points reward correct use of FlagBoundary modes and flag construction rather than manual bit-twiddling.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Flag definition",
"description": "Defines AccessFlag on aenum.IntFlag (or Flag) with the three bits (1, 2, 4) so membership checks and combinations rely on package semantics instead of custom integers.",
"max_score": 20
},
{
"name": "STRICT usage",
"description": "strict_mask builds from a FlagBoundary.STRICT flag class so any undefined bit (e.g., 0b1000) triggers the package-raised ValueError rather than a hand-rolled check.",
"max_score": 20
},
{
"name": "CONFORM trimming",
"description": "conforming_mask uses a FlagBoundary.CONFORM class so extra bits are automatically discarded by aenum instead of manual masking logic.",
"max_score": 20
},
{
"name": "EJECT fallback",
"description": "ejecting_mask employs FlagBoundary.EJECT so out-of-range masks return a plain int from the package behavior, while valid masks still return AccessFlag.",
"max_score": 20
},
{
"name": "KEEP pseudo-member",
"description": "lenient_mask relies on FlagBoundary.KEEP (and optional _create_pseudo_member_) so unknown bits produce pseudo-members that preserve the original value; describe uses the resulting member names/value instead of bespoke bit parsing.",
"max_score": 20
}
]
}