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

{
  "context": "This criteria evaluates how effectively the engineer uses mdutils' marker-based document construction features to build a Markdown report with a predefined structure and dynamically populated content. The evaluation focuses on proper use of create_marker(), place_text_using_marker(), and marker parameters in content methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "MdUtils initialization",
      "description": "Correctly initializes an MdUtils object with appropriate file_name parameter (e.g., 'performance_report' or 'performance_report.md')",
      "max_score": 10
    },
    {
      "name": "Marker creation",
      "description": "Uses create_marker() method to create at least three distinct markers for the summary, metrics table, and recommendations sections",
      "max_score": 20
    },
    {
      "name": "Document structure",
      "description": "Creates the document structure first with new_header() calls for all required sections (Summary, Detailed Metrics, Recommendations, Conclusion) before populating placeholders",
      "max_score": 15
    },
    {
      "name": "Marker placement",
      "description": "Uses place_text_using_marker() or marker parameter in content methods (new_table, new_table_array, write, new_list) to populate at least two placeholders with content",
      "max_score": 25
    },
    {
      "name": "Table generation",
      "description": "Uses new_table() or new_table_array() method to create the metrics table with proper structure and data from the metrics_data parameter",
      "max_score": 15
    },
    {
      "name": "List creation",
      "description": "Uses new_list() method to create the recommendations list from the recommendations parameter",
      "max_score": 10
    },
    {
      "name": "File creation",
      "description": "Calls create_md_file() method to write the final Markdown document to disk",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-mdutils

tile.json