bayan-api / src

Commit History

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

    79db738
  2. FIX-33b: Protect second+third preposition regexes with blocklist⁠

    c6dd3fa
  3. Audit fixes: narrow FIX-35 suffixes, raise FIX-37 threshold, remove duplicate sort⁠

    417db6e
  4. FIX-32b: Add missing reverse sort in applyAllSuggestions⁠

    1502667
  5. FIX-37: Rule-based terminal period fallback for punctuation⁠

    014e447
  6. FIX-36: Merge punctuation into grammar when they overlap same span⁠

    f91a4d7
  7. FIX-33/34/35: Fix infinite loop — grammar corruption + spelling conflict⁠

    03cd504
  8. FIX-32: Fix word duplication bug in website frontend⁠

    f1671d1
  9. Fix grammar rules output log — remove hardcoded ... truncation marker

    09be182
  10. Phase 14c: Fix FIX-31 whitespace bug + fix misleading log truncation⁠

    80c9b7b
  11. Phase 14b: Fix spelling punct hallucination + cross-stage overlap⁠

    1e3f46f
  12. Phase 14: Fix StageLocker over-locking + PatchSet overlap resolution⁠

    8fe6a99
  13. Merge punctuation_rules V1+V2: V2 threshold+fallback, V1 softened exclamation guard for short texts

    e100026
  14. Fix: TerminalPunctuationGuard for short phrases and comprehensive Nasb/Jazm grammar rules fixes

    Bayan AI
    76b9ec3

  1. Refactor: Remove obsolete IVtoOOV filter to prevent False Negatives

    Bayan AI
    dd8a53f
  2. Fix: Add missing dual and plural IVtoOOV bypass rules in app.py

    Bayan AI
    d8125c8
  3. Feat: Add demonstrative and noun-adjective dual/plural agreement rules

    Bayan AI
    daf0945
  4. Fix: Reorder Jaccard filter in app.py to run after evaluating grammar bypass rules

    Bayan AI
    52e630f
  5. Fix: Prevent conditional sentences rule from overcorrecting 'إن' and 'من' by requiring the subsequent word to be a verb

    Bayan AI
    d7619b9
  6. Fix: Strip trailing punctuation in grammar bypass rule to handle words at the end of sentences

    Bayan AI
    8fcecea
  7. Fix: Allow gender prefix swap (ي/ت) during feminine plural present tense bypass

    Bayan AI
    72df81e
  8. Fix: Add bypass rule for present tense feminine plural to prevent IVtoOOV rejection

    Bayan AI
    3da743f
  9. Fix: Preserve input punctuation during grammar correction

    Bayan AI
    db7d7d8
  10. Cleanup pass 3: Delete debug_verdict.py, rewrite tasks/todo.md and src/README.md for v2.0

    7db8fbe
  11. Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes⁠

    b33660c
  12. Phase 11: Hierarchical StageLocker — grammar overrides spelling locks⁠

    f8cef7c

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

    Mohamed Atef
    dda1c3d
  2. Phase 13: Fix spelling filter blind spots + eager model loading⁠

    Mohamed Atef
    d97d7bd
  3. Phase 12: Spelling pipeline integration + Benchmark integrity fixes⁠

    31f02a4
  4. Phase 11: Inline telemetry in API response⁠

    ae6bb8d
  5. Phase 11: Telemetry instrumentation + OffsetMapper tests⁠

    a1b4492
  6. FIX-27: Grammar structured data + hallucination protection⁠

    371c4c2
  7. FIX-26: Reject punct substitution when original has punct⁠

    3f2c874
  8. FIX-25: Block grammar punct spacing (حالك؟→حالك ؟)⁠

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

    48bde4e
  10. FIX-23: Block grammar model tanween removal + HF log fetcher⁠

    727b112
  11. HOTFIX: Remove broad preposition/nasb regex rules — caused Hallucination 0%, +38 FP⁠

    4bb9b89
  12. CRITICAL FIX: _DIRECTIONAL_BLOCKS was local scope → NameError in grammar diff filter⁠

    dcb0546
  13. Critical: Isolate grammar rules in try/except so regex fallback ALWAYS runs⁠

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

    5e42d03
  15. Phase 13: Grammar SV/gender whitelist, preposition/nasb regex, pronoun-h guard⁠

    00b99d9
  16. Phase 12: Fix 6 batches — grammar pipeline bypass, religious/structured protection, punct rearrangement, SV/gender agreement⁠

    81c58cc
  17. fix: Apply hamza+ta-marbuta corrections AFTER validation steps to prevent reversion⁠

    b7e415b
  18. Phase 11: Master Bug Fix — 23 fixes across 8 files⁠

    bfc07c3

  1. Phase 8: Fix all critical bugs from adversarial validation⁠

    76ea593
  2. feat: Add popover dismiss button (تجاهل) + dismiss CSS styling

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

    8dd8908
  4. fix: Remove Quran + Dialect links from footer

    4d3e243
  5. feat: Complete ALL plan items — gradient tokens, nav scroll glow, focus rings, dropdown keyboard nav, color reset, network delay indicator

    7dcbabe
  6. feat: Add Quran + Dialect product links to footer

    e7a38b2