This commit is contained in:
2026-11-10 16:34:01 +03:00
commit 3005cf6249
39 changed files with 50454 additions and 0 deletions
+193
View File
@@ -0,0 +1,193 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Качество данных по удобрениям</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
</head>
<body>
<div class="bg-orb bg-orb-a" aria-hidden="true"></div>
<div class="bg-orb bg-orb-b" aria-hidden="true"></div>
<nav class="site-nav" aria-label="Разделы анализа">
<a href="index.html">Портфель полей</a>
<a href="dates.html">Даты сева и уборки</a>
<a href="predecessor.html">Предшественник</a>
<a href="fertilizers.html">Удобрения</a>
<a class="active" href="fertilizer-quality.html">Качество удобрений</a>
</nav>
<header class="page-head">
<p class="eyebrow">Аудит данных · акты списания</p>
<h1>Можно ли использовать данные по удобрениям?</h1>
<p>
Выбросы доз NPK, пропуски д.в., неадекватные массы и покрытие по годам/культурам —
до факторного анализа влияния на урожайность.
</p>
</header>
<main>
<section class="heat-meta" id="kpiStrip"></section>
<section class="verdict" id="verdictBox"></section>
<section class="grid-2" style="margin-top:14px">
<article class="panel">
<header class="panel-h">
<h2>Статус строк</h2>
<p>ok / осторожно / исключить</p>
</header>
<div class="chart-box md"><canvas id="chartStatus"></canvas></div>
</article>
<article class="panel">
<header class="panel-h">
<h2>Частые флаги</h2>
<p>Доля строк с нарушением</p>
</header>
<div class="chart-box md"><canvas id="chartFlags"></canvas></div>
</article>
</section>
<section class="grid-2" style="margin-top:14px">
<article class="panel">
<header class="panel-h">
<h2>Распределение N, кг/га</h2>
<p>Гистограмма сезонных доз азота</p>
</header>
<div class="chart-box md"><canvas id="chartHistN"></canvas></div>
</article>
<article class="panel">
<header class="panel-h">
<h2>Распределение массы удобрений</h2>
<p>кг/га по актам (включая органику в сумме)</p>
</header>
<div class="chart-box md"><canvas id="chartHistMass"></canvas></div>
</article>
</section>
<section class="grid-2" style="margin-top:14px">
<article class="panel">
<header class="panel-h">
<h2>Качество по годам</h2>
<p>Доля exclude / caution / ok</p>
</header>
<div class="chart-box md"><canvas id="chartByYear"></canvas></div>
</article>
<article class="panel">
<header class="panel-h">
<h2>Качество по дивизионам</h2>
<p>Доля строк к исключению</p>
</header>
<div class="chart-box md"><canvas id="chartByDiv"></canvas></div>
</article>
</section>
<section class="panel" style="margin-top:14px">
<header class="panel-h">
<h2>Квантили NPK и массы</h2>
<p>p50 / p90 / p99 / max — где начинаются хвосты</p>
</header>
<div class="table-wrap">
<table id="tblQuant">
<thead>
<tr>
<th>Показатель</th>
<th>p50</th>
<th>p90</th>
<th>p99</th>
<th>max</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
<section class="panel" style="margin-top:14px">
<header class="panel-h">
<h2>Флаги и правило для анализа</h2>
<p>hard → exclude, warn → caution</p>
</header>
<div class="table-wrap">
<table id="tblFlags">
<thead>
<tr>
<th>Флаг</th>
<th>Строк</th>
<th>%</th>
<th>Тяжесть</th>
<th>Для анализа влияния</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
<section class="panel" style="margin-top:14px">
<header class="panel-h">
<h2>Топ культур по доле exclude</h2>
<p>Где данные хуже всего</p>
</header>
<div class="table-wrap" style="max-height: 360px">
<table id="tblCrop">
<thead>
<tr>
<th>Культура</th>
<th>Строк</th>
<th>ok %</th>
<th>caution %</th>
<th>exclude %</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
<section class="panel" style="margin-top:14px">
<header class="panel-h">
<h2>Примеры выбросов</h2>
<p id="exMeta">Худшие поле-годы по сумме флагов</p>
</header>
<div class="table-wrap" style="max-height: 480px">
<table id="tblExamples">
<thead>
<tr>
<th>Поле</th>
<th>Год</th>
<th>Культура</th>
<th>N</th>
<th>P</th>
<th>K</th>
<th>Масса</th>
<th>Акты</th>
<th>ц/га</th>
<th>Статус</th>
<th>Флаги</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
<section class="panel muted" style="margin-top:14px">
<header class="panel-h"><h2>Правила потолков</h2></header>
<ul class="notes-list" id="notesList"></ul>
</section>
</main>
<footer class="foot">
<p>Перегенерация: <code>npm run dashboard:fert-quality</code></p>
<p id="footMeta"></p>
</footer>
<script src="data/fertilizer-quality-data.js"></script>
<script src="fertilizer-quality-app.js"></script>
</body>
</html>