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

{
  "context": "This criteria evaluates how well the engineer uses the varname package's debug() function to implement variable name introspection for debugging output. The focus is exclusively on proper usage of the debug() function and its parameters (prefix, merge, vars_only) to achieve the specified debugging behaviors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses debug function",
      "description": "Imports and uses the debug() function from the varname package (specifically from varname.helpers or varname) rather than implementing manual variable name introspection",
      "max_score": 30
    },
    {
      "name": "Basic variable printing",
      "description": "Correctly uses debug() to print single and multiple variables with their names and values in the default format",
      "max_score": 20
    },
    {
      "name": "Custom prefix parameter",
      "description": "Properly utilizes the prefix parameter of debug() to customize the output prefix instead of manually formatting strings",
      "max_score": 15
    },
    {
      "name": "Merge parameter usage",
      "description": "Correctly applies the merge parameter (merge=True) to consolidate multiple variables on a single line",
      "max_score": 15
    },
    {
      "name": "Expression debugging",
      "description": "Properly uses the vars_only parameter (vars_only=False) with debug() to display full expression source code rather than just variable names",
      "max_score": 20
    }
  ]
}