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-4/

{
  "context": "Evaluates how well the solution leverages dicttoxml to build the catalog XML while switching output types. Focuses on using dicttoxml's conversion options, especially return_bytes, rather than manual encoding or string building.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Library conversion",
      "description": "Uses dicttoxml.dicttoxml to serialize the product data with the provided root name instead of manual XML assembly.",
      "max_score": 25
    },
    {
      "name": "Byte default",
      "description": "Default code path leaves return_bytes=True (or omits it) so build_catalog_xml returns bytes without post-conversion encoding tweaks.",
      "max_score": 25
    },
    {
      "name": "Text toggle",
      "description": "When as_text is requested, calls dicttoxml.dicttoxml with return_bytes=False to obtain a Python string directly rather than decoding bytes afterward.",
      "max_score": 25
    },
    {
      "name": "Content parity",
      "description": "Uses the same dicttoxml parameters across modes (e.g., custom_root/item naming) so the str output matches bytes.decode() content aside from type.",
      "max_score": 25
    }
  ]
}