[midPoint-git] [Evolveum/midpoint] 0f0e6a: Smart Integration: Skip low-quality mapping sugges...

Michal Zelenčík noreply at github.com
Tue Dec 9 09:17:18 CET 2025


  Branch: refs/heads/feature/utilize-mapping-statistics
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0f0e6a27c5ed7c96a6903ea36707c72280a692da
      https://github.com/Evolveum/midpoint/commit/0f0e6a27c5ed7c96a6903ea36707c72280a692da
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/LowQualityMappingException.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Skip low-quality mapping suggestions using threshold-based filtering

Introduce quality thresholds to improve mapping suggestion reliability:
- Add 5% threshold for missing data detection in isSourceDataMissing/isTargetDataMissing
- Add 10% minimum quality threshold for suggested mappings
- Implement LowQualityMappingException to handle mappings below threshold
- Record low-quality mappings as SKIP instead of FAILURE

When data is too sparse (<5% of pairs have values), skip LLM call and use
asIs mapping with null quality. When assessed quality falls below 10%,
throw exception and skip the mapping entirely rather than returning
potentially incorrect suggestions.

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list