CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-plist

Apple's property list parser/builder for Node.js and browsers

88

0.97x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the plist package to convert between JavaScript objects and Apple plist XML format, specifically focusing on dictionary/object data type handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses plist.build",
      "description": "The configToPlist function uses plist.build() to convert JavaScript objects to plist XML format",
      "max_score": 30
    },
    {
      "name": "Uses plist.parse",
      "description": "The plistToConfig function uses plist.parse() to convert plist XML strings to JavaScript objects",
      "max_score": 30
    },
    {
      "name": "Handles flat objects",
      "description": "Correctly converts flat configuration objects (single-level key-value pairs) bidirectionally between JavaScript and plist format",
      "max_score": 15
    },
    {
      "name": "Handles nested objects",
      "description": "Correctly converts nested configuration objects (dictionaries within dictionaries) bidirectionally, preserving the nested structure",
      "max_score": 20
    },
    {
      "name": "Proper integration",
      "description": "The plist package is correctly imported/required and the build/parse functions are invoked with appropriate parameters",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-plist

tile.json