render_report
Generates a self-contained HTML report of a finalized risk-of-bias assessment, including domain judgements, evidence, and provenance. Requires a finalized result from the current session.
Instructions
Re-render a finalized assessment as a self-contained HTML page — the meta panel, the six-domain summary strip, the per-domain judgement with its algorithm trail and the evidence behind every answer, styled to the Black Swan Causal Labs identity and carrying the provenance stamp.
Returns the HTML in html (display it inline or publish it as an artifact)
and the same bytes base64-encoded in content_base64 (decode and save as
.html). This is a pure re-render of the artifact submit_answers already
stamped — nothing is re-scored. The assessment must have been finalized this
session; the cache does not survive a server restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| result_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| domains | No | ||
| overall | No | ||
| citation | No | ||
| filename | No | ||
| result_id | No | ||
| provenance | No | ||
| attribution | No | ||
| content_type | No | ||
| overall_label | No | ||
| content_base64 | No | ||
| ratification_queue | No |