Converts a Python dictionary or other native data type into a valid XML string.
86
Pending
Does it follow best practices?
Impact
86%
0.98xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "Evaluates how the solution uses dicttoxml to produce XML documents with default and custom wrapper tags. Checks correct use of dicttoxml options so wrapping, normalization, and output types match the spec scenarios.",
"type": "weighted_checklist",
"checklist": [
{
"name": "dicttoxml usage",
"description": "Conversion to XML is done via dicttoxml.dicttoxml rather than manual string building, passing the full records structure directly.",
"max_score": 30
},
{
"name": "Default root",
"description": "Relies on dicttoxml defaults (custom_root omitted or left as 'root', xml_declaration left enabled) to produce the default wrapped document for the sample orders.",
"max_score": 20
},
{
"name": "Custom root tag",
"description": "Supplies custom_root when a caller provides a root name and pairs it with return_bytes=False as needed so the outer <orders>-style tag appears while preserving nested content.",
"max_score": 25
},
{
"name": "Invalid root normalization",
"description": "Delegates sanitization of invalid root names to dicttoxml (e.g., letting dicttoxml produce a valid element or key wrapper) instead of manual tag munging, while keeping all records under the wrapper.",
"max_score": 15
},
{
"name": "Return type control",
"description": "Uses dicttoxml's return_bytes flag (True for bytes default, False for string) to satisfy output type expectations per spec scenarios.",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10