Make sure confidence level is always between 0 and 100 #5759
Labels
feature
use for describing a new feature to develop
solved
use to identify issue that has been solved (must be linked to the solving PR)
upsert & deduplication
Linked to system aiming to keep most qualified data
Milestone
issue
Following #4304, we need to make sure that the value saved in the platform for any
max_confidence
fields (user, groups) are always between 0 and 100.We cannot enforce this in the schema mapping in elastic, so we need to check this in the backend code:
test cases
This can only be tested through API calls, the UI already crop the value between 0 and 100.
This concerns operations:
Attention, edition can be plain object value, or field patch with only the
max_confidence
and correspondingobject_path
.Example with edit group:
The text was updated successfully, but these errors were encountered: