✅ Check Missing Data¶
Verify data completeness by checking for missing folders and files.
Overview¶
The Check Missing Data tool (Data Integrity Checker) scans your data directories to identify missing academic year folders, semester data, and consolidated files. It uses your course duration configuration to determine what data should exist.
When to Use This Tool
Use this tool when you need to:
- Verify all required data folders exist
- Identify gaps in your exam processing history
- Audit data completeness before academic reviews
- Ensure no semesters have been accidentally skipped
Accessing the Tool¶
Tools → Check Missing Data...
Step-by-Step Guide¶
Open the Dialog¶
Click Tools → Check Missing Data... to open the data integrity checker.
Select Check Options¶
Choose what to check:
| Option | Description |
|---|---|
| Check Input Folders | Verify input folder structure exists |
| Check Output/Consolidated Files | Verify processed results exist |
Both Options
For a complete check, enable both options. This ensures you have both raw data and processed results for all semesters.
Run Check¶
- Click Run Check
- Progress bar shows the scan progress
- Results display when complete
Review Results¶
Results are displayed in three sections:
Overall Statistics
Shows total issues found:
- Errors - Critical missing items (entire academic years)
- Warnings - Important missing items (semester folders)
- Info - Optional missing items (consolidated files)
Summary box color indicates severity:
- Green - All data present
- Yellow - Warnings only
- Red - Errors found
Expected Years Coverage
Shows expected academic years based on course duration:
| Year | Status |
|---|---|
| 2021-2022 | Found |
| 2022-2023 | Found |
| 2023-2024 | Missing |
| 2024-2025 | Found |
| 2025-2026 | Found |
Detailed Missing Items
Tree view organized by severity:
Export Report¶
To save a detailed report:
- Click Export Report
- Choose save location (default:
outputs/folder) - Report is saved as text file with timestamp
- Optionally click Yes to open the folder
How It Works¶
Expected Data Calculation¶
The tool calculates expected academic years based on:
- Course Duration - Read from syllabus JSON (e.g., 5 years)
- Current Academic Year - Determined from today's date
- Expected Years - Current year back to (current - duration + 1)
Example Calculation
For a 5-year course in January 2026:
- Current academic year: 2025-2026
- Expected years: 2021-2022 through 2025-2026 (5 years)
- Each year should have YR1-YR5 folders with SEM1/SEM2
Folder Structure Checked¶
For each expected academic year and year of study:
inputs/{academic_year}/YR{n}/
├── SEM1/
│ └── scoresheets/ ← Must contain .xlsx files
└── SEM2/
└── scoresheets/ ← Must contain .xlsx files
outputs/verified_results/{academic_year}/YR{n}/
├── SEM1/
│ └── 2024_2025_YR3_SEM1_consolidated_verified.xlsx
├── SEM2/
│ └── 2024_2025_YR3_SEM2_consolidated_verified.xlsx
└── ANNUAL/
└── 2024_2025_YR3_annual_consolidated.xlsx
Hidden Raw Folder
Auto-generated backups are stored in the hidden outputs/.raw/ folder. These are reference copies and should not be edited directly.
Severity Levels¶
| Severity | Icon | Description | Examples |
|---|---|---|---|
| Error | Critical missing data | Academic year folder, Year folder | |
| Warning | Important missing data | Semester folder, Empty scoresheets | |
| Info | Optional missing data | Consolidated files, Annual files |
Report Contents¶
The exported report includes:
======================================================================
DATA INTEGRITY CHECK REPORT
======================================================================
Generated: 2026-01-27 10:30:45
Course Duration: 5 years
Current Academic Year: 2025-2026
SUMMARY:
Total Issues: 15
- Errors: 2
- Warnings: 8
- Info: 5
----------------------------------------------------------------------
DETAILED STATUS BY ACADEMIC YEAR
----------------------------------------------------------------------
📅 2021-2022: ✓ FOUND
└── YR1:
└── SEM1: ✓ Exists | Scoresheets: ✓ (6 files) | Consolidated: ✓
└── SEM2: ✓ Exists | Scoresheets: ✓ (6 files) | Consolidated: ✓
└── ANNUAL: ✓ Consolidated exists
📅 2023-2024: ✗ MISSING
(Entire academic year folder is missing)
...
----------------------------------------------------------------------
ISSUES REQUIRING ATTENTION
----------------------------------------------------------------------
[CRITICAL] (2 items)
📁 Academic year folder: 2023-2024
📁 2024-2025/YR3
[WARNINGS] (8 items)
📁 Missing semester: 2024-2025/YR2/SEM2
...
Best Practices¶
-
Run Regularly
Run the check at the start of each semester to ensure all historical data is intact.
-
Before Backups
Run before creating backups to ensure you're not backing up incomplete data.
-
After Migration
Run after moving data to a new computer or restoring from backup.
-
End of Year
Run at the end of each academic year to verify completeness.
Configuration¶
Syllabus JSON Requirement¶
The tool requires the course syllabus JSON to be configured:
- Go to File → Settings
- Select the Paths tab
- Set Units JSON to your course syllabus file
The syllabus determines course duration by counting year keys (1st Year, 2nd Year, etc.).
Missing Configuration
If the syllabus JSON is not configured, the tool will display a warning with instructions to configure it.
Troubleshooting¶
Course duration seems wrong
Problem: The tool expects more or fewer years than your course has.
Solutions:
- Check your syllabus JSON file structure
- Verify year keys match pattern: "1st Year", "2nd Year", etc.
- Update the syllabus file if years are missing
- Re-run the check after corrections
Too many missing items
Problem: The report shows many missing items that shouldn't be missing.
Solutions:
- Verify the data base directory path in settings
- Check folder naming matches expected pattern
- Ensure folders aren't in a different location
- Create missing folders using Create Academic Folder tool
Export fails
Problem: Cannot export the report.
Solutions:
- Check write permissions to the output folder
- Ensure the output folder exists
- Try exporting to a different location
- Close any programs that might have the file open
Related Tools¶
-
Create Academic Folder
Create missing folder structures
-
Settings
Configure paths and course structure