RepoPilot

sjmoran/satire-classifier

A Naive Bayes classifier for satire detection

Mixed

Stale — last commit 4y ago

MixedDependency

last commit was 4y ago; no CI workflows detected…

MixedFork & modify

no CI workflows detected; last commit was 4y ago…

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

last commit was 4y ago; no CI workflows detected…

  • Stale — last commit 4y ago
  • Small team — 2 contributors active in recent commits
  • Concentrated ownership — top contributor handles 67% of recent commits
  • No CI workflows detected
  • Scorecard: marked unmaintained (0/10)
  • 1 moderate-severity advisory on direct dependencies
  • 2 active contributors
  • Tests present

What would improve this?

  • Use as dependency Mixed to Healthy if: 1 commit in the last 365 days
  • Deploy as-is Mixed to Healthy if: 1 commit in the last 180 days

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: sjmoran/satire-classifier

Generated by RepoPilot · document generated 2026-09-12 · concise human review Evidence snapshot · analyzed 2026-09-12T16:23:30.846Z · commit b715f307f9e9

Verdict

Mixed — Stale — last commit 4y ago

  • 2 active contributors
  • Tests present

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

A binary text classification system that detects satirical articles using Naive Bayes ensemble methods. It combines Multinomial Naive Bayes (trained on linguistic features like unigrams, punctuation, capitalization, sentiment polarity, and intensifiers) with Gaussian Naive Bayes (trained on word2vec document embeddings), then meta-learns a final Gaussian Naive Bayes classifier on the probability outputs of both base models to achieve 96% mean cross-validation F-score. Single-script architecture: train_classifier.py is the primary entry point that loads training data from training/ directory (training-0001 through training-0052 files), extracts features (word2vec embeddings, chi-squared…

Start here

Open these first:

  • train_classifier.py — Entry point that trains the Naive Bayes classifier on labeled training data and evaluates performance.
  • requirements.txt — Specifies all dependencies including scikit-learn, gensim, nltk, and pandas required for model training and feature…
  • README.md — Documents the six feature types (word2vec embeddings, unigram counts, punctuation, capitalization, sentiment, intensifiers)…
  • logging.conf — Configures logging output for training and evaluation runs to support debugging and monitoring.
  • eval.prl — Evaluation script (Perl) that measures classifier performance metrics on test data.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

git clone https://github.com/sjmoran/satire-classifier.git
cd satire-classifier
pip install -r requirements.txt
python train_classifier.py

Verify requirements.txt contains numpy, scikit-learn, gensim, nltk, pandas, and scipy before proceeding—no alternate package managers are evident.

Daily commands:

python train_classifier.py

This trains the classifier on the training/ directory. Evaluation on test-class is likely performed via eval.prl (Perl script); exact invocation cannot be inferred from the provided data—consult the README or eval.prl s…

…shortened for this brief.

Key cautions & unknowns

  • Stale — last commit 4y ago
  • Small team — 2 contributors active in recent commits
  • Concentrated ownership — top contributor handles 67% of recent commits
  • Dated dependencies: gensim 3.0.1, scikit-learn 0.19.0, and nltk 3.2.5 are from 2017–2018 and may not work on Python 3.9+; test compatibility before upgrading. No externalized training data: Adding/removing…
  • License evidence is incomplete or ambiguous.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Great to learn from" badge

Paste into your README — live-updates from the latest cached analysis.

RepoPilot: Great to learn from
[![RepoPilot: Great to learn from](https://repopilot.app/api/badge/sjmoran/satire-classifier?axis=learn)](https://repopilot.app/r/sjmoran/satire-classifier)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/sjmoran/satire-classifier on X, Slack, or LinkedIn.

Ask AI about sjmoran/satire-classifier

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Recent Q&A

Public conversations other people have had about this repo.

Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/sjmoran/satire-classifier"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>