Skip to content

Commit fb6e7d8

Browse files
authored
Reset flag default value (#471)
Reset the default of `allow_recommending_already_recommended` back to `False`, which was forgotten in #423.
2 parents ac805e8 + b0c3e52 commit fb6e7d8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ 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+
## [0.12.1] - 2025-01-29
8+
### Changed
9+
- Default of `allow_recommending_already_recommended` is changed back to `False`
10+
to avoid exploitation cycles ([#468](https://github.com/emdgroup/baybe/issues/468))
11+
712
## [0.12.0] - 2025-01-28
813
### Breaking Changes
914
- Lookup callables for simulation are now expected to accept/return dataframes with

baybe/campaign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Campaign(SerialMixin):
133133

134134
allow_recommending_already_recommended: bool | UnspecifiedType = field(
135135
default=Factory(
136-
_make_allow_flag_default_factory(default=True), takes_self=True
136+
_make_allow_flag_default_factory(default=False), takes_self=True
137137
),
138138
validator=_validate_allow_flag,
139139
kw_only=True,

0 commit comments

Comments
 (0)