Overview
TheDetectedFallacy schema defines the structure of logical fallacies identified in argument analysis. Each fallacy includes severity, confidence, explanation, and suggestions for improvement.
This schema enables Argument Cartographer to provide educational feedback on reasoning errors.
Schema Definition
src/ai/flows/generate-argument-blueprint.ts:62
Fields
Identification
Unique identifier for the detected fallacy.Format: Usually “f1”, “f2”, “f3”, etc.
The name of the logical fallacy.Examples: “Ad Hominem”, “Straw Man”, “False Dichotomy”, “Appeal to Emotion”
The category or type of fallacy.Examples:
- “Emotional Fallacy”
- “Logical Structure”
- “Relevance Fallacy”
- “Ambiguity”
- “Presumption”
Assessment
The severity of the fallacy’s impact on the argument.Possible values:
Critical: Fundamentally undermines the argumentMajor: Significantly weakens the argumentMinor: Mild logical issue, doesn’t invalidate the argument
AI’s confidence that this is actually a fallacy (0.0 to 1.0).
- 0.9-1.0: Very confident
- 0.7-0.89: Confident
- 0.5-0.69: Moderate confidence
- Below 0.5: Low confidence (rarely flagged)
Content
The exact quote or text containing the fallacy.Direct excerpt from the source material.
Why this is a fallacy and how it affects the argument.Clear explanation of the reasoning error.
Educational Information
A general definition of this type of fallacy.Educational content explaining what this fallacy is in general terms.
How to avoid this fallacy in general.Guidance on better reasoning practices.
A simple, illustrative example of this fallacy.Generic example to help users understand the pattern.
Specific suggestion for how to rephrase this argument logically.Tailored advice for improving the specific problematic text.
Context
Where the fallacy appears (optional).Examples:
- “Node 3”
- “Counterclaim against economic policy”
- “Evidence in section 2”
Example
Severity Guidelines
Critical
- Fundamentally undermines the argument’s logic
- Makes the conclusion unreliable
- Examples: False Dichotomy, Circular Reasoning, Begging the Question
Major
- Significantly weakens the argument
- Requires addressing to make argument sound
- Examples: Ad Hominem, Straw Man, Hasty Generalization
Minor
- Minor logical issue or weak point
- Doesn’t completely invalidate the argument
- Examples: Minor appeals to emotion, slight exaggeration
Usage in Flows
Generate Blueprint
Fallacies are detected during main analysis:Display to Users
Fallacies are highlighted in the UI:- Visual indicators on argument nodes
- Severity color coding (red=Critical, orange=Major, yellow=Minor)
- Expandable details showing explanation and suggestions
- Educational tooltips with definitions and examples
Related
- Argument Node Schema - includes
fallaciesfield - Blueprint Output Schema
- Identify Fallacies Flow
- Explain Fallacy Flow
