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

{
  "context": "This evaluation assesses how well the engineer uses frozendict's version compatibility features to implement a cross-version configuration manager. The focus is on proper usage of frozendict construction, reverse iteration with version awareness, and collections.abc integration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "frozendict construction",
      "description": "Uses frozendict() constructor to create immutable configuration from dictionary input. Should directly instantiate frozendict with the input dictionary.",
      "max_score": 20
    },
    {
      "name": "Hashability verification",
      "description": "Demonstrates that frozendict instances are hashable, allowing them to be used as dictionary keys. Should rely on frozendict's built-in hash() support.",
      "max_score": 15
    },
    {
      "name": "Forward iteration",
      "description": "Iterates over frozendict keys using standard iteration (for key in config or iter(config)). Should use frozendict's native iteration support.",
      "max_score": 15
    },
    {
      "name": "Reverse iteration",
      "description": "Uses reversed() on frozendict for reverse iteration or implements fallback for Python < 3.8. Should check for __reversed__ method availability or Python version, and fall back to list(config.keys())[::-1] or reversed(list(config)) for older versions.",
      "max_score": 25
    },
    {
      "name": "Immutability handling",
      "description": "Verifies that frozendict raises TypeError on mutation attempts. Should test item assignment or demonstrate understanding that frozendict prevents modification.",
      "max_score": 10
    },
    {
      "name": "collections.abc integration",
      "description": "Uses isinstance() with collections.abc.Mapping to check type. Should import from collections.abc (with fallback from collections for Python < 3.3 if needed) and verify frozendict is a Mapping.",
      "max_score": 15
    }
  ]
}