Documentation métier
Fiche BR-CONV-06
Quand la réponse contient un jeton au bon format que piighost n'a jamais émis, alors la restauration est refusée par défaut, avec l'erreur Deanonymized text holds tokens the pipeline never issued: ['<<PERSON:9>>'].
Défini dans Suivre une conversation et restaurer la réponse
Où vit la règle 4
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 10
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
- tests/integrations/test_deidentify_stream.py::test_invented_token_is_dropped
- tests/integrations/test_deidentify_stream.py::test_invented_token_raises
- tests/integrations/test_deidentify_stream.py::test_literal_text_streams_through
- tests/integrations/test_deidentify_stream.py::test_token_split_across_chunks_is_restored
- tests/integrations/test_deidentify_stream.py::test_trailing_incomplete_token_is_flushed
- tests/integrations/test_deidentify.py::TestAnonymize::test_replaces_pii_with_a_token
- tests/integrations/test_deidentify.py::TestDeanonymize::test_round_trips_a_message
- tests/integrations/test_deidentify.py::TestInventedStrategy::test_drop_removes_an_invented_token
- tests/integrations/test_deidentify.py::TestInventedStrategy::test_keep_leaves_an_invented_token
- tests/integrations/test_deidentify.py::TestInventedStrategy::test_raise_refuses_an_invented_token
Utilisé par 7
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.