or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-8/

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