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

{
  "context": "This criteria evaluates how well the engineer uses the varname package to implement property decorators that capture variable names and detect method chaining. The focus is on correctly using varname() within @property decorated methods and will() for method chain detection.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "@property decorator used",
      "description": "The get_config and chain methods are implemented as properties using the @property decorator",
      "max_score": 15
    },
    {
      "name": "varname() in property",
      "description": "The varname() function is called within the get_config property to capture the variable name",
      "max_score": 25
    },
    {
      "name": "will() in property",
      "description": "The will() function is called within the chain property to detect the next method call",
      "max_score": 25
    },
    {
      "name": "Proper storage",
      "description": "Captured variable names and method names are stored in instance attributes (e.g., lists) for later retrieval",
      "max_score": 15
    },
    {
      "name": "Return self pattern",
      "description": "Properties return self to enable assignment capture and method chaining as specified",
      "max_score": 10
    },
    {
      "name": "Test compatibility",
      "description": "Implementation satisfies all test cases: single assignment, method chain detection, multiple assignments, and stub method chaining",
      "max_score": 10
    }
  ]
}