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 generate XML with configurable declaration visibility, root wrapping, encoding metadata, and return type handling as described in the spec.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses dicttoxml",
"description": "Serializes payloads via dicttoxml.dicttoxml rather than manual XML construction or alternative libraries.",
"max_score": 25
},
{
"name": "Declaration toggle",
"description": "Maps the include_declaration option to dicttoxml's xml_declaration flag so the XML header appears or is suppressed exactly as requested.",
"max_score": 20
},
{
"name": "Root control",
"description": "Applies dicttoxml's root/custom_root handling to wrap output in the provided root_name or disable wrapping when wrap_root is False.",
"max_score": 20
},
{
"name": "Encoding metadata",
"description": "Sets dicttoxml's encoding and include_encoding parameters so the XML declaration uses the requested encoding value and can omit the encoding attribute when requested.",
"max_score": 20
},
{
"name": "Return type",
"description": "Uses dicttoxml's return_bytes parameter (or decodes appropriately) to support both string and bytes outputs as specified by return_bytes.",
"max_score": 15
}
]
}