v0.1.2

Docs/Concepts

Reward design

A reward function turns “was this run good?” into a number. tracetune keeps traces whose score is at least --min-score (default 0.0).

Current rules (filters.py)

Signal Score
thumbs up +1.0
thumbs down -1.0
each failed tool call -1.0
whole run failed -2.0
each step beyond 3 -0.1

All values are in RewardConfig.

Honest weaknesses

How to tune

  1. Generate data: python3 examples/toy-agent/agent.py --n 200 --out data/toy.jsonl.
  2. Run tracetune build with different --min-score values and compare how many traces are kept and dropped, and why.
  3. Read a sample of dropped and kept traces by hand. Reward design is mostly reading data.

Edit this page on GitHub