bayan-api / src

Commit History

FIX-47: Expand hamza whitelist with verb+pronoun forms
dd35746
Running

youssefreda9 commited on

FIX-46: Expanded OOV cleanup with 4 new patterns
5bff09c

youssefreda9 commited on

Disable edit-1 OOV cleanup (caused 3 regressions)
4c374a9

youssefreda9 commited on

FIX-45: Upgrade _levenshtein to Damerau-Levenshtein distance
2673054

youssefreda9 commited on

FIX-44: OOV cleanup pass between spelling and grammar stages
4608bcd

youssefreda9 commited on

Fix FIX-42b: Allow first-letter changes when root lengths differ
32a135f

youssefreda9 commited on

FIX-43: Route bidirectional OOV→IV fixes through spelling guard
ebce6ef

youssefreda9 commited on

Revert FIX-42c: Grammar feminine ending guard was too aggressive
5dfa9cd

youssefreda9 commited on

FIX-42: Multi-layer guards for spelling and grammar corruptions
638b53d

youssefreda9 commited on

FIX-41: Block spelling corrections that add trailing ا/ي/و to IV words
a037662

youssefreda9 commited on

FIX-38/39 + Layer 1/2/3: Benchmark normalization + spelling safety + grammar rules
eae5d36

youssefreda9 commited on

FIX-33b: Protect second+third preposition regexes with blocklist
17a3ac2

youssefreda9 commited on

Audit fixes: narrow FIX-35 suffixes, raise FIX-37 threshold, remove duplicate sort
27198e8

youssefreda9 commited on

FIX-32b: Add missing reverse sort in applyAllSuggestions
344f4c9

youssefreda9 commited on

FIX-37: Rule-based terminal period fallback for punctuation
76e008d

youssefreda9 commited on

FIX-36: Merge punctuation into grammar when they overlap same span
f5d7f0e

youssefreda9 commited on

FIX-33/34/35: Fix infinite loop — grammar corruption + spelling conflict
4616185

youssefreda9 commited on

FIX-32: Fix word duplication bug in website frontend
36c54b7

youssefreda9 commited on

Fix grammar rules output log — remove hardcoded ... truncation marker
f4e59e5

youssefreda9 commited on

Phase 14c: Fix FIX-31 whitespace bug + fix misleading log truncation
ca212fd

youssefreda9 commited on

Phase 14b: Fix spelling punct hallucination + cross-stage overlap
cfb4439

youssefreda9 commited on

Phase 14: Fix StageLocker over-locking + PatchSet overlap resolution
9674032

youssefreda9 commited on

Merge punctuation_rules V1+V2: V2 threshold+fallback, V1 softened exclamation guard for short texts
c1f8f9f

youssefreda9 commited on

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

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