docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
{
"context": "This criteria evaluates how effectively the engineer uses the plist package's array parsing and building capabilities to convert between plist XML format and JavaScript arrays. The focus is on proper usage of plist.parse() and plist.build() functions to handle array data structures.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses plist.parse()",
"description": "The parseConfig function correctly uses plist.parse() to parse XML strings into JavaScript values",
"max_score": 25
},
{
"name": "Uses plist.build()",
"description": "The buildConfig function correctly uses plist.build() to convert JavaScript values into plist XML strings",
"max_score": 25
},
{
"name": "Handles mixed-type arrays",
"description": "Implementation correctly processes arrays containing different data types (strings, numbers, booleans) using plist's automatic type conversion",
"max_score": 20
},
{
"name": "Handles nested arrays",
"description": "Implementation correctly parses and builds nested array structures, leveraging plist's recursive array handling",
"max_score": 20
},
{
"name": "Handles empty arrays",
"description": "Implementation correctly handles empty arrays in both parsing and building operations using plist's empty array support",
"max_score": 10
}
]
}