CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-us

A package for easily working with US and state metadata

Overall
score

88%

Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-us

tile.json