tessl install tessl/pypi-us@3.2.0A 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%
A utility to generate formatted reports about US states using their basic metadata.
@generates
def generate_state_report(state_identifier: str) -> str:
"""
Generate a formatted report for a single state.
Args:
state_identifier: State abbreviation, name, or FIPS code
Returns:
A formatted string with state name, capital, and statehood year
"""
pass
def generate_summary_report(state_identifiers: list) -> str:
"""
Generate a multi-line summary report for multiple states.
Args:
state_identifiers: List of state abbreviations, names, or FIPS codes
Returns:
A multi-line string with one report per state
"""
pass
def find_oldest_state(state_identifiers: list) -> tuple:
"""
Find the oldest state from a list of identifiers.
Args:
state_identifiers: List of state abbreviations, names, or FIPS codes
Returns:
A tuple of (state_name, statehood_year) for the oldest state
"""
passProvides US state and territory metadata including capital cities and statehood years.