Documentation métier
Fiche BR-MSG-02
Quand une valeur revient sous une autre casse ou avec d'autres espaces, alors elle reçoit le même jeton.
Défini dans Protéger un message avant l'envoi au modèle
Où vit la règle 3
Tests directs 137
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
- tests/components/linker/test_exact_linker.py::TestConformance::test_satisfies_the_port
- tests/components/linker/test_exact_linker.py::TestLink::test_groups_case_variants
- tests/components/linker/test_exact_linker.py::TestLink::test_groups_one_value_across_labels
- tests/components/linker/test_exact_linker.py::TestLink::test_groups_repeats_of_one_value
- tests/components/linker/test_exact_linker.py::TestLink::test_keeps_first_occurrence_order
- tests/components/linker/test_exact_linker.py::TestLink::test_keeps_first_spelling_as_canonical
- tests/components/linker/test_exact_linker.py::TestLink::test_no_detections_yields_no_entities
- tests/components/linker/test_exact_linker.py::TestLink::test_separates_distinct_values
- tests/components/linker/test_exact_linker.py::TestUnicodeSpaces::test_spellings_that_differ_by_their_spaces_are_one_entity
- tests/integrations/langchain/test_middleware_stream.py::test_middleware_deanonymize_stream_restores_split_token
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_anonymize_treats_assistant_value_as_pii
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_ignore_does_not_analyze_assistant_messages
et 125 de plus
Tests indirects 0
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
Aucun test indirect trouvé.
Utilisé par 10
- ExactLinkerConfig.build()
- BaseAnonymizationPipeline.__init__()
- FuzzyEntityResolver._same_value()
- DetectionOverride.cleared_values()
- DetectionOverride.forces_value()
- _value_invalidated()
- _first_occurrence_roles()
- BaseAnonymizationPipeline._guard()
- ThreadAnonymizationPipeline.anonymize()
- ThreadAnonymizationPipeline._thread_tokens()
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.