bayan-api / src

Commit History

Fix: TerminalPunctuationGuard for short phrases and comprehensive Nasb/Jazm grammar rules fixes
31a6db1
Running

Bayan AI commited on

Refactor: Remove obsolete IVtoOOV filter to prevent False Negatives
dbc8941

Bayan AI commited on

Fix: Add missing dual and plural IVtoOOV bypass rules in app.py
100db1e

Bayan AI commited on

Feat: Add demonstrative and noun-adjective dual/plural agreement rules
19a801d

Bayan AI commited on

Fix: Reorder Jaccard filter in app.py to run after evaluating grammar bypass rules
44c30d6

Bayan AI commited on

Fix: Prevent conditional sentences rule from overcorrecting 'إن' and 'من' by requiring the subsequent word to be a verb
4c96469

Bayan AI commited on

Fix: Strip trailing punctuation in grammar bypass rule to handle words at the end of sentences
391a5b3

Bayan AI commited on

Fix: Allow gender prefix swap (ي/ت) during feminine plural present tense bypass
b55244c

Bayan AI commited on

Fix: Add bypass rule for present tense feminine plural to prevent IVtoOOV rejection
401d5ab

Bayan AI commited on

Fix: Preserve input punctuation during grammar correction
54052f7

Bayan AI commited on

Cleanup pass 3: Delete debug_verdict.py, rewrite tasks/todo.md and src/README.md for v2.0
7e2b836

youssefreda9 commited on

Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes
57104c1

youssefreda9 commited on

Phase 11: Hierarchical StageLocker — grammar overrides spelling locks
6f1ed4e

youssefreda9 commited on

Phase 13: Fix punctuation terminal injection filter (context-aware Rule 0)
c830869

Mohamed Atef commited on

Phase 13: Fix spelling filter blind spots + eager model loading
38a1924

Mohamed Atef commited on

Phase 12: Spelling pipeline integration + Benchmark integrity fixes
2883342

youssefreda9 commited on

Phase 11: Inline telemetry in API response
404f92d

youssefreda9 commited on

Phase 11: Telemetry instrumentation + OffsetMapper tests
6319518

youssefreda9 commited on

FIX-27: Grammar structured data + hallucination protection
609c035

youssefreda9 commited on

FIX-26: Reject punct substitution when original has punct
175fc9d

youssefreda9 commited on

FIX-25: Block grammar punct spacing (حالك؟→حالك ؟)
c8cc451

youssefreda9 commited on

FIX-24: Block grammar model punct stripping (البلاد.→البلاد)
7954757

youssefreda9 commited on

FIX-23: Block grammar model tanween removal + HF log fetcher
d3a32e2

youssefreda9 commited on

HOTFIX: Remove broad preposition/nasb regex rules — caused Hallucination 0%, +38 FP
2fe1569

youssefreda9 commited on

CRITICAL FIX: _DIRECTIONAL_BLOCKS was local scope → NameError in grammar diff filter
9cae8f8

youssefreda9 commited on

Critical: Isolate grammar rules in try/except so regex fallback ALWAYS runs
722789f

youssefreda9 commited on

Hotfix: Revert pronoun-h guard to ته-only (was breaking ta_marbuta), add directional blocks for عمله/لسانه/بيته/كتابه
b62e8ec

youssefreda9 commited on

Phase 13: Grammar SV/gender whitelist, preposition/nasb regex, pronoun-h guard
e909fa9

youssefreda9 commited on

Phase 12: Fix 6 batches — grammar pipeline bypass, religious/structured protection, punct rearrangement, SV/gender agreement
015c7b7

youssefreda9 commited on

fix: Apply hamza+ta-marbuta corrections AFTER validation steps to prevent reversion
34789e9

youssefreda9 commited on

Phase 11: Master Bug Fix — 23 fixes across 8 files
095e270

youssefreda9 commited on

Phase 8: Fix all critical bugs from adversarial validation
1159492

youssefreda9 commited on

feat: Add popover dismiss button (تجاهل) + dismiss CSS styling
6b8f86b

youssefreda9 commited on

fix: Correct hero badge error count from 3 to 8 (4+1+3)
fb15789

youssefreda9 commited on

fix: Remove Quran + Dialect links from footer
062304c

youssefreda9 commited on

feat: Complete ALL plan items — gradient tokens, nav scroll glow, focus rings, dropdown keyboard nav, color reset, network delay indicator
97ed8d3

youssefreda9 commited on

feat: Add Quran + Dialect product links to footer
eadc8f5

youssefreda9 commited on

fix: Correct toast types (warning/error) + analyze API error toast + cleanup
565d2f9

youssefreda9 commited on

feat: Custom confirm dialog for doc delete + improved empty state component
6a06042

youssefreda9 commited on

feat: Apply All button shows count + empty states already functional
6451a95

youssefreda9 commited on

fix: tool count ٨→٧ + Bayyinah arrow ↗
26f3f34

youssefreda9 commited on

fix: Bayyinah external link arrow direction (← → ↗)
157d848

youssefreda9 commited on

feat: UI/UX Overhaul Phase 1-9 — CSS modernization, RTL arrows, pricing features, confirm dialog, meta SEO, footer links, hero copy, shimmer/glow/glassmorphism
e384bec

youssefreda9 commited on

ux: Escape closes Quran modal + char counter on dialect textarea (red when >5000)
7e7ca7c

youssefreda9 commited on

fix: Quran XSS escape + 30s timeout + hide buttons during loading (same fixes as dialect)
9c3f41f

youssefreda9 commited on

fix: XSS escape error messages + 30s fetch timeout for dialect
b3b321f

youssefreda9 commited on

remove: جديد badge from dialect panel
2653fef

youssefreda9 commited on

polish: remove 'قيد التطوير' badge, add 'جديد' badge + loading state on convert button
86c3d9d

youssefreda9 commited on

feat: dialect-to-MSA conversion — backend API + frontend + Docker model cache
6222cc6

youssefreda9 commited on

fix: add undo support for autocomplete suggestions
252b187

youssefreda9 commited on