File size: 3,751 Bytes
d5434b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
  "query_id": "q_demo001",
  "status": "verified",
  "lifecycle_stage": "execution_authorized",
  "match": {
    "id": "epl-2025-arsenal-chelsea",
    "home": "Arsenal",
    "away": "Chelsea",
    "league": "Premier League",
    "kickoff": "2025-03-15T15:00:00Z"
  },
  "signals": [
    {
      "signal_id": "sig_ma001",
      "agent_id": "match-analyst-v3",
      "agent_reputation": 0.89,
      "signal_type": "match_outcome",
      "prediction": {
        "home_win": 0.52,
        "draw": 0.24,
        "away_win": 0.24
      },
      "confidence": 0.78,
      "layer": "cognitive",
      "reasoning": "Arsenal's home form (W8 D1 L1 last 10) combined with Chelsea's away defensive vulnerabilities suggest home advantage. xG differential of +0.8 per match at Emirates this season.",
      "features_used": 47,
      "model_version": "3.2.1"
    },
    {
      "signal_id": "sig_te001",
      "agent_id": "tactical-engine-v2",
      "agent_reputation": 0.85,
      "signal_type": "tactical_insight",
      "prediction": {
        "home_win": 0.48,
        "draw": 0.27,
        "away_win": 0.25
      },
      "confidence": 0.72,
      "layer": "cognitive",
      "reasoning": "Arsenal's high press (PPDA: 8.2) will exploit Chelsea's build-up vulnerabilities. Expected pressing success rate: 34%.",
      "features_used": 31,
      "model_version": "2.1.0"
    },
    {
      "signal_id": "sig_om001",
      "agent_id": "odds-flow-monitor-v4",
      "agent_reputation": 0.91,
      "signal_type": "market_value",
      "prediction": {
        "home_win": 0.50,
        "draw": 0.26,
        "away_win": 0.24
      },
      "confidence": 0.81,
      "layer": "market",
      "reasoning": "Market odds imply 47% home win probability vs our consensus of 50%. Minor value edge detected on home outcome.",
      "features_used": 23,
      "model_version": "4.0.2"
    }
  ],
  "consensus": {
    "consensus_id": "con_demo001",
    "agents_participating": 5,
    "agents_agreeing": 4,
    "consensus_score": 0.80,
    "threshold_met": true,
    "threshold_required": 0.67,
    "consensus_method": "reputation_weighted",
    "weighted_prediction": {
      "home_win": 0.50,
      "draw": 0.26,
      "away_win": 0.24
    }
  },
  "market_sync": {
    "sync_id": "sync_demo001",
    "odds_aligned": true,
    "value_detected": true,
    "edge_estimate": 0.034,
    "sync_status": "aligned",
    "market_data": {
      "best_odds_home": 2.10,
      "best_odds_draw": 3.40,
      "best_odds_away": 3.60,
      "implied_prob_home": 0.476,
      "implied_prob_draw": 0.294,
      "implied_prob_away": 0.278,
      "overround": 1.048,
      "bookmakers_sampled": 12
    }
  },
  "authorization": {
    "auth_id": "auth_demo001",
    "authorized": true,
    "checks_passed": [
      { "check_name": "consensus_threshold", "passed": true, "value": 0.80, "threshold": 0.67 },
      { "check_name": "market_alignment", "passed": true, "value": 0.95, "threshold": 0.70 },
      { "check_name": "confidence_minimum", "passed": true, "value": 0.78, "threshold": 0.60 },
      { "check_name": "timing_window", "passed": true, "details": "20.5 hours until kickoff" },
      { "check_name": "risk_limit", "passed": true, "value": 0.25, "threshold": 0.80 }
    ],
    "delivery_channels": ["web_app", "telegram", "api"]
  },
  "audit_trail": {
    "lifecycle_hash": "0x7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069",
    "stages_completed": [
      "query_intake",
      "signal_generation",
      "regime_analysis",
      "cross_agent_validation",
      "market_synchronization",
      "execution_authorization"
    ],
    "stages_pending": [
      "post_match_audit",
      "autonomous_reporting"
    ],
    "timestamp": "2025-03-14T18:30:00Z"
  }
}