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 that accepts potentially misspelled US state names from user input and returns the correct state information.
Your task is to build a command-line tool that:
{full_name} ({abbreviation})No match found@generates
def find_state(query: str) -> dict:
"""
Find a US state based on a potentially misspelled name.
Args:
query: The state name to look up (may be misspelled)
Returns:
dict with 'name' and 'abbr' keys if found, None if no match
"""
pass
def main():
"""
Command-line entry point that reads from sys.argv and prints results.
"""
passA Python library for working with US state and territory metadata. Provides state lookup functionality with phonetic matching support.