or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the plist package to parse XML property list files and extract configuration data. The focus is on correct usage of plist.parse() and proper handling of the resulting JavaScript objects.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses plist.parse()",
      "description": "The parseConfig() function correctly imports and uses plist.parse() to convert XML plist strings into JavaScript objects.",
      "max_score": 40
    },
    {
      "name": "Handles parsed output",
      "description": "The implementation correctly handles the JavaScript object returned by plist.parse(), including various data types (strings, integers, booleans, dates) without additional type conversion logic (since plist handles this automatically).",
      "max_score": 25
    },
    {
      "name": "Handles nested structures",
      "description": "The implementation correctly accesses nested dictionaries and arrays in the parsed plist object using standard JavaScript object/array access patterns.",
      "max_score": 20
    },
    {
      "name": "Error handling",
      "description": "The implementation allows plist.parse() errors to propagate or handles them appropriately, recognizing that plist throws errors for malformed XML.",
      "max_score": 15
    }
  ]
}