CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-varname

Dark magics about variable names in python

Overall
score

90%

Overview
Eval results
Files

Evaluation results

100%

100%

Variable Debug Logger

Debug printing with variable names

Criteria
Without context
With context

Uses debug function

0%

100%

Basic variable printing

0%

100%

Custom prefix parameter

0%

100%

Merge parameter usage

0%

100%

Expression debugging

0%

100%

100%

33%

Configuration Dictionary Builder

Direct variable name access (nameof)

Criteria
Without context
With context

Import nameof

100%

100%

Basic nameof usage

48%

100%

Single argument handling

100%

100%

Dictionary construction

100%

100%

Prefix implementation

100%

100%

Full path extraction

0%

100%

100%

Configuration Registry System

Variable name retrieval (varname)

Criteria
Without context
With context

Import varname function

100%

100%

Use varname in __init__

100%

100%

Store captured name

100%

100%

Implement name property

100%

100%

Store configuration values

100%

100%

Registry uses captured names

100%

100%

Registry get method

100%

100%

Registry list method

100%

100%

100%

38%

Self-Documenting Configuration System

Property decorator compatibility

Criteria
Without context
With context

@property decorator used

100%

100%

varname() in property

60%

100%

will() in property

0%

100%

Proper storage

100%

100%

Return self pattern

70%

100%

Test compatibility

100%

100%

100%

60%

Variable Name Logger

Strict vs non-strict assignment modes

Criteria
Without context
With context

Import varname

100%

100%

Use varname() in track_direct_assignment

100%

100%

Handle multiple variables

100%

100%

Strict mode for direct

0%

100%

Use varname() in track_expression_assignment

0%

100%

Non-strict mode for expressions

0%

100%

Correct return types

100%

100%

0%

-69%

Variable Name Logger with Selective Filtering

Basic ignore system for modules and functions

Criteria
Without context
With context

Imports varname

100%

0%

Uses varname()

100%

0%

Module ignore parameter

48%

0%

Function ignore parameter

48%

0%

Combined ignore patterns

75%

0%

100%

Async Task Result Manager

Async/await function support

Criteria
Without context
With context

varname() import

100%

100%

varname() in __init__

100%

100%

Async function implementation

100%

100%

Variable name storage

100%

100%

Registry integration

100%

100%

Identifier-based retrieval

100%

100%

List all results

100%

100%

100%

Variable Name Tracker

Simple assignment handling

Criteria
Without context
With context

varname() function usage

100%

100%

Simple assignment handling

100%

100%

Attribute assignment support

100%

100%

Subscript assignment support

100%

100%

Name storage

100%

100%

100%

50%

Configuration Parser

Multi-level nested tuple unpacking

Criteria
Without context
With context

varname() usage

0%

100%

multi_vars parameter

0%

100%

Nested unpacking support

100%

100%

Variable mapping storage

100%

100%

99%

44%

Configuration Value Tracker

Value wrapper with automatic name storage

Criteria
Without context
With context

Wrapper class usage

0%

100%

Variable name capture

80%

96%

Value storage

100%

100%

Name attribute access

100%

100%

String representation

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-varname
Evaluated
Agent
Codex

Table of Contents