or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/us@3.2.x
tile.json

tessl/pypi-us

tessl install tessl/pypi-us@3.2.0

A 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%

task.mdevals/scenario-1/

US State Geographic Analyzer

A utility that categorizes US states based on their geographic location attributes.

Capabilities

Identify contiguous states

  • Returns a list containing the names of all 48 contiguous US states, sorted alphabetically @test
  • Returns an empty list when no states match the contiguous criteria (this should not happen in practice) @test

Identify continental states

  • Returns a list containing the names of all 49 continental US states (includes Alaska), sorted alphabetically @test

Identify non-contiguous states

  • Returns a list containing the names of US states that are NOT part of the contiguous 48 (Alaska and Hawaii), sorted alphabetically @test

Implementation

@generates

API

def get_contiguous_states():
    """
    Returns a list of all contiguous US states.

    Returns:
        list: A list of state names (strings) sorted alphabetically
    """
    pass

def get_continental_states():
    """
    Returns a list of all continental US states.

    Returns:
        list: A list of state names (strings) sorted alphabetically
    """
    pass

def get_non_contiguous_states():
    """
    Returns a list of US states that are not contiguous.

    Returns:
        list: A list of state names (strings) sorted alphabetically
    """
    pass

Dependencies { .dependencies }

us { .dependency }

Provides US state metadata and geographic classifications.

@satisfied-by