debate-judge
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "debate-judge" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-41cc378e7b7f526706ee3822b4d411f25924c9099ea5c5f2144ce9d10cf0d1e3. Verify the upstream source and version against https://skillhub.cn/skills/user_053d27d0/debate-judge before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Debate judge: A policy debate system covering 8 schools, 6 scoring dimensions, and 7 types of fallacy detection, serving as a structured framework for scoring and fallacy identification.
Introduction source: third_party · user_053d27d0 · 1.0.0 Reference
SkillPi interpretation
- Inputs and outputs
- A debate run produces: **DebateTranscript**: Full turn-by-turn record with speaker, content, and per-round scores. **Final Verdict**: Aggregate scores across all rounds with the judge's reasoning. **Scoring Breakdown**: Per-dimension scores for each exchange.
- Testing
- Not tested
Browse files
Frontmatter
name: debate-judge
description: >-
Structured policy debate judging system with 8 economic-school personas,
6-dimension weighted scoring rubric, 7 fallacy-type detection, 3 debate
formats, per-round scoring, and complete debate transcripts. LLM agents
debate each other while a judge agent evaluates every exchange.
version: 1.0.0
tags:
- debate
- policy
- economics
- argumentation
- education
- rhetoric
- persona
trigger_phrases:
- "judge a debate"
- "economic debate"
- "policy debate scoring"
- "debate between economists"
- "evaluate arguments"
- "fallacy detection"
- "辩论评分"Overview
DebateJudge runs structured policy debates between two LLM debater agents, each embodying an economic school of thought. A third LLM agent -- the judge -- scores each exchange across 6 weighted dimensions, detects 7 types of logical fallacies via regex patterns, and produces a final verdict with full transcript. The system enforces turn structure according to one of 3 debate formats.
Capability Boundaries
What this tool does:
- Orchestrate structured debates between two persona-driven debater agents.
- Assign 8 economic school personas to debaters, each with defined key assumptions, value priorities, rhetorical style, constraints, notable thinkers, and signature argument moves:
- Neoclassical Economist
- Institutional Economist
- Behavioral Economist
- Public Choice Theorist
- Austrian Economist
- Marxist Economist
- Keynesian Economist
- Development Economist
- Enforce 3 debate formats with turn-by-turn structure (PolicyDebateFormat and others in
debate_judge/formats.py). - Score exchanges across 6 dimensions via weighted rubric aggregation.
- Detect 7 fallacy types during scoring using regex patterns:
- Ad Hominem
- Straw Man
- False Dichotomy
- Appeal to Authority
- Slippery Slope
- (additional types in
_FALLACY_PATTERNS) - (see
scoring.pyfor full list)
- Track per-round scores and accumulate them into a final verdict.
- Produce a complete
DebateTranscriptof all turns and scores.
What this tool does NOT do:
- It does NOT teach debate skills or provide debate tips.
- It does NOT support real-time human-vs-human judging (it only judges LLM-vs-LLM debates).
- It does NOT generate debate topics automatically -- the user must provide a topic/resolution.
- It is NOT a general-purpose argumentation tool -- personas are limited to economic schools of thought.
- It does NOT guarantee perfectly neutral judging; the rubric rewards substantive engagement over rhetorical flourish, not ideological alignment.
Trigger Conditions
Use this skill when the user:
- Wants to run a simulated debate between economic perspectives on a policy question.
- Needs structured scoring of argumentation quality.
- Wants to see how different economic schools would argue a particular issue.
- Mentions phrases like "debate between economists", "judge this argument", "policy debate", "economic schools debate", or "辩论评分".
Usage
The central orchestrator is DebateArena in debate_judge/arena.py:
from debate_judge import DebateArena, Persona
arena = DebateArena(
topic="Should central banks adopt nominal GDP targeting?",
format="policy_debate",
)
arena.set_debater_a(Persona.from_library("neoclassical_economist"))
arena.set_debater_b(Persona.from_library("keynesian_economist"))
arena.set_judge("neoclassical_economist")
result = arena.run()
print(result.verdict)
print(result.transcript)
Personas
Personas are defined in config/personas.yaml. Each persona has:
school: The economic school.key_assumptions: Foundational beliefs about how the economy works.value_priorities: What this tradition considers most important.rhetorical_style: How arguments are framed and delivered.constraints: Rules the persona must follow (e.g., must cite at least one economic mechanism).notable_thinkers: Key intellectual figures.signature_moves: Characteristic argument patterns.
Scoring Rubric
The ScoringRubric in debate_judge/scoring.py provides:
- Multi-criterion scoring with weighted aggregation.
- Fallacy detection via regex patterns.
- Evidence quality assessment.
- Round-by-round tracking.
Dependencies
- LLM backend: OpenAI-compatible endpoint (Ollama, OpenAI, etc.)
- PyYAML for persona configuration.
Output Example
A debate run produces:
- DebateTranscript: Full turn-by-turn record with speaker, content, and per-round scores.
- Final Verdict: Aggregate scores across all rounds with the judge's reasoning.
- Scoring Breakdown: Per-dimension scores for each exchange.
FAQ
Q: Can I add new economic personas?
A: Yes. Add a new entry to config/personas.yaml following the existing structure (school, key_assumptions, value_priorities, rhetorical_style, constraints, notable_thinkers, signature_moves). They will be available via Persona.from_library().
Q: Can I use this for non-economic debates? A: The persona library is economics-focused. To use it for other domains, you would need to create new persona definitions and potentially adjust the scoring rubric.
Q: How are fallacies detected?
A: Fallacies are detected via regex pattern matching in scoring.py (_FALLACY_PATTERNS). Each fallacy type has a list of regex patterns that match common linguistic markers. This is a heuristic approach, not guaranteed to catch all fallacies.
Q: Is the judge biased toward certain schools? A: The scoring rubric explicitly states it "rewards substantive engagement over rhetorical flourish" and "does NOT reward ideological alignment with the judge." However, any LLM-based judge carries inherent biases from its training data.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供8个经济学派别角色,支持结构化政策辩论
- 6维度加权评分体系,7类谬误检测,3种辩论格式
- 完整的辩论记录和最终裁决输出,功能闭环
Highlights
- 触发词覆盖全面,包括中英文场景
- 边界清晰,不易与其他辩论类Skill混淆
Highlights
- 文档结构清晰,包含Overview、Capability Boundaries、Usage等完整章节
- 提供端到端代码示例,便于用户快速上手
Areas to improve
-
依赖外部LLM后端 Reported severity: Minor
需要OpenAI兼容端点,可能影响部署便利性
Recommendation: 建议提供更详细的后端配置说明和备选方案
Highlights
- 评分体系设计合理,明确说明不奖励意识形态一致性
- 提供完整的Persona配置说明和扩展指南
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.