Skip to content

v0.14.0

Compare
Choose a tag to compare
@zkat zkat released this 25 Sep 04:47
· 54 commits to main since this release
f4664f8

This is a fairly beefy release. The two main changes are the addition of
significant new observability features, which let you debug/trace both
big-brain and your own Scorers and Actions more easily in an integrated
manner. Additionally, a new advanced composite Scorer was added,
MeasuredScorer, which can be used to create some interesting behaviors when
you have want to factor in multiple scorers when adding cases to Thinker.

Besides that, there's several bugfixes to long-standing bugs and a couple of
other features.

Enjoy!

Features

  • entities: Rename ActionEnt and ScorerEnt to Action and Scorer (43f37959)
    • BREAKING CHANGE: These are externally-exported, so you'll have to rename them yourself, too
  • tracing: add tracing support for Thinker/Action/Scorer (#55) (a32bc01d)
    • BREAKING CHANGE: In the process of doing this, spawn_action and spawn_scorer were moved out of ActionBuilder and ScorerBuilder traits, respectively. This will likely affect any user-side composite actions and scorers. Use scorers::spawn_scorer and actions::spawn_action instead.
  • thinker: Add support for scheduling one-off Actions on a Thinker (#57) (382d2014)
  • measures: Implement MeasuredScorer and some initial measures (#54) (c6a6c5c9)

Bug Fixes

  • actions,scorers: Transform/GlobalTransform are no longer needed for hierarchies. (df10f034)
  • tracing: fix warnings and wrong cfg feature name (5ff39632)
  • thinker: otherwise clause no longer overrides running action (#56) (849ab346)
    • BREAKING CHANGE: This patch changes the behavior for otherwise such that it won't override an existing action if it's still running, but it'll still execute as soon as that action finishes. I think this is really what people expect this to do, so let's give it a shot!
  • tracing: drop action span scope before spawning next action (ee899e4a)