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 -
Remove Firebase/Firestore from backend β use local JSON persistence onlyβ
Ryan Christian D. Deniega +1: Claude Sonnet 4.6Deletes firebase_client.py and strips all Tier-1 Firestore code paths from history.py, trends.py, and scoring/engine.py. Persistence now falls through directly to the local JSON file (data/history.json) with in-memory fallback. Eliminates the repeated "firebase-admin not installed" warnings in HF logs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2f3f71f -
fix: remove calamancy and firebase-admin from requirements (unused, breaking HF build)β
Ryan Christian D. Deniega +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9f6f344 -
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 -
fix: remove large model file from git, add ml/models/ to .gitignoreβ
Ryan Christian D. Deniega +1: Claude Sonnet 4.6model.safetensors is 416MB β exceeds GitHub's 100MB limit. Store locally or use HuggingFace Hub for model weights. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>28ffef1 -
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
-
docs: update README with current deployment, features, and project structure
Ryan Christian D. Deniega70fdb2e -
feat: add clickable example suggestion chips for text and url tabs
Ryan Christian D. Deniegaaef3106 -
feat: add video frame OCR β extract on-screen text alongside Whisper ASR
Ryan Christian D. Deniega7097cb7 -
fix: add HEAD method to health endpoints for UptimeRobot
Ryan Christian D. Deniega32ac1d9 -
fix: use valid emoji for HF Spaces metadata
Ryan Christian D. Deniegacadb6ae -
chore: add HF Spaces deployment config and fix frontend API URL
Ryan Christian D. Deniegaa98615e
-
docs: redesign README with premium style
Ryan Christian D. Deniegaf934e95 -
docs: add machine learning 2 final project to readme
Ryan Christian D. Deniega3fac962
-
Fix: Overhaul Facebook post detection to filtered comments using [role='feed'] strategy and improve button positioning
Ryan Christian D. Deniega7e55328
-
fix(extension): exclude comment articles from Facebook post detection
Ryan Christian D. Deniega7b2808c -
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(extension): init() no longer exits when service worker returns undefined
Ryan Christian D. Deniega7ba7fea -
feat(extension): convert popup to persistent side panel
Ryan Christian D. Deniega4cb413f -
fix(extension): block social URLs in popup, show paste-text hint
Ryan Christian D. Deniegaad25f0b -
fix(extension): insert missing PLATFORM_CFG/CFG/IS_SOCIAL config block
Ryan Christian D. Deniega7a99ea1 -
feat(extension): X/Twitter support, image OCR fallback, cleanup IS_FACEBOOK
Ryan Christian D. Deniega0b3f171 -
feat(extension): production API URL, PH news site support, article auto-verifyβ
Ryan Christian D. Deniega- background.js: default apiBase β https://philverify.web.app/api - manifest.json: fix host_permissions (add philverify.web.app, remove dead api.philverify.com) - manifest.json: expand content_scripts to 14 Philippine news sites (Rappler, Inquirer, GMA, PhilStar, Manila Times, MB, ABS-CBN, PNA, bworld, Interaksyon) - content.js: fix 'Open full analysis' link localhost β https://philverify.web.app - content.js: add autoVerifyPage() β on news article pages, injects a fixed top banner with verdict, credibility score, and triggered signals; auto-dismisses after 5s if Credible - popup.js: fix 'Open Full Dashboard' localhost β https://philverify.web.app - popup.html: update settings hint to show production URL6911f3f -
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 -
chore: add docs/*.json to gitignore, remove misplaced service account key
Ryan Christian D. Deniega0950117 -
feat: Firebase integration β Firestore persistence, firebase.json hosting + Cloud Run rewrite
Ryan Christian D. Deniega954286a -
docs: add README
Ryan Christian D. Deniega9724119 -
feat: PhilVerify Phase 1-3 β FastAPI backend, NLP pipeline, TF-IDF classifier (23/23 tests)
Ryan Christian D. Deniega6c9b8f1