-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
component:consensus-engineonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
- Description:
Create the "Aggregator" component for the Consensus Engine. This component will be responsible for consolidating predictions or outputs from multiple agents using customizable algorithms (e.g., voting, averaging). It should also retrospectively monitor the effectiveness and contribution of individual agents, potentially using metrics such as Shapley values or other contribution-assessment techniques. - Acceptance Criteria:
- The Aggregator can receive and process predictions/outputs from multiple agents participating in a consensus task.
- It implements at least one aggregation algorithm (e.g., simple majority vote, weighted average based on confidence scores).
- A framework or methodology for monitoring individual agent performance over time is included (e.g., tracking accuracy, contribution to consensus).
- Consideration is given for calculating advanced metrics like Shapley values to assess the marginal contribution of each agent (this could be a more advanced sub-feature).
- Key Files/Modules Involved:
flare_ai_kit/consensus/aggregator/base.pyandflare_ai_kit/consensus/aggregator/prediction.py
- Tasks / Implementation Steps:
- Add aggregation methods to
flare_ai_kit/consensus/aggregator/strategic.py - Update
flare_ai_kit/consensus/aggregator/base.pyas needed to support the new interface
- Add aggregation methods to
Metadata
Metadata
Assignees
Labels
component:consensus-engineonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week