CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fastcore

Python supercharged for fastai development

56

1.36x
Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how effectively an engineer uses fastcore's HTML/XML generation capabilities to build structured HTML documents programmatically. The focus is on proper usage of fastcore's xml module functions and element creation patterns.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses ft() function",
      "description": "Uses the ft() function from fastcore.xml to create HTML/XML elements programmatically rather than string concatenation or manual DOM construction",
      "max_score": 25
    },
    {
      "name": "Uses to_xml() conversion",
      "description": "Uses the to_xml() function to convert element structures into string representation for output",
      "max_score": 15
    },
    {
      "name": "HTML tag helpers",
      "description": "Uses fastcore's built-in HTML tag helper functions (such as Div(), P(), A(), Table(), Tr(), Th(), Td(), Nav(), H1(), etc.) for creating common HTML elements",
      "max_score": 25
    },
    {
      "name": "Proper element nesting",
      "description": "Correctly nests elements by passing child elements as arguments to parent elements, demonstrating understanding of fastcore's element composition pattern",
      "max_score": 15
    },
    {
      "name": "Attribute handling",
      "description": "Properly sets HTML attributes on elements using fastcore's attribute syntax (keyword arguments or attribute dictionaries)",
      "max_score": 10
    },
    {
      "name": "Table generation",
      "description": "Correctly generates HTML table structure (table, thead, tbody, tr, th, td elements) from data using fastcore functions",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-fastcore

tile.json