or run

npx @tessl/cli init
Log in

Version

Files

docs

index.md
tile.json

rubric.jsonevals/scenario-5/

{
  "context": "This evaluation assesses how well the engineer uses the @rc-component/input-number package's onInput callback to capture raw input strings before parsing. The focus is on proper usage of the onInput event handler and integration with the InputNumber component.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses InputNumber component",
      "description": "Imports and uses the InputNumber component from @rc-component/input-number as the base numeric input",
      "max_score": 20
    },
    {
      "name": "Implements onInput handler",
      "description": "Implements the onInput prop/callback on the InputNumber component to capture raw input strings",
      "max_score": 30
    },
    {
      "name": "Captures raw input strings",
      "description": "The onInput handler correctly receives and stores the raw text string parameter before any parsing or formatting occurs",
      "max_score": 25
    },
    {
      "name": "Maintains input history",
      "description": "Uses the captured raw input strings from onInput to build and maintain a history of user inputs",
      "max_score": 15
    },
    {
      "name": "Validates raw input",
      "description": "Performs validation checks on the raw input strings captured via onInput to detect invalid characters or patterns",
      "max_score": 10
    }
  ]
}