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-10/

{
  "context": "This evaluation assesses how well the engineer uses the varname package's Wrapper class (or equivalent functionality) to implement self-documenting configuration entries that automatically capture their variable names. The focus is on correct usage of varname's variable name introspection capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Wrapper class usage",
      "description": "Uses varname's Wrapper class to implement ConfigEntry, leveraging its built-in capability to capture variable names and store values",
      "max_score": 40
    },
    {
      "name": "Variable name capture",
      "description": "Correctly captures the variable name during initialization, either through Wrapper or by using varname() function with appropriate frame parameter",
      "max_score": 25
    },
    {
      "name": "Value storage",
      "description": "Properly stores and provides access to the configuration value through the 'value' attribute as specified",
      "max_score": 15
    },
    {
      "name": "Name attribute access",
      "description": "Provides access to the captured variable name through the 'name' attribute as specified",
      "max_score": 10
    },
    {
      "name": "String representation",
      "description": "Implements __str__ method to return a readable representation showing both the name and value",
      "max_score": 10
    }
  ]
}