feat(ui+db): counterparts grid, CategoryCorrection table, cat_select widget#140
Merged
Conversation
β¦widget - CategoryCorrection table: live implicit benchmark β logga ogni correzione utente con source, confidence e consistency_at_correction per calcolare accuracy per modello senza dataset etichettato separato (AI-164) - counterparts_page.py: griglia per-vendor con # tx, source_mode, variabilitΓ categoria modale, flag human-checked; inline rule creation da riga (AI-164) - cat_select widget: selector categoria/sottocategoria riutilizzabile - i18n: chiavi counterparts aggiunte in IT/EN/FR/DE/ES
β Coupling Report β UI β Service layerCoupling check FAILED β new coupling violations detected. Total violations: 2 | Clean files: 17/19 | Coupling score: 89%
Violations to fix
|
β¦ grouping - store rule pattern verbatim (matching already case-insensitive at compare time) - case-insensitive upsert dedup for contains/exact rules - group counterparts case-insensitively, keep first-seen casing for display - add regression tests Fixes the 4 failing rule tests on #140.
# Conflicts: # core/_build_info.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
accuracy β 1 β (corrections / llm_categorizations)per modello, senza dataset etichettato separato (AI-164).build_cat_options,join_cat_sub,split_cat_sub).Note
Test plan