A package for easily working with US and state metadata
Overall
score
88%
{
"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-usdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10