Skip to content

refactor: move incremental back#2256

Merged
triceo merged 11 commits intoTimefoldAI:mainfrom
triceo:incremental
Apr 21, 2026
Merged

refactor: move incremental back#2256
triceo merged 11 commits intoTimefoldAI:mainfrom
triceo:incremental

Conversation

@triceo
Copy link
Copy Markdown
Collaborator

@triceo triceo commented Apr 21, 2026

Replaces #2255 (review)

Copy link
Copy Markdown
Contributor

@TomCools TomCools left a comment

Choose a reason for hiding this comment

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

Docs OK for me. Can't speak to the solver code itself. Leave that up to @Christopher-Chianelli

Copy link
Copy Markdown
Contributor

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

Moves incremental score calculation back into core (away from the Enterprise service hook) and updates documentation/licensing references accordingly.

Changes:

  • Introduces core IncrementalScoreDirector/IncrementalScoreDirectorFactory and wires them into ScoreDirectorFactoryFactory.
  • Updates tests to cover incremental score calculation configuration/custom properties and corruption analysis paths.
  • Refreshes docs/README/workflows to reflect new license manager and edition/feature gating.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
docs/src/modules/ROOT/pages/upgrading-timefold-solver/upgrade-from-v1.adoc Updates upgrade guidance around incremental calculators and explainability.
docs/src/modules/ROOT/pages/constraints-and-score/score-calculation.adoc Adjusts edition gating for incremental score analysis section.
docs/src/modules/ROOT/pages/commercial-editions/installation.adoc Updates license acquisition and env var/file naming guidance.
docs/src/modules/ROOT/pages/commercial-editions/commercial-editions.adoc Updates feature matrix entries.
docs/src/modules/ROOT/nav.adoc Adjusts navigation for incremental score calculation.
core/src/test/java/ai/timefold/solver/core/impl/solver/DefaultSolverTest.java Adds incremental score calculator tests and corruption-analysis assertions.
core/src/test/java/ai/timefold/solver/core/impl/score/director/ScoreDirectorFactoryFactoryTest.java Adds incremental factory/custom-properties tests and config validation.
core/src/main/java/ai/timefold/solver/core/impl/score/director/incremental/IncrementalScoreDirectorFactory.java New core factory for incremental score director.
core/src/main/java/ai/timefold/solver/core/impl/score/director/incremental/IncrementalScoreDirector.java New core incremental score director + constraint match registration support.
core/src/main/java/ai/timefold/solver/core/impl/score/director/ScoreDirectorFactoryFactory.java Switches incremental path to the new core factory.
core/src/main/java/ai/timefold/solver/core/enterprise/TimefoldSolverEnterpriseService.java Removes incremental score calculator feature hook and updates messaging.
core/src/main/java/ai/timefold/solver/core/config/score/director/ScoreDirectorFactoryConfig.java Removes “Enterprise-only” notes for incremental score calculator config.
core/src/main/java/ai/timefold/solver/core/api/score/calculator/IncrementalScoreCalculator.java Removes “Enterprise-only” note from API Javadoc.
core/src/main/java/ai/timefold/solver/core/api/score/calculator/ConstraintMatchRegistry.java Updates Javadoc around explainability/edition behavior.
core/src/main/java/ai/timefold/solver/core/api/score/calculator/AnalyzableIncrementalScoreCalculator.java Updates Javadoc around explainability/edition behavior.
README.adoc Updates edition descriptions and license-manager link.
.github/workflows/release-changelog-template.md Updates license link.
.github/workflows/pull_request_secure.yml Renames license env var used in CI.

Comment thread README.adoc Outdated
Comment thread docs/src/modules/ROOT/pages/upgrading-timefold-solver/upgrade-from-v1.adoc Outdated
Copy link
Copy Markdown
Contributor

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 18 out of 18 changed files in this pull request and generated 5 comments.

Copy link
Copy Markdown
Contributor

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 18 out of 18 changed files in this pull request and generated 3 comments.

Copy link
Copy Markdown
Contributor

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 20 out of 20 changed files in this pull request and generated 3 comments.

@sonarqubecloud
Copy link
Copy Markdown

@triceo triceo merged commit f1f480d into TimefoldAI:main Apr 21, 2026
25 checks passed
@triceo triceo deleted the incremental branch April 21, 2026 15:06
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.

4 participants