[midPoint-git] [Evolveum/midpoint] d4fede: Smart Integration: Move statistics trimming from c...

Viliam Repan noreply at github.com
Sun Apr 19 21:32:07 CEST 2026


  Branch: refs/heads/feature/focus-activity-policies
  Home:   https://github.com/Evolveum/midpoint
  Commit: d4fede95d46ddf6c03a5eb5716ea70d88c778bf3
      https://github.com/Evolveum/midpoint/commit/d4fede95d46ddf6c03a5eb5716ea70d88c778bf3
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectClassStatisticsComputer.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeStatisticsComputer.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/ObjectTypesSuggestionObjectTypesActivityRun.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestObjectTypesSuggestionOperation.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Smart Integration: Move statistics trimming from computation to suggestion step

ObjectClassStatisticsComputer now emits all value counts and patterns
without any top-N or min-repeat filtering. The full raw statistics are
stored in the repository as-is.

Trimming (top-N limits, min-repeat threshold) is deferred to
ObjectTypesSuggestionObjectTypesActivityRun, where it is applied to
the loaded statistics immediately before passing them to the AI
suggestion service. This keeps the stored data complete and the
trimming logic co-located with its consumer.

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


  Commit: 14fff75cf2416e8224094aaae6b09e8abeef6872
      https://github.com/Evolveum/midpoint/commit/14fff75cf2416e8224094aaae6b09e8abeef6872
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Skip inbound mapping suggestion when shadow attribute has insufficient data

If the attribute's missingValueCount exceeds the missing data threshold
relative to the total shadow count, throw MissingSourceDataException
to skip the pair.

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


  Commit: bbfe3475834f113a89865f516a2e88b5eb138f6c
      https://github.com/Evolveum/midpoint/commit/bbfe3475834f113a89865f516a2e88b5eb138f6c
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectClassStatisticsComputer.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeStatisticsComputer.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/ObjectTypesSuggestionObjectTypesActivityRun.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestObjectTypesSuggestionOperation.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into feature/focus-activity-policies


Compare: https://github.com/Evolveum/midpoint/compare/9e074c7376fa...bbfe3475834f

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