Skip to content

[FEATURE]: AI-generated Post-Debate Performance Report #435

Description

@Mansi2007275

Feature and its Use Cases

Problem

Right now once a debate ends, the user just sees win/loss and optionally a
transcript export (#403). There's no actual feedback on how well they
argued — no scoring, no idea which points were weak, no guidance on what
to improve next time.

Proposed Feature

Show an AI-generated performance report right after the debate ends (both
vs-bot and vs-human/team modes):

  1. Overall scores — persuasion, clarity, rebuttal effectiveness (0-100 each)
  2. Per-argument breakdown — each statement tagged Strong/Moderate/Weak
    with a one-line reason (e.g. "no supporting evidence")
  3. Fallacy flags — can reuse [FEATURE]: integrate DeBERTa-base LocalLLMClient for EDIS fallacy detection #377's fallacy detection if that lands
    first, otherwise a simple LLM prompt on the transcript works as v1
  4. Improvement tips — 2-3 specific suggestions based on the actual
    transcript, not generic advice

Approach

  • New endpoint that generates the report once after a debate ends and
    caches it (no regenerating on every view)
  • Reuse the existing LLM client already used for debate responses
  • New results component to show scores + breakdown + tips instead of
    just win/loss

Why this matters

This is what actually makes DebateAI useful for improving as a debater,
not just playing. #403 only exports the raw transcript and #377 is just
the detection model — neither gives the user a readable, actionable report.

Additional Context

No response

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions