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 an XML audit feed with type annotations while letting the library normalize datetime and boolean values. Focuses on correct library configuration for string output and preserving the nested record structure described in the spec.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses dicttoxml",
"description": "Invokes dicttoxml.dicttoxml to convert the provided records instead of constructing XML manually.",
"max_score": 20
},
{
"name": "String output",
"description": "Configures dicttoxml return type (e.g., return_bytes=False or decoding) so build_audit_xml returns a text string as specified.",
"max_score": 10
},
{
"name": "Type attributes",
"description": "Leaves attr_type enabled so every element, including nested fields, carries a type attribute reflecting the original Python type.",
"max_score": 25
},
{
"name": "Datetime ISO",
"description": "Passes datetime objects through dicttoxml so their serialized values are ISO-8601 strings (with timezone offsets when present).",
"max_score": 20
},
{
"name": "Boolean normalization",
"description": "Provides boolean fields as bools so dicttoxml emits lowercase true/false text while retaining their type annotations.",
"max_score": 15
},
{
"name": "Structure preserved",
"description": "Feeds nested dicts and lists directly to dicttoxml so nested metadata and multiple records appear as ordered, typed subelements in the XML.",
"max_score": 10
}
]
}