bayan-api / tests /phase10 /reports /collision_benchmark_results.json
youssefreda9's picture
update benchmark logs
a84aad9
Raw
History Blame Contribute Delete
98.8 kB
{
"timestamp": "2026-06-27T16:38:17Z",
"target": "https://bayan10-bayan-api.hf.space",
"metrics": {
"total": 50,
"TP": 41,
"FP": 0,
"TN": 0,
"FN": 9,
"ERROR": 0,
"precision": 1.0,
"recall": 0.82,
"f1": 0.9011,
"fpr": 0,
"fnr": 0.18,
"pass_rate": 0.82,
"overcorrection_rate": 0.0,
"undercorrection_rate": 0.18,
"latency_p50": 4792,
"latency_p95": 7436
},
"by_category": {
"spelling_grammar_overlap": {
"total": 7,
"pass": 7,
"fail": 0
},
"grammar_drops_spelling": {
"total": 5,
"pass": 4,
"fail": 1
},
"spelling_blocks_grammar": {
"total": 10,
"pass": 10,
"fail": 0
},
"multi_stage_collision": {
"total": 9,
"pass": 6,
"fail": 3
},
"punctuation_near_spelling": {
"total": 5,
"pass": 3,
"fail": 2
},
"three_stage_collision": {
"total": 7,
"pass": 4,
"fail": 3
},
"adjacent_corrections": {
"total": 7,
"pass": 7,
"fail": 0
}
},
"results": [
{
"id": "PC001",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "المهندسون صممتو المشرووع",
"expected": "المهندسون صمموا المشروع",
"severity": "critical",
"pipeline_output": "المهندسون صمموا المشروع",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "صمموا المشروع",
"end": 24,
"id": "56d4ba7b-5a38-4335-8c34-66dc1bd973e2",
"locked": true,
"original": "صممتو المشرووع",
"priority": 3,
"start": 10,
"type": "grammar"
}
],
"pipeline_timing": {
"grammar_ms": 893,
"punctuation_ms": 469,
"spelling_ms": 2911,
"total_ms": 4282
},
"pipeline_ms": 4983,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC002",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "الولاد يلعبون بالشاروع",
"expected": "الأولاد يلعبون بالشارع",
"severity": "critical",
"pipeline_output": "الأولاد يلعبون بالشارع.",
"pipeline_suggestions": [
{
"alternatives": [
"الأولاد",
"الولاد"
],
"confidence": 0.7,
"correction": "الأولاد",
"end": 6,
"id": "c3dc7039-4e52-4828-b8a3-7dad91fd9c08",
"locked": true,
"original": "الولاد",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"بالشارع",
"بالشاروع"
],
"confidence": 0.7,
"correction": "بالشارع.",
"end": 22,
"id": "ff6d5adc-5f9d-4ec0-85e5-a0f76211c95c",
"locked": true,
"original": "بالشاروع",
"priority": 2,
"start": 14,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 483,
"punctuation_ms": 510,
"spelling_ms": 1989,
"total_ms": 2992
},
"pipeline_ms": 3359,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC003",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "البنات يذهبون الي المدرسه",
"expected": "البنات يذهبن إلى المدرسة",
"severity": "critical",
"pipeline_output": "البنات يذهبن إلى المدرسة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "يذهبن",
"end": 13,
"id": "c5743239-9e69-4e02-a9f0-3f58e88b5a32",
"locked": true,
"original": "يذهبون",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 17,
"id": "ae7af288-6bfe-4231-930d-47ae2f8100ef",
"locked": true,
"original": "الي",
"priority": 2,
"start": 14,
"type": "spelling"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة.",
"end": 25,
"id": "b657b199-ffed-4598-a594-9a175f236739",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 18,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 700,
"punctuation_ms": 584,
"spelling_ms": 2505,
"total_ms": 3797
},
"pipeline_ms": 4069,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC004",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "الرجال يعملون في المصنعو",
"expected": "الرجال يعملون في المصنع",
"severity": "critical",
"pipeline_output": "الرجال يعملون في المصنع.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 0.75,
"correction": "المصنع.",
"end": 24,
"id": "fff8d0ed-677e-479b-8aec-ec4e97d1e0e9",
"locked": true,
"original": "المصنعو",
"priority": 2,
"start": 17,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 702,
"punctuation_ms": 596,
"spelling_ms": 2932,
"total_ms": 4234
},
"pipeline_ms": 4543,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC005",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "النساء ذهب الي السوق",
"expected": "النساء ذهبن إلى السوق",
"severity": "critical",
"pipeline_output": "النساء ذهبن إلى السوق.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "ذهبن",
"end": 10,
"id": "d50118df-73f5-4b4f-b4c5-128c20394b57",
"locked": true,
"original": "ذهب",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 14,
"id": "ec693e48-c605-4a37-a8c7-42c6bc2f81b4",
"locked": true,
"original": "الي",
"priority": 2,
"start": 11,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.7,
"correction": "السوق.",
"end": 20,
"id": "733e24f7-bc12-4e4b-8803-392fa9e621d9",
"locked": true,
"original": "السوق",
"priority": 1,
"start": 15,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 709,
"punctuation_ms": 517,
"spelling_ms": 1742,
"total_ms": 2978
},
"pipeline_ms": 3249,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC006",
"dataset": "collision",
"category": "grammar_drops_spelling",
"input": "رأيت اخوك في المسجيد",
"expected": "رأيت أخاك في المسجد",
"severity": "critical",
"pipeline_output": "رأيت أخاك في المسجد.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "أخاك",
"end": 9,
"id": "3de733f4-feee-442f-a1fc-a7effe71db24",
"locked": true,
"original": "اخوك",
"priority": 3,
"start": 5,
"type": "grammar"
},
{
"alternatives": [
"المسجد",
"المسجيد"
],
"confidence": 0.7,
"correction": "المسجد.",
"end": 20,
"id": "03c6c2d8-5561-440d-8194-296928f568f4",
"locked": true,
"original": "المسجيد",
"priority": 2,
"start": 13,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 690,
"punctuation_ms": 533,
"spelling_ms": 1941,
"total_ms": 3170
},
"pipeline_ms": 3452,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC007",
"dataset": "collision",
"category": "grammar_drops_spelling",
"input": "ان ابوك رجل طييب",
"expected": "إن أباك رجل طيب",
"severity": "critical",
"pipeline_output": "إن أباك رجل طيب.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "إن أباك",
"end": 7,
"id": "3d716e7c-1069-4821-b712-73ef8d9675b6",
"locked": true,
"original": "ان ابوك",
"priority": 3,
"start": 0,
"type": "grammar"
},
{
"alternatives": [
"طيب",
"طييب"
],
"confidence": 0.7,
"correction": "طيب.",
"end": 16,
"id": "38855bf2-a9e1-47cb-a5d3-9912df1dde9c",
"locked": true,
"original": "طييب",
"priority": 2,
"start": 12,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 756,
"punctuation_ms": 386,
"spelling_ms": 2659,
"total_ms": 3810
},
"pipeline_ms": 4083,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC008",
"dataset": "collision",
"category": "grammar_drops_spelling",
"input": "في المهندسون الماهروون",
"expected": "في المهندسين الماهرين",
"severity": "critical",
"pipeline_output": "في المهندسين الماهرين",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "المهندسين الماهرين",
"end": 22,
"id": "4fce2529-b0fb-4a1f-b96f-b30fd53a228e",
"locked": true,
"original": "المهندسون الماهروون",
"priority": 3,
"start": 3,
"type": "grammar"
}
],
"pipeline_timing": {
"grammar_ms": 784,
"punctuation_ms": 496,
"spelling_ms": 2910,
"total_ms": 4193
},
"pipeline_ms": 4470,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC009",
"dataset": "collision",
"category": "grammar_drops_spelling",
"input": "هذان الطالبتان مجتهدتاان",
"expected": "هاتان الطالبتان مجتهدتان",
"severity": "critical",
"pipeline_output": "هاتان الطالبتان مجتهدتان.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "هاتان",
"end": 4,
"id": "6ab134bb-1ef1-47df-b700-919f2abfe303",
"locked": true,
"original": "هذان",
"priority": 3,
"start": 0,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "مجتهدتان.",
"end": 24,
"id": "a8194cb3-6dd2-47bd-b353-8269244cd37a",
"locked": true,
"original": "مجتهدتاان",
"priority": 3,
"start": 15,
"type": "grammar"
}
],
"pipeline_timing": {
"grammar_ms": 797,
"punctuation_ms": 431,
"spelling_ms": 3076,
"total_ms": 4308
},
"pipeline_ms": 4581,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC010",
"dataset": "collision",
"category": "grammar_drops_spelling",
"input": "كي يتعلمون الدرسو",
"expected": "كي يتعلموا الدرس",
"severity": "critical",
"pipeline_output": "كي يتعلم الدرس.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "يتعلم",
"end": 10,
"id": "99fe394b-33e8-49f0-87b5-e3c946353d85",
"locked": true,
"original": "يتعلمون",
"priority": 3,
"start": 3,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 0.75,
"correction": "الدرس.",
"end": 17,
"id": "0cfb24d5-272f-4c28-81ca-c1ae2ed52150",
"locked": true,
"original": "الدرسو",
"priority": 2,
"start": 11,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 533,
"punctuation_ms": 310,
"spelling_ms": 1650,
"total_ms": 2496
},
"pipeline_ms": 2770,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['يتعلموا'], Extra: ['يتعلم']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Grammar stage dropped spelling fix",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC011",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "السياره جميل جدا",
"expected": "السيارة جميلة جداً",
"severity": "critical",
"pipeline_output": "السيارة جميلة جداً",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "جميلة جداً",
"end": 16,
"id": "49279910-3bc2-4152-a2d3-68ab4bef5d6f",
"locked": true,
"original": "جميل جدا",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"السيارة",
"السياره"
],
"confidence": 0.9,
"correction": "السيارة",
"end": 7,
"id": "f4aa0bff-aabe-40f6-9c11-2922cbd73046",
"locked": true,
"original": "السياره",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 596,
"punctuation_ms": 349,
"spelling_ms": 1756,
"total_ms": 2707
},
"pipeline_ms": 2991,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC012",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "المدينه كبير وواسع",
"expected": "المدينة كبيرة وواسعة",
"severity": "critical",
"pipeline_output": "المدينة كبيرة وواسعة",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "كبيرة وواسعة",
"end": 18,
"id": "46fe5522-55cb-4924-93c2-c8101817e476",
"locked": true,
"original": "كبير وواسع",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"المدينة",
"المدينه"
],
"confidence": 0.9,
"correction": "المدينة",
"end": 7,
"id": "9f0bcd20-f035-433f-a7a3-66bd7b02e90d",
"locked": true,
"original": "المدينه",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1022,
"punctuation_ms": 525,
"spelling_ms": 2157,
"total_ms": 3712
},
"pipeline_ms": 3991,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC013",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "الطالبه متفوق في دراسته",
"expected": "الطالبة متفوقة في دراستها",
"severity": "critical",
"pipeline_output": "الطالبة متفوقة في دراستها.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "متفوقة",
"end": 13,
"id": "defcd057-1ca7-42d5-adff-adba6d68ae03",
"locked": true,
"original": "متفوق",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "دراستها.",
"end": 23,
"id": "5a55db5b-718f-4fb6-b9d0-ddec35963e69",
"locked": true,
"original": "دراسته",
"priority": 3,
"start": 17,
"type": "grammar"
},
{
"alternatives": [
"الطالبة",
"الطالبه"
],
"confidence": 0.9,
"correction": "الطالبة",
"end": 7,
"id": "2ce7ba53-a372-4d2b-a56d-c7feea006333",
"locked": true,
"original": "الطالبه",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1044,
"punctuation_ms": 502,
"spelling_ms": 3338,
"total_ms": 4893
},
"pipeline_ms": 5167,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC014",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "الشمس مشرق اليووم",
"expected": "الشمس مشرقة اليوم",
"severity": "critical",
"pipeline_output": "الشمس مشرقة اليوم.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "مشرقة",
"end": 10,
"id": "305dd2f2-8baf-4e90-8c6b-1583595883b0",
"locked": true,
"original": "مشرق",
"priority": 3,
"start": 6,
"type": "grammar"
},
{
"alternatives": [
"اليوم",
"اليووم"
],
"confidence": 0.7,
"correction": "اليوم.",
"end": 17,
"id": "c5ca1815-874f-46bc-9873-abd0b7792e43",
"locked": true,
"original": "اليووم",
"priority": 2,
"start": 11,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 739,
"punctuation_ms": 464,
"spelling_ms": 2126,
"total_ms": 3334
},
"pipeline_ms": 3949,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC015",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "البنت ذكي في المدرسه",
"expected": "البنت ذكية في المدرسة",
"severity": "critical",
"pipeline_output": "البنت ذكية في المدرسة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "ذكية",
"end": 9,
"id": "42ae2b48-f12b-4918-900e-c2024649f24b",
"locked": true,
"original": "ذكي",
"priority": 3,
"start": 6,
"type": "grammar"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة.",
"end": 20,
"id": "9ff04c33-ddd1-4e18-92e3-b07817767e11",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 13,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 753,
"punctuation_ms": 544,
"spelling_ms": 2555,
"total_ms": 3860
},
"pipeline_ms": 4135,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC016",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "انا ذهبت الي المدرسه والمهندسون حضر الاجتماع",
"expected": "أنا ذهبت إلى المدرسة والمهندسون حضروا الاجتماع",
"severity": "critical",
"pipeline_output": "أنا ذهبت إلى المدرسة والمهندسين حضروا الاجتماع.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "والمهندسين حضروا",
"end": 35,
"id": "7e6d6a35-1ce0-4c0c-8d85-66d79acda813",
"locked": true,
"original": "والمهندسون حضر",
"priority": 3,
"start": 21,
"type": "grammar"
},
{
"alternatives": [
"أنا",
"انا"
],
"confidence": 0.9,
"correction": "أنا",
"end": 3,
"id": "06efe195-3142-4daa-891e-77809dc09472",
"locked": true,
"original": "انا",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 12,
"id": "5f2fc638-33a9-43eb-9a51-33794b97ef1b",
"locked": true,
"original": "الي",
"priority": 2,
"start": 9,
"type": "spelling"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة",
"end": 20,
"id": "5d05d5ab-d0dd-4fbb-b34b-9b99255d9c20",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 13,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "الاجتماع.",
"end": 44,
"id": "619a5e14-5f16-4f32-9b3a-b51b3993360c",
"locked": true,
"original": "الاجتماع",
"priority": 1,
"start": 36,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1093,
"punctuation_ms": 971,
"spelling_ms": 5169,
"total_ms": 7248
},
"pipeline_ms": 7660,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['والمهندسون'], Extra: ['والمهندسين']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Multi-stage interaction failure",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC017",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "الاطفال يلعب في الحديقه",
"expected": "الأطفال يلعبون في الحديقة",
"severity": "critical",
"pipeline_output": "الأطفال يلعبون في الحديقة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "يلعبون",
"end": 12,
"id": "9cdf4f39-1f33-4b8f-ba74-61c306199eba",
"locked": true,
"original": "يلعب",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الأطفال",
"الاطفال"
],
"confidence": 0.9,
"correction": "الأطفال",
"end": 7,
"id": "d7be1ce8-ee0f-435f-acbe-9a12bf63023a",
"locked": true,
"original": "الاطفال",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"الحديقة",
"الحديقه"
],
"confidence": 0.9,
"correction": "الحديقة.",
"end": 23,
"id": "e0ff4e5c-71a7-457a-ad21-f2ede1e57706",
"locked": true,
"original": "الحديقه",
"priority": 2,
"start": 16,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 837,
"punctuation_ms": 495,
"spelling_ms": 2389,
"total_ms": 3728
},
"pipeline_ms": 4002,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC018",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "الطالبات كتب الواجب في الغرفه",
"expected": "الطالبات كتبن الواجب في الغرفة",
"severity": "critical",
"pipeline_output": "الطالبات كتبن الواجب في الغرفة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "كتبن",
"end": 12,
"id": "452dc38d-75a0-4b7f-bf7f-cee3110eeaed",
"locked": true,
"original": "كتب",
"priority": 3,
"start": 9,
"type": "grammar"
},
{
"alternatives": [
"الغرفة",
"الغرفه"
],
"confidence": 0.9,
"correction": "الغرفة.",
"end": 29,
"id": "9a2454be-ae8e-49de-8b07-701a1aa273c8",
"locked": true,
"original": "الغرفه",
"priority": 2,
"start": 23,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 754,
"punctuation_ms": 664,
"spelling_ms": 5735,
"total_ms": 7161
},
"pipeline_ms": 7436,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC019",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "المعلمات حضر الاجتماعو في الجامعه",
"expected": "المعلمات حضرن الاجتماع في الجامعة",
"severity": "critical",
"pipeline_output": "المعلمات حضرن الاجتماع في الجامعة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "حضرن",
"end": 12,
"id": "41312716-a0c9-4e8a-96bc-e95867eba2ff",
"locked": true,
"original": "حضر",
"priority": 3,
"start": 9,
"type": "grammar"
},
{
"alternatives": [
"الجامعة",
"الجامعه"
],
"confidence": 0.9,
"correction": "الجامعة.",
"end": 33,
"id": "cfadf9ef-a5e1-4d6c-8119-62b95f70ddc6",
"locked": true,
"original": "الجامعه",
"priority": 2,
"start": 26,
"type": "spelling"
},
{
"alternatives": [
"الاجتماع",
"الاجتماعو"
],
"confidence": 0.7,
"correction": "الاجتماع",
"end": 22,
"id": "d3a4da0f-15f7-4df5-84bf-11ad9d7a6501",
"locked": true,
"original": "الاجتماعو",
"priority": 2,
"start": 13,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 795,
"punctuation_ms": 642,
"spelling_ms": 3419,
"total_ms": 4865
},
"pipeline_ms": 5143,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC020",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "العمال بنى المبني الجديد",
"expected": "العمال بنوا المبنى الجديد",
"severity": "critical",
"pipeline_output": "العمال بنوا المبنى الجديد.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "بنوا المبنى",
"end": 17,
"id": "180c5f0b-03ec-4b88-a3df-42c4be5e1f89",
"locked": true,
"original": "بنى المبني",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "الجديد.",
"end": 24,
"id": "1e87315d-0a5e-4501-a65f-50a4bd8e2742",
"locked": true,
"original": "الجديد",
"priority": 1,
"start": 18,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 641,
"punctuation_ms": 708,
"spelling_ms": 1520,
"total_ms": 2873
},
"pipeline_ms": 3148,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC021",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "الجامعه قريب من البيت",
"expected": "الجامعة قريبة من البيت",
"severity": "critical",
"pipeline_output": "الجامعة قريبة من البيت.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "قريبة",
"end": 12,
"id": "8ad96724-1bb8-40b2-b727-b264eab3759b",
"locked": true,
"original": "قريب",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الجامعة",
"الجامعه"
],
"confidence": 0.9,
"correction": "الجامعة",
"end": 7,
"id": "1c4435ac-34b2-42f7-a4ee-11cb1faef5e0",
"locked": true,
"original": "الجامعه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "البيت.",
"end": 21,
"id": "6a50f142-473e-4714-a735-f0f6c2483925",
"locked": true,
"original": "البيت",
"priority": 1,
"start": 16,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 746,
"punctuation_ms": 422,
"spelling_ms": 3041,
"total_ms": 4215
},
"pipeline_ms": 4492,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC022",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "الطائره سريع جدا",
"expected": "الطائرة سريعة جداً",
"severity": "critical",
"pipeline_output": "الطائرة سريعة جداً",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "سريعة جداً",
"end": 16,
"id": "d1139a2a-ee77-4677-9847-ece7a6ef9f14",
"locked": true,
"original": "سريع جدا",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الطائرة",
"الطائره"
],
"confidence": 0.9,
"correction": "الطائرة",
"end": 7,
"id": "7480c9d1-46db-46ad-8971-b2198e2d2645",
"locked": true,
"original": "الطائره",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 738,
"punctuation_ms": 382,
"spelling_ms": 2197,
"total_ms": 3324
},
"pipeline_ms": 3628,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC023",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "القصه طويل ومملل",
"expected": "القصة طويلة ومملة",
"severity": "critical",
"pipeline_output": "القصة طويلة ومملة",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "طويلة ومملة",
"end": 16,
"id": "5841e553-5b88-4e25-8c26-e6214ff5e0f0",
"locked": true,
"original": "طويل ومملل",
"priority": 3,
"start": 6,
"type": "grammar"
},
{
"alternatives": [
"القصة",
"القصه"
],
"confidence": 0.9,
"correction": "القصة",
"end": 5,
"id": "3d7678a1-31d1-41de-b7b4-f54bce5bf900",
"locked": true,
"original": "القصه",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1063,
"punctuation_ms": 407,
"spelling_ms": 2873,
"total_ms": 4351
},
"pipeline_ms": 4624,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC024",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "الحديقه واسع وجميل",
"expected": "الحديقة واسعة وجميلة",
"severity": "critical",
"pipeline_output": "الحديقة واسعة وجميلة",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "واسعة وجميلة",
"end": 18,
"id": "02769603-a657-4e94-908b-2f296a179b45",
"locked": true,
"original": "واسع وجميل",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الحديقة",
"الحديقه"
],
"confidence": 0.9,
"correction": "الحديقة",
"end": 7,
"id": "b4291135-7e69-4743-85f5-32029c8cab38",
"locked": true,
"original": "الحديقه",
"priority": 2,
"start": 0,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 649,
"punctuation_ms": 505,
"spelling_ms": 3204,
"total_ms": 4366
},
"pipeline_ms": 4642,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC025",
"dataset": "collision",
"category": "spelling_blocks_grammar",
"input": "المكتبه كبير ومنظم",
"expected": "المكتبة كبيرة ومنظمة",
"severity": "critical",
"pipeline_output": "المكتبة كبيرة ومنظمة",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "المكتبة كبيرة ومنظمة",
"end": 18,
"id": "3cedcec4-728c-4cf7-991f-09f75b325202",
"locked": true,
"original": "المكتبه كبير ومنظم",
"priority": 3,
"start": 0,
"type": "grammar"
}
],
"pipeline_timing": {
"grammar_ms": 760,
"punctuation_ms": 512,
"spelling_ms": 3354,
"total_ms": 4633
},
"pipeline_ms": 4906,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC026",
"dataset": "collision",
"category": "punctuation_near_spelling",
"input": "ذهبت الي المدرسه وقابلت صديقتي",
"expected": "ذهبت إلى المدرسة وقابلت صديقتي",
"severity": "major",
"pipeline_output": "ذهبت إلى المدرسة وقابلت صديقتي.",
"pipeline_suggestions": [
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 8,
"id": "64017ac1-2ff6-407f-939f-6ad5b8efb4b4",
"locked": true,
"original": "الي",
"priority": 2,
"start": 5,
"type": "spelling"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة",
"end": 16,
"id": "57172e58-d364-47af-a5de-7d5464db9c23",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 9,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "صديقتي.",
"end": 30,
"id": "03357799-226c-4e89-89d8-28519a70d646",
"locked": true,
"original": "صديقتي",
"priority": 1,
"start": 24,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 847,
"punctuation_ms": 665,
"spelling_ms": 2832,
"total_ms": 4353
},
"pipeline_ms": 4628,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC027",
"dataset": "collision",
"category": "punctuation_near_spelling",
"input": "الكتاب مفيد جدا وانا احبه",
"expected": "الكتاب مفيد جداً وأنا أحبه",
"severity": "major",
"pipeline_output": "الكتاب مفيد جدا وأنا احبه.",
"pipeline_suggestions": [
{
"alternatives": [
"وأنا",
"وانا"
],
"confidence": 0.9,
"correction": "وأنا",
"end": 20,
"id": "aa46e8e8-238d-4c28-8b06-4fd07d4a11a7",
"locked": true,
"original": "وانا",
"priority": 2,
"start": 16,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.7,
"correction": "احبه.",
"end": 25,
"id": "8f167e6c-d433-4c27-8a3e-becab01872ac",
"locked": true,
"original": "احبه",
"priority": 1,
"start": 21,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 862,
"punctuation_ms": 668,
"spelling_ms": 4187,
"total_ms": 5740
},
"pipeline_ms": 6012,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['أحبه'], Extra: ['احبه']",
"root_cause_component": "MODEL",
"root_cause_stage": "spelling",
"root_cause_detail": "Spelling correction near punctuation boundary",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC028",
"dataset": "collision",
"category": "punctuation_near_spelling",
"input": "المعلمه شرحت الدرس واعطت واجب",
"expected": "المعلمة شرحت الدرس وأعطت واجب",
"severity": "major",
"pipeline_output": "المعلمة شرحت الدرس وأعطت واجب.",
"pipeline_suggestions": [
{
"alternatives": [
"المعلمة",
"المعلمه"
],
"confidence": 0.9,
"correction": "المعلمة",
"end": 7,
"id": "fb9e9db3-bf38-4878-b0a8-2aae705788e4",
"locked": true,
"original": "المعلمه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"وأعطت",
"واعطت"
],
"confidence": 0.9,
"correction": "وأعطت",
"end": 24,
"id": "93fd1bd9-8068-490a-abde-2fe7d00cee68",
"locked": true,
"original": "واعطت",
"priority": 2,
"start": 19,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "واجب.",
"end": 29,
"id": "6c3aa8b1-ecdc-402f-b0d7-099f65c15bfc",
"locked": true,
"original": "واجب",
"priority": 1,
"start": 25,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1239,
"punctuation_ms": 807,
"spelling_ms": 2678,
"total_ms": 4731
},
"pipeline_ms": 5014,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC029",
"dataset": "collision",
"category": "punctuation_near_spelling",
"input": "قرأت الكتاب كله ولكن لم افهمه",
"expected": "قرأت الكتاب كله ولكن لم أفهمه",
"severity": "major",
"pipeline_output": "قرأت الكتاب كله، ولكن لم افهمه!",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 0.8,
"correction": "كله،",
"end": 15,
"id": "0930cd8e-8727-44ac-8d25-8147e3303fae",
"locked": true,
"original": "كله",
"priority": 1,
"start": 12,
"type": "punctuation"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "افهمه!",
"end": 29,
"id": "b14f2db8-b98c-4f60-af28-df4ff76c6410",
"locked": true,
"original": "افهمه",
"priority": 1,
"start": 24,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1172,
"punctuation_ms": 664,
"spelling_ms": 3809,
"total_ms": 5661
},
"pipeline_ms": 5934,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['أفهمه', 'كله'], Extra: ['كله،', 'افهمه']",
"root_cause_component": "MODEL",
"root_cause_stage": "spelling",
"root_cause_detail": "Spelling correction near punctuation boundary",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC030",
"dataset": "collision",
"category": "punctuation_near_spelling",
"input": "الطقس بارد جدا واحتاج معطف",
"expected": "الطقس بارد جداً وأحتاج معطف",
"severity": "major",
"pipeline_output": "الطقس بارد جدا وأحتاج معطف.",
"pipeline_suggestions": [
{
"alternatives": [
"وأحتاج",
"واحتاج"
],
"confidence": 0.9,
"correction": "وأحتاج",
"end": 21,
"id": "8c394389-dee8-4693-b482-436a13ab9537",
"locked": true,
"original": "واحتاج",
"priority": 2,
"start": 15,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "معطف.",
"end": 26,
"id": "308b40ca-32b3-4d80-bf09-db452e671f44",
"locked": true,
"original": "معطف",
"priority": 1,
"start": 22,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1040,
"punctuation_ms": 515,
"spelling_ms": 2462,
"total_ms": 4024
},
"pipeline_ms": 4299,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC031",
"dataset": "collision",
"category": "three_stage_collision",
"input": "السياره سريع والرجال يعمل في المصنع",
"expected": "السيارة سريعة والرجال يعملون في المصنع",
"severity": "critical",
"pipeline_output": "السيارة سريعة والرجال يعملون في المصنع.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "سريعة",
"end": 12,
"id": "1502a9ad-4946-4cb7-856f-16e141f650cd",
"locked": true,
"original": "سريع",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "يعملون",
"end": 25,
"id": "ca02afaf-421f-4bf8-8660-7e3a9c7dae23",
"locked": true,
"original": "يعمل",
"priority": 3,
"start": 21,
"type": "grammar"
},
{
"alternatives": [
"السيارة",
"السياره"
],
"confidence": 0.9,
"correction": "السيارة",
"end": 7,
"id": "9b777c8b-509d-42f4-aec6-24996c2a5deb",
"locked": true,
"original": "السياره",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "المصنع.",
"end": 35,
"id": "1f104823-98e2-483a-8c21-b63c02d0a058",
"locked": true,
"original": "المصنع",
"priority": 1,
"start": 29,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 959,
"punctuation_ms": 714,
"spelling_ms": 3008,
"total_ms": 4690
},
"pipeline_ms": 5018,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC032",
"dataset": "collision",
"category": "three_stage_collision",
"input": "الطالبه ذكي وذهبت الي المدرسه",
"expected": "الطالبة ذكية وذهبت إلى المدرسة",
"severity": "critical",
"pipeline_output": "الطالبة ذكية وذهبت إلى المدرسة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "ذكية",
"end": 11,
"id": "d1ff844b-e943-480b-b01b-3b5e41db3015",
"locked": true,
"original": "ذكي",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الطالبة",
"الطالبه"
],
"confidence": 0.9,
"correction": "الطالبة",
"end": 7,
"id": "aed40995-4959-4e35-9537-664894415f07",
"locked": true,
"original": "الطالبه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 21,
"id": "a2d9e3a1-ffea-4031-8e72-4b15910ea33c",
"locked": true,
"original": "الي",
"priority": 2,
"start": 18,
"type": "spelling"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة.",
"end": 29,
"id": "a53f131c-5add-40ad-b991-a37fa284d38d",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 22,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1030,
"punctuation_ms": 651,
"spelling_ms": 2955,
"total_ms": 4648
},
"pipeline_ms": 4921,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC033",
"dataset": "collision",
"category": "three_stage_collision",
"input": "المدرسه كبير والطلاب يدرس بجد",
"expected": "المدرسة كبيرة والطلاب يدرسون بجد",
"severity": "critical",
"pipeline_output": "المدرسة كبيرة والطلاب يدرسون بجد.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "كبيرة",
"end": 12,
"id": "92b67701-d86a-4d67-a7af-1f4e0b594a87",
"locked": true,
"original": "كبير",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "يدرسون",
"end": 25,
"id": "65edfa23-9f90-4f05-bd6f-614736268985",
"locked": true,
"original": "يدرس",
"priority": 3,
"start": 21,
"type": "grammar"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة",
"end": 7,
"id": "2cc09463-0d90-438d-bc1c-4e2de3321725",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "بجد.",
"end": 29,
"id": "f68da4be-134f-4b06-917d-48162fbe8f31",
"locked": true,
"original": "بجد",
"priority": 1,
"start": 26,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1008,
"punctuation_ms": 675,
"spelling_ms": 2750,
"total_ms": 4440
},
"pipeline_ms": 4792,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC034",
"dataset": "collision",
"category": "three_stage_collision",
"input": "الحكومه اعلن قرار جديد والمواطنون يتابع",
"expected": "الحكومة أعلنت قراراً جديداً والمواطنون يتابعون",
"severity": "critical",
"pipeline_output": "الحكومة أعلنت قرارا جديدا والمواطن يتابع.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "أعلنت قرارا جديدا والمواطن",
"end": 33,
"id": "d38adf3c-da44-4047-83f5-17b239abbaf7",
"locked": true,
"original": "اعلن قرار جديد والمواطنون",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [
"الحكومة",
"الحكومه"
],
"confidence": 0.9,
"correction": "الحكومة",
"end": 7,
"id": "7036be8a-9f4d-49a6-a219-94dc50e80d60",
"locked": true,
"original": "الحكومه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "يتابع.",
"end": 39,
"id": "00d039a1-bb6e-4202-98f1-8a9c7fd6287a",
"locked": true,
"original": "يتابع",
"priority": 1,
"start": 34,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1106,
"punctuation_ms": 782,
"spelling_ms": 5113,
"total_ms": 7009
},
"pipeline_ms": 7379,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['والمواطنون', 'يتابعون'], Extra: ['والمواطن', 'يتابع']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Three-stage collision: spelling+grammar+punctuation",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC035",
"dataset": "collision",
"category": "three_stage_collision",
"input": "الشركه نجح في المشرووع والموظفون يحتفل",
"expected": "الشركة نجحت في المشروع والموظفون يحتفلون",
"severity": "critical",
"pipeline_output": "الشركة نجحت في المشروع والموظفون يحتفلون.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "نجحت",
"end": 10,
"id": "602a7b87-5360-4689-b51b-adcc4a8063d2",
"locked": true,
"original": "نجح",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "يحتفلون.",
"end": 38,
"id": "2b8f5260-e4d8-4e31-9dce-4e9b218b7ec5",
"locked": true,
"original": "يحتفل",
"priority": 3,
"start": 33,
"type": "grammar"
},
{
"alternatives": [
"الشركة",
"الشركه"
],
"confidence": 0.9,
"correction": "الشركة",
"end": 6,
"id": "c66f81ec-2e73-4be6-9743-2ca9129f76d4",
"locked": true,
"original": "الشركه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"المشروع",
"المشرووع"
],
"confidence": 0.7,
"correction": "المشروع",
"end": 22,
"id": "d861fc58-a944-4fdb-9a6a-375ac64472a9",
"locked": true,
"original": "المشرووع",
"priority": 2,
"start": 14,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1352,
"punctuation_ms": 694,
"spelling_ms": 4876,
"total_ms": 6929
},
"pipeline_ms": 7214,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC036",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "الولد الصغيره ذهب الي المدرسه",
"expected": "الولد الصغير ذهب إلى المدرسة",
"severity": "critical",
"pipeline_output": "الولد الصغير ذهب إلى المدرسة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "الصغير",
"end": 13,
"id": "de418b04-e4c1-4cd1-b112-a9df1ff3e996",
"locked": true,
"original": "الصغيره",
"priority": 3,
"start": 6,
"type": "grammar"
},
{
"alternatives": [
"إلى",
"الي"
],
"confidence": 0.9,
"correction": "إلى",
"end": 21,
"id": "440a92cf-02a0-40d0-ad56-0edba18d9c35",
"locked": true,
"original": "الي",
"priority": 2,
"start": 18,
"type": "spelling"
},
{
"alternatives": [
"المدرسة",
"المدرسه"
],
"confidence": 0.9,
"correction": "المدرسة.",
"end": 29,
"id": "5df5b2bd-d3a1-41d4-b703-93c1af9f8699",
"locked": true,
"original": "المدرسه",
"priority": 2,
"start": 22,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 858,
"punctuation_ms": 599,
"spelling_ms": 2812,
"total_ms": 4279
},
"pipeline_ms": 4554,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC037",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "قال المعلمون للطالبه ادرسي بجد",
"expected": "قال المعلمون للطالبة ادرسي بجد",
"severity": "major",
"pipeline_output": "قال المعلمون للطالبة ادرسي بجد.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "للطالبة",
"end": 20,
"id": "ff2255ae-f10c-4348-94cd-2f0a0361a5f3",
"locked": true,
"original": "للطالبه",
"priority": 2,
"start": 13,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "بجد.",
"end": 30,
"id": "7cb72a05-fc10-46b6-9cca-f1142766123d",
"locked": true,
"original": "بجد",
"priority": 1,
"start": 27,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1197,
"punctuation_ms": 682,
"spelling_ms": 3463,
"total_ms": 5348
},
"pipeline_ms": 5622,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC038",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "الكتب القديمه في المكتبه الكبيره",
"expected": "الكتب القديمة في المكتبة الكبيرة",
"severity": "major",
"pipeline_output": "الكتب القديمة في المكتبة الكبيرة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "القديمة",
"end": 13,
"id": "202aac8b-b756-4f55-8812-6c1879a8fa57",
"locked": true,
"original": "القديمه",
"priority": 2,
"start": 6,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "الكبيرة.",
"end": 32,
"id": "bac73fc7-1c40-4cdf-a973-a995ae3f0e51",
"locked": true,
"original": "الكبيره",
"priority": 2,
"start": 25,
"type": "spelling"
},
{
"alternatives": [
"المكتبة",
"المكتبه"
],
"confidence": 0.9,
"correction": "المكتبة",
"end": 24,
"id": "eb97d843-13c0-4e05-b17e-d8c35418e220",
"locked": true,
"original": "المكتبه",
"priority": 2,
"start": 17,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 746,
"punctuation_ms": 729,
"spelling_ms": 3401,
"total_ms": 4887
},
"pipeline_ms": 5167,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC039",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "رأيت البنت الجميله في الحديقه",
"expected": "رأيت البنت الجميلة في الحديقة",
"severity": "major",
"pipeline_output": "رأيت البنت الجميلة في الحديقة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "الجميلة",
"end": 18,
"id": "33f8652b-8d44-4cb9-b0cd-2b5eb8c08506",
"locked": true,
"original": "الجميله",
"priority": 2,
"start": 11,
"type": "spelling"
},
{
"alternatives": [
"الحديقة",
"الحديقه"
],
"confidence": 0.9,
"correction": "الحديقة.",
"end": 29,
"id": "41559ffe-ce8f-4e61-8e80-55ac72f912ce",
"locked": true,
"original": "الحديقه",
"priority": 2,
"start": 22,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 737,
"punctuation_ms": 575,
"spelling_ms": 3745,
"total_ms": 5065
},
"pipeline_ms": 5302,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC040",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "المعلمه الجديده شرحت الدرس",
"expected": "المعلمة الجديدة شرحت الدرس",
"severity": "major",
"pipeline_output": "المعلمة الجديدة شرحت الدرس.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "الجديدة",
"end": 15,
"id": "d2e66d82-e7ec-4009-816f-d48828381a78",
"locked": true,
"original": "الجديده",
"priority": 2,
"start": 8,
"type": "spelling"
},
{
"alternatives": [
"المعلمة",
"المعلمه"
],
"confidence": 0.9,
"correction": "المعلمة",
"end": 7,
"id": "653f91ab-5ed9-4118-89e0-8cb9c1d70845",
"locked": true,
"original": "المعلمه",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "الدرس.",
"end": 26,
"id": "a526c9cb-d81c-4f32-a8ca-fb1f1ae0037d",
"locked": true,
"original": "الدرس",
"priority": 1,
"start": 21,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 794,
"punctuation_ms": 582,
"spelling_ms": 2293,
"total_ms": 3677
},
"pipeline_ms": 3952,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC041",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "الدكتور كتب التقريير والممرضات ساعد المرضى",
"expected": "الدكتور كتب التقرير والممرضات ساعدن المرضى",
"severity": "critical",
"pipeline_output": "الدكتور كتب التقرير والممرضات ساعدن المرضى.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "ساعدن",
"end": 35,
"id": "7da84890-bc0f-42d8-a5dc-22bdf1fec8f9",
"locked": true,
"original": "ساعد",
"priority": 3,
"start": 31,
"type": "grammar"
},
{
"alternatives": [
"التقرير",
"التقريير"
],
"confidence": 0.7,
"correction": "التقرير",
"end": 20,
"id": "73865f1e-03d0-42bc-b7a9-7916079f257d",
"locked": true,
"original": "التقريير",
"priority": 2,
"start": 12,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "المرضى.",
"end": 42,
"id": "d2c8061e-6f23-4a15-86c4-07ad9f78cd09",
"locked": true,
"original": "المرضى",
"priority": 1,
"start": 36,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 956,
"punctuation_ms": 692,
"spelling_ms": 4272,
"total_ms": 5930
},
"pipeline_ms": 6194,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC042",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "الطلاب حضر المحاضره والاستاذ شرح الدرس",
"expected": "الطلاب حضروا المحاضرة والأستاذ شرح الدرس",
"severity": "critical",
"pipeline_output": "الطلاب حضرو المحاضرة والأستاذ شرح الدرس.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "حضرو المحاضرة والأستاذ",
"end": 28,
"id": "3fa8300f-76b0-4544-849b-4f695a9a825f",
"locked": true,
"original": "حضر المحاضره والاستاذ",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "الدرس.",
"end": 38,
"id": "deb5414f-c74c-4a3e-806a-2ca2a7e5e2e2",
"locked": true,
"original": "الدرس",
"priority": 1,
"start": 33,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 950,
"punctuation_ms": 773,
"spelling_ms": 4048,
"total_ms": 5781
},
"pipeline_ms": 6057,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['حضروا'], Extra: ['حضرو']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Multi-stage interaction failure",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC043",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "الامهات طبخ الطعام والاطفال لعب في الحديقه",
"expected": "الأمهات طبخن الطعام والأطفال لعبوا في الحديقة",
"severity": "critical",
"pipeline_output": "الأمهات طبخن الطعام والأطفال لعبوا في الحديقة.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "الأمهات طبخن",
"end": 11,
"id": "f5d23c5e-9d30-4c01-b16a-d9078d493067",
"locked": true,
"original": "الامهات طبخ",
"priority": 3,
"start": 0,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "لعبوا",
"end": 31,
"id": "d0e1a38e-71f7-44dd-a07e-4faa214fd9a6",
"locked": true,
"original": "لعب",
"priority": 3,
"start": 28,
"type": "grammar"
},
{
"alternatives": [
"والأطفال",
"والاطفال"
],
"confidence": 0.9,
"correction": "والأطفال",
"end": 27,
"id": "e9e56ec0-80c5-4f7b-952b-0f8a282ec236",
"locked": true,
"original": "والاطفال",
"priority": 2,
"start": 19,
"type": "spelling"
},
{
"alternatives": [
"الحديقة",
"الحديقه"
],
"confidence": 0.9,
"correction": "الحديقة.",
"end": 42,
"id": "02e9e26d-3652-4c04-9b8f-6ddae50837b9",
"locked": true,
"original": "الحديقه",
"priority": 2,
"start": 35,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 1152,
"punctuation_ms": 826,
"spelling_ms": 7964,
"total_ms": 9952
},
"pipeline_ms": 10285,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC044",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "المهندسات صممو المشرووع الكبير",
"expected": "المهندسات صممن المشروع الكبير",
"severity": "critical",
"pipeline_output": "المهندسات صممن المشروع الكبير.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "صممن المشروع",
"end": 23,
"id": "5f12b269-f54d-4fe6-942a-3d0519088a65",
"locked": true,
"original": "صممو المشرووع",
"priority": 3,
"start": 10,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "الكبير.",
"end": 30,
"id": "3d42a13f-5331-4802-8314-5380fbc19abb",
"locked": true,
"original": "الكبير",
"priority": 1,
"start": 24,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 986,
"punctuation_ms": 510,
"spelling_ms": 2458,
"total_ms": 3957
},
"pipeline_ms": 4317,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC045",
"dataset": "collision",
"category": "spelling_grammar_overlap",
"input": "الطبيبات عالج المرضي في المستشفي",
"expected": "الطبيبات عالجن المرضى في المستشفى",
"severity": "critical",
"pipeline_output": "الطبيبات عالجن المرضى في المستشفى.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "عالجن المرضى",
"end": 20,
"id": "b1f7c54e-d675-43ca-b814-36cf7ca8a119",
"locked": true,
"original": "عالج المرضي",
"priority": 3,
"start": 9,
"type": "grammar"
},
{
"alternatives": [
"المستشفى",
"المستشفي"
],
"confidence": 0.9,
"correction": "المستشفى.",
"end": 32,
"id": "46522294-f6ee-4c6f-90ef-c33106125818",
"locked": true,
"original": "المستشفي",
"priority": 2,
"start": 24,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 940,
"punctuation_ms": 610,
"spelling_ms": 2942,
"total_ms": 4497
},
"pipeline_ms": 4793,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC046",
"dataset": "collision",
"category": "three_stage_collision",
"input": "المديره وافق علي المشرووع والموظفين يعمل بجد",
"expected": "المديرة وافقت على المشروع والموظفون يعملون بجد",
"severity": "critical",
"pipeline_output": "المديرة وافقت على المشروع والموظفين يعملون بجد.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "وافقت على",
"end": 16,
"id": "cf395fbe-6e33-4c13-9944-016b4cd503d2",
"locked": true,
"original": "وافق علي",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "يعملون",
"end": 40,
"id": "8dbdbf07-4e6a-4599-ad3d-a358baec4c10",
"locked": true,
"original": "يعمل",
"priority": 3,
"start": 36,
"type": "grammar"
},
{
"alternatives": [
"المديرة",
"المديره"
],
"confidence": 0.9,
"correction": "المديرة",
"end": 7,
"id": "848c2423-5747-479b-8f1b-de85738cd815",
"locked": true,
"original": "المديره",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [
"المشروع",
"المشرووع"
],
"confidence": 0.7,
"correction": "المشروع",
"end": 25,
"id": "c712b357-4372-477f-b080-88ff0af266ea",
"locked": true,
"original": "المشرووع",
"priority": 2,
"start": 17,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "بجد.",
"end": 44,
"id": "ca0e3068-f628-47f3-81e3-c45aea19de13",
"locked": true,
"original": "بجد",
"priority": 1,
"start": 41,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 973,
"punctuation_ms": 760,
"spelling_ms": 4624,
"total_ms": 6369
},
"pipeline_ms": 6648,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['والموظفون'], Extra: ['والموظفين']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Three-stage collision: spelling+grammar+punctuation",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC047",
"dataset": "collision",
"category": "three_stage_collision",
"input": "الوزاره اصدر قرار والمعلمين ينفذ التعليمات",
"expected": "الوزارة أصدرت قراراً والمعلمون ينفذون التعليمات",
"severity": "critical",
"pipeline_output": "الوزارة أصدرت قرارا والمعلمين ينفذون التعليمات.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "أصدرت قرارا",
"end": 17,
"id": "7fe83835-2b58-4f72-b32a-aa21877683ea",
"locked": true,
"original": "اصدر قرار",
"priority": 3,
"start": 8,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "ينفذون",
"end": 32,
"id": "0919146e-9575-4304-b32c-ecd67fe2e622",
"locked": true,
"original": "ينفذ",
"priority": 3,
"start": 28,
"type": "grammar"
},
{
"alternatives": [
"الوزارة",
"الوزاره"
],
"confidence": 0.9,
"correction": "الوزارة",
"end": 7,
"id": "7eaa46a9-25fc-4a30-9343-e8a3df066fb4",
"locked": true,
"original": "الوزاره",
"priority": 2,
"start": 0,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "التعليمات.",
"end": 42,
"id": "6b808dfa-e134-4dc6-887d-ffe2ff7fae4a",
"locked": true,
"original": "التعليمات",
"priority": 1,
"start": 33,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 998,
"punctuation_ms": 799,
"spelling_ms": 3455,
"total_ms": 5260
},
"pipeline_ms": 5544,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['والمعلمون'], Extra: ['والمعلمين']",
"root_cause_component": "PIPELINE",
"root_cause_stage": "integration",
"root_cause_detail": "Three-stage collision: spelling+grammar+punctuation",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC048",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "المنزل القديمه في الشارع الضيقه",
"expected": "المنزل القديم في الشارع الضيق",
"severity": "critical",
"pipeline_output": "المنزل القديم في الشارع الضيق.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "القديم",
"end": 14,
"id": "b4d66576-1afc-40d6-889d-9e01419bf8e2",
"locked": true,
"original": "القديمه",
"priority": 3,
"start": 7,
"type": "grammar"
},
{
"alternatives": [],
"confidence": 1.0,
"correction": "الضيق.",
"end": 31,
"id": "85c9dead-8e82-4196-8b00-50453ad1f7b7",
"locked": true,
"original": "الضيقه",
"priority": 3,
"start": 25,
"type": "grammar"
}
],
"pipeline_timing": {
"grammar_ms": 746,
"punctuation_ms": 618,
"spelling_ms": 2703,
"total_ms": 4076
},
"pipeline_ms": 4349,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC049",
"dataset": "collision",
"category": "adjacent_corrections",
"input": "الرجل الطويله وقف بجانب البنايه",
"expected": "الرجل الطويل وقف بجانب البناية",
"severity": "critical",
"pipeline_output": "الرجل الطويل وقف بجانب البناية!",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "الطويل",
"end": 13,
"id": "00a47a18-c002-431e-accb-8664de14dd35",
"locked": true,
"original": "الطويله",
"priority": 3,
"start": 6,
"type": "grammar"
},
{
"alternatives": [
"البناية",
"البنايه"
],
"confidence": 0.9,
"correction": "البناية!",
"end": 31,
"id": "d769f5e1-9917-439a-a6b5-baef8749d7f8",
"locked": true,
"original": "البنايه",
"priority": 2,
"start": 24,
"type": "spelling"
}
],
"pipeline_timing": {
"grammar_ms": 948,
"punctuation_ms": 666,
"spelling_ms": 3026,
"total_ms": 4646
},
"pipeline_ms": 4923,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "TP",
"pipeline_detail": "All corrections applied correctly",
"root_cause_component": "",
"root_cause_stage": "",
"root_cause_detail": "",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
},
{
"id": "PC050",
"dataset": "collision",
"category": "multi_stage_collision",
"input": "اللاعبون تدرب في الملعب والمدربه شجعتهم",
"expected": "اللاعبون تدربوا في الملعب والمدربة شجعتهم",
"severity": "critical",
"pipeline_output": "اللاعبون تدرب في الملعب والمدربة شجعتهم.",
"pipeline_suggestions": [
{
"alternatives": [],
"confidence": 1.0,
"correction": "والمدربة",
"end": 32,
"id": "8f746d2b-6dce-4651-aadc-3778ae0a7a07",
"locked": true,
"original": "والمدربه",
"priority": 2,
"start": 24,
"type": "spelling"
},
{
"alternatives": [],
"confidence": 0.8,
"correction": "شجعتهم.",
"end": 39,
"id": "13f13b68-d26e-4006-9a0c-533cc01e09ea",
"locked": true,
"original": "شجعتهم",
"priority": 1,
"start": 33,
"type": "punctuation"
}
],
"pipeline_timing": {
"grammar_ms": 1261,
"punctuation_ms": 845,
"spelling_ms": 4597,
"total_ms": 6713
},
"pipeline_ms": 7017,
"grammar_raw_output": "",
"grammar_raw_ms": 0,
"punctuation_raw_output": "",
"punctuation_raw_ms": 0,
"pipeline_verdict": "FN",
"pipeline_detail": "Missing: ['تدربوا'], Extra: ['تدرب']",
"root_cause_component": "MODEL",
"root_cause_stage": "grammar",
"root_cause_detail": "Grammar model missed SV/gender agreement",
"regression_type": "",
"regression_detail": "",
"span_valid": true,
"span_detail": ""
}
]
}