$files = @(
    'src\modules\classes\data-access.ts',
    'src\modules\classes\data-access-stats.ts',
    'src\modules\classes\data-access-schedule.ts',
    'src\modules\classes\data-access-students.ts',
    'src\modules\classes\data-access-admin.ts',
    'src\modules\classes\actions.ts',
    'src\modules\homework\data-access.ts',
    'src\modules\homework\data-access-write.ts',
    'src\modules\homework\stats-service.ts',
    'src\modules\homework\actions.ts',
    'src\modules\exams\actions.ts',
    'src\modules\exams\data-access.ts',
    'src\modules\exams\ai-pipeline.ts',
    'src\modules\questions\actions.ts',
    'src\modules\questions\data-access.ts',
    'src\modules\announcements\actions.ts',
    'src\modules\announcements\data-access.ts',
    'src\shared\lib\ai.ts',
    'src\shared\lib\ai\payload-parser.ts',
    'src\shared\lib\ai\api-key-crypto.ts',
    'src\shared\lib\ai\provider-config.ts',
    'src\shared\lib\ai\client.ts',
    'src\shared\lib\ai\errors.ts',
    'src\shared\lib\ai\index.ts',
    'src\shared\lib\role-utils.ts',
    'src\shared\lib\bcrypt-utils.ts',
    'src\shared\lib\http-utils.ts',
    'src\shared\lib\password-security-service.ts',
    'src\modules\users\import-export.ts',
    'src\modules\users\user-service.ts',
    'src\modules\users\class-registration.ts',
    'src\modules\users\actions.ts',
    'src\modules\users\data-access.ts',
    'src\auth.ts',
    'src\shared\db\schema.ts',
    'src\shared\types\permissions.ts'
)
foreach ($f in $files) {
    if (Test-Path $f) {
        $lines = (Get-Content $f | Measure-Object -Line).Lines
        Write-Output "$lines`t$f"
    } else {
        Write-Output "MISSING`t$f"
    }
}
