{% set header_subtitle = 'analysis results' %} {% include '_header.html' %}

{{ pipeline.name }}

{% if pipeline.default_context %}
{% for k,v in pipeline.default_context.items() %} {{k}}: {{ v }}
{% endfor %}
Source files: {{ pipeline.config.input_source or "files" }} ({{ pipeline.config.document_paths|length }})
{% endif %} {% for node_name in pipeline.config.report_texts %} {% if node_name in pipeline.nodes_dict and pipeline.nodes_dict[node_name].output %}

{{ node_name|title|replace('_', ' ') }}

{% markdown %} {{pipeline.nodes_dict[node_name].result().response_obj|safe}} {% endmarkdown %}
{% endif %} {% endfor %}
{% if self_similarity and self_similarity.n_themes > 1 %} {% endif %}

Themes

{% set node_result = pipeline.nodes_dict['themes'].result().response_obj %} {% for theme in node_result.themes %}
{{ theme.name }}
{{ theme.description }}
{% if theme.code_slugs %}
Related Codes:
{% for slug in theme.code_slugs %} {{ slug }} {% endfor %}
{% endif %}
{% endfor %}
{% if self_similarity and self_similarity.n_themes > 1 %}

Theme Overlap

This matrix shows how similar each theme is to every other theme. Click a cell to compare two themes.

{% for label in self_similarity.short_labels %} {% endfor %} {% for row_idx in range(self_similarity.n_themes) %} {% for col_idx in range(self_similarity.n_themes) %} {% endfor %} {% endfor %}
{{ label }}
{{ self_similarity.short_labels[row_idx] }}: {{ self_similarity.themes[row_idx][:30] }}{% if self_similarity.themes[row_idx]|length > 30 %}...{% endif %}
Legend: ≥0.7 0.5-0.7 0.4-0.5 0.25-0.4 <0.25
{% endif %}
{% set node_result = pipeline.nodes_dict['codes'].result().response_obj %}

Codes

{% for code in node_result.codes %}
{{ code.name }} {{ code.slug }}
{{ code.description }}
{% if code.resolved_quotes %}
Supporting Quotes ({{ code.quotes|length }})
{% for quote in code.all_quotes %}
{{ quote }}
{% endfor %}
{% else %}
There was a problem recalling the quotes selected for this Code.
{% endif %}
{% endfor %}

Run Configuration

{% if pipeline.config.export_metadata and pipeline.config.export_metadata.command %}
CLI Command:
{{ pipeline.config.export_metadata.command }}
{% endif %}
Pipeline
{{ pipeline.name }}
{% if pipeline.config.model_name %}
Model
{{ pipeline.config.model_name }}
{% endif %} {% if pipeline.config.sample_n %}
Sample
{{ pipeline.config.sample_n }} documents (randomly sampled)
{% endif %} {% if pipeline.config.head_n %}
Head
{{ pipeline.config.head_n }} documents (first N)
{% endif %} {% if pipeline.config.seed %}
Seed
{{ pipeline.config.seed }}
{% endif %}
Documents
{{ pipeline.config.document_paths|length }} files{% if pipeline.config.input_source %} from {{ pipeline.config.input_source }}{% endif %}
{% include '_offcanvas.html' %} {% include '_alpine_components.html' %}