Skip to content

feat(runbook): add Sprint 3 Day 2 verification script for NLP keyword extraction and text normalisation#74

Merged
AAdewunmi merged 1 commit into
mainfrom
feat/test-keyword-extraction-edge-cases
May 15, 2026
Merged

feat(runbook): add Sprint 3 Day 2 verification script for NLP keyword extraction and text normalisation#74
AAdewunmi merged 1 commit into
mainfrom
feat/test-keyword-extraction-edge-cases

Conversation

@AAdewunmi

Copy link
Copy Markdown
Owner

Summary

Adds the Sprint 3 Day 2 console-only verification runbook for NLP keyword extraction and text normalisation.

Changes

  • Added docs/sprint-runbook/sprint-3/sprint-3-day-2.sh.
  • Made the script executable.
  • Verifies current NLP files and consolidated NLP test files exist.
  • Confirms the obsolete mixed keyword test file is absent.
  • Runs Docker/PostgreSQL startup, Django checks, inline NLP behaviour assertions, targeted NLP tests, insights tests, and the full regression suite.

Behaviour

  • Validates text normalisation, tokenisation, stop-word filtering, source hash stability, deterministic keyword ranking, alphabetical tie-breaking, keyword limits, and low-information input handling.
  • Confirms AI/NLP contract headings are present.
  • Produces a final receipt when all checks pass.

Why

Provides a repeatable Sprint 3 Day 2 verification path for the deterministic NLP keyword extraction and text-processing work.

Validation

  • bash -n docs/sprint-runbook/sprint-3/sprint-3-day-2.sh
  • ./docs/sprint-runbook/sprint-3/sprint-3-day-2.sh

Result

Runbook completed successfully:

  • Targeted NLP tests: 14 passed
  • Insights tests: 23 passed
  • Full project suite: 138 passed

Notes

The AI/NLP contract check is a heading-level smoke check, not a semantic document audit.

@codecov

codecov Bot commented May 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AAdewunmi AAdewunmi merged commit 295913f into main May 15, 2026
2 checks passed
@AAdewunmi AAdewunmi deleted the feat/test-keyword-extraction-edge-cases branch May 15, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint-3-testing-ai-nlp Test keyword extraction edge cases

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Test keyword extraction edge cases

1 participant