CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-us

A package for easily working with US and state metadata

Overall
score

88%

Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This evaluation assesses how well the engineer uses the python-us package to access basic state metadata (capital and statehood_year attributes) for generating state information reports. The focus is on proper usage of state lookup functionality and attribute access.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "State Lookup",
      "description": "Uses us.states.lookup() function or direct attribute access (e.g., us.states.MD) to retrieve state objects from identifiers",
      "max_score": 30
    },
    {
      "name": "Capital Access",
      "description": "Accesses the 'capital' attribute from State objects to retrieve capital city names",
      "max_score": 20
    },
    {
      "name": "Statehood Year Access",
      "description": "Accesses the 'statehood_year' attribute from State objects to retrieve the year the state was admitted",
      "max_score": 20
    },
    {
      "name": "Territory Handling",
      "description": "Properly handles territories by checking for None statehood_year or using the 'is_territory' attribute",
      "max_score": 15
    },
    {
      "name": "State Name Access",
      "description": "Accesses the 'name' attribute from State objects to retrieve full state names for report formatting",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-us

tile.json