{
"event": "PostToolUse",
"tool_name": "Read",
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Taxonomy\/GetTaxonomyOverviewUseCase.php",
"content": "\n \/\/ Use a heuristic: if there are unmapped chunks, estimate total\n \/\/ In production, this would be a dedicated count query\n $total = $hasUnmapped ? max($mappedChunks + 1, $mappedChunks) : $mappedChunks;\n\n $percentage = $total > 0 ? round(($mappedChunks \/ $total) * Constants::PERCENT_FULL, 2) : 100.0;\n\n return [\n 'total' => $total,\n 'mapped' => $mappedChunks,\n 'percentage' => $percentage,\n ];\n }\n}\n",
"numLines": 15,
"startLine": 135,
"totalLines": 149
}
}
}