Skip to content

Latest commit

 

History

History
125 lines (111 loc) · 3.61 KB

MOCK_DATA_SAMPLES.md

File metadata and controls

125 lines (111 loc) · 3.61 KB

Mock Data Samples

Sample Questions (3 examples)

1. Urgent Question - Assigned

{
  "id": "q-urgent-1",
  "question_text": "Is it permissible to break my fast if I am experiencing severe dehydration during Ramadan while working outdoors in extreme heat?",
  "workflow_status": "assigned",
  "assigned_scholar_id": "scholar-1",
  "resolution_method": "ai_routed",
  "user_urgency_level": "urgent",
  "suggested_matches": [
    {
      "question_id": "existing-101",
      "question_text": "What are the valid excuses for breaking fast in Ramadan?",
      "answer": "Valid excuses include severe illness, pregnancy complications, travel...",
      "similarity_score": 0.82,
      "rank": 1
    }
  ],
  "ai_confidence_score": 0.85,
  "scholar_response": null,
  "created_at": "2025-10-19T15:00:00Z",
  "scholars": {
    "full_name": "Sheikh Ahmad Hassan",
    "primary_expertise": ["Fiqh", "Hadith"]
  }
}

2. High Priority - Pending Approval (With Response)

{
  "id": "q-high-2",
  "question_text": "What is the ruling on praying Salah while traveling on an airplane?",
  "workflow_status": "pending_approval",
  "assigned_scholar_id": "scholar-1",
  "user_urgency_level": "high",
  "ai_confidence_score": 0.89,
  "scholar_response": "For airplane prayer:\n\n1. **Timing**: Pray on time if possible. Traveler may combine Dhuhr+Asr, Maghrib+Isha\n2. **Qibla**: Face Kaaba direction at takbir if known, otherwise any direction acceptable\n3. **Standing**: Stand if space allows. If not, pray seated with head movements for ruku/sujud\n4. **Qasr**: Shorten 4-rakah prayers to 2\n\nDaleel: Quran 4:101, Sahih Muslim 686",
  "created_at": "2025-10-18T14:00:00Z",
  "version": 3
}

3. Medium Priority - In Review (Locked)

{
  "id": "q-high-3",
  "question_text": "My husband wants to take a second wife. What are my rights in Islam regarding polygamy?",
  "workflow_status": "in_review",
  "assigned_scholar_id": "scholar-4",
  "user_urgency_level": "high",
  "locked_by": "scholar-4",
  "locked_at": "2025-10-19T11:00:00Z",
  "ai_confidence_score": 0.81,
  "scholars": {
    "full_name": "Dr. Aisha Rahman",
    "primary_expertise": ["Family Law", "Contemporary Issues"]
  }
}

Sample Scholars (2 examples)

1. Sheikh Ahmad Hassan

{
  "id": "scholar-1",
  "full_name": "Sheikh Ahmad Hassan",
  "email": "ahmad.hassan@example.com",
  "primary_expertise": ["Fiqh", "Hadith"],
  "secondary_expertise": ["Tafsir", "Aqeedah"],
  "load_balance_weight": 1.0
}

2. Dr. Fatima Al-Zahra

{
  "id": "scholar-2",
  "full_name": "Dr. Fatima Al-Zahra",
  "email": "fatima.alzahra@example.com",
  "primary_expertise": ["Tafsir", "Arabic Language"],
  "secondary_expertise": ["Islamic History"],
  "load_balance_weight": 0.8
}

Question Distribution

Total Questions: 18

By Status:

  • assigned: 7 (39%)
  • in_review: 4 (22%)
  • pending_approval: 2 (11%)
  • triaged: 2 (11%)
  • approved: 1 (6%)
  • published: 1 (6%)
  • rejected: 1 (6%)
  • submitted: 1 (6%)

By Urgency:

  • medium: 8 (44%)
  • high: 5 (28%)
  • low: 3 (17%)
  • urgent: 2 (11%)

Edge Cases:

  • Stuck (>48h): 2 questions
  • Locked: 3 questions
  • High confidence (>0.85): 6 questions
  • Low confidence (<0.5): 3 questions
  • No suggested matches: 1 question

Topics Covered

  1. Worship (Ibadah): Salah, fasting, Ramadan, Taraweeh, ghusl, masjid etiquette
  2. Islamic Law (Fiqh): Inheritance, polygamy, travel rules, halal/haram rulings
  3. Contemporary Issues: Work ethics, cryptocurrency, IVF, organ donation, dropshipping
  4. Finance: Zakat, retirement accounts, credit cards, halal investments
  5. Knowledge: Tafsir, Aqeedah, madhahib, Islamic books