or run

tessl search
Log in

Version

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

tessl/pypi-varname

tessl install tessl/pypi-varname@0.15.0

Dark magics about variable names in python

Agent Success

Agent success rate when using this tile

90%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.41x

Baseline

Agent success rate without this tile

64%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates the engineer's proficiency in using the varname package's multi-level nested tuple unpacking capability. The focus is on correctly implementing variable name tracking during nested tuple unpacking operations, specifically using varname() with multi_vars=True to capture all variable names in complex unpacking patterns.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "varname() usage",
      "description": "Uses the varname() function from the varname package to retrieve variable names during assignment",
      "max_score": 25
    },
    {
      "name": "multi_vars parameter",
      "description": "Correctly sets multi_vars=True parameter in varname() to enable capturing multiple variable names during tuple unpacking",
      "max_score": 25
    },
    {
      "name": "Nested unpacking support",
      "description": "Implementation correctly handles multi-level nested tuple unpacking patterns (e.g., a, (b, c) or a, (b, (c, d))) where varname() returns nested tuples matching the unpacking structure",
      "max_score": 30
    },
    {
      "name": "Variable mapping storage",
      "description": "Stores and provides access to the mapping between captured variable names and their corresponding configuration values, utilizing the variable names returned by varname()",
      "max_score": 20
    }
  ]
}