|
QDpy
|
Maintain qualified mechanisms and improve them with measured revisions. More...
Public Member Functions | |
| entries (self) | |
| stats (self) | |
| run (self, propose, evaluate, similarity, *, budget, refinement_preference=None) | |
| Spend proposal calls on seeds and their bounded repair/refinement chains. | |
Maintain qualified mechanisms and improve them with measured revisions.
Run the IDEAgent lineage workflow with caller-supplied proposal and evaluation. :param capacity: Maximum accepted lineages. :param thresholds: Inclusive non-obviousness, soundness and clarity gates. :param refinement_targets: Try improving accepted entries below these scores. :param repair_margin: Maximum deficit for a draft eligible for repair. :param duplicate_threshold: Similarity at which two signatures share a mechanism. :param auxiliary_attempts: Total repairs and refinements allowed per fresh draft. :param memory_size: Maximum history signatures and rejected signatures in each store. :param seed: Private seed supplied to the proposer.
Definition at line 132 of file ideagent.py.
| qdpy.algorithms.ideagent.IDEAgent.entries | ( | self | ) |
Return accepted ideas in lineage admission order.
Definition at line 160 of file ideagent.py.
| qdpy.algorithms.ideagent.IDEAgent.run | ( | self, | |
| propose, | |||
| evaluate, | |||
| similarity, | |||
| * | , | ||
| budget, | |||
| refinement_preference = None ) |
Spend proposal calls on seeds and their bounded repair/refinement chains.
Continue search with an exact cap covering every proposal stage.
:param propose: Callback (IdeaRequest, rng) returning an immutable draft or None.
:param evaluate: Callback (draft) returning an IdeaAssessment. Fitness
scores, judgment panels and compact signatures are evaluator concerns.
:param similarity: Symmetric callback (signature, signature) returning [0, 1].
:param budget: Maximum additional drafts, including repairs and refinements.
:param refinement_preference: Optional callback (parent, revision) returning
whether an otherwise eligible refinement should replace its parent.
Use it for an independent comparison, such as judging both presentation orders.
Definition at line 232 of file ideagent.py.
| qdpy.algorithms.ideagent.IDEAgent.stats | ( | self | ) |
Return cumulative call and admission counts.
Definition at line 165 of file ideagent.py.