RotNot / src /lib /debate /topics.ts
deploy
Deploy RotNot
9580dce
Raw History Blame Contribute Delete
16.4 kB
/**
* Debate Arena β€” Topic Library and Selection
*
* Curated debate topics across multiple categories, with difficulty metadata
* for matching with appropriate opponent personas.
*/
export interface DebateTopic {
id: string;
topic: string;
category: DebateCategory;
description: string;
/** Whether the topic has a clear "pro" framing or is neutral/open */
framing: "pro-con" | "open";
}
export type DebateCategory =
| "Philosophy"
| "Ethics"
| "Science"
| "Politics"
| "Economics"
| "Technology"
| "Education"
| "Society";
export const DEBATE_CATEGORIES: DebateCategory[] = [
"Philosophy",
"Ethics",
"Science",
"Politics",
"Economics",
"Technology",
"Education",
"Society",
];
export const DEBATE_TOPICS: DebateTopic[] = [
// --- Philosophy ---
{
id: "dt-phil-01",
topic: "Free will is an illusion",
category: "Philosophy",
description: "Determinism vs libertarian free will β€” are our choices genuinely free or predetermined by prior causes?",
framing: "pro-con",
},
{
id: "dt-phil-02",
topic: "Moral truths are objective, not culturally relative",
category: "Philosophy",
description: "Moral realism vs moral relativism β€” do universal ethical facts exist independent of culture?",
framing: "pro-con",
},
{
id: "dt-phil-03",
topic: "The meaning of life is self-created, not discovered",
category: "Philosophy",
description: "Existentialism vs essentialism β€” is purpose inherent in the universe or constructed by individuals?",
framing: "pro-con",
},
{
id: "dt-phil-04",
topic: "Knowledge requires certainty",
category: "Philosophy",
description: "Infallibilism vs fallibilism β€” must we be certain of something to truly know it?",
framing: "pro-con",
},
// --- Ethics ---
{
id: "dt-eth-01",
topic: "It is ethical to eat animals",
category: "Ethics",
description: "Animal rights, environmental impact, cultural traditions, and nutritional arguments for and against meat consumption.",
framing: "pro-con",
},
{
id: "dt-eth-02",
topic: "Wealthy nations have a moral obligation to accept refugees",
category: "Ethics",
description: "National sovereignty vs cosmopolitan ethics β€” duties to those fleeing conflict and persecution.",
framing: "pro-con",
},
{
id: "dt-eth-03",
topic: "Civil disobedience is justified when laws are unjust",
category: "Ethics",
description: "The legitimacy of breaking laws to challenge injustice β€” from Thoreau to MLK to modern protests.",
framing: "pro-con",
},
{
id: "dt-eth-04",
topic: "The death penalty is never justified",
category: "Ethics",
description: "Retributive justice, deterrence, wrongful convictions, and the state's power over life.",
framing: "pro-con",
},
// --- Science ---
{
id: "dt-sci-01",
topic: "Human genetic enhancement should be permitted",
category: "Science",
description: "CRISPR and gene therapy for enhancement beyond disease treatment β€” designer babies, cognitive augmentation, and equity concerns.",
framing: "pro-con",
},
{
id: "dt-sci-02",
topic: "Nuclear energy is essential for addressing climate change",
category: "Science",
description: "Nuclear power's role in decarbonisation vs renewable-only strategies β€” risk, cost, waste, and scalability.",
framing: "pro-con",
},
{
id: "dt-sci-03",
topic: "Space colonisation should be a top priority for humanity",
category: "Science",
description: "Existential risk hedging and expansion vs solving Earth's problems first β€” resource allocation and timelines.",
framing: "pro-con",
},
{
id: "dt-sci-04",
topic: "Consciousness can be fully explained by neuroscience",
category: "Science",
description: "Physicalism vs the hard problem of consciousness β€” can subjective experience be reduced to brain processes?",
framing: "pro-con",
},
// --- Politics ---
{
id: "dt-pol-01",
topic: "Democracy is the best form of government",
category: "Politics",
description: "Democratic governance vs alternatives β€” representation, efficiency, populism, and informed decision-making.",
framing: "pro-con",
},
{
id: "dt-pol-02",
topic: "Freedom of speech should have no legal limits",
category: "Politics",
description: "Absolute free speech vs harm-based restrictions β€” hate speech, misinformation, and the marketplace of ideas.",
framing: "pro-con",
},
{
id: "dt-pol-03",
topic: "A universal basic income would benefit society",
category: "Politics",
description: "UBI's effects on poverty, work incentives, automation, and fiscal sustainability.",
framing: "pro-con",
},
{
id: "dt-pol-04",
topic: "Nations should prioritise sovereignty over international cooperation",
category: "Politics",
description: "Nationalism vs internationalism β€” self-determination, global challenges, and the limits of multilateral institutions.",
framing: "pro-con",
},
// --- Economics ---
{
id: "dt-econ-01",
topic: "Capitalism produces more good than harm",
category: "Economics",
description: "Market economies vs alternatives β€” wealth creation, inequality, innovation, and externalities.",
framing: "pro-con",
},
{
id: "dt-econ-02",
topic: "Intellectual property laws do more harm than good",
category: "Economics",
description: "Patents and copyrights β€” innovation incentives vs access barriers, rent-seeking, and the public domain.",
framing: "pro-con",
},
{
id: "dt-econ-03",
topic: "Billionaires should not exist",
category: "Economics",
description: "Wealth concentration, meritocracy, philanthropy, systemic inequality, and confiscatory taxation.",
framing: "pro-con",
},
{
id: "dt-econ-04",
topic: "Globalisation has been a net positive for the world",
category: "Economics",
description: "Trade liberalisation, poverty reduction, cultural homogenisation, labour exploitation, and supply chain fragility.",
framing: "pro-con",
},
// --- Technology ---
{
id: "dt-tech-01",
topic: "AI systems should be given legal personhood",
category: "Technology",
description: "Rights and responsibilities for artificial agents β€” liability, moral status, and the nature of personhood.",
framing: "pro-con",
},
{
id: "dt-tech-02",
topic: "Social media has done more harm than good to society",
category: "Technology",
description: "Connection and democratisation vs polarisation, mental health, and attention economics.",
framing: "pro-con",
},
{
id: "dt-tech-03",
topic: "We should develop superintelligent AI as quickly as possible",
category: "Technology",
description: "Accelerationism vs safety-first approaches β€” existential risk, alignment, and the benefits of advanced AI.",
framing: "pro-con",
},
{
id: "dt-tech-04",
topic: "Digital privacy is more important than national security",
category: "Technology",
description: "Encryption, surveillance, the security-liberty tradeoff, and the chilling effect on free expression.",
framing: "pro-con",
},
// --- Education ---
{
id: "dt-edu-01",
topic: "University education should be free for everyone",
category: "Education",
description: "Public funding of higher education vs market-based tuition β€” access, quality, signalling, and fiscal tradeoffs.",
framing: "pro-con",
},
{
id: "dt-edu-02",
topic: "Standardised testing accurately measures student ability",
category: "Education",
description: "Psychometric validity, cultural bias, teaching to the test, and alternative assessment models.",
framing: "pro-con",
},
{
id: "dt-edu-03",
topic: "Children should learn to code before they learn to write essays",
category: "Education",
description: "Computational thinking vs traditional literacy β€” what foundational skills matter most in the 21st century?",
framing: "pro-con",
},
{
id: "dt-edu-04",
topic: "Homework does more harm than good",
category: "Education",
description: "Academic reinforcement vs stress, family time, equity gaps, and diminishing returns.",
framing: "pro-con",
},
// --- Society ---
{
id: "dt-soc-01",
topic: "Cultural appropriation is a meaningful concept",
category: "Society",
description: "Power dynamics, cultural exchange, respect, and the boundaries of artistic and cultural borrowing.",
framing: "pro-con",
},
{
id: "dt-soc-02",
topic: "Marriage as an institution is outdated",
category: "Society",
description: "Legal, financial, and social functions of marriage β€” tradition, partnership, and modern alternatives.",
framing: "pro-con",
},
{
id: "dt-soc-03",
topic: "Prisons should focus on rehabilitation, not punishment",
category: "Society",
description: "Restorative vs retributive justice β€” recidivism, deterrence, victim rights, and Nordic models.",
framing: "pro-con",
},
{
id: "dt-soc-04",
topic: "Voting should be mandatory",
category: "Society",
description: "Democratic participation, informed consent, compulsion vs freedom, and the Australian model.",
framing: "pro-con",
},
// --- Philosophy (expansion) ---
{
id: "dt-phil-05",
topic: "Personal identity persists through time",
category: "Philosophy",
description: "Psychological continuity vs physical continuity β€” what makes you the same person you were ten years ago?",
framing: "pro-con",
},
{
id: "dt-phil-06",
topic: "Utilitarian ethics should guide public policy",
category: "Philosophy",
description: "The greatest happiness principle vs deontological constraints β€” when is it right to sacrifice the few for the many?",
framing: "pro-con",
},
// --- Ethics (expansion) ---
{
id: "dt-eth-05",
topic: "It is ethical to lie to protect someone's feelings",
category: "Ethics",
description: "Kant's absolute duty of honesty vs consequentialist and virtue-ethics justifications for white lies.",
framing: "pro-con",
},
{
id: "dt-eth-06",
topic: "Affirmative action is a just policy",
category: "Ethics",
description: "Corrective justice, diversity rationale, and merit β€” does preferential treatment for historically excluded groups advance or undermine equality?",
framing: "pro-con",
},
// --- Science (expansion) ---
{
id: "dt-sci-05",
topic: "Animals deserve the same moral consideration as humans",
category: "Science",
description: "Sentience, pain, and rights β€” does cognitive difference justify treating animals as resources rather than ends in themselves?",
framing: "pro-con",
},
{
id: "dt-sci-06",
topic: "We are alone in the universe",
category: "Science",
description: "The Fermi Paradox, Drake Equation, and the great filter β€” what the silence of the cosmos tells us about the rarity or frequency of life.",
framing: "pro-con",
},
// --- Politics (expansion) ---
{
id: "dt-pol-05",
topic: "The media has too much power over public opinion",
category: "Politics",
description: "Agenda-setting, framing effects, media ownership concentration, and the tension between press freedom and democratic accountability.",
framing: "pro-con",
},
{
id: "dt-pol-06",
topic: "Wealth redistribution through taxation is morally justified",
category: "Politics",
description: "Rawlsian fairness, Nozickean property rights, social contract obligations, and the empirical effects of redistribution on growth and welfare.",
framing: "pro-con",
},
// --- Economics (expansion) ---
{
id: "dt-econ-05",
topic: "Automation and AI will cause mass unemployment",
category: "Economics",
description: "Technological displacement vs job creation β€” historical precedents, skill-biased change, and the timeline and scope of AI-driven labour disruption.",
framing: "pro-con",
},
{
id: "dt-econ-06",
topic: "Free trade always benefits developing nations",
category: "Economics",
description: "Comparative advantage, infant-industry arguments, terms-of-trade dynamics, and the historical record of industrialisation strategies.",
framing: "pro-con",
},
// --- Technology (expansion) ---
{
id: "dt-tech-05",
topic: "Autonomous weapons should be banned",
category: "Technology",
description: "Lethal autonomous systems β€” accountability, proportionality, lowering the cost of war, and whether machines can ever satisfy just-war criteria.",
framing: "pro-con",
},
{
id: "dt-tech-06",
topic: "The internet has been a net positive for democracy",
category: "Technology",
description: "Digital organising, access to information, and citizen journalism vs polarisation, disinformation, and authoritarian surveillance.",
framing: "pro-con",
},
// --- Education (expansion) ---
{
id: "dt-edu-05",
topic: "Schools should teach philosophy to children",
category: "Education",
description: "Critical thinking, moral reasoning, and epistemic skills vs developmental readiness, curriculum crowding, and parental objections.",
framing: "pro-con",
},
{
id: "dt-edu-06",
topic: "Single-sex education improves academic outcomes",
category: "Education",
description: "Research on attainment, confidence, and gender socialisation β€” co-educational environments vs the evidence for and against separation.",
framing: "pro-con",
},
// --- Society (expansion) ---
{
id: "dt-soc-05",
topic: "Social media companies should be liable for user-generated content",
category: "Society",
description: "Section 230 and platform immunity β€” publisher vs distributor status, content moderation incentives, and the tradeoffs of holding platforms legally accountable.",
framing: "pro-con",
},
{
id: "dt-soc-06",
topic: "Recreational drug use should be fully decriminalised",
category: "Society",
description: "Public health vs criminality, the Portugal model, personal autonomy, addiction as a medical condition, and the costs of the war on drugs.",
framing: "pro-con",
},
];
// ---------------------------------------------------------------------------
// Selection helpers
// ---------------------------------------------------------------------------
/**
* Get a random debate topic, optionally filtered by category.
*/
export function getRandomDebateTopic(category?: DebateCategory): DebateTopic {
const pool = category
? DEBATE_TOPICS.filter((t) => t.category === category)
: DEBATE_TOPICS;
if (pool.length === 0) {
return DEBATE_TOPICS[Math.floor(Math.random() * DEBATE_TOPICS.length)];
}
return pool[Math.floor(Math.random() * pool.length)];
}
/**
* Get multiple topic choices for the user to pick from.
* Tries to include topics from different categories.
*/
export function getDebateTopicChoices(
category?: DebateCategory,
count: number = 3,
): DebateTopic[] {
const pool = category
? DEBATE_TOPICS.filter((t) => t.category === category)
: [...DEBATE_TOPICS];
if (pool.length === 0) return [];
if (pool.length <= count) return [...pool];
// Shuffle and pick
const shuffled = [...pool].sort(() => Math.random() - 0.5);
if (category) {
// Within a single category, just take the first `count`
return shuffled.slice(0, count);
}
// Cross-category: try to pick from different categories
const picked: DebateTopic[] = [];
const usedCategories = new Set<string>();
// First pass: one per category
for (const topic of shuffled) {
if (picked.length >= count) break;
if (!usedCategories.has(topic.category)) {
picked.push(topic);
usedCategories.add(topic.category);
}
}
// Second pass: fill remaining slots
for (const topic of shuffled) {
if (picked.length >= count) break;
if (!picked.includes(topic)) {
picked.push(topic);
}
}
return picked;
}
/**
* Find a topic by ID.
*/
export function getDebateTopicById(id: string): DebateTopic | undefined {
return DEBATE_TOPICS.find((t) => t.id === id);
}