A tool for structured argument analysis and critical thinking evaluation.
The Argument Evaluator analyses written arguments through a multi-stage pipeline:
- Argument Extraction - Extracts structured components (premises, conclusion, context)
- Critical Thinking Checks - Runs clarity, consistency, logical support, epistemic support, and counterargument checks
- Scoring - Produces a 0-100 scorecard across six rubrics
- Human-Readable Summary - Provides strengths, weaknesses, hidden assumptions, and rewrite suggestions
- Validity vs Factual Support Separation - Distinguishes between logical validity and empirical evidence
- Evidence Hooks - Flags empirical and causal claims that require verification
- Schema-First Design - Stable JSON API for easy integration
- v0-Friendly Stack - Built with Next.js App Router, TypeScript, Tailwind, and shadcn/ui
.
├── apps/
│ └── web/ # Next.js frontend
├── services/
│ └── engine/ # Python FastAPI backend
├── schemas/ # JSON schemas
├── samples/ # Example inputs and outputs
├── specs/ # Product specifications
├── AGENTS.md # How to run services
├── IMPLEMENTATION_PLAN.md # Task queue
└── loop.sh # Ralph Wiggum loop workflow
cd services/engine
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e ".[dev]"pnpm installTerminal 1 (Engine):
cd services/engine
source venv/bin/activate
uvicorn app.main:app --reload --port 8000Terminal 2 (Web):
cd apps/web
pnpm devThen open http://localhost:3000
cd services/engine
source venv/bin/activate
pytestThis project uses the Ralph Wiggum loop:
./loop.sh plan # Planning phase
./loop.sh build # Building phaseSee IMPLEMENTATION_PLAN.md for the current task queue.
AGENTS.md- How to run services locallyspecs/argument-evaluator.md- Product specification.claude/CLAUDE.md- Project architecture and conventionsschemas/- JSON schemas for API contracts
MIT