Society · Protocols

EvaluatorOptimizer

Generate-evaluate-refine loop

Definition

Mechanism

A two-role Loop to Optimize a solution where a Generator produces output and an Evaluator critiques it, providing structured feedback. The feedback is fed back to the Generator for refinement. Loop continues until the Evaluator approves or max iterations reached. The Evaluator can be the same model with a different Context, or a separate model. It invokes a MetaCheck to ensure the scoring Criteria remain consistent across optimization cycles.

Preconditions

  1. Initial solution
  2. Modification operator
  3. Scoring function

Postconditions

  1. High-quality solution found

Invariants

  1. Feedback loop converges
  2. Optimizer improves score on Evaluator metric

Risks

Failure modes

  1. Evaluation Drift

    Evaluator criteria shift across iterations.

  2. Cosmetic Changes

    Generator makes superficial edits that don't address feedback.

  3. Evaluator Capture

    Generator learns to game the evaluator's criteria.

Relationships

Builds on

References

Infrastructure

Context

Portable execution environment with inherited constraints

Infrastructure

Criteria

Judgment standards

Infrastructure

Loop

Repeated execution cycle

Mind

MetaCheck

Recursive self-verification of reasoning

Mind

Optimize

Maximize utility against a metric

Nothing in this library builds on this pattern yet.

Reference

Signature

  • Optimize(Loop)

Identity

Ref
EvaluatorOptimizer#ae09
Sema ID
sema:EvaluatorOptimizer#mh:SHA-256:ae098f2db7c18e00fa1dea16a305133a0778bd157652d5ee42b65f3bf86eef83
Ring
2
Tier
1
Updated
2026-11-11
Supersedes
  • sema:EvaluatorOptimizer#mh:SHA-256:7ec6beac2574ee29a4e1ae88bf8420bd8c030a22867de7916800004a299b33c2
  • sema:EvaluatorOptimizer#mh:SHA-256:8ebdbab9207af96a57c670d2d3786bc01528f4ef645df1e3a225365ff161ff7e
  • sema:EvaluatorOptimizer#mh:SHA-256:2c3612741de2b6be3b4baad30b500db3bbd29fc518c40fd61987cce728aa4ecc