Skip to content

Commit c9d528c

Browse files
committed
Apply temporary fix to cache validation logic
1 parent 28b3678 commit c9d528c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.14.3] - 2026-02-10
88
### Fixed
99
- Deserialization of `NumericalTarget` objects using the optional `constructor` field
10+
- Broken cache validation for certain `Campaign.recommend` cases
1011

1112
## [0.14.2] - 2026-01-14
1213
### Added

baybe/campaign.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,11 @@ def recommend(
510510
)
511511
pending_experiments.__class__ = _ValidatedDataFrame
512512

513+
# TODO: Proper fix for the allow_* flags required
513514
if (
514515
pending_experiments is None
515516
and (cache := self._cached_recommendation) is not None
517+
and self.allow_recommending_already_recommended is not UNSPECIFIED
516518
and self.allow_recommending_already_recommended
517519
and len(cache) == batch_size
518520
):

0 commit comments

Comments
 (0)