Skip to content

OC-DECLARE#36

Merged
aarkue merged 31 commits intomainfrom
feat/oc-declare
Jan 20, 2026
Merged

OC-DECLARE#36
aarkue merged 31 commits intomainfrom
feat/oc-declare

Conversation

@aarkue
Copy link
Owner

@aarkue aarkue commented Oct 27, 2025

This PR ports OC-DECLARE (Object-Centric Declarative Constraints) to the process_mining crate.

Pointers:

@aarkue aarkue changed the base branch from main to restructure December 14, 2025 10:51
@aarkue aarkue changed the base branch from restructure to main January 9, 2026 08:56
@aarkue aarkue requested a review from VikiPeeva January 9, 2026 09:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements OC-DECLARE (Object-Centric Declarative Constraints) discovery and conformance checking for the process_mining crate. It introduces algorithms for discovering behavioral constraints from object-centric event data, along with supporting data structures and utilities.

Changes:

  • Adds OC-DECLARE constraint discovery algorithm with configurable options (noise threshold, O2O relationships, reduction modes)
  • Introduces SlimLinkedOCEL - a memory-efficient linked OCEL implementation
  • Refactors LinkedOCELAccess trait to use Borrow pattern and simplify type parameters
  • Adds conformance checking implementation for validating discovered constraints

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
process_mining/src/discovery/object_centric/oc_declare/mod.rs Core discovery algorithm implementation
process_mining/src/core/process_models/object_centric/oc_declare/mod.rs Data structures for OC-DECLARE arcs, labels, and nodes
process_mining/src/core/event_data/object_centric/linked_ocel/slim_linked_ocel.rs New efficient OCEL implementation
process_mining/src/core/event_data/object_centric/linked_ocel/mod.rs Refactored LinkedOCELAccess trait
process_mining/src/conformance/object_centric/oc_declare.rs Performance-focused constraint checking
process_mining/src/core/event_data/object_centric/linked_ocel/index_linked_ocel.rs Updated to implement new trait signature
process_mining/src/core/event_data/object_centric/linked_ocel/id_linked_ocel.rs Updated to implement new trait signature
process_mining/src/bindings/mod.rs Added SlimLinkedOCEL to registry, improved parameter extraction
process_mining/examples/oc_declare.rs Example demonstrating constraint discovery

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This comment was marked as resolved.

@aarkue aarkue merged commit 5585b3c into main Jan 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant