generate_report
Generate a Markdown simulation report that combines capsule data, KPI results, physics contract validation, solver diagnosis, and silent failure detection for Abaqus simulations.
Instructions
Generate a comprehensive simulation report in Markdown format.
Combines capsule snapshot, KPI lens results, physics contracts validation, solver diagnosis, and silent failure detection into a single structured report. Supports two modes:
Full mode: provide capsule_id (and optionally contracts_json). The report will include model info, job status, KPIs, solver diagnosis, and contract validation from the capsule.
Quick mode: provide contracts_json and kpis_json directly (uses check_physics_contracts internally).
Args: capsule_id: Load data from this capsule. If provided, the report includes model info, job status, KPIs, and diagnosis from the capsule. contracts_json: JSON array of contract dicts to validate against capsule KPIs. Only used when capsule_id is provided. report_title: Title for the report. output_path: If provided, save the report to this file path. Otherwise, return the report as text. include_silent_failures: If True, run silent-failure checks on the model and include the results in the report.
Returns: The generated report as Markdown text, or a confirmation message if output_path is provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| capsule_id | No | ||
| output_path | No | ||
| report_title | No | Abaqus Simulation Report | |
| contracts_json | No | ||
| include_silent_failures | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |