CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-rc-input-number

React input-number component with step controls, validation, and formatting features

92

1.48x

Quality

Pending

Does it follow best practices?

Impact

92%

1.48x

Average score across 10 eval scenarios

Overview
Eval results
Files

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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-rc-input-number

tile.json