{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/SemanticSearchRepository.php",
"offset": 170,
"limit": 30
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/SemanticSearchRepository.php",
"content": " }\n\n \/**\n * {@inheritDoc}\n *\/\n public function getTextSemanticStats(): array\n {\n \/\/ Coverage\n $coverage = $this->db->query(\n 'SELECT\n (SELECT COUNT(*) FROM chunk_text_semantics) as analyzed,\n (SELECT COUNT(*) FROM chunks) as total'\n )->fetch();\n\n $analyzed = (int) ($coverage['analyzed'] ?? 0);\n $total = (int) ($coverage['total'] ?? 1);\n\n \/\/ By statement_form\n $byStatementForm = $this->db->query(\n 'SELECT statement_form, COUNT(*) as count\n FROM chunk_text_semantics\n WHERE statement_form IS NOT NULL\n GROUP BY statement_form\n ORDER BY count DESC'\n )->fetchAll();\n\n \/\/ By intent\n $byIntent = $this->db->query(\n 'SELECT intent, COUNT(*) as count\n FROM chunk_text_semantics",
"numLines": 30,
"startLine": 170,
"totalLines": 256
}
}
}