Skip to main content

Module observer

Module observer 

Source
Expand description

Observer policies — named lenses over the frontier.

The observer layer separates the record from the judgment. The kernel stores structural facts. Observers are functions over that shared record — they score, filter, and rank under declared policies without altering shared state.

Different communities interpret the same evidence differently: a pharma team weights clinical trial data and citation counts; an academic team weights replication and evidence spans; a regulatory body demands human data at high confidence thresholds. The observer makes those lenses explicit.

Structs§

Disagreement
Compute the disagreement between two observer views. Returns findings sorted by the absolute difference in rank between the two policies — the most contested findings first.
ObserverPolicy
An observer policy — a named lens over the frontier.
ObserverView
The output of applying an observer policy to a frontier’s findings.
ObserverWeights
ScoredFinding
A scored finding within an observer view.

Functions§

academic
builtin_policies
clinical
diff_views
exploration
observe
Apply an observer policy to a set of findings, producing a filtered, reranked view. The findings vector is not mutated.
pharma
policy_by_name
print_diff
Print a diff between two observer views.
print_view
Print an observer view to stdout.
regulatory