or run

tessl search
Log in

Version

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

tessl/pypi-us

tessl install tessl/pypi-us@3.2.0

A package for easily working with US and state metadata

Agent Success

Agent success rate when using this tile

88%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.24x

Baseline

Agent success rate without this tile

71%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses the python-us package to implement state name validation, specifically focusing on the proper usage of the state lookup functionality with name-based queries.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses us.states.lookup()",
      "description": "The implementation uses the us.states.lookup() function to look up states by name rather than implementing custom lookup logic or iterating through state lists",
      "max_score": 40
    },
    {
      "name": "Accesses State attributes",
      "description": "The implementation correctly accesses the State object's 'name' and 'abbr' attributes to extract the official state name and postal abbreviation",
      "max_score": 25
    },
    {
      "name": "Handles None returns",
      "description": "The implementation properly handles the case where us.states.lookup() returns None for invalid state names and propagates None to the caller",
      "max_score": 20
    },
    {
      "name": "Leverages case-insensitivity",
      "description": "The implementation relies on the built-in case-insensitive matching of us.states.lookup() rather than normalizing input strings manually before lookup",
      "max_score": 15
    }
  ]
}