<?php
require_once dirname(__DIR__).'/adapter/chairman_production_helper.php';

class AnalysisIntegration{
    public function payload($raceDate,$venue='',$raceNum=0){
        $p=chairman_production_payload($raceDate,$venue,$raceNum,'BALANCED',true);
        return array(
            'status'=>$p['status'],
            'race_date'=>$raceDate,
            'summary'=>$p['summary'],
            'ranking'=>$p['ranking'],
            'top_by_race'=>$p['top_by_race'],
            'framework'=>'3.2'
        );
    }
}
