# {{title}}

## Report Metadata

| Field                 | Value          |
| --------------------- | -------------- |
| **Input File**        | {{input_name}} |
| **File Size**         | {{input_size}} |
| **Input Type**        | {{input_type}} |
| **Generated**         | {{timestamp}}  |
| **Analysis Duration** | {{duration}}   |

## Analysis Summary

| Metric           | Count              |
| ---------------- | ------------------ |
| Total Analyses   | {{total_analyses}} |
| Successful       | {{successful}}     |
| Failed           | {{failed}}         |
| Analysis Domains | {{domains_count}}  |

{{#if has_errors}}

> **Warning**: {{failed}} analyses encountered errors. See [Errors](#errors) section for details.
> {{/if}}

---

## Table of Contents

- [Overview](#overview)
  {{#each domains}}
- [{{domain_name}}](#{{domain_id}})
  {{/each}}
  {{#if has_errors}}
- [Errors](#errors)
  {{/if}}
- [Data Files](#data-files)

---

## Overview

This comprehensive analysis report contains **{{total_analyses}}** analyses across **{{domains_count}}** domains. Analysis completed in **{{duration}}**.

{{#if has_errors}}
**Note**: {{failed}} analyses encountered errors during execution. Check the [Errors](#errors) section below for details.
{{/if}}

---

{{#each domains}}

## {{domain_name}} {#{{domain_id}}}

**Statistics**: {{analyses_count}} analyses | {{plots_count}} plots | {{data_files_count}} data files

{{#if key_findings}}

### Key Findings

{{#each key_findings}}

- {{this}}
  {{/each}}

{{/if}}
{{#if plots}}

### Visualizations

{{#each plots}}

#### {{title}}

![{{title}}]({{path}})

{{/each}}

{{/if}}
{{#if data_files}}

### Data Files

{{#each data_files}}

- [{{filename}}]({{path}}) - {{format}}
  {{/each}}

{{/if}}

{{/each}}

{{#if has_errors}}

## Errors {#errors}

The following analyses encountered errors during execution:

{{#each errors}}

### {{domain}} - {{analysis_name}}

```
{{error_message}}
```

{{/each}}

---

{{/if}}

## Data Files {#data-files}

Full analysis results are available in multiple formats:

- [summary.json](summary.json) - Complete JSON output
- [summary.yaml](summary.yaml) - YAML format for readability
- [summary.csv](summary.csv) - Tabular data export
- [index.md](index.md) - This Markdown report

---

## Technical Details

### Analysis Configuration

All analyses were executed using the Oscura comprehensive analysis system with the following configuration:

- Input file: `{{input_name}}`
- File size: {{input_size}}
- Input type: {{input_type}}
- Analysis duration: {{duration}}
- Total analyses: {{total_analyses}}
- Success rate: {{successful}}/{{total_analyses}}

### Output Structure

```
output_directory/
├── index.html              # Interactive HTML report
├── index.md                # This Markdown report
├── summary.json            # Complete JSON data
├── summary.yaml            # YAML formatted data
├── summary.csv             # CSV export
{{#each domains}}
├── {{domain_id}}/          # {{domain_name}} outputs
{{#if plots}}
│   ├── plots/              # Visualization files
{{#each plots}}
│   │   ├── {{filename}}
{{/each}}
{{/if}}
{{#if data_files}}
│   └── data/               # Analysis data files
{{#each data_files}}
│       ├── {{filename}}
{{/each}}
{{/if}}
{{/each}}
```

### Viewing This Report

- **HTML Version**: Open `index.html` in any modern web browser for an interactive experience with dark mode support
- **Markdown Version**: View this file in any Markdown-compatible viewer or editor
- **PDF Export**: The HTML version is print-optimized for PDF generation via browser print

---

_Generated by Oscura Comprehensive Analysis System_
_Report timestamp: {{timestamp}}_
