export function createFinding(params) {
    return {
        severity: params.severity,
        message: params.message,
        file: params.file,
        line: params.line,
        blocking: params.blocking ?? false,
        category: params.category ?? "general",
        problem_class: params.problem_class ?? "unknown",
        required_skills: params.required_skills ?? [],
        required_reads: params.required_reads ?? [],
    };
}
