Phase 11 — Certification Preparation & Examination Center
Implementation Report
Phase: 11
Feature Name: Certification Preparation & Examination Center
Date: July 14, 2026
Status: ✅ Core Complete — Ready for Content Expansion
1. Executive Summary
The Certification Preparation & Examination Center is a comprehensive testing and readiness assessment platform integrated into the Medical Courier Business Builder™ application. It provides 11 distinct examination tracks spanning regulatory compliance, operational procedures, customer service, and board-style final exams. The system supports three exam modes (Study, Practice, Certification), randomized question selection, automatic scoring, AI-driven remediation planning, and an integrated AI Exam Coach.
This module is designed as an educational readiness assessment tool — not an official government certification entity. All disclaimers and regulatory language reflect this positioning.
2. Architecture Overview
2.1 Data Layer (Entities)
Five new Base44 entities were created to manage the full exam lifecycle:
| Entity | Purpose | Key Fields |
|--------|---------|------------|
| ExamQuestion | Question bank | question_id, track_id, category, difficulty, question_type, options, correct_answer, explanation, status |
| ExamAttempt | Each exam session | user_id, track_id, mode, status, score, passed, question_ids, time_used_seconds |
| ExamAnswer | Individual question responses | attempt_id, question_id, selected_answer, is_correct, time_spent_seconds, flagged |
| ExamCategoryScore | Category-level breakdowns | attempt_id, category, total_questions, correct_count, score |
| ExamRemediationPlan | Post-failure study plans | user_id, track_id, weak_categories, required_lessons, study_plan, retake_eligible_date |
2.2 Logic Layer
src/lib/examEngine.js — Core exam utilities including:
- Fisher-Yates question randomization
- Answer option shuffling
- Score calculation (percentage, pass/fail)
- Category-level scoring
- Readiness calculation across 10 subject areas
- Remediation plan generation
- 7-day study plan generation
- Time formatting utilities
2.3 Data Definitions
src/data/examTracks.js — 11 exam tracks (A–K), readiness areas, exam modes, time limits, passing scores, and regulatory disclaimers
src/data/examQuestionSeed.js — 60 professionally structured starter questions (5–8 per track)
2.4 Presentation Layer
| File | Role |
|------|------|
| src/pages/ExamCenter.jsx | Main page with 4 tabs: Dashboard, Exams, Transcript, AI Coach |
| src/components/exam/ExamDashboard.jsx | Stats grid + 10 readiness rings |
| src/components/exam/ExamList.jsx | Exam track cards + mode selection modal |
| src/components/exam/ExamRunner.jsx | Full testing interface (timer, navigator, flag, submit) |
| src/components/exam/ExamResults.jsx | Score report + category/difficulty breakdown + study plan |
| src/components/exam/ExamTranscript.jsx | Attempt history table |
| src/components/exam/AIExamCoach.jsx | LLM-powered study coach |
| src/components/admin/ExamManager.jsx | Question bank CRUD + statistics |
| src/components/dashboard/CertificationReadinessWidget.jsx | Dashboard widget |
3. Exam Tracks (11 Total)
| ID | Track | Questions | Passing Score | Time Limit |
|----|-------|-----------|---------------|------------|
| A | HIPAA Privacy & Security | 8 | 70% | 15 min |
| B | OSHA Workplace Safety | 6 | 70% | 15 min |
| C | Bloodborne Pathogens | 6 | 70% | 15 min |
| D | Chain of Custody Documentation | 6 | 75% | 20 min |
| E | Specimen Transport & Handling | 6 | 75% | 20 min |
| F | Dispatch & Route Operations | 6 | 70% | 20 min |
| G | Emergency Response Procedures | 5 | 80% | 15 min |
| H | Customer Service & Professionalism | 5 | 70% | 15 min |
| I | Operations Comprehensive Exam | 7 | 75% | 45 min |
| J | Business Growth & Scaling | 5 | 75% | 30 min |
| K | CHLE Board-Style Final Exam | 6 | 80% | 90 min |
Architecture capacity: 3,000+ questions. Current seed: 60.
4. Exam Modes
| Mode | Description | Questions Shown | Explanations | Retake Limit |
|------|-------------|-----------------|--------------|--------------|
| Study | Learning mode with immediate feedback | All available | After each question | Unlimited |
| Practice | Simulated exam with results at end | Randomized subset | Post-exam review | Unlimited |
| Certification | Formal assessment with strict rules | Randomized subset | Post-exam review | 3 attempts |
5. Feature Inventory
5.1 Completed Features
- [x] Question Bank — 60 seeded questions across 11 tracks, expandable to 3,000+
- [x] Question Randomization — Fisher-Yates shuffle for question selection and answer order
- [x] Three Exam Modes — Study (instant feedback), Practice (exam simulation), Certification (formal)
- [x] Timed Exams — Per-track time limits with countdown display and auto-submit on timeout
- [x] Question Navigator — Grid showing answered/unanswered/flagged status, jump to any question
- [x] Flag Questions — Mark questions for later review
- [x] Auto-Submit on Timeout — Timer reaches zero → automatic submission with latest answers
- [x] Score Calculation — Percentage scoring with pass/fail determination
- [x] Category Breakdown — Per-category performance analysis
- [x] Difficulty Breakdown — Performance by easy/medium/hard
- [x] Remediation Engine — Failed exams generate: weak categories, required lessons, required simulations, required resources, mini-quiz requirement, suggested study hours, retake eligibility date, 7-day study plan
- [x] Readiness Scoring — 10 subject-area readiness rings calculated from best exam scores
- [x] CHLE Readiness — Special composite readiness indicator for the final board-style exam
- [x] Exam Transcript — Full attempt history with scores, modes, pass/fail, dates
- [x] AI Exam Coach — LLM-powered study assistance using student's exam history context
- [x] Admin Question Manager — Full CRUD: filter by track/status, search, add/edit/publish/delete
- [x] Dashboard Widget — CertificationReadinessWidget on main dashboard
- [x] Navigation — "Certification Prep" sidebar item in Academy group
- [x] Route Integration —
/exam-center route in App.jsx
- [x] Admin Tab — "Exam Manager" tab in Admin portal
5.2 Placeholder / Deferred Features
- [ ] CSV Import — Button placeholder exists in ExamManager; bulk import not yet wired
- [ ] AI Question Generation — Button placeholder exists; not yet implemented
- [ ] CHLE Prerequisites — Track K is placeholder-locked; prerequisite validation not enforced
- [ ] Save/Resume — Mid-exam session persistence not implemented
- [ ] Adaptive Practice Mode — Question difficulty adjustment based on performance not implemented
- [ ] Remote Proctoring — No webcam/screen monitoring
- [ ] Full-Screen Enforcement — No browser full-screen lock
- [ ] Copy/Paste Restriction — Not implemented
- [ ] Attempt Limit Enforcement — Stored on attempt record but not yet blocking
- [ ] Question Performance Stats — No high-failure-rate detection or analytics
- [ ] Exam User Roles — No Exam Administrator / Content Author role differentiation
- [ ] Annual Content Review Scheduling — No automated review date reminders
- [ ] Episode Integration — "Prepare for Exam" buttons on episodes not yet linked
- [ ] Executive Mentor Integration — Remediation plans not yet pushed to mentor dashboard
5.3 Security Limitations (Acknowledged)
This platform is an educational readiness assessment tool, not a proctored certification body. The following security measures are not implemented:
- No remote proctoring or identity verification
- No browser full-screen enforcement
- No copy/paste or right-click restriction
- No save/resume mid-exam (abandoned attempts cannot be recovered)
- Attempt limits stored but not enforced server-side
- CHLE prerequisite checking is placeholder only
All users are informed via disclaimers that passing these assessments indicates readiness preparation — not official government certification.
6. File Manifest
6.1 New Files Created (18)
Entities (5):
base44/entities/ExamQuestion.jsonc
base44/entities/ExamAttempt.jsonc
base44/entities/ExamAnswer.jsonc
base44/entities/ExamCategoryScore.jsonc
base44/entities/ExamRemediationPlan.jsonc
Data (2):
6. src/data/examTracks.js
7. src/data/examQuestionSeed.js
Logic (1):
8. src/lib/examEngine.js
Components (9):
9. src/components/exam/ExamDashboard.jsx
10. src/components/exam/ExamList.jsx
11. src/components/exam/ExamRunner.jsx
12. src/components/exam/ExamResults.jsx
13. src/components/exam/ExamTranscript.jsx
14. src/components/exam/AIExamCoach.jsx
15. src/components/admin/ExamManager.jsx
16. src/components/dashboard/CertificationReadinessWidget.jsx
Pages (1):
17. src/pages/ExamCenter.jsx
Report (1):
18. src/reports/Phase11_Implementation_Report.md
6.2 Files Modified (4)
src/App.jsx — Added import + /exam-center route
src/data/mcbbOsNav.js — Added "Certification Prep" nav item (Academy group, ListChecks icon)
src/pages/Admin.jsx — Added "Exam Manager" tab + import
src/pages/Dashboard.jsx — Added CertificationReadinessWidget import + grid placement
7. User Flows
7.1 Taking an Exam
- User navigates to Certification Prep via sidebar (Academy group)
- Lands on Dashboard tab — sees stats and 10 readiness rings
- Clicks Exams tab — sees 11 exam track cards with question counts
- Clicks Start Exam on a track — mode selection modal appears
- Selects mode (Study / Practice / Certification) — confirms
- ExamRunner loads — fetches published questions for the track
- Questions are randomized and answer options are shuffled
- User navigates questions, selects answers, optionally flags questions
- Question navigator grid shows progress (answered / unanswered / flagged)
- Timer counts down (if timed mode) — auto-submits at zero
- User clicks Finish Exam — confirmation prompt
- On confirm: ExamAttempt, ExamAnswer records, ExamCategoryScore records created
- If failed (non-study mode): ExamRemediationPlan created
- ExamResults renders — score, category breakdown, difficulty breakdown, remediation, 7-day study plan
- User clicks Back to Exam Center — returns to Dashboard with updated stats
7.2 Admin Question Management
- Admin navigates to Admin Portal → selects Exam Manager tab
- Sees stats: total questions, published count, draft count
- Sees question counts per track
- Can filter by track and/or status (draft, published, archived, review)
- Can search questions by text
- Can add new questions via form (track, category, difficulty, type, text, options, correct answer, explanation)
- Can edit existing questions
- Can publish/unpublish questions
- Can delete questions
- Regulatory review flag available for compliance-sensitive content
7.3 AI Exam Coach
- User navigates to AI Coach tab in Exam Center
- Sees chat interface with context about their exam performance
- Can ask: study strategies, concept explanations, practice question generation, time management advice
- Coach responds using student's exam history (scores, weak areas, flagged questions)
- Responses use approved language only — no medical or legal advice
8. Remediation Engine Details
When a user fails a Practice or Certification exam, the system automatically generates a remediation plan:
8.1 Weak Category Identification
- Categories where the user scored below the passing threshold are flagged as "weak"
- Each weak category is linked to relevant season/episode content
8.2 Required Actions Generated
- Required Lessons — Specific season/episode references to review
- Required Simulations — Hands-on simulations to complete
- Required Resources — Resource library documents to read
- Mini-Quiz — A mini-quiz requirement (must pass before retake)
8.3 Study Plan
- Suggested Study Hours — Calculated based on number of weak areas
- 7-Day Study Plan — Day-by-day activities with estimated duration
- Retake Eligibility Date — Calculated based on study hours needed
8.4 Retake Policy
- Study mode: Unlimited retakes
- Practice mode: Unlimited retakes (but remediation plan generated on fail)
- Certification mode: 3 attempt limit (stored, not yet enforced)
9. Readiness Scoring
9.1 Subject Areas (10)
Readiness is calculated across 10 subject areas, each represented as a progress ring:
- HIPAA & Privacy
- OSHA & Safety
- Specimen Handling
- Chain of Custody
- Transport & Logistics
- Regulatory Compliance
- Emergency Response
- Customer Service
- Business Operations
- Industry Knowledge
9.2 Calculation Method
- Each subject area maps to one or more exam tracks
- Best score from any mode is used for each track
- Subject readiness = weighted average of related track scores
- Overall readiness = average of all 10 subject area scores
9.3 CHLE Readiness
- Composite indicator specifically for the CHLE Board-Style Final Exam (Track K)
- Requires minimum 80% score on Track K
- Also factors in prerequisite track performance (placeholder logic)
10. Question Types Supported
The ExamQuestion entity supports 8 question types:
| Type | Description | Answer Format |
|------|-------------|---------------|
| single_choice | Standard multiple choice (4 options) | Index (e.g., "0") |
| multiple_select | Multiple correct answers | Comma-separated (e.g., "0,2") |
| true_false | Binary true/false | "true" or "false" |
| scenario | Scenario-based question | Index |
| case_study | Extended case study | Index |
| sequence | Put steps in order | Comma-separated indices |
| documentation_review | Review a document and answer | Index |
| best_next_action | "What should you do next?" | Index |
Current seed uses single_choice and true_false primarily.
11. Integration Points
11.1 Navigation
- Sidebar: "Certification Prep" in Academy group (ListChecks icon)
- Route:
/exam-center
- Dashboard Widget: CertificationReadinessWidget on main Dashboard
11.2 Admin
- Exam Manager tab in Admin Portal
- Full question bank CRUD
- Publishing workflow (draft → published → archived)
11.3 Data Relationships
- ExamAttempt → ExamAnswer (1:many)
- ExamAttempt → ExamCategoryScore (1:many)
- ExamAttempt → ExamRemediationPlan (1:1, on fail)
- ExamQuestion → ExamAnswer (1:many, via question_id)
- ExamQuestion.track_id → CertificationTrack (reference)
12. Recommended Next Steps
12.1 Content Development (Priority: High)
- Expand question bank from 60 to 900+ questions
- Add scenario, case study, and sequence question types
- Implement CSV bulk import (placeholder exists)
- Implement AI-assisted question generation (placeholder exists)
- Subject matter expert review of all questions
12.2 Feature Completion (Priority: Medium)
- Implement save/resume for in-progress exams
- Enforce attempt limits for certification mode
- Connect "Prepare for Exam" buttons on episode pages
- Push remediation plans to Executive Mentor dashboard
- Add question performance analytics (flag questions with high failure rates)
12.3 Security & Proctoring (Priority: Low — External)
- Evaluate third-party proctoring integration
- Implement full-screen enforcement
- Add copy/paste restriction
- Consider identity verification for certification mode
12.4 Advanced Features (Priority: Future)
- Adaptive practice mode (difficulty adjusts to performance)
- Exam user roles (Exam Administrator, Content Author, Reviewer)
- Annual content review scheduling with automated reminders
- Certification renewal tracking
- Continuing education credit tracking
13. Technical Notes
13.1 Timer Auto-Submit
The exam timer uses a React useEffect interval that decrements timeRemaining state. When time reaches zero, a separate useEffect (watching timeRemaining === 0) triggers handleSubmit(), which captures the latest answer state. This avoids stale closure issues that would occur if the timer directly called handleSubmit.
13.2 Question Randomization
Fisher-Yates shuffle is applied to:
- Question selection (random subset from available pool)
- Answer option order (per question, per attempt)
The correct_answer field stores the original index, and examEngine.js maps between original and shuffled indices during scoring.
13.3 Data Volume Considerations
- Each exam attempt creates 1 ExamAttempt + N ExamAnswer + M ExamCategoryScore records
- For 100 questions × 1000 users × 3 attempts = 300,000 ExamAnswer records
- Transcript queries filter by
user_id and sort by created_date for performance
- Question counts in ExamList are cached via React Query
13.4 AI Exam Coach
Uses base44.integrations.Core.InvokeLLM with:
- Student exam history (scores, weak areas, flagged questions)
- Track-specific context
- System prompt restricting responses to approved language only
- No medical or legal advice disclaimers
14. Sign-off
| Role | Status |
|------|--------|
| Development | ✅ Complete |
| Entity Creation | ✅ Complete (5 entities) |
| Question Seeding | ✅ 60 questions seeded |
| UI/UX | ✅ Complete |
| Navigation Integration | ✅ Complete |
| Admin Integration | ✅ Complete |
| Dashboard Integration | ✅ Complete |
| Content Review | ⏳ Pending (SME review needed) |
| Security Audit | ⏳ Acknowledged limitations |
| Production Deployment | ✅ Live |
This report reflects the state of the Certification Preparation & Examination Center as of July 14, 2026. For questions or content expansion requests, contact the platform administrator.