Spaces:
Running
Running
Commit History
-
Add LDA topic inference — show detected topic label + defining words in UI Running
Ryan Christian D. Deniega +1: Claude Sonnet 4.6LDAFeatureClassifier gains get_topic_info() which reuses the already-trained _lda and _count_vec to infer the dominant topic for any new text. Returns a human-assigned label (Health & Conspiracy, Breaking News, etc.), the top 6 words that define that topic, and the probability confidence. _run_comparison now returns (comparison_entries, LDATopicResult) tuple. VerificationResponse gains lda_topic field. The LDA column in the comparison panel expands to show the topic label in cyan, top-word chips, and match %. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>affe2db -
Add ML model comparison panel showing BoW, TF-IDF, Naive Bayes, and LDA results
Ryan Christian D. Deniega +1: Claude Sonnet 4.6All four classical classifiers now run on every verification request (concurrently with Layer 2 evidence fetch) and their verdicts, confidence scores, and top triggered features appear in a side-by-side panel in the result UI between the Score Breakdown and Layer 1/Layer 2 cards. LDA topic labels (lda_topic_N) are highlighted in teal to distinguish them from TF-IDF feature chips. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8af997f -
fix: remove leftover 'source' variable reference after Firebase removal
Ryan Christian D. Deniega +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e95c304 -
refactor: remove Firebase dependency — use REST API for history
Ryan Christian D. Deniega +1: Claude Sonnet 4.6Firestore was only used in HistoryPage for real-time updates. Replaced with simple 30s polling via existing REST /history endpoint. Removes firebase SDK (-256KB bundle), firebase.js, and all Firestore references. Stack is now just Vercel (frontend) + HuggingFace (backend). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a0f748d -
feat: extension button placement, text extraction, OCR display + ML improvements
Ryan Christian D. Deniega +1: Claude Sonnet 4.6Extension: - Fix verify button placement to appear below Like/Comment/Share bar on all page types - Fix walk-up logic to find correct post container (message container > article > innerText>100) - Fix [dir="auto"] filter to work when postElement is a sub-section of the article - Add obfuscated text detection to skip Facebook's character-by-character spans - Show full caption text (no truncation) and extracted image in verification modal - Add IMAGE TEXT (OCR) section to modal using backend ocr_text field - Fix "Extension context invalidated" error to show refresh prompt instead of retry - Add webNavigation SPA detection for Facebook pushState navigation API: - Add image_url field to TextVerifyRequest — runs Tesseract OCR alongside caption text - Add ocr_text field to VerificationResponse for image OCR results ML/NLP: - Add Naive Bayes, BoW, LDA, and ensemble classifiers - Add Tagalog RoBERTa fine-tuned model - Improve preprocessor, NER, claim extractor, and scoring engine - Add bench…c78c2c1
-
feat: landing page UX improvements — mock result card, crosshatch hero, teaser centering, nav home link
Ryan Christian D. Deniega41972d7 -
ux: improve landing — fix step visuals, add try-it teaser input, expand footer with nav links
Ryan Christian D. Deniegaf7e9353 -
feat: add landing page — hero, modes, how-it-works, stats, CTA band
Ryan Christian D. Deniega376fe09
-
feat: add clickable example suggestion chips for text and url tabs
Ryan Christian D. Deniegaaef3106 -
chore: add HF Spaces deployment config and fix frontend API URL
Ryan Christian D. Deniegaa98615e
-
Fix: Overhaul Facebook post detection to filtered comments using [role='feed'] strategy and improve button positioning
Ryan Christian D. Deniega7e55328
-
feat: oEmbed scraping for Facebook/X URLs, remove social URL blocks
Ryan Christian D. Deniega0ee6199 -
fix(frontend): block social URL preview + better error card for social URLs
Ryan Christian D. Deniegaed3755c -
fix: cold start 502, favicon, verify state persistence
Ryan Christian D. Deniega- Dockerfile: pre-download HuggingFace models to eliminate cold start 502s - scoring/engine.py: cache NLP instances per-process (_nlp_cache) - Cloud Run: set min-instances=1 in deploy.sh - frontend: Lucide Radar icon favicon (matches navbar) - frontend/VerifyPage: sessionStorage persistence + Verify Again button - .gitignore: exclude ml/models/xlmr_model/ and *.safetensorsb1c84b5
-
feat(frontend): apply frontend-design, web-design-guidelines, architect-review skills
Ryan Christian D. Deniega- Replace Inter+SpaceGrotesk w/ Syne+Lora+JetBrains Mono (frontend-design) - Halftone dot texture background, sharp 4px corners (frontend-design) - PH flag red/gold/cyan palette, editorial ruled headers (frontend-design) - Staggered fade-up animations w/ prefers-reduced-motion guard (web-guidelines) - color-scheme: dark on html, touch-action: manipulation (web-guidelines) - Semantic nav/main/header/section/ul/li/time elements (web-guidelines) - aria-labels on all icon buttons, role=tablist, role=alert (web-guidelines) - htmlFor labels on all form inputs, useId for unique IDs (web-guidelines) - focus-visible rings, no outline-none (web-guidelines) - font-variant-numeric tabular-nums via .tabular class (web-guidelines) - Intl.DateTimeFormat via utils/format.js timeAgo() (web-guidelines) - Business logic (timeAgo, scoreColor, VERDICT_MAP) extracted to utils/ (architect) - SectionHeading, MetaRow, ScoreBar as atomic sub-components (architect)b1a8265