CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-varname

Dark magics about variable names in python

90

1.40x
Quality

Pending

Does it follow best practices?

Impact

90%

1.40x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.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
    }
  ]
}

tile.json