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%
{
"context": "This criteria evaluates how effectively the engineer uses the python-us package to access United States metadata (name, abbreviation, and birthday). The focus is on correct usage of the us.name, us.abbr, and us.birthday attributes from the package.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import us module",
"description": "Correctly imports the us module (e.g., 'import us' or 'from us import name, abbr, birthday')",
"max_score": 10
},
{
"name": "Use us.name",
"description": "Correctly accesses us.name to retrieve 'United States of America' in the get_us_info() function",
"max_score": 20
},
{
"name": "Use us.abbr",
"description": "Correctly accesses us.abbr to retrieve 'US' in the get_us_info() function",
"max_score": 20
},
{
"name": "Use us.birthday",
"description": "Correctly accesses us.birthday to retrieve the date object representing July 4, 1776 in the get_us_info() function",
"max_score": 25
},
{
"name": "Handle birthday date",
"description": "Correctly uses the us.birthday date object in date calculations for the days_until_independence_day() function, extracting month and day (July 4) for the countdown logic",
"max_score": 25
}
]
}