CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-sum

The lodash method sum exported as a module for computing the sum of values in an array.

Overall
score

96%

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how effectively the engineer uses lodash's array joining functionality to format arrays into CSV strings. The focus is on proper usage of lodash.join or the native Array.prototype.join method with appropriate separator handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses lodash.join",
      "description": "Implementation uses lodash's _.join() function to join array elements into a string",
      "max_score": 40
    },
    {
      "name": "Separator handling",
      "description": "Correctly passes the separator parameter to the join function, with proper default value handling",
      "max_score": 30
    },
    {
      "name": "Empty array handling",
      "description": "Correctly handles empty arrays by returning an empty string without additional logic needed",
      "max_score": 15
    },
    {
      "name": "Single element arrays",
      "description": "Correctly handles single-element arrays, returning just the element without extra separators",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lodash-sum

tile.json