or run

tessl search
Log in

Version

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

tessl/pypi-mdutils

tessl install tessl/pypi-mdutils@1.8.0

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

Agent Success

Agent success rate when using this tile

80%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.9x

Baseline

Agent success rate without this tile

42%

task.mdevals/scenario-6/

Task List Generator

Build a Python program that generates a markdown file containing hierarchical task lists.

Requirements

Your program should create a markdown file named tasks.md that contains:

  1. A level 1 header with the text "Project Tasks"
  2. A level 2 header with the text "Completed Tasks" followed by a nested unordered list with the following structure:
    • "Backend Development" (parent item)
      • "API endpoints" (child item)
      • "Database setup" (child item)
    • "Frontend Development" (parent item)
      • "Login page" (child item)
  3. A level 2 header with the text "Pending Tasks" followed by a flat (non-nested) unordered list containing:
    • "Code review"
    • "Testing"

Use the default marker for all list items.

Implementation

@generates

API

def generate_task_list():
    """
    Generates a markdown file with hierarchical task lists.

    Creates a file named 'tasks.md' containing task lists with both
    nested and flat unordered list structures.

    Returns:
        None
    """
    pass

Test Cases

  • The generated file contains the level 1 header "Project Tasks" @test
  • The generated file contains nested list items under "Completed Tasks" with correct structure @test
  • The generated file contains flat list items under "Pending Tasks" @test

Dependencies { .dependencies }

mdutils { .dependency }

Provides markdown file generation support.

@satisfied-by