docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
{
"context": "This criteria evaluates the engineer's ability to use MJML's font management system, specifically the mj-font component and mjml2html's intelligent font detection capabilities. The evaluation focuses on proper font import definition, automatic detection of used fonts, and correct integration of fonts into email templates.",
"type": "weighted_checklist",
"checklist": [
{
"name": "mj-font usage",
"description": "Uses the mj-font component within mj-head to define custom fonts with name and href attributes",
"max_score": 25
},
{
"name": "Font configuration",
"description": "Correctly configures font URLs in the fonts option passed to mjml2html or uses mj-font with proper Google Fonts or custom font URLs",
"max_score": 20
},
{
"name": "Font application",
"description": "Applies custom fonts to components using font-family attributes on mj-text, mj-button, or other text-containing components",
"max_score": 20
},
{
"name": "Automatic font detection",
"description": "Leverages MJML's automatic font detection feature that only loads fonts actually used in the template (demonstrates understanding that MJML handles this automatically)",
"max_score": 20
},
{
"name": "Test case coverage",
"description": "Implements all three test cases correctly: multi-font usage test, unused font detection test, and web-safe fonts test",
"max_score": 15
}
]
}