add bitacora page, self-hosted fonts/icons, review fixes for the install package
This commit is contained in:
@@ -58,18 +58,23 @@
|
||||
|
||||
<section aria-labelledby="cohort-title">
|
||||
<h3 id="cohort-title">Cohorte de entrenamiento</h3>
|
||||
@if (l.cohort_version; as cohort) {
|
||||
@if (l.cohorte_armado; as armado) {
|
||||
<p>
|
||||
{{ cohort.domain }} · {{ cohort.scenario }} · criterio {{ cohort.criteria_version }} ·
|
||||
{{ cohort.n_included | number }} de {{ cohort.n_source | number }} episodios
|
||||
{{ armado.url }} · versión {{ armado.version }} · {{ armado.n_miembros | number }} miembros ·
|
||||
datos al {{ armado.datos_as_of | date: 'mediumDate' }}
|
||||
</p>
|
||||
<p class="hash" [matTooltip]="cohort.version_hash">hash {{ cohort.version_hash.slice(0, 16) }}…</p>
|
||||
@if (l.cohort_exclusions.length) {
|
||||
<ul class="exclusions">
|
||||
@for (count of l.cohort_exclusions; track count.cohort_exclusion_count_id) {
|
||||
<li>{{ count.criterion_code }} ({{ count.reason_code }}): {{ count.count | number }} excluidos</li>
|
||||
}
|
||||
</ul>
|
||||
<p class="hash" [matTooltip]="armado.huella">huella {{ armado.huella.slice(0, 12) }}… · armado {{ armado.armado_id }}</p>
|
||||
@if (l.cohorte_exclusiones.length) {
|
||||
<table class="exclusions">
|
||||
<thead>
|
||||
<tr><th>#</th><th>Paso</th><th>Quedan</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (paso of l.cohorte_exclusiones; track paso.orden) {
|
||||
<tr><td>{{ paso.orden }}</td><td>{{ paso.paso }}</td><td>{{ paso.n | number }}</td></tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
} @else {
|
||||
<p class="muted">Sin cohorte enlazada.</p>
|
||||
|
||||
@@ -49,8 +49,7 @@
|
||||
}
|
||||
|
||||
.checks,
|
||||
.artifacts,
|
||||
.exclusions {
|
||||
.artifacts {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
@@ -111,3 +110,19 @@
|
||||
justify-self: start;
|
||||
}
|
||||
}
|
||||
|
||||
.exclusions {
|
||||
border-collapse: collapse;
|
||||
font-size: 0.875rem;
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: var(--space-1) var(--space-2);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
td:last-child,
|
||||
th:last-child {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ export const ARTIFACT_KINDS: { id: string; label: string }[] = [
|
||||
];
|
||||
|
||||
/**
|
||||
* One model version: what it was trained on (cohort hash and exclusions),
|
||||
* One model version: what it was trained on (the kit's cohort build and its attrition),
|
||||
* its artifacts and their integrity, its validation reports, and the
|
||||
* checklist that must pass before it can serve predictions. Closes with
|
||||
* `true` when the version changed.
|
||||
|
||||
Reference in New Issue
Block a user