Ctrl + k

or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/dicttoxml@1.7.x
tile.json

tessl/pypi-dicttoxml

tessl install tessl/pypi-dicttoxml@1.7.0

Converts 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%

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates how the solution uses the dicttoxml package to serialize payloads with XML-safe element names and escaped values in line with the spec. Scoring looks only at the specific dicttoxml API choices that govern naming, escaping, root handling, and return type.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "dicttoxml call",
      "description": "Uses dicttoxml.dicttoxml as the core serializer instead of hand-building XML or alternate libraries, passing the payload directly through it.",
      "max_score": 30
    },
    {
      "name": "Root/declaration",
      "description": "Maps the spec's root_name and include_declaration parameters to dicttoxml's custom_root and xml_declaration/include_encoding options so the root tag and declaration match caller intent.",
      "max_score": 20
    },
    {
      "name": "Name safety",
      "description": "Relies on dicttoxml's built-in key sanitization for spaces/digits (and its key fallback behavior) rather than manual tag construction that could leave invalid names.",
      "max_score": 25
    },
    {
      "name": "Escaping",
      "description": "Lets dicttoxml handle value escaping (keeping cdata=False unless explicitly required) so special characters become XML entities instead of literal markup.",
      "max_score": 15
    },
    {
      "name": "Byte output",
      "description": "Configures return_bytes on dicttoxml.dicttoxml so the function returns bytes as required, without unnecessary conversions to strings.",
      "max_score": 10
    }
  ]
}