Skip to content

refactor(eval): split correlation_engine.rs into module directory#49

Merged
mostafa merged 1 commit into
mainfrom
feat/modularize-correlation-engine
Apr 30, 2026
Merged

refactor(eval): split correlation_engine.rs into module directory#49
mostafa merged 1 commit into
mainfrom
feat/modularize-correlation-engine

Conversation

@mostafa
Copy link
Copy Markdown
Member

@mostafa mostafa commented Apr 30, 2026

Summary

  • Split crates/rsigma-eval/src/correlation_engine.rs (4395 lines) into a correlation_engine/ module directory with 3 submodules for better maintainability
  • No functionality changes: pure restructuring with identical test results (366 tests pass, full workspace clippy clean)

Test plan

  • cargo fmt --all -- --check passes
  • cargo clippy --workspace --all-targets --all-features -- -D warnings passes (zero warnings)
  • cargo test -p rsigma-eval passes (366 unit tests + 37 integration/doc tests, 0 failures)

Modularize the 4395-line correlation_engine.rs into focused submodules
for maintainability. No logic, behavior, or API changes -- pure
restructuring with identical test results (366 tests pass).

New structure:
  correlation_engine/
    mod.rs     -- engine struct, impl, timestamp helpers
    types.rs   -- config enums, result types, snapshot
    tests.rs   -- all unit tests
@mostafa mostafa merged commit 3cbc193 into main Apr 30, 2026
8 checks passed
@mostafa mostafa deleted the feat/modularize-correlation-engine branch April 30, 2026 15:35
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