wip
This commit is contained in:
1 parent
93df72df43
commit
1064c40ac1
5 files changed
+714
-54
No files matched your search
@@ -26,6 +26,8 @@ class PlayerProps extends Page implements HasForms
|
|||||||
|
|
||||||
protected string $view = 'filament.pages.player-props';
|
protected string $view = 'filament.pages.player-props';
|
||||||
|
|
||||||
|
public static bool $shouldOpenNavigationUrlInNewTab = true;
|
||||||
|
|
||||||
protected static string|BackedEnum|null $navigationIcon = 'icon-soccerplayer';
|
protected static string|BackedEnum|null $navigationIcon = 'icon-soccerplayer';
|
||||||
|
|
||||||
public function getHeading(): string
|
public function getHeading(): string
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ use App\Models\StatistikoDetail;
|
|||||||
use Filament\Notifications\Notification;
|
use Filament\Notifications\Notification;
|
||||||
use Filament\Widgets\Widget;
|
use Filament\Widgets\Widget;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use Livewire\Attributes\On;
|
use Livewire\Attributes\On;
|
||||||
|
|
||||||
class PlayerPropsDrop extends Widget
|
class PlayerPropsDrop extends Widget
|
||||||
@@ -117,8 +118,6 @@ class PlayerPropsDrop extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function loadPlacement()
|
public function loadPlacement()
|
||||||
{
|
{
|
||||||
$this->clearResultTable();
|
$this->clearResultTable();
|
||||||
@@ -478,13 +477,15 @@ class PlayerPropsDrop extends Widget
|
|||||||
// Aspettativa per Player: AP = AT * ATR / TOT AT
|
// Aspettativa per Player: AP = AT * ATR / TOT AT
|
||||||
$results[] = $tmp;
|
$results[] = $tmp;
|
||||||
|
|
||||||
// Log::debug('calc', $results);
|
|
||||||
|
|
||||||
// for dev copy
|
// for dev copy
|
||||||
$this->calculationVariables[] = $tmp;
|
$this->calculationVariables[] = $tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log::debug('results', $results);
|
||||||
|
|
||||||
|
|
||||||
$bettypes = ['goals', 'cards', 'fouls', 'offsides', 'total_shots', 'shots_on_target'];
|
$bettypes = ['goals', 'cards', 'fouls', 'offsides', 'total_shots', 'shots_on_target'];
|
||||||
foreach ($bettypes as $bettype) {
|
foreach ($bettypes as $bettype) {
|
||||||
$total_bettype = array_sum(array_column($results, 'asp_teorica_' . $bettype));
|
$total_bettype = array_sum(array_column($results, 'asp_teorica_' . $bettype));
|
||||||
@@ -496,14 +497,9 @@ class PlayerPropsDrop extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// dd($results);
|
|
||||||
|
|
||||||
// update frontend
|
|
||||||
foreach ($this->players as $k => $record) {
|
foreach ($this->players as $k => $record) {
|
||||||
|
|
||||||
foreach ($results as $key => $result) {
|
foreach ($results as $key => $result) {
|
||||||
if ($record['id'] == $result['id']) {
|
if ((int) $record['id'] == (int) $result['id']) {
|
||||||
// dd($result);
|
|
||||||
$this->players[$k]['active'] = $result['active'];
|
$this->players[$k]['active'] = $result['active'];
|
||||||
$this->players[$k]['gls'] = number_format($result['asp_player_goals'], 3);
|
$this->players[$k]['gls'] = number_format($result['asp_player_goals'], 3);
|
||||||
$this->players[$k]['fls'] = number_format($result['asp_player_fouls'], 3);
|
$this->players[$k]['fls'] = number_format($result['asp_player_fouls'], 3);
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ return new class extends Migration
|
|||||||
$table->integer('client_id')->index();
|
$table->integer('client_id')->index();
|
||||||
$table->integer('team_id')->index();
|
$table->integer('team_id')->index();
|
||||||
$table->string('lineup');
|
$table->string('lineup');
|
||||||
|
$table->string('team_name');
|
||||||
$table->text('placement');
|
$table->text('placement');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|||||||
+704
-43
@@ -1,43 +1,704 @@
|
|||||||
{
|
[
|
||||||
"markets": [
|
{
|
||||||
{
|
"id": 22981,
|
||||||
"structureType": 1,
|
"name": "José Sosa",
|
||||||
"marketId": 1,
|
"asp_team": 1.397473994819,
|
||||||
"marketName": "Full time",
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
"isLive": false,
|
"active": 1,
|
||||||
"fid": 162535936,
|
"pos": "MC",
|
||||||
"suspended": false,
|
"somma_minuti": 135,
|
||||||
"id": 86834697,
|
"asp_statistica_goals": 0.099,
|
||||||
"marketGroup": "1X2",
|
"asp_gioco_goals": 0.099,
|
||||||
"marketPeriod": "Full-time",
|
"asp_teorica_goals": 0.099,
|
||||||
"choices": [
|
"asp_statistica_cards": 0.214,
|
||||||
{
|
"asp_gioco_cards": 0.214,
|
||||||
"initialFractionalValue": "2/1",
|
"asp_teorica_cards": 0.214,
|
||||||
"fractionalValue": "2/1",
|
"asp_statistica_fouls": 1.353,
|
||||||
"sourceId": 1335701246,
|
"asp_gioco_fouls": 1.353,
|
||||||
"name": "1",
|
"asp_teorica_fouls": 1.353,
|
||||||
"winning": true,
|
"asp_statistica_offsides": 0.058,
|
||||||
"change": 0
|
"asp_gioco_offsides": 0.058,
|
||||||
},
|
"asp_teorica_offsides": 0.058,
|
||||||
{
|
"asp_statistica_total_shots": 1.201,
|
||||||
"initialFractionalValue": "11/5",
|
"asp_gioco_total_shots": 1.201,
|
||||||
"fractionalValue": "11/5",
|
"asp_teorica_total_shots": 1.201,
|
||||||
"sourceId": 1335701247,
|
"asp_statistica_shots_on_target": 0.474,
|
||||||
"name": "X",
|
"asp_gioco_shots_on_target": 0.474,
|
||||||
"winning": false,
|
"asp_teorica_shots_on_target": 0.474
|
||||||
"change": 0
|
},
|
||||||
},
|
{
|
||||||
{
|
"id": 28381,
|
||||||
"initialFractionalValue": "11/10",
|
"name": "Fernando Muslera",
|
||||||
"fractionalValue": "11/10",
|
"asp_team": 1.397473994819,
|
||||||
"sourceId": 1335701248,
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
"name": "2",
|
"active": 0,
|
||||||
"winning": false,
|
"pos": "GK",
|
||||||
"change": 0
|
"somma_minuti": 540,
|
||||||
}
|
"asp_statistica_goals": 0.0,
|
||||||
]
|
"asp_gioco_goals": 0.0,
|
||||||
}
|
"asp_teorica_goals": 0.0,
|
||||||
],
|
"asp_statistica_cards": 0.0,
|
||||||
"eventId": 12451223,
|
"asp_gioco_cards": 0.0,
|
||||||
"liveStreamUrl": null
|
"asp_teorica_cards": 0.0,
|
||||||
}
|
"asp_statistica_fouls": 0.0,
|
||||||
|
"asp_gioco_fouls": 0.0,
|
||||||
|
"asp_teorica_fouls": 0.0,
|
||||||
|
"asp_statistica_offsides": 0.0,
|
||||||
|
"asp_gioco_offsides": 0.0,
|
||||||
|
"asp_teorica_offsides": 0.0,
|
||||||
|
"asp_statistica_total_shots": 0.0,
|
||||||
|
"asp_gioco_total_shots": 0.0,
|
||||||
|
"asp_teorica_total_shots": 0.0,
|
||||||
|
"asp_statistica_shots_on_target": 0.0,
|
||||||
|
"asp_gioco_shots_on_target": 0.0,
|
||||||
|
"asp_teorica_shots_on_target": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 158259,
|
||||||
|
"name": "Leandro González Pírez",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "DC",
|
||||||
|
"somma_minuti": 167,
|
||||||
|
"asp_statistica_goals": 0.044,
|
||||||
|
"asp_gioco_goals": 0.044,
|
||||||
|
"asp_teorica_goals": 0.044,
|
||||||
|
"asp_statistica_cards": 0.195,
|
||||||
|
"asp_gioco_cards": 0.195,
|
||||||
|
"asp_teorica_cards": 0.195,
|
||||||
|
"asp_statistica_fouls": 0.959,
|
||||||
|
"asp_gioco_fouls": 0.959,
|
||||||
|
"asp_teorica_fouls": 0.959,
|
||||||
|
"asp_statistica_offsides": 0.036,
|
||||||
|
"asp_gioco_offsides": 0.036,
|
||||||
|
"asp_teorica_offsides": 0.036,
|
||||||
|
"asp_statistica_total_shots": 0.525,
|
||||||
|
"asp_gioco_total_shots": 0.525,
|
||||||
|
"asp_teorica_total_shots": 0.525,
|
||||||
|
"asp_statistica_shots_on_target": 0.263,
|
||||||
|
"asp_gioco_shots_on_target": 0.263,
|
||||||
|
"asp_teorica_shots_on_target": 0.263
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 174519,
|
||||||
|
"name": "Guido Carrillo",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "ST",
|
||||||
|
"somma_minuti": 419,
|
||||||
|
"asp_statistica_goals": 0.374,
|
||||||
|
"asp_gioco_goals": 0.21479713603818618,
|
||||||
|
"asp_teorica_goals": 0.2545978520286396,
|
||||||
|
"asp_statistica_cards": 0.154,
|
||||||
|
"asp_gioco_cards": 0.154,
|
||||||
|
"asp_teorica_cards": 0.154,
|
||||||
|
"asp_statistica_fouls": 1.417,
|
||||||
|
"asp_gioco_fouls": 1.288782816229117,
|
||||||
|
"asp_teorica_fouls": 1.3208371121718379,
|
||||||
|
"asp_statistica_offsides": 0.586,
|
||||||
|
"asp_gioco_offsides": 0.6443914081145585,
|
||||||
|
"asp_teorica_offsides": 0.6297935560859189,
|
||||||
|
"asp_statistica_total_shots": 2.477,
|
||||||
|
"asp_gioco_total_shots": 4.081145584725537,
|
||||||
|
"asp_teorica_total_shots": 3.6801091885441526,
|
||||||
|
"asp_statistica_shots_on_target": 0.93,
|
||||||
|
"asp_gioco_shots_on_target": 1.7183770883054894,
|
||||||
|
"asp_teorica_shots_on_target": 1.521282816229117
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 249893,
|
||||||
|
"name": "Lucas Alario",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "ST",
|
||||||
|
"somma_minuti": 119,
|
||||||
|
"asp_statistica_goals": 0.374,
|
||||||
|
"asp_gioco_goals": 0.374,
|
||||||
|
"asp_teorica_goals": 0.374,
|
||||||
|
"asp_statistica_cards": 0.154,
|
||||||
|
"asp_gioco_cards": 0.154,
|
||||||
|
"asp_teorica_cards": 0.154,
|
||||||
|
"asp_statistica_fouls": 1.417,
|
||||||
|
"asp_gioco_fouls": 1.417,
|
||||||
|
"asp_teorica_fouls": 1.417,
|
||||||
|
"asp_statistica_offsides": 0.586,
|
||||||
|
"asp_gioco_offsides": 0.586,
|
||||||
|
"asp_teorica_offsides": 0.586,
|
||||||
|
"asp_statistica_total_shots": 2.477,
|
||||||
|
"asp_gioco_total_shots": 2.477,
|
||||||
|
"asp_teorica_total_shots": 2.477,
|
||||||
|
"asp_statistica_shots_on_target": 0.93,
|
||||||
|
"asp_gioco_shots_on_target": 0.93,
|
||||||
|
"asp_teorica_shots_on_target": 0.93
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 249929,
|
||||||
|
"name": "Joaquín Correa",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "ST",
|
||||||
|
"somma_minuti": 825,
|
||||||
|
"asp_statistica_goals": 0.374,
|
||||||
|
"asp_gioco_goals": 0.10909090909090909,
|
||||||
|
"asp_teorica_goals": 0.17531818181818182,
|
||||||
|
"asp_statistica_cards": 0.154,
|
||||||
|
"asp_gioco_cards": 0.9818181818181819,
|
||||||
|
"asp_teorica_cards": 0.7748636363636364,
|
||||||
|
"asp_statistica_fouls": 1.417,
|
||||||
|
"asp_gioco_fouls": 0.8727272727272727,
|
||||||
|
"asp_teorica_fouls": 1.0087954545454545,
|
||||||
|
"asp_statistica_offsides": 0.586,
|
||||||
|
"asp_gioco_offsides": 0.21818181818181817,
|
||||||
|
"asp_teorica_offsides": 0.31013636363636365,
|
||||||
|
"asp_statistica_total_shots": 2.477,
|
||||||
|
"asp_gioco_total_shots": 1.8545454545454547,
|
||||||
|
"asp_teorica_total_shots": 2.010159090909091,
|
||||||
|
"asp_statistica_shots_on_target": 0.93,
|
||||||
|
"asp_gioco_shots_on_target": 0.8727272727272727,
|
||||||
|
"asp_teorica_shots_on_target": 0.8870454545454546
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 252313,
|
||||||
|
"name": "Ramiro Funes Mori",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DC",
|
||||||
|
"somma_minuti": 193,
|
||||||
|
"asp_statistica_goals": 0.044,
|
||||||
|
"asp_gioco_goals": 0.044,
|
||||||
|
"asp_teorica_goals": 0.044,
|
||||||
|
"asp_statistica_cards": 0.195,
|
||||||
|
"asp_gioco_cards": 0.46632124352331605,
|
||||||
|
"asp_teorica_cards": 0.3984909326424871,
|
||||||
|
"asp_statistica_fouls": 0.959,
|
||||||
|
"asp_gioco_fouls": 0.9326424870466321,
|
||||||
|
"asp_teorica_fouls": 0.9392318652849742,
|
||||||
|
"asp_statistica_offsides": 0.036,
|
||||||
|
"asp_gioco_offsides": 0.036,
|
||||||
|
"asp_teorica_offsides": 0.036,
|
||||||
|
"asp_statistica_total_shots": 0.525,
|
||||||
|
"asp_gioco_total_shots": 0.9326424870466321,
|
||||||
|
"asp_teorica_total_shots": 0.8307318652849741,
|
||||||
|
"asp_statistica_shots_on_target": 0.263,
|
||||||
|
"asp_gioco_shots_on_target": 0.263,
|
||||||
|
"asp_teorica_shots_on_target": 0.263
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 359098,
|
||||||
|
"name": "Ezequiel Piovi",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "MC",
|
||||||
|
"somma_minuti": 518,
|
||||||
|
"asp_statistica_goals": 0.099,
|
||||||
|
"asp_gioco_goals": 0.17374517374517376,
|
||||||
|
"asp_teorica_goals": 0.15505888030888032,
|
||||||
|
"asp_statistica_cards": 0.214,
|
||||||
|
"asp_gioco_cards": 0.3474903474903475,
|
||||||
|
"asp_teorica_cards": 0.31411776061776064,
|
||||||
|
"asp_statistica_fouls": 1.353,
|
||||||
|
"asp_gioco_fouls": 2.0849420849420848,
|
||||||
|
"asp_teorica_fouls": 1.9019565637065634,
|
||||||
|
"asp_statistica_offsides": 0.058,
|
||||||
|
"asp_gioco_offsides": 0.058,
|
||||||
|
"asp_teorica_offsides": 0.058,
|
||||||
|
"asp_statistica_total_shots": 1.201,
|
||||||
|
"asp_gioco_total_shots": 0.8687258687258687,
|
||||||
|
"asp_teorica_total_shots": 0.9517944015444015,
|
||||||
|
"asp_statistica_shots_on_target": 0.474,
|
||||||
|
"asp_gioco_shots_on_target": 0.3474903474903475,
|
||||||
|
"asp_teorica_shots_on_target": 0.37911776061776065
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 801037,
|
||||||
|
"name": "Alexis Castro",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "MC",
|
||||||
|
"somma_minuti": 541,
|
||||||
|
"asp_statistica_goals": 0.099,
|
||||||
|
"asp_gioco_goals": 0.16635859519408502,
|
||||||
|
"asp_teorica_goals": 0.14951894639556376,
|
||||||
|
"asp_statistica_cards": 0.214,
|
||||||
|
"asp_gioco_cards": 0.16635859519408502,
|
||||||
|
"asp_teorica_cards": 0.17826894639556376,
|
||||||
|
"asp_statistica_fouls": 1.353,
|
||||||
|
"asp_gioco_fouls": 1.1645101663585953,
|
||||||
|
"asp_teorica_fouls": 1.2116326247689464,
|
||||||
|
"asp_statistica_offsides": 0.058,
|
||||||
|
"asp_gioco_offsides": 0.058,
|
||||||
|
"asp_teorica_offsides": 0.058,
|
||||||
|
"asp_statistica_total_shots": 1.201,
|
||||||
|
"asp_gioco_total_shots": 3.4935304990757854,
|
||||||
|
"asp_teorica_total_shots": 2.9203978743068393,
|
||||||
|
"asp_statistica_shots_on_target": 0.474,
|
||||||
|
"asp_gioco_shots_on_target": 0.33271719038817005,
|
||||||
|
"asp_teorica_shots_on_target": 0.36803789279112753
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 875294,
|
||||||
|
"name": "Gabriel Neves",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "MC",
|
||||||
|
"somma_minuti": 266,
|
||||||
|
"asp_statistica_goals": 0.099,
|
||||||
|
"asp_gioco_goals": 0.099,
|
||||||
|
"asp_teorica_goals": 0.099,
|
||||||
|
"asp_statistica_cards": 0.214,
|
||||||
|
"asp_gioco_cards": 0.3383458646616541,
|
||||||
|
"asp_teorica_cards": 0.30725939849624057,
|
||||||
|
"asp_statistica_fouls": 1.353,
|
||||||
|
"asp_gioco_fouls": 1.0150375939849623,
|
||||||
|
"asp_teorica_fouls": 1.0995281954887217,
|
||||||
|
"asp_statistica_offsides": 0.058,
|
||||||
|
"asp_gioco_offsides": 0.058,
|
||||||
|
"asp_teorica_offsides": 0.058,
|
||||||
|
"asp_statistica_total_shots": 1.201,
|
||||||
|
"asp_gioco_total_shots": 0.3383458646616541,
|
||||||
|
"asp_teorica_total_shots": 0.5540093984962406,
|
||||||
|
"asp_statistica_shots_on_target": 0.474,
|
||||||
|
"asp_gioco_shots_on_target": 0.3383458646616541,
|
||||||
|
"asp_teorica_shots_on_target": 0.37225939849624057
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 927790,
|
||||||
|
"name": "Edwuin Cetré",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "LW",
|
||||||
|
"somma_minuti": 241,
|
||||||
|
"asp_statistica_goals": 0.233,
|
||||||
|
"asp_gioco_goals": 0.233,
|
||||||
|
"asp_teorica_goals": 0.233,
|
||||||
|
"asp_statistica_cards": 0.155,
|
||||||
|
"asp_gioco_cards": 0.37344398340248963,
|
||||||
|
"asp_teorica_cards": 0.31883298755186723,
|
||||||
|
"asp_statistica_fouls": 1.138,
|
||||||
|
"asp_gioco_fouls": 1.4937759336099585,
|
||||||
|
"asp_teorica_fouls": 1.4048319502074689,
|
||||||
|
"asp_statistica_offsides": 0.314,
|
||||||
|
"asp_gioco_offsides": 0.37344398340248963,
|
||||||
|
"asp_teorica_offsides": 0.35858298755186724,
|
||||||
|
"asp_statistica_total_shots": 2.114,
|
||||||
|
"asp_gioco_total_shots": 2.240663900414938,
|
||||||
|
"asp_teorica_total_shots": 2.2089979253112033,
|
||||||
|
"asp_statistica_shots_on_target": 0.745,
|
||||||
|
"asp_gioco_shots_on_target": 0.37344398340248963,
|
||||||
|
"asp_teorica_shots_on_target": 0.46633298755186725
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 940692,
|
||||||
|
"name": "Adolfo Gaich",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "ST",
|
||||||
|
"somma_minuti": 229,
|
||||||
|
"asp_statistica_goals": 0.374,
|
||||||
|
"asp_gioco_goals": 0.374,
|
||||||
|
"asp_teorica_goals": 0.374,
|
||||||
|
"asp_statistica_cards": 0.154,
|
||||||
|
"asp_gioco_cards": 0.154,
|
||||||
|
"asp_teorica_cards": 0.154,
|
||||||
|
"asp_statistica_fouls": 1.417,
|
||||||
|
"asp_gioco_fouls": 1.965065502183406,
|
||||||
|
"asp_teorica_fouls": 1.8280491266375545,
|
||||||
|
"asp_statistica_offsides": 0.586,
|
||||||
|
"asp_gioco_offsides": 1.1790393013100435,
|
||||||
|
"asp_teorica_offsides": 1.0307794759825326,
|
||||||
|
"asp_statistica_total_shots": 2.477,
|
||||||
|
"asp_gioco_total_shots": 2.358078602620087,
|
||||||
|
"asp_teorica_total_shots": 2.387808951965065,
|
||||||
|
"asp_statistica_shots_on_target": 0.93,
|
||||||
|
"asp_gioco_shots_on_target": 0.3930131004366812,
|
||||||
|
"asp_teorica_shots_on_target": 0.5272598253275109
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 941092,
|
||||||
|
"name": "Eric Meza",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DR",
|
||||||
|
"somma_minuti": 479,
|
||||||
|
"asp_statistica_goals": 0.041,
|
||||||
|
"asp_gioco_goals": 0.041,
|
||||||
|
"asp_teorica_goals": 0.041,
|
||||||
|
"asp_statistica_cards": 0.192,
|
||||||
|
"asp_gioco_cards": 0.192,
|
||||||
|
"asp_teorica_cards": 0.192,
|
||||||
|
"asp_statistica_fouls": 1.097,
|
||||||
|
"asp_gioco_fouls": 1.1273486430062631,
|
||||||
|
"asp_teorica_fouls": 1.1197614822546975,
|
||||||
|
"asp_statistica_offsides": 0.063,
|
||||||
|
"asp_gioco_offsides": 0.063,
|
||||||
|
"asp_teorica_offsides": 0.063,
|
||||||
|
"asp_statistica_total_shots": 0.61,
|
||||||
|
"asp_gioco_total_shots": 0.7515657620041752,
|
||||||
|
"asp_teorica_total_shots": 0.7161743215031314,
|
||||||
|
"asp_statistica_shots_on_target": 0.271,
|
||||||
|
"asp_gioco_shots_on_target": 0.3757828810020876,
|
||||||
|
"asp_teorica_shots_on_target": 0.3495871607515657
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1003907,
|
||||||
|
"name": "Facundo Farías",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "ST",
|
||||||
|
"somma_minuti": 178,
|
||||||
|
"asp_statistica_goals": 0.374,
|
||||||
|
"asp_gioco_goals": 0.374,
|
||||||
|
"asp_teorica_goals": 0.374,
|
||||||
|
"asp_statistica_cards": 0.154,
|
||||||
|
"asp_gioco_cards": 0.154,
|
||||||
|
"asp_teorica_cards": 0.154,
|
||||||
|
"asp_statistica_fouls": 1.417,
|
||||||
|
"asp_gioco_fouls": 1.417,
|
||||||
|
"asp_teorica_fouls": 1.417,
|
||||||
|
"asp_statistica_offsides": 0.586,
|
||||||
|
"asp_gioco_offsides": 0.586,
|
||||||
|
"asp_teorica_offsides": 0.586,
|
||||||
|
"asp_statistica_total_shots": 2.477,
|
||||||
|
"asp_gioco_total_shots": 2.477,
|
||||||
|
"asp_teorica_total_shots": 2.477,
|
||||||
|
"asp_statistica_shots_on_target": 0.93,
|
||||||
|
"asp_gioco_shots_on_target": 0.93,
|
||||||
|
"asp_teorica_shots_on_target": 0.93
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1018407,
|
||||||
|
"name": "Gastón Benedetti",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DL",
|
||||||
|
"somma_minuti": 421,
|
||||||
|
"asp_statistica_goals": 0.042,
|
||||||
|
"asp_gioco_goals": 0.042,
|
||||||
|
"asp_teorica_goals": 0.042,
|
||||||
|
"asp_statistica_cards": 0.19,
|
||||||
|
"asp_gioco_cards": 0.4275534441805226,
|
||||||
|
"asp_teorica_cards": 0.3681650831353919,
|
||||||
|
"asp_statistica_fouls": 1.041,
|
||||||
|
"asp_gioco_fouls": 1.0688836104513064,
|
||||||
|
"asp_teorica_fouls": 1.0619127078384798,
|
||||||
|
"asp_statistica_offsides": 0.073,
|
||||||
|
"asp_gioco_offsides": 0.073,
|
||||||
|
"asp_teorica_offsides": 0.073,
|
||||||
|
"asp_statistica_total_shots": 0.652,
|
||||||
|
"asp_gioco_total_shots": 0.4275534441805226,
|
||||||
|
"asp_teorica_total_shots": 0.4836650831353919,
|
||||||
|
"asp_statistica_shots_on_target": 0.285,
|
||||||
|
"asp_gioco_shots_on_target": 0.285,
|
||||||
|
"asp_teorica_shots_on_target": 0.285
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1018468,
|
||||||
|
"name": "Tiago Palacios",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "RW",
|
||||||
|
"somma_minuti": 323,
|
||||||
|
"asp_statistica_goals": 0.219,
|
||||||
|
"asp_gioco_goals": 0.2786377708978328,
|
||||||
|
"asp_teorica_goals": 0.2637283281733746,
|
||||||
|
"asp_statistica_cards": 0.155,
|
||||||
|
"asp_gioco_cards": 0.5572755417956656,
|
||||||
|
"asp_teorica_cards": 0.45670665634674923,
|
||||||
|
"asp_statistica_fouls": 1.159,
|
||||||
|
"asp_gioco_fouls": 1.671826625386997,
|
||||||
|
"asp_teorica_fouls": 1.5436199690402477,
|
||||||
|
"asp_statistica_offsides": 0.286,
|
||||||
|
"asp_gioco_offsides": 0.286,
|
||||||
|
"asp_teorica_offsides": 0.286,
|
||||||
|
"asp_statistica_total_shots": 1.992,
|
||||||
|
"asp_gioco_total_shots": 1.9504643962848298,
|
||||||
|
"asp_teorica_total_shots": 1.9608482972136223,
|
||||||
|
"asp_statistica_shots_on_target": 0.709,
|
||||||
|
"asp_gioco_shots_on_target": 0.8359133126934984,
|
||||||
|
"asp_teorica_shots_on_target": 0.8041849845201239
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1084962,
|
||||||
|
"name": "Brian Aguirre",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "LW",
|
||||||
|
"somma_minuti": 222,
|
||||||
|
"asp_statistica_goals": 0.233,
|
||||||
|
"asp_gioco_goals": 0.233,
|
||||||
|
"asp_teorica_goals": 0.233,
|
||||||
|
"asp_statistica_cards": 0.155,
|
||||||
|
"asp_gioco_cards": 0.155,
|
||||||
|
"asp_teorica_cards": 0.155,
|
||||||
|
"asp_statistica_fouls": 1.138,
|
||||||
|
"asp_gioco_fouls": 2.0270270270270268,
|
||||||
|
"asp_teorica_fouls": 1.8047702702702701,
|
||||||
|
"asp_statistica_offsides": 0.314,
|
||||||
|
"asp_gioco_offsides": 0.314,
|
||||||
|
"asp_teorica_offsides": 0.314,
|
||||||
|
"asp_statistica_total_shots": 2.114,
|
||||||
|
"asp_gioco_total_shots": 4.45945945945946,
|
||||||
|
"asp_teorica_total_shots": 3.873094594594595,
|
||||||
|
"asp_statistica_shots_on_target": 0.745,
|
||||||
|
"asp_gioco_shots_on_target": 1.2162162162162162,
|
||||||
|
"asp_teorica_shots_on_target": 1.098412162162162
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1116624,
|
||||||
|
"name": "Eros Mancuso",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "DR",
|
||||||
|
"somma_minuti": 270,
|
||||||
|
"asp_statistica_goals": 0.041,
|
||||||
|
"asp_gioco_goals": 0.33333333333333337,
|
||||||
|
"asp_teorica_goals": 0.26025,
|
||||||
|
"asp_statistica_cards": 0.192,
|
||||||
|
"asp_gioco_cards": 0.33333333333333337,
|
||||||
|
"asp_teorica_cards": 0.298,
|
||||||
|
"asp_statistica_fouls": 1.097,
|
||||||
|
"asp_gioco_fouls": 1.0,
|
||||||
|
"asp_teorica_fouls": 1.0242499999999999,
|
||||||
|
"asp_statistica_offsides": 0.063,
|
||||||
|
"asp_gioco_offsides": 0.6666666666666667,
|
||||||
|
"asp_teorica_offsides": 0.51575,
|
||||||
|
"asp_statistica_total_shots": 0.61,
|
||||||
|
"asp_gioco_total_shots": 0.33333333333333337,
|
||||||
|
"asp_teorica_total_shots": 0.40249999999999997,
|
||||||
|
"asp_statistica_shots_on_target": 0.271,
|
||||||
|
"asp_gioco_shots_on_target": 0.33333333333333337,
|
||||||
|
"asp_teorica_shots_on_target": 0.31775
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1161819,
|
||||||
|
"name": "Santiago Núñez",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "DC",
|
||||||
|
"somma_minuti": 553,
|
||||||
|
"asp_statistica_goals": 0.044,
|
||||||
|
"asp_gioco_goals": 0.044,
|
||||||
|
"asp_teorica_goals": 0.044,
|
||||||
|
"asp_statistica_cards": 0.195,
|
||||||
|
"asp_gioco_cards": 0.162748643761302,
|
||||||
|
"asp_teorica_cards": 0.1708114828209765,
|
||||||
|
"asp_statistica_fouls": 0.959,
|
||||||
|
"asp_gioco_fouls": 1.139240506329114,
|
||||||
|
"asp_teorica_fouls": 1.0941803797468355,
|
||||||
|
"asp_statistica_offsides": 0.036,
|
||||||
|
"asp_gioco_offsides": 0.036,
|
||||||
|
"asp_teorica_offsides": 0.036,
|
||||||
|
"asp_statistica_total_shots": 0.525,
|
||||||
|
"asp_gioco_total_shots": 0.650994575045208,
|
||||||
|
"asp_teorica_total_shots": 0.619495931283906,
|
||||||
|
"asp_statistica_shots_on_target": 0.263,
|
||||||
|
"asp_gioco_shots_on_target": 0.488245931283906,
|
||||||
|
"asp_teorica_shots_on_target": 0.4319344484629295
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1173598,
|
||||||
|
"name": "Tomás Palacios",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DC",
|
||||||
|
"somma_minuti": 676,
|
||||||
|
"asp_statistica_goals": 0.044,
|
||||||
|
"asp_gioco_goals": 0.1331360946745562,
|
||||||
|
"asp_teorica_goals": 0.11085207100591714,
|
||||||
|
"asp_statistica_cards": 0.195,
|
||||||
|
"asp_gioco_cards": 0.3994082840236686,
|
||||||
|
"asp_teorica_cards": 0.3483062130177515,
|
||||||
|
"asp_statistica_fouls": 0.959,
|
||||||
|
"asp_gioco_fouls": 0.665680473372781,
|
||||||
|
"asp_teorica_fouls": 0.7390103550295858,
|
||||||
|
"asp_statistica_offsides": 0.036,
|
||||||
|
"asp_gioco_offsides": 0.3994082840236686,
|
||||||
|
"asp_teorica_offsides": 0.3085562130177515,
|
||||||
|
"asp_statistica_total_shots": 0.525,
|
||||||
|
"asp_gioco_total_shots": 0.5325443786982248,
|
||||||
|
"asp_teorica_total_shots": 0.5306582840236685,
|
||||||
|
"asp_statistica_shots_on_target": 0.263,
|
||||||
|
"asp_gioco_shots_on_target": 0.2662721893491124,
|
||||||
|
"asp_teorica_shots_on_target": 0.26545414201183426
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1185969,
|
||||||
|
"name": "Fabricio Iacovich",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "GK",
|
||||||
|
"somma_minuti": 180,
|
||||||
|
"asp_statistica_goals": 0.0,
|
||||||
|
"asp_gioco_goals": 0.0,
|
||||||
|
"asp_teorica_goals": 0.0,
|
||||||
|
"asp_statistica_cards": 0.0,
|
||||||
|
"asp_gioco_cards": 0.0,
|
||||||
|
"asp_teorica_cards": 0.0,
|
||||||
|
"asp_statistica_fouls": 0.0,
|
||||||
|
"asp_gioco_fouls": 0.5,
|
||||||
|
"asp_teorica_fouls": 0.375,
|
||||||
|
"asp_statistica_offsides": 0.0,
|
||||||
|
"asp_gioco_offsides": 0.0,
|
||||||
|
"asp_teorica_offsides": 0.0,
|
||||||
|
"asp_statistica_total_shots": 0.0,
|
||||||
|
"asp_gioco_total_shots": 0.0,
|
||||||
|
"asp_teorica_total_shots": 0.0,
|
||||||
|
"asp_statistica_shots_on_target": 0.0,
|
||||||
|
"asp_gioco_shots_on_target": 0.0,
|
||||||
|
"asp_teorica_shots_on_target": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1201515,
|
||||||
|
"name": "Baltasar Rodriguez",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "MC",
|
||||||
|
"somma_minuti": 250,
|
||||||
|
"asp_statistica_goals": 0.099,
|
||||||
|
"asp_gioco_goals": 0.099,
|
||||||
|
"asp_teorica_goals": 0.099,
|
||||||
|
"asp_statistica_cards": 0.214,
|
||||||
|
"asp_gioco_cards": 0.36,
|
||||||
|
"asp_teorica_cards": 0.3235,
|
||||||
|
"asp_statistica_fouls": 1.353,
|
||||||
|
"asp_gioco_fouls": 3.96,
|
||||||
|
"asp_teorica_fouls": 3.3082499999999997,
|
||||||
|
"asp_statistica_offsides": 0.058,
|
||||||
|
"asp_gioco_offsides": 0.058,
|
||||||
|
"asp_teorica_offsides": 0.058,
|
||||||
|
"asp_statistica_total_shots": 1.201,
|
||||||
|
"asp_gioco_total_shots": 1.8,
|
||||||
|
"asp_teorica_total_shots": 1.6502500000000002,
|
||||||
|
"asp_statistica_shots_on_target": 0.474,
|
||||||
|
"asp_gioco_shots_on_target": 0.474,
|
||||||
|
"asp_teorica_shots_on_target": 0.474
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1597276,
|
||||||
|
"name": "Valente Pierani",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DC",
|
||||||
|
"somma_minuti": 150,
|
||||||
|
"asp_statistica_goals": 0.044,
|
||||||
|
"asp_gioco_goals": 0.044,
|
||||||
|
"asp_teorica_goals": 0.044,
|
||||||
|
"asp_statistica_cards": 0.195,
|
||||||
|
"asp_gioco_cards": 0.195,
|
||||||
|
"asp_teorica_cards": 0.195,
|
||||||
|
"asp_statistica_fouls": 0.959,
|
||||||
|
"asp_gioco_fouls": 0.959,
|
||||||
|
"asp_teorica_fouls": 0.959,
|
||||||
|
"asp_statistica_offsides": 0.036,
|
||||||
|
"asp_gioco_offsides": 0.036,
|
||||||
|
"asp_teorica_offsides": 0.036,
|
||||||
|
"asp_statistica_total_shots": 0.525,
|
||||||
|
"asp_gioco_total_shots": 0.525,
|
||||||
|
"asp_teorica_total_shots": 0.525,
|
||||||
|
"asp_statistica_shots_on_target": 0.263,
|
||||||
|
"asp_gioco_shots_on_target": 0.263,
|
||||||
|
"asp_teorica_shots_on_target": 0.263
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1818780,
|
||||||
|
"name": "Joaquin Pereyra",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "DR",
|
||||||
|
"somma_minuti": 144,
|
||||||
|
"asp_statistica_goals": 0.041,
|
||||||
|
"asp_gioco_goals": 0.041,
|
||||||
|
"asp_teorica_goals": 0.041,
|
||||||
|
"asp_statistica_cards": 0.192,
|
||||||
|
"asp_gioco_cards": 0.192,
|
||||||
|
"asp_teorica_cards": 0.192,
|
||||||
|
"asp_statistica_fouls": 1.097,
|
||||||
|
"asp_gioco_fouls": 1.097,
|
||||||
|
"asp_teorica_fouls": 1.097,
|
||||||
|
"asp_statistica_offsides": 0.063,
|
||||||
|
"asp_gioco_offsides": 0.063,
|
||||||
|
"asp_teorica_offsides": 0.063,
|
||||||
|
"asp_statistica_total_shots": 0.61,
|
||||||
|
"asp_gioco_total_shots": 0.61,
|
||||||
|
"asp_teorica_total_shots": 0.61,
|
||||||
|
"asp_statistica_shots_on_target": 0.271,
|
||||||
|
"asp_gioco_shots_on_target": 0.271,
|
||||||
|
"asp_teorica_shots_on_target": 0.271
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1836754,
|
||||||
|
"name": "Fabricio Pérez",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 0,
|
||||||
|
"pos": "LW",
|
||||||
|
"somma_minuti": 206,
|
||||||
|
"asp_statistica_goals": 0.233,
|
||||||
|
"asp_gioco_goals": 0.233,
|
||||||
|
"asp_teorica_goals": 0.233,
|
||||||
|
"asp_statistica_cards": 0.155,
|
||||||
|
"asp_gioco_cards": 0.4368932038834951,
|
||||||
|
"asp_teorica_cards": 0.36641990291262133,
|
||||||
|
"asp_statistica_fouls": 1.138,
|
||||||
|
"asp_gioco_fouls": 1.7475728155339805,
|
||||||
|
"asp_teorica_fouls": 1.5951796116504853,
|
||||||
|
"asp_statistica_offsides": 0.314,
|
||||||
|
"asp_gioco_offsides": 0.314,
|
||||||
|
"asp_teorica_offsides": 0.314,
|
||||||
|
"asp_statistica_total_shots": 2.114,
|
||||||
|
"asp_gioco_total_shots": 2.621359223300971,
|
||||||
|
"asp_teorica_total_shots": 2.494519417475728,
|
||||||
|
"asp_statistica_shots_on_target": 0.745,
|
||||||
|
"asp_gioco_shots_on_target": 1.3106796116504855,
|
||||||
|
"asp_teorica_shots_on_target": 1.1692597087378642
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1836758,
|
||||||
|
"name": "Joaquín Tobio Burgos",
|
||||||
|
"asp_team": 1.397473994819,
|
||||||
|
"asp_team_riferimento": 4.3321693839389,
|
||||||
|
"active": 1,
|
||||||
|
"pos": "LW",
|
||||||
|
"somma_minuti": 447,
|
||||||
|
"asp_statistica_goals": 0.233,
|
||||||
|
"asp_gioco_goals": 0.20134228187919462,
|
||||||
|
"asp_teorica_goals": 0.20925671140939597,
|
||||||
|
"asp_statistica_cards": 0.155,
|
||||||
|
"asp_gioco_cards": 0.155,
|
||||||
|
"asp_teorica_cards": 0.155,
|
||||||
|
"asp_statistica_fouls": 1.138,
|
||||||
|
"asp_gioco_fouls": 0.8053691275167785,
|
||||||
|
"asp_teorica_fouls": 0.8885268456375839,
|
||||||
|
"asp_statistica_offsides": 0.314,
|
||||||
|
"asp_gioco_offsides": 0.40268456375838924,
|
||||||
|
"asp_teorica_offsides": 0.38051342281879197,
|
||||||
|
"asp_statistica_total_shots": 2.114,
|
||||||
|
"asp_gioco_total_shots": 1.4093959731543624,
|
||||||
|
"asp_teorica_total_shots": 1.5855469798657718,
|
||||||
|
"asp_statistica_shots_on_target": 0.745,
|
||||||
|
"asp_gioco_shots_on_target": 1.2080536912751678,
|
||||||
|
"asp_teorica_shots_on_target": 1.0922902684563758
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -24,8 +24,8 @@
|
|||||||
</x-filament::modal>
|
</x-filament::modal>
|
||||||
<x-filament::button icon="phosphor-arrows-clockwise" tooltip="Clear all" wire:click="clearResultTable()" />
|
<x-filament::button icon="phosphor-arrows-clockwise" tooltip="Clear all" wire:click="clearResultTable()" />
|
||||||
<x-filament::button icon="phosphor-calculator" tooltip="Calculate" wire:click="calculateAspg(1)" />
|
<x-filament::button icon="phosphor-calculator" tooltip="Calculate" wire:click="calculateAspg(1)" />
|
||||||
<x-filament::button icon="phosphor-copy" tooltip="Copy results for pasting into a spread sheet"
|
<x-filament::button icon="phosphor-copy" color="success"
|
||||||
wire:click="copyResult()" />
|
tooltip="Copy results for pasting into a spread sheet" wire:click="copyResult()" />
|
||||||
<x-filament::button icon="phosphor-copy" color="warning" tooltip="Copy calculation variables"
|
<x-filament::button icon="phosphor-copy" color="warning" tooltip="Copy calculation variables"
|
||||||
wire:click="copyDevelopment()" />
|
wire:click="copyDevelopment()" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user