import { nowIso } from '../fsx.js';
export function emptyParallelVerificationResult(results = [], totalTaskCount = results.length) {
    const skipped = results.filter((result) => result.skipped);
    const failed = results.filter((result) => !result.ok && !result.skipped);
    return {
        schema: 'sks.parallel-verification-result.v1',
        generated_at: nowIso(),
        ok: failed.length === 0 && skipped.length === 0,
        task_count: totalTaskCount,
        passed: results.filter((result) => result.ok && !result.skipped).length,
        failed: failed.length,
        skipped: skipped.length,
        results,
        blockers: [
            ...failed.map((result) => `verification_failed:${result.id}`),
            ...skipped.map((result) => `verification_skipped:${result.id}`),
        ],
    };
}
//# sourceMappingURL=verification-result.js.map