CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-mdutils

A comprehensive Python library for programmatically creating and manipulating Markdown files with support for headers, tables, lists, images, links, and text formatting.

80

1.90x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses mdutils package's HTML image functionality, specifically the Html.image() method with its size and alignment parameters, to generate a Markdown report with properly formatted product images.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "MdUtils initialization",
      "description": "Uses MdUtils class to initialize a Markdown file object with appropriate file name parameter",
      "max_score": 10
    },
    {
      "name": "Html.image usage",
      "description": "Uses Html.image() method (not new_inline_image or new_reference_image) to insert images into the Markdown document",
      "max_score": 20
    },
    {
      "name": "Width-only sizing",
      "description": "Correctly formats size parameter for width-only dimensions (e.g., '300' for 300px width) when only width is provided",
      "max_score": 10
    },
    {
      "name": "Height-only sizing",
      "description": "Correctly formats size parameter for height-only dimensions (e.g., 'x250' for 250px height) when only height is provided",
      "max_score": 10
    },
    {
      "name": "Both dimensions sizing",
      "description": "Correctly formats size parameter for both dimensions (e.g., '400x300' for 400x300px) when both width and height are provided",
      "max_score": 10
    },
    {
      "name": "Left alignment",
      "description": "Uses align='left' parameter in Html.image() to align images to the left",
      "max_score": 10
    },
    {
      "name": "Center alignment",
      "description": "Uses align='center' parameter in Html.image() to center images",
      "max_score": 10
    },
    {
      "name": "Right alignment",
      "description": "Uses align='right' parameter in Html.image() to align images to the right",
      "max_score": 10
    },
    {
      "name": "File creation",
      "description": "Uses create_md_file() method to write the generated Markdown content to the specified output file",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-mdutils

tile.json