Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions scripts/test_debate_me_campaign.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,35 @@ test("existing GA4 per-position event data remains intact", () => {
assert.match(html, /a\.getAttribute\('data-position'\)/);
assert.doesNotMatch(html, /support_debate_me_hero/);
});


test("Debate Me search snippet, Open Graph and SoftwareApplication describe the same actual app", () => {
const title = html.match(/<title>([^<]+)<\/title>/)?.[1];
const meta = html.match(/<meta name="description" content="([^"]+)"\s*\/>/)?.[1];
const og = html.match(/<meta property="og:description" content="([^"]+)"/)?.[1];
const structured = JSON.parse(html.match(/<script type="application\/ld\+json">\s*([\s\S]*?)\s*<\/script>/)?.[1] || "null");
assert.equal(title, "Debate Me – AI Debate Practice App for Android | SK APPS");
assert.ok(title.length <= 65);
assert.ok(meta && meta.length >= 100 && meta.length <= 160);
assert.equal(meta, og);
assert.equal(meta, structured?.description);
assert.equal(structured?.name, "Debate Me");
assert.equal(structured?.operatingSystem, "Android");
assert.equal(structured?.downloadUrl, "https://play.google.com/store/apps/details?id=jp.appdevelopsk.debate_me");
assert.match(meta, /AI debate practice app/);
assert.match(meta, /rebuttals/);
assert.match(meta, /Google Play/);
});

test("the sample exercise is concrete, accessible and preserves help guide links", () => {
const guide = html.match(/<section class="card" id="debate-practice-guide"[\s\S]*?<\/section>/)?.[0];
assert.ok(guide);
assert.match(guide, /Should homework be optional\?/);
assert.match(guide, /<h2 id="debate-practice-guide-heading">/);
assert.match(guide, /<ol lang="en"/);
assert.equal((guide.match(/<li>/g) || []).length, 3);
for (const part of ["Claim:", "Reason:", "Rebuttal:"]) assert.ok(guide.includes(part));
assert.match(guide, /href="\/guides\/ai-debate-practice\/"/);
assert.match(guide, /href="\/guides\/ai-debate-practice\/ja\/"/);
assert.ok(html.includes('href="https://appdevelopsk.com/support/debate-me/"'));
});
20 changes: 13 additions & 7 deletions support/debate-me/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="canonical" href="https://appdevelopsk.com/support/debate-me/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="SK APPS">
<meta property="og:title" content="Debate Me – Practice Debating with AI on Android | SK APPS">
<meta property="og:description" content="Want to get better at debating? Debate Me lets you challenge an AI opponent, practice rebuttals, and review feedback. Explore the Android app on Google Play.">
<meta property="og:title" content="Debate Me – AI Debate Practice App for Android | SK APPS">
<meta property="og:description" content="Debate Me is an Android AI debate practice app. Choose a topic, practise claims and rebuttals with an AI opponent, and review feedback. Explore Google Play.">
<meta property="og:url" content="https://appdevelopsk.com/support/debate-me/">
<meta property="og:image" content="https://appdevelopsk.com/icons/apps/debate-me.png">
<script type="application/ld+json">
Expand All @@ -18,14 +18,14 @@
"operatingSystem": "Android",
"applicationCategory": "EducationalApplication",
"downloadUrl": "https://play.google.com/store/apps/details?id=jp.appdevelopsk.debate_me",
"description": "Want to get better at debating? Debate Me lets you challenge an AI opponent, practice rebuttals, and review feedback. Explore the Android app on Google Play."
"description": "Debate Me is an Android AI debate practice app. Choose a topic, practise claims and rebuttals with an AI opponent, and review feedback. Explore Google Play."
}
</script>
<meta name="twitter:card" content="summary">
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Debate Me – Practice Debating with AI on Android | SK APPS</title>
<meta name="description" content="Want to get better at debating? Debate Me lets you challenge an AI opponent, practice rebuttals, and review feedback. Explore the Android app on Google Play."/>
<title>Debate Me – AI Debate Practice App for Android | SK APPS</title>
<meta name="description" content="Debate Me is an Android AI debate practice app. Choose a topic, practise claims and rebuttals with an AI opponent, and review feedback. Explore Google Play."/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
Expand Down Expand Up @@ -169,8 +169,14 @@ <h2 data-i18n="privacy">Privacy &amp; Data</h2>
</div>

<section class="card" id="debate-practice-guide" aria-labelledby="debate-practice-guide-heading">
<h2 id="debate-practice-guide-heading">Try a short AI debate practice exercise</h2>
<p>Before installing, practise your claim, reasons and rebuttal with three free examples. <a href="/guides/ai-debate-practice/" lang="en" style="color:var(--c1);font-weight:600">English practice guide</a> · <a href="/guides/ai-debate-practice/ja/" lang="ja" style="color:var(--c1);font-weight:600">日本語ガイド</a>.</p>
<h2 id="debate-practice-guide-heading">Try a three-step AI debate practice exercise</h2>
<p lang="en">Sample topic: <strong>Should homework be optional?</strong> Practise a short argument before starting a debate in the app.</p>
<ol lang="en" style="padding-left:22px;color:var(--t2);font-size:.93rem;line-height:1.8;margin:12px 0">
<li><strong>Claim:</strong> State your position in one sentence.</li>
<li><strong>Reason:</strong> Give one supporting fact or example and explain why it matters.</li>
<li><strong>Rebuttal:</strong> Anticipate one objection, then answer it respectfully.</li>
</ol>
<p>For more guided practice, read the <a href="/guides/ai-debate-practice/" lang="en" style="color:var(--c1);font-weight:600">English practice guide</a> or <a href="/guides/ai-debate-practice/ja/" lang="ja" style="color:var(--c1);font-weight:600">日本語ガイド</a>. In Debate Me, use an AI opponent and feedback to continue practising.</p>
</section>

<section class="card" id="related-apps" aria-labelledby="related-apps-heading">
Expand Down
Loading