Documentation métier
Fiche BR-MSG-11
Quand le contrôle final trouve une valeur sensible dans le texte protégé, alors l'envoi est bloqué avec Anonymized text still contains PII: ['EMAIL'].
Défini dans Protéger un message avant l'envoi au modèle
Où vit la règle 2
Tests directs 0
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
Aucun test n'appelle ce code directement.
Tests indirects 132
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
- tests/acceptance/test_dev.py::TestThreadIsolation::test_a_token_restores_in_its_own_thread_only
- tests/acceptance/test_dpo.py::TestErasure::test_a_forgotten_thread_restores_nothing
- tests/acceptance/test_ops.py::TestSharedMemory::test_two_instances_agree_on_a_thread
- tests/components/guard/test_detector_guard.py::TestPipelineGrammar::test_a_guard_takes_the_pipeline_grammar
- tests/components/guard/test_detector_guard.py::TestPipelineGrammar::test_a_leak_still_raises_with_the_pipeline_grammar
- tests/components/guard/test_detector_guard.py::TestPipelineGrammar::test_an_explicit_recognizer_is_kept
- tests/components/guard/test_detector_guard.py::TestPipelineGrammar::test_the_caller_guard_is_left_unchanged
- tests/integrations/langchain/test_middleware_e2e.py::test_second_model_call_never_sees_clear_tool_args
- 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
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_preserve_keeps_assistant_value_clear
et 120 de plus
Utilisé par 1
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.