Ctrl + k

or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/frozendict@2.4.x
tile.json

tessl/pypi-frozendict

tessl install tessl/pypi-frozendict@2.4.0

A simple immutable dictionary implementation with hashing support and performance optimizations

Agent Success

Agent success rate when using this tile

85%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.31x

Baseline

Agent success rate without this tile

65%

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses the frozendict package's type hints and mypy support features to implement a type-safe configuration manager. The focus is on proper usage of frozendict's generic typing, PEP 561 compliance, and type annotations for static type checking.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "frozendict Import",
      "description": "Imports frozendict from the frozendict package for creating immutable dictionaries",
      "max_score": 10
    },
    {
      "name": "Generic Type Parameters",
      "description": "Uses frozendict with proper generic type parameters (frozendict[K, V] or similar) to maintain type information throughout the implementation",
      "max_score": 20
    },
    {
      "name": "Constructor Usage",
      "description": "Uses frozendict constructor to create immutable dictionary instances from regular dict in __init__ method",
      "max_score": 15
    },
    {
      "name": "get Method",
      "description": "Uses frozendict's get() method with proper type annotations for retrieving values with defaults in get_value()",
      "max_score": 15
    },
    {
      "name": "set Method",
      "description": "Uses frozendict's set() method (copy-on-write) to create new instances with updated values in update_config()",
      "max_score": 20
    },
    {
      "name": "Type Annotations",
      "description": "Includes comprehensive type hints on all methods that properly work with mypy, leveraging frozendict's PEP 561 compliance and type stubs",
      "max_score": 15
    },
    {
      "name": "Return Type Correctness",
      "description": "Returns frozendict instances from get_config() method with appropriate type annotations that mypy can verify",
      "max_score": 5
    }
  ]
}