Skip to main content

Insight and report prompts

These prompts generate short interpretations or structured classifications from already prepared data. They do not replace deterministic calculations, reference ranges, or the user’s original records.

At a glance

insight.report-summary

Source: REPORT_AI_SUMMARY_PROMPT
The context contains only the report range, sections, categories, and profile sources selected in the report builder. Output is cleaned and character-bounded, but its medical content is not independently fact-checked.

insight.focus-card

Source: js/focus-card.js
The input is a bounded profile summary with up to 15 flagged markers, up to eight relevant supplements, and up to five notable changes. Optional Knowledge Base passages can be added. The app strips thinking blocks/preambles and limits stored output length.

insight.context-dots

Source: buildHealthDotsPrompt() The system prompt is rendered only for stale profile-area keys. This template replaces the generated JSON key object with one placeholder and otherwise preserves the application wording:
The parser accepts known dot colors and applies independent word/character caps to summaries and tips. Missing or malformed output becomes neutral gray.

Review watchpoints

The dot contract compresses complex, self-reported health context into a traffic-light color. Evaluations should check cultural assumptions, moralizing language, disability/chronic-condition bias, body-size bias, and whether “supports health” implies causality.

insight.marker-description

Source: fetchCustomMarkerDescription()
The user message is {marker name} ({unit}). This prompt does not receive profile context. The cached description is explanatory prose, not a reference range.

insight.biology-score

Source: generateBiologyScoreAIAnswer()
The task message supplies the computed score, tone, coverage, scoring ranges, used and missing inputs, dates, and deterministic flags. The model explains that result; it does not participate in scoring.

insight.biology-context

Source: generateBiologyScoreContextReview()
Only allowlisted flags survive parsing. Suggestions are displayed for review and do not alter deterministic scoring until the user explicitly applies one.
This is the clearest prompt-injection boundary in the current catalog. It should be used as a reference pattern, while remembering that delimiters alone do not enforce trust.

insight.supplement-impact

Source: js/supplement-impact.js The system prompt is rendered with the names of supplements in the current batch. {names} expands to their comma-separated quoted names:
The user message includes supplement periods, dosage/schedule details, selected ingredients, overlapping supplements, and up to five computed before/after marker changes. The app validates dot enums, bounds the summary, fingerprints the input, and caps the cache.

Review watchpoints

  • Before/after association does not establish that the supplement caused a change.
  • “Beneficial” and “concerning” depend on supplied ranges and context; a color can overstate certainty.
  • Supplement names become dynamic JSON keys and need adversarial tests for quotes, braces, duplicates, and instruction-like names.

insight.emf

Source: js/emf-interpretation.js
The output is model-generated Markdown. Product recommendations are a separate deterministic catalog step based on detected mitigation tags, not text invented by this prompt.
“Health implications” and severity language can imply stronger causal evidence than an SBM-2015 comparison establishes. Reviewers should check evidence framing, uncertainty, fear amplification, sleep-room weighting, and whether mitigation advice creates electrical or fire risk.

Shared review concerns

  • Short summaries can hide uncertainty or conflicting data.
  • Traffic-light outputs are easy to understand but can turn an ambiguous association into a perceived grade.
  • A deterministic range or score must remain the source of any threshold stated to the model.
  • Cached AI text can outlive the exact model version; fingerprints cover input changes, not provider behavior changes.
  • Health goals can help prioritize but must not turn a desired outcome into evidence that a condition exists.

Focused verification

Relevant suites include: Names can change as suites are split; search the source identifier and catalog ID before editing.