bayan-api / tests

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. Add test suite for FIX-33 through FIX-37 (29 tests)

    3130613
  5. Fix: TerminalPunctuationGuard for short phrases and comprehensive Nasb/Jazm grammar rules fixes

    Bayan AI
    76b9ec3

  1. Fix: Preserve input punctuation during grammar correction

    Bayan AI
    db7d7d8
  2. Phase A: Full 320-test baseline — L1/L2/L3 complete (75.6% overall pass rate)

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

    7db8fbe
  4. Cleanup pass 2: Fix .gitignore corruption, archive docs/audit + phase10 helpers, fix PROJECT_DESCRIPTION.md

    6e716e3
  5. Cleanup: Archive legacy scripts + phase reports, delete 35 orphaned files⁠

    78a516a
  6. Phase A: Upgrade L1 with TP/FP/FN/TN verdicts + word edits, add F1 scores to matrix

    1c376a4
  7. Phase A: Fix verdict logic - strip terminal punctuation before correction comparison

    acc0c07
  8. Phase A: Add v2.0 3-level test harness (L1 raw, L2 solo, L3 integrated + master matrix)

    a6af677
  9. Phase 11.5: Adversarial diagnostic + 4 critical pipeline fixes⁠

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

    f8cef7c
  11. inspecting and auditing

    Mohamed Atef
    f9e326a

  1. Phase 12: Benchmark results — 89.3% pass rate (270 samples, 0 errors)

    b6ffe53
  2. Phase 12: Spelling pipeline integration + Benchmark integrity fixes⁠

    31f02a4
  3. Phase 11: Add Finding 7 - Spelling ORTHO_PAIRS blocks keyboard typos⁠

    043bada
  4. Phase 11 COMPLETE: All reports generated⁠

    9afb00f
  5. Phase 11: Inline telemetry in API response⁠

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

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

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

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

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

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

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

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

    dcb0546
  14. Phase 13: Grammar SV/gender whitelist, preposition/nasb regex, pronoun-h guard⁠

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

    81c58cc

  1. revert: restore backend/model files to cf07939 state, keep UI/UX changes only

    143c028

  1. feat: P1-P3 all 8 items - ta marbuta fix, UI feedback, caching, rate limiting, unit tests

    918deb4
  2. fix: Pipeline hardening - 37 bugs + 10 edge cases (Round 1 + Round 2)⁠

    acba693
  3. test: add 28 fix verification tests (S2 S3 P1 hamza relabeling) — 59 total

    9be89fb
  4. fix: QA sweep — 6 issues resolved (sidebar chips, corrected field, input sanitization, punc cap, docs, tests)⁠

    10ec354
  5. feat: Pipeline Hardening v3.3 — stage ownership, punctuation safety, UUID migration⁠

    a1c20fd

  1. ui: Clean up editor placeholder text and alignment (top-right)

    06539c0

  1. authDone Ready for deployment

    bb51619