← back to jaygut__semantica-poc

All specs 7 total

All specs Real LLM only Function bodies
recalculate_statisticsREAL LLM gemma4:latest · · unknown
scripts/validate_registry.py
Rebuilds comprehensive statistical counts by iterating over all documents within the provided index dictionary. It accepts an index dictionary containing a 'documents' key and modifies it in place by adding 'statistics' and 'document_count' keys. The function returns the modified index dictionary, containing counts categorized by source tier, document type, domain tag, and habitat, alongside the total document count.
recalculate_statisticsREAL LLM gemma4:latest · · unknown
scripts/add_papers_batch.py
Calculates and updates various statistical counts based on a provided index structure. It accepts a dictionary containing a 'documents' key, and returns the modified dictionary with added 'statistics' and 'document_count' keys. The function aggregates counts for document tiers, document types, domain tags, and habitats, overwriting the original index object with the new statistics.
recalculate_statisticsREAL LLM gemma4:latest · · unknown
scripts/add_papers_batch3.py
Calculates and updates various statistical counts based on a provided index dictionary. It processes each document within the index's 'documents' section to tally occurrences by source tier, document type, domain tag, and habitat. The function modifies the input index by adding a 'statistics' key containing these counts and a 'document_count' key reflecting the total number of documents. It returns the modified index dictionary.
recalculate_statisticsREAL LLM gemma4:latest · · unknown
scripts/add_papers_batch2.py
Calculates and updates various statistical counts based on the provided index dictionary. It processes each document within the index's 'documents' section to tally occurrences by source tier, document type, domain tag, and habitat. The function modifies the input index by adding a 'statistics' key containing these counts and a 'document_count' key reflecting the total number of documents. It returns the modified index dictionary.
recalculate_statisticstemplated static_v1 · O(n^2) · MIT
scripts/validate_registry.py · L43
Function `recalculate_statistics` with 1 parameter(s); returns `dict`. Contains 3 loop(s).
recalculate_statisticstemplated static_v1 · O(n^2) · MIT
scripts/add_papers_batch2.py · L51
Function `recalculate_statistics` with 1 parameter(s); returns `dict`. Contains 3 loop(s).
recalculate_statisticstemplated static_v1 · O(n^2) · MIT
scripts/add_papers_batch.py · L67
Function `recalculate_statistics` with 1 parameter(s); returns `dict`. Contains 3 loop(s).