Skip to content

Release v0.2.0: grounding heatmap + per-sentence explanations #18

Merged
Davidpereira2803 merged 2 commits into
mainfrom
dev
Jun 18, 2026
Merged

Release v0.2.0: grounding heatmap + per-sentence explanations #18
Davidpereira2803 merged 2 commits into
mainfrom
dev

Conversation

@bacemtayeb

Copy link
Copy Markdown
Owner

Promotes devmain for the v0.2.0 release.

Highlights

  • Grounding heatmap (UI): clickable two-panel source/summary view. Clicking a
    summary sentence highlights its supporting source sentences (graded bins:
    strong support ≥0.80 / support / neutral); span-level highlighting of
    fabricated tokens in the summary.
  • Per-sentence "why" panel: signal bars, best-supporting-source vs.
    "no support" contrastive evidence, and failed-claim listing; bidirectional
    source↔summary linking.
  • Engine: generator-agnostic support_attribution (NLI matrix → conc/loo +
    support pairs) run ungated over all sentences for the heatmap, while the gated
    Inseq scalar remains the fusion feature (trained model unchanged).

…tions

Compute source support for every summary sentence from the shared NLI matrix
instead of only the gated-suspicious ones, so grounded sentences highlight
their supporting source too. An entailment floor means a fabricated sentence
surfaces no supporters rather than lighting up the whole document. The gated
Inseq score stays the fusion feature, so the trained model is untouched.

- types: Evidence gains source_support (source_id, entailment) for the heatmap
- support: returns graded (id, score) pairs above a support floor
- pipeline: run support attribution ungated over all sentences for the heatmap
- app: clickable graded source panel; span-level highlighting of flagged tokens;
  a "why this verdict" panel (signal scores, best supporting source or a
  no-support note, failed claims); source-to-summary linking on click
feat(ui): generator-agnostic grounding heatmap + per-sentence explanations
@Davidpereira2803 Davidpereira2803 merged commit e825784 into main Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants