feat(Docker): Upgrade to PHP 8.5.0RC3 with native ext-uri support
BREAKING CHANGE: Requires PHP 8.5.0RC3 Changes: - Update Docker base image from php:8.4-fpm to php:8.5.0RC3-fpm - Enable ext-uri for native WHATWG URL parsing support - Update composer.json PHP requirement from ^8.4 to ^8.5 - Add ext-uri as required extension in composer.json - Move URL classes from Url.php85/ to Url/ directory (now compatible) - Remove temporary PHP 8.4 compatibility workarounds Benefits: - Native URL parsing with Uri\WhatWg\Url class - Better performance for URL operations - Future-proof with latest PHP features - Eliminates PHP version compatibility issues
This commit is contained in:
@@ -228,6 +228,123 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Confusion Matrices Section -->
|
||||
<div class="admin-card" if="{{ $has_confusion_matrices }}">
|
||||
<div class="admin-card__header">
|
||||
<h3 class="admin-card__title">Classification Performance (Confusion Matrices)</h3>
|
||||
</div>
|
||||
<div class="admin-card__content">
|
||||
<div class="admin-grid admin-grid--2-col">
|
||||
<div foreach="$confusion_matrices as $matrix" class="confusion-matrix-card">
|
||||
<h4 class="confusion-matrix-card__title">{{ $matrix['model_name'] }} v{{ $matrix['version'] }}</h4>
|
||||
|
||||
<div class="confusion-matrix">
|
||||
<div class="confusion-matrix__grid">
|
||||
<!-- True Positive -->
|
||||
<div class="confusion-matrix__cell confusion-matrix__cell--tp">
|
||||
<div class="confusion-matrix__cell-label">True Positive</div>
|
||||
<div class="confusion-matrix__cell-value">{{ $matrix['true_positives'] }}</div>
|
||||
</div>
|
||||
|
||||
<!-- False Positive -->
|
||||
<div class="confusion-matrix__cell confusion-matrix__cell--fp">
|
||||
<div class="confusion-matrix__cell-label">False Positive</div>
|
||||
<div class="confusion-matrix__cell-value">{{ $matrix['false_positives'] }}</div>
|
||||
</div>
|
||||
|
||||
<!-- False Negative -->
|
||||
<div class="confusion-matrix__cell confusion-matrix__cell--fn">
|
||||
<div class="confusion-matrix__cell-label">False Negative</div>
|
||||
<div class="confusion-matrix__cell-value">{{ $matrix['false_negatives'] }}</div>
|
||||
</div>
|
||||
|
||||
<!-- True Negative -->
|
||||
<div class="confusion-matrix__cell confusion-matrix__cell--tn">
|
||||
<div class="confusion-matrix__cell-label">True Negative</div>
|
||||
<div class="confusion-matrix__cell-value">{{ $matrix['true_negatives'] }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="confusion-matrix__rates">
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">False Positive Rate</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<span class="admin-badge admin-badge--{{ $matrix['fp_rate_badge'] }}">
|
||||
{{ $matrix['fp_rate_percent'] }}%
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">False Negative Rate</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<span class="admin-badge admin-badge--{{ $matrix['fn_rate_badge'] }}">
|
||||
{{ $matrix['fn_rate_percent'] }}%
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Model Registry Summary -->
|
||||
<div class="admin-card" if="{{ $has_registry_summary }}">
|
||||
<div class="admin-card__header">
|
||||
<h3 class="admin-card__title">Model Registry Summary</h3>
|
||||
</div>
|
||||
<div class="admin-card__content">
|
||||
<div class="admin-grid admin-grid--3-col">
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">Total Versions</span>
|
||||
<span class="admin-stat-item__value">{{ $registry_total_versions }}</span>
|
||||
</div>
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">Production Models</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<span class="admin-badge admin-badge--success">{{ $registry_production_count }}</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">Development Models</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<span class="admin-badge admin-badge--info">{{ $registry_development_count }}</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-table-container">
|
||||
<table class="admin-table admin-table--compact">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Model Name</th>
|
||||
<th>Total Versions</th>
|
||||
<th>Type</th>
|
||||
<th>Latest Version</th>
|
||||
<th>Environment</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr foreach="$registry_models as $regModel">
|
||||
<td><strong>{{ $regModel['model_name'] }}</strong></td>
|
||||
<td>{{ $regModel['version_count'] }}</td>
|
||||
<td>
|
||||
<span class="admin-badge admin-badge--info">{{ $regModel['type'] }}</span>
|
||||
</td>
|
||||
<td><code>{{ $regModel['latest_version'] }}</code></td>
|
||||
<td>
|
||||
<span class="admin-badge admin-badge--{{ $regModel['environment'] === 'production' ? 'success' : 'info' }}">
|
||||
{{ $regModel['environment'] }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- API Information Card -->
|
||||
<div class="admin-card">
|
||||
<div class="admin-card__header">
|
||||
@@ -247,6 +364,18 @@
|
||||
<code>GET {{ $api_health_url }}</code>
|
||||
</span>
|
||||
</div>
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">Confusion Matrices</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<code>GET /api/ml/dashboard/confusion-matrices</code>
|
||||
</span>
|
||||
</div>
|
||||
<div class="admin-stat-item">
|
||||
<span class="admin-stat-item__label">Registry Summary</span>
|
||||
<span class="admin-stat-item__value">
|
||||
<code>GET /api/ml/dashboard/registry-summary</code>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user