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 whether the solution uses dicttoxml to build the feed XML and leverages its CDATA support rather than hand-rolled XML. Focus is on correct parameterization of dicttoxml for CDATA wrapping, root naming, and output type.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CDATA flag",
"description": "Uses dicttoxml.dicttoxml with cdata=True to wrap string fields so characters like < and & appear inside <![CDATA[...]]>.",
"max_score": 40
},
{
"name": "Numeric plain",
"description": "Relies on dicttoxml's default type handling so non-string values (e.g., integers) remain plain text nodes without CDATA wrapping.",
"max_score": 20
},
{
"name": "Root naming",
"description": "Passes the provided root name through dicttoxml (custom_root/root parameters) so the root element matches the requested value while preserving CDATA behavior.",
"max_score": 20
},
{
"name": "Byte output",
"description": "Returns the bytes output from dicttoxml (return_bytes=True or default) instead of converting to a string manually.",
"max_score": 10
},
{
"name": "Dicttoxml-driven",
"description": "Uses dicttoxml.dicttoxml for the overall conversion rather than constructing XML manually, keeping package-driven element naming and escaping intact.",
"max_score": 10
}
]
}