tessl install tessl/pypi-dicttoxml@1.7.0Converts a Python dictionary or other native data type into a valid XML string.
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
87%
{
"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
}
]
}