Analytique / Précision des données

Exporter (XLSX)
{{-- Heatmap MDA moyen : question standard × produit traceur --}}
Heatmap MDA moyen · Question standard × Produit traceur
Seuil {{ $threshold }}% - rouge = écart critique
@if (empty($this->tracerHeatmap['sub_criteria']))

Aucune donnée de précision pour le filtre courant.

@else @foreach ($this->tracerHeatmap['tracer_products'] as $tpName) @endforeach @foreach ($this->tracerHeatmap['sub_criteria'] as $i => $scLabel) @foreach ($this->tracerHeatmap['matrix'][$i] as $cell) @if ($cell === null) @else @php $c = $cell['mda'] <= $threshold ? 'success' : ($cell['mda'] <= $threshold * 2 ? 'warning' : 'danger'); @endphp @endif @endforeach @endforeach
Question standard{{ $tpName }}
{{ $scLabel }}- {{ $cell['mda'] }}%
@endif
MDA moyenne par sous-critère
Seuil : {{ $threshold }}%
@if (empty($this->mdaRows))

Aucune donnée pour ces filtres.

@else @foreach ($this->mdaRows as $row) @endforeach
Sous-critère N MDA Score
{{ $row['sub']->label }} {{ $row['count'] }} {{ $row['avg_mda'] }}% {{ $row['avg_score'] }}
@endif
Écarts détaillés (top MDA)
{{ $this->answers->total() }} réponses
@forelse ($this->answers as $a) @empty @endforelse
FS · Campagne Question Transmise Observée Écart Score
{{ $a->participant?->survey?->structure?->name ?? '-' }}
{{ $a->participant?->survey?->campaign?->name ?? '-' }}
{{ \Illuminate\Support\Str::limit($a->question?->wording ?? '-', 80) }}
{{ $a->question?->subCriterion?->label }}
{{ $a->reported_value }} {{ $a->observed_value }} {{ number_format((float) $a->absolute_difference, 1) }}% {{ $a->score }}
Aucune réponse de précision pour ces filtres.