Class: RosettAi::Quorum::Collector
- Inherits:
-
Object
- Object
- RosettAi::Quorum::Collector
- Defined in:
- lib/rosett_ai/quorum/collector.rb
Overview
Normalizes per-engine responses to the standard adopt contract: { findings: [...], overall_status: "pass|warn|fail", summary: "..." }
Annotates each finding with its source engine.
Instance Method Summary collapse
-
#collect(dispatched) ⇒ Hash<String, Hash>
Normalize dispatched results into per-engine response hashes.
Instance Method Details
#collect(dispatched) ⇒ Hash<String, Hash>
Normalize dispatched results into per-engine response hashes.
17 18 19 |
# File 'lib/rosett_ai/quorum/collector.rb', line 17 def collect(dispatched) dispatched.transform_values { |dispatch_entry| normalize(dispatch_entry) } end |