fix(semantics): upgrade complexity tiers, add missing relation edge

- LanguageDetectService: C2→C3 (has @RELATION, requires C3)
- LanguageDetectServiceTests: C2→C3 (has @RELATION, requires C3)
- preview.py: add @RELATION DEPENDS_ON -> [LanguageDetectService]
This commit is contained in:
2026-05-20 14:34:43 +03:00
parent 04a20f7d3c
commit 36608ac368
4 changed files with 8696 additions and 15202 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
# #region LanguageDetectServiceTests [C:2] [TYPE Module] [SEMANTICS test, language, detection, heuristic]
# #region LanguageDetectServiceTests [C:3] [TYPE Module] [SEMANTICS test, language, detection, heuristic]
# @BRIEF Unit tests for LanguageDetectService — local language detection via lingua.
# @LAYER Test
# @RELATION BINDS_TO -> [LanguageDetectService:Module]

View File

@@ -1,4 +1,4 @@
# #region LanguageDetectService [C:2] [TYPE Module] [SEMANTICS translate, language, detection, heuristic]
# #region LanguageDetectService [C:3] [TYPE Module] [SEMANTICS translate, language, detection, heuristic]
# @BRIEF Local language detection powered by lingua-language-detector (no LLM).
# Provides fast, non-LLM language identification for source text rows,
# reducing LLM token costs by pre-detecting same-language rows and

View File

@@ -7,6 +7,7 @@
# @RELATION DEPENDS_ON -> [LLMProviderService]
# @RELATION DEPENDS_ON -> [DictionaryManager]
# @RELATION DEPENDS_ON -> [SupersetClient]
# @RELATION DEPENDS_ON -> [LanguageDetectService]
# @RELATION DEPENDS_ON -> [render_prompt]
# @RELATION DEPENDS_ON -> [ConfigManager]
# @PRE Database session and config manager are available.