Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

cmake_minimum_required(VERSION 3.20)

project(InterestEngine VERSION 0.1.0 LANGUAGES CXX)
project(InterestEngine VERSION 0.2.0 LANGUAGES CXX)

set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ snapshots, then resolves the chosen ID into gameplay or presentation. There is n
engine dependency, scene query, object binding, action planner, gaze controller,
animation system, learning model or network service.

**Version 0.1.0:** an early source library with substantive synthetic regression
coverage. API, ABI and tuning compatibility may change before 1.0; there is no
**Version 0.2.0:** configurable event novelty directionality, independent of raw
preference scoring. The default directionality of `1.f` preserves legacy numerical
behavior. API, ABI and tuning compatibility may change before 1.0; there is no
serialized-state format or cross-platform bit-exact simulation guarantee.

**Next release candidate: v0.2.0.** Event directionality adds an optional trailing
This version adds an optional trailing
`float CandidateSnapshot::eventDirectionality{1.f}` and
`float CandidateTrace::noveltyGate` after `eventStrength`. The trace field occupies
existing padding on tested x64 compilers, preserving its 96-byte size and all
pre-existing field offsets. These change public struct layouts; rebuild
consumers with matching headers and library. Existing aggregate initializers may
omit the new snapshot field and retain legacy behavior. The release version stays
0.1.0 until a release is approved.
omit the new snapshot field and retain legacy behavior.

Use named fields for trace access; positional `CandidateTrace` aggregate initializers
must account for the inserted field before `eventNovelty`.
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace interest {

const char* VersionString() noexcept
{
return "0.1.0";
return "0.2.0";
}

} // namespace interest
2 changes: 1 addition & 1 deletion tests/smoke_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void CheckTraceLayout()

int main()
{
Expect(std::strcmp(interest::VersionString(), "0.1.0") == 0,
Expect(std::strcmp(interest::VersionString(), "0.2.0") == 0,
"VersionString() returns the library version");

Expect(__cplusplus >= 202002L, "compiled as C++20 or later");
Expand Down
Loading