Skip to content

Commit b30c53b

Browse files
authored
Merge pull request #260 from Programcode/seo/plain-guides
Rewrite the generic debate guides in plain language
2 parents 37711d2 + e8b6cf5 commit b30c53b

25 files changed

Lines changed: 303 additions & 197 deletions

File tree

‎docs/testing.md‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,15 @@ npm run verify
154154
The gate runs, in order:
155155

156156
1. documentation checks
157-
2. lint
158-
3. type checking
159-
4. unit tests
160-
5. collaboration service tests
161-
6. native Edge Function tests
162-
7. production build
163-
8. production service-worker offline smoke
164-
9. the desktop Chromium `@smoke` set (`npm run verify:full` adds the full desktop and mobile suite)
157+
2. the guide jargon check (`npm run seo:jargon`): no generated guide in `public/` other than `/lincoln-douglas-debate` and `/policy-debate` may use framework, contention, warrant or impact calculus more than once in its visible text or its JSON-LD ([`scripts/check_jargon.py`](../scripts/check_jargon.py))
158+
3. lint
159+
4. type checking
160+
5. unit tests
161+
6. collaboration service tests
162+
7. native Edge Function tests
163+
8. production build
164+
9. production service-worker offline smoke
165+
10. the desktop Chromium `@smoke` set (`npm run verify:full` adds the full desktop and mobile suite)
165166

166167
It does not start local Supabase, run pgTAP, run WebKit, or use protected staging.
167168

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"preview": "vite preview",
2424
"smoke:jev": "node scripts/smoke-jev.mjs",
2525
"seo:indexnow": "python3 scripts/indexnow_submit.py",
26+
"seo:jargon": "python3 scripts/check_jargon.py --max 1",
2627
"test": "vitest run",
2728
"test:collaboration": "vitest run --config services/collaboration/vitest.config.ts",
2829
"start:collaboration": "tsx services/collaboration/src/index.ts",
@@ -35,7 +36,7 @@
3536
"test:sw": "node scripts/test-service-worker-offline.mjs",
3637
"test:e2e:staging": "playwright test --project=staging",
3738
"test:agentic": "bash .claude/skills/verify-debatelab/bin/verify.sh e2e run",
38-
"verify": "npm run docs:check && npm run lint && npm run typecheck && npm test && npm run test:collaboration && npm run test:edge && npm run build && npm run test:sw && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e:smoke",
39+
"verify": "npm run docs:check && npm run seo:jargon && npm run lint && npm run typecheck && npm test && npm run test:collaboration && npm run test:edge && npm run build && npm run test:sw && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e:smoke",
3940
"verify:full": "npm run verify && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e"
4041
},
4142
"dependencies": {

‎public/ai-debate-practice/index.html‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎public/debate-clash-points/index.html‎

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

‎public/debate-evidence-finder/index.html‎

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

‎public/debate-fallacies/index.html‎

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎public/debate-judge-adaptation/index.html‎

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎public/debate-motion-analysis/index.html‎

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎public/debate-rebuttal-practice/index.html‎

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎public/debate-speech-structure/index.html‎

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)