CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-aenum

tessl install tessl/pypi-aenum@3.1.0

Advanced 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%

rubric.jsonevals/scenario-6/

{
  "context": "Evaluates whether the solution uses aenum's interoperability helpers to bridge with the stdlib enum module and to persist enum values through SQLite safely.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Enable bridge",
      "description": "Calls aenum.add_stdlib_integration() when turning on stdlib compatibility so DbEvent members satisfy standard library enum checks, and does so safely for repeated invocations.",
      "max_score": 25
    },
    {
      "name": "Disable bridge",
      "description": "Uses aenum.remove_stdlib_integration() to undo stdlib integration and ensures subsequent checks no longer treat members as stdlib enums.",
      "max_score": 20
    },
    {
      "name": "SQLite enum base",
      "description": "Defines DbEvent by subclassing aenum.SqliteEnum (rather than plain Enum) so SQLite adapters emit member names automatically through __conform__ during parameter binding.",
      "max_score": 30
    },
    {
      "name": "Round-trip usage",
      "description": "Relies on SqliteEnum behavior for inserts and reads: binds enum instances directly to sqlite3 without manual string casting and reconstructs values with DbEvent(...) to prove names round-trip intact.",
      "max_score": 25
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/aenum@3.1.x
tile.json