Documentation métier
Fiche BR-TOOL-07
Quand le modèle écrit dans un argument un jeton jamais émis, alors l'appel est refusé par défaut, avant l'exécution, avec le message Deanonymized text holds tokens the pipeline never issued: ['<<EMAIL:7>>'].
Défini dans Laisser un outil agir sur les vraies valeurs
Où vit la règle 6
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 5
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.