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

Michal Zelenčík noreply at github.com
Sat Apr 18 06:28:56 CEST 2026


  Branch: refs/heads/master
  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>



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