Eugenio c66d9eebf6
Tagging explanation (#24817)
* Added `appliedAt` field to `TagLabel`s

This is to track insertions to `tag_usage` with timestamps

* Capture and format recognition explanations in `TagAnalyzer`

This creates a function to build an explanation to why something was scored as it was.

# Conflicts:
#	ingestion/src/metadata/pii/algorithms/presidio_utils.py

* Refactor `TagProcessor`

* Capture results for the old-style `PIIProcessor`

* Move strings to constants

* Add `TagLabel.appliedBy` field

This change also patches the user's name into the tags declared in `JsonPatch` objects to fill it up

* Update typescript types

* Fix python tests

* Fix java tests

* Simplify setting tag's `appliedBy` using `EntityUpdater.updatingUser`

* Remove unnecessary f-string

* Moar fixes

* Move migrations to 1.11.5
2026-01-08 17:02:40 +01:00
..
2026-01-08 17:02:40 +01:00