CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fastcore

Python supercharged for fastai development

56

1.36x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer uses fastcore's type conversion and validation utilities to implement a configuration parser. The focus is on proper usage of str2bool(), str2int(), str2float(), str2list(), listify(), and ifnone() functions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "String to boolean",
      "description": "Uses str2bool() from fastcore.basics to convert string values to boolean in the parse_value function when target_type is 'bool'",
      "max_score": 15
    },
    {
      "name": "String to integer",
      "description": "Uses str2int() from fastcore.basics to convert string values to integers in the parse_value function when target_type is 'int'",
      "max_score": 15
    },
    {
      "name": "String to float",
      "description": "Uses str2float() from fastcore.basics to convert string values to floats in the parse_value function when target_type is 'float'",
      "max_score": 15
    },
    {
      "name": "String to list",
      "description": "Uses str2list() from fastcore.basics to convert comma-separated strings to lists in the parse_value function when target_type is 'list'",
      "max_score": 15
    },
    {
      "name": "listify usage",
      "description": "Uses listify() from fastcore.basics in the ensure_list function to convert single values to lists and handle None values with defaults",
      "max_score": 20
    },
    {
      "name": "ifnone for defaults",
      "description": "Uses ifnone() from fastcore.basics in the safe_convert function to handle None values and provide default fallbacks",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-fastcore

tile.json