bayan-api / tests

Commit History

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

Bayan AI commited on

Fix: Preserve input punctuation during grammar correction
54052f7

Bayan AI commited on

Phase A: Full 320-test baseline — L1/L2/L3 complete (75.6% overall pass rate)
88200fd

youssefreda9 commited on

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

youssefreda9 commited on

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

youssefreda9 commited on

Cleanup: Archive legacy scripts + phase reports, delete 35 orphaned files
7c2a891

youssefreda9 commited on

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

youssefreda9 commited on

Phase A: Fix verdict logic - strip terminal punctuation before correction comparison
ec36a6d

youssefreda9 commited on

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

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

inspecting and auditing
32cefd4

Mohamed Atef commited on

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

youssefreda9 commited on

Phase 12: Spelling pipeline integration + Benchmark integrity fixes
2883342

youssefreda9 commited on

Phase 11: Add Finding 7 - Spelling ORTHO_PAIRS blocks keyboard typos
40ebd94

youssefreda9 commited on

Phase 11 COMPLETE: All reports generated
03c60ac

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

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

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

youssefreda9 commited on

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

youssefreda9 commited on

fix: Pipeline hardening - 37 bugs + 10 edge cases (Round 1 + Round 2)
e7915b0

youssefreda9 commited on

test: add 28 fix verification tests (S2 S3 P1 hamza relabeling) — 59 total
751ba66

youssefreda9 commited on

fix: QA sweep — 6 issues resolved (sidebar chips, corrected field, input sanitization, punc cap, docs, tests)
53a22ae

youssefreda9 commited on

feat: Pipeline Hardening v3.3 — stage ownership, punctuation safety, UUID migration
a9630ec

youssefreda9 commited on

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

youssefreda9 commited on

authDone Ready for deployment
a281968

youssefreda9 commited on