Documentation métier
Fiche BR-AGT-02
Quand le modèle écrit un jeton que piighost n'a jamais émis, alors la réponse est refusée par défaut, avec Deanonymized text holds tokens the pipeline never issued.
Défini dans Brancher la protection sur un agent et ses outils
Où vit la règle 4
Tests directs 13
Le test, ou une fonction d'aide de son fichier, appelle le code de 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::TestConstruction::test_a_factory_that_shares_tokens_is_refused
- tests/integrations/test_deidentify.py::TestConstruction::test_a_pipeline_without_a_recognizer_is_refused
- tests/integrations/test_deidentify.py::TestConstruction::test_a_reversible_factory_is_accepted
- 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
et 1 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 11
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.