fixml.modules.workflow.parse

Classes

ResponseParser

A mixin that provides functionality to export (dump) content as markdown,

Module Contents

class fixml.modules.workflow.parse.ResponseParser(response: fixml.modules.workflow.response.EvaluationResponse, export_template_path: str | pathlib.Path | None = None)

Bases: fixml.modules.mixins.ExportableMixin

A mixin that provides functionality to export (dump) content as markdown, then to convert it into HTML/PDF/Quarto documents.

Extends WriteableMixin.

This mixin relies on markdown representations of the object. The class including mixin must have .as_markdown() and .as_quarto_markdown() implemented.

_parse_items()
get_completeness_score(score_format: str = 'fraction', verbose: bool = False) float | str | None

Compute Evaluation Report and Completeness Score.

as_markdown(add_quarto_header: bool = False) str
as_quarto_markdown() str