or run

npx @tessl/cli init
Log in

Version

Files

docs

index.md
tile.json

rubric.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses lodash's string padding functions (_.pad, _.padStart, _.padEnd) to implement a text formatting module with center, left, and right alignment capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses _.pad",
      "description": "The formatCenter function uses lodash's _.pad function to center text with padding on both sides",
      "max_score": 30
    },
    {
      "name": "Uses _.padStart",
      "description": "The formatLeft function uses lodash's _.padStart function to add padding to the left side of text",
      "max_score": 30
    },
    {
      "name": "Uses _.padEnd",
      "description": "The formatRight function uses lodash's _.padEnd function to add padding to the right side of text",
      "max_score": 30
    },
    {
      "name": "Custom padding characters",
      "description": "All three functions correctly pass the custom padding character parameter to the lodash functions when provided",
      "max_score": 10
    }
  ]
}