or run

tessl search
Log in

Version

Files

tile.json

rubric.jsonevals/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
    }
  ]
}