A package for easily working with US and state metadata
Overall
score
88%
{
"context": "This evaluation assesses the engineer's ability to use the python-us package's geographic attribute filtering capabilities, specifically the is_contiguous and is_continental attributes. The focus is on correctly leveraging the package's built-in state collections and geographic boolean attributes to filter US states.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses us package",
"description": "Imports and uses the 'us' package (specifically us.states module) to access state data",
"max_score": 10
},
{
"name": "Uses STATES collection",
"description": "Uses the us.states.STATES collection, us.states.STATES_CONTIGUOUS, us.states.STATES_CONTINENTAL, or us.states.STATES_AND_TERRITORIES to access state data",
"max_score": 15
},
{
"name": "Accesses contiguous states",
"description": "Correctly accesses contiguous states either by using the is_contiguous boolean attribute on state objects OR by directly using the us.states.STATES_CONTIGUOUS collection",
"max_score": 30
},
{
"name": "Accesses continental states",
"description": "Correctly accesses continental states either by using the is_continental boolean attribute on state objects OR by directly using the us.states.STATES_CONTINENTAL collection",
"max_score": 30
},
{
"name": "Accesses non-contiguous states",
"description": "Correctly identifies non-contiguous states by filtering states where is_contiguous is False, or by excluding states from the STATES_CONTIGUOUS collection",
"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