bayan-api / src /app.py

Commit History

  1. Update extension UI, app pipeline, and Spelling Rules

    75e0099
  2. Update extension UI, app pipeline and model loaders

    9c49fff

  1. Fix SC013 structured data punctuation guard

    8374b8c
  2. Fix SC* pipeline failures: Add Universal Structured Data Protection for Spelling and Grammar models to prevent JSON/Code/Entity corruption

    b85e858
  3. Fix SC* pipeline failures: Add Universal Structured Data Protection for Spelling and Grammar models to prevent JSON/Code/Entity corruption

    0ccc4a6
  4. Fix 30 NLP edge cases in Grammar, Spelling, and Punctuation (Phase 10 results and Extension UI improvements)

    be32617

  1. fix: enable punctuation model for clean texts while keeping structural guards

    4c96cad
  2. Revert recent unstable commits

    6782e52

  1. fix: regression fixes for structured content, religious text and benchmark string matching

    bdf0b17
  2. feat: always run punctuation even on text without spelling/grammar errors

    5cafd31

  1. fix(pipeline): skip punctuation on clean text, fix collision scoring, add digit guard⁠

    youssefreda9 +1: Claude Opus 4.6
    d6a3eb3
  2. Fix collision benchmark failures: patch overlap mapping, tokenization guard, and rule hallucinations

    df5e501

  1. Fix punctuation alignment and hallucinations, add punctuation safety rules, add kana/inna grammar rules

    9786f39
  2. Fix collision resolution and punctuation patch application errors

    Bayan AI
    8f8ed51

  1. Phase 15: Bypass StageLocker for S-V Grammar collision overlap fixes

    Bayan AI
    e661f43
  2. refactor: simplify architecture and replace whitelists with CamelTools

    Bayan AI
    ebd15e7

  1. FIX-50: Whitelist bypass for FIX-38 pronoun guard⁠

    904945c
  2. FIX-48v3: Create patches (not just mutations) for ه→ة⁠

    5f5d641
  3. Add debug logging to FIX-48v3

    ea6172b
  4. FIX-48v3: Whitelist-based ه→ة (replaces broken stem-IV approach)⁠

    e6ad007
  5. FIX-48v2: ه→ة pass moved AFTER grammar model⁠

    df6987b
  6. REVERT FIX-48: ه→ة pass caused 12 regressions (30% → revert to 54%)⁠

    6e06e1d
  7. FIX-48+49: ه→ة pass for IV words + trailing و in IV→IV guard⁠

    25e8406
  8. FIX-48: Dedicated ه→ة pass for IV words (الحكومه→الحكومة)⁠

    b4e9c60
  9. FIX-46: Expanded OOV cleanup with 4 new patterns⁠

    47dc3d5
  10. Disable edit-1 OOV cleanup (caused 3 regressions)⁠

    180a6a0
  11. FIX-45: Upgrade _levenshtein to Damerau-Levenshtein distance⁠

    e38dee9
  12. FIX-44: OOV cleanup pass between spelling and grammar stages⁠

    4655865
  13. Fix FIX-42b: Allow first-letter changes when root lengths differ⁠

    56ee1d0
  14. FIX-43: Route bidirectional OOV→IV fixes through spelling guard⁠

    f6ee28f
  15. Revert FIX-42c: Grammar feminine ending guard was too aggressive⁠

    adec9d0
  16. FIX-42: Multi-layer guards for spelling and grammar corruptions⁠

    47437bb
  17. FIX-41: Block spelling corrections that add trailing ا/ي/و to IV words⁠

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

    79db738
  19. Audit fixes: narrow FIX-35 suffixes, raise FIX-37 threshold, remove duplicate sort⁠

    417db6e
  20. FIX-37: Rule-based terminal period fallback for punctuation⁠

    014e447
  21. FIX-33/34/35: Fix infinite loop — grammar corruption + spelling conflict⁠

    03cd504
  22. Phase 14c: Fix FIX-31 whitespace bug + fix misleading log truncation⁠

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

    1e3f46f
  24. 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. Fix: Reorder Jaccard filter in app.py to run after evaluating grammar bypass rules

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

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

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

    Bayan AI
    3da743f
  7. Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes⁠

    b33660c
  8. 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