tessl install tessl/pypi-fastcore@1.8.0Python supercharged for fastai development
Agent Success
Agent success rate when using this tile
56%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.37x
Baseline
Agent success rate without this tile
41%
{
"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
}
]
}