Skip to content

docs(demo): nest evidence scorer in demo profiles - #686

Merged
behinddwalls merged 3 commits into
mainfrom
preetam/outcome-predictor-demo
Sep 15, 2026
Merged

behinddwalls merged 3 commits into
mainfrom
preetam/outcome-predictor-demo

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Why?

Demo profiles still showed a sibling predictor: block, which the wired YAML no longer accepts.

What?

Use defaults.scorer with type: evidence, the RFC example factors (landing for the land-stage batch), and a nested heuristic base in fake/git/github profiles and the quickstart.

Test Plan

Docs and YAML only; config parse is covered on the wiring PR.

Stack

@behinddwalls
behinddwalls marked this pull request as ready for review September 8, 2026 01:09
@behinddwalls
behinddwalls requested review from a team and sbalabanov as code owners September 8, 2026 01:09
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from 21834a0 to 624eb7d Compare September 11, 2026 16:47
@behinddwalls behinddwalls changed the title feat(demo): set example predictor factors in profiles docs(demo): nest evidence scorer in demo profiles Sep 11, 2026
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch 2 times, most recently from 8b60d14 to 9cd7195 Compare September 11, 2026 21:10
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch 2 times, most recently from 3177410 to 52ce57b Compare September 14, 2026 19:38
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from 52ce57b to 6865b99 Compare September 14, 2026 19:48
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from 6865b99 to c1d904a Compare September 14, 2026 19:50
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from c1d904a to 0b6bcfb Compare September 15, 2026 19:26
behinddwalls added a commit that referenced this pull request Sep 15, 2026
## Summary

### Why?

The RFC now has one public ranking interface. Keeping a Predictor
package after that would leave a second factory the rest of the stack
still had to delete.

### What?

Widen `Scorer.Score` with the path-set snapshot. Move evidence under
`scorer/evidence` as a Scorer wrapping a base. Heuristic, composite, and
fake implement the same signature and ignore `paths` (composite forwards
them). Delete the Predictor package and its mocks. The evidence factor
for the land-stage batch is `Landing` / YAML `landing`.

## Test Plan

- ✅ `make mocks && make gazelle`
- ✅ `./tool/bazel test //submitqueue/extension/speculation/scorer/...
//submitqueue/extension/speculation/generator/bestfirst:go_default_test
//submitqueue/extension/speculation/speculator/standard:go_default_test`

## Stack

- #682 (merged)
- #683 ⬅️
- #684
- #686
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from 0b6bcfb to e2207ea Compare September 15, 2026 19:43
Base automatically changed from preetam/outcome-predictor-wiring to main September 15, 2026 21:04
Write the outcome-predictor RFC example factors into every demo profiles.yaml so local runs show evidence revising ranking instead of silently staying at neutral 1.
Show type evidence wrapping a heuristic base with the RFC example factors, matching the ranking YAML the stack now wires.
Match the RFC and YAML key after BatchStateLanding.
@behinddwalls
behinddwalls force-pushed the preetam/outcome-predictor-demo branch from e2207ea to 2a3a7ee Compare September 15, 2026 21:04
@behinddwalls
behinddwalls merged commit a135e29 into main Sep 15, 2026
15 checks passed
@behinddwalls
behinddwalls deleted the preetam/outcome-predictor-demo branch September 15, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants