debate-judge

政策辩论系统:覆盖 8 个流派、6 维评分指标,并具备 7 类谬误检测,用于结构化评分与谬误识别的辩论评判框架。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "debate-judge":https://skillpi.com/zh/skills/deepskill-41cc378e7b7f526706ee3822b4d411f25924c9099ea5c5f2144ce9d10cf0d1e3。安装前核对上游来源和版本:https://skillhub.cn/skills/user_053d27d0/debate-judge。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

政策辩论系统:覆盖 8 个流派、6 维评分指标,并具备 7 类谬误检测,用于结构化评分与谬误识别的辩论评判框架。

0 下载

介绍来源: third_party · user_053d27d0 · 1.0.0 参考来源

SkillPi 解读

输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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:
    1. Neoclassical Economist
    2. Institutional Economist
    3. Behavioral Economist
    4. Public Choice Theorist
    5. Austrian Economist
    6. Marxist Economist
    7. Keynesian Economist
    8. 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:
    1. Ad Hominem
    2. Straw Man
    3. False Dichotomy
    4. Appeal to Authority
    5. Slippery Slope
    6. (additional types in _FALLACY_PATTERNS)
    7. (see scoring.py for full list)
  • Track per-round scores and accumulate them into a final verdict.
  • Produce a complete DebateTranscript of 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.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供8个经济学派别角色,支持结构化政策辩论
  • 6维度加权评分体系,7类谬误检测,3种辩论格式
  • 完整的辩论记录和最终裁决输出,功能闭环
触发精准90/100

亮点

  • 触发词覆盖全面,包括中英文场景
  • 边界清晰,不易与其他辩论类Skill混淆
结构规范90/100

亮点

  • 文档结构清晰,包含Overview、Capability Boundaries、Usage等完整章节
  • 提供端到端代码示例,便于用户快速上手
执行可靠85/100

待提升项

  • 依赖外部LLM后端 原报告严重程度:轻微

    需要OpenAI兼容端点,可能影响部署便利性

    改进建议:建议提供更详细的后端配置说明和备选方案

亮点

  • 评分体系设计合理,明确说明不奖励意识形态一致性
  • 提供完整的Persona配置说明和扩展指南
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。