Files
mtusi2026lab5/.agents/skills/lab5-bench/SKILL.md
T

31 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: lab5-bench
description: Load measurements of lab 5 for grade 5, track 1 "queue under overload" — worker concurrency/prefetch settings on small, large and huge-pixel images (profile queue), with throughput, queue lag, p95 time-to-ready, worker memory, backpressure (429 at the backlog limit) and recovery. Use when asked to run benchmarks, make bench-queue (or bench-queue-quick), or fill REPORT.md with measured numbers and the outcomes of hypotheses Q1–Q5.
---
# Замеры лабы 5 (трек 1)
Сначала прочитай целиком (`cat`): **`bench/RUNBOOK.md`** (порядок шагов),
`bench/AGENTS.md` (правила стенда), корневой `AGENTS.md` (разделы 2,
8–11 действуют всегда).
Коротко:
1. Шаг 0 RUNBOOK: ресурсы ВМ Docker, самопроверки разбора
(`bench/queue.py --selftest` и остальные), `make test-isolated`,
`make failure-checks`, `make stop`, самопроверка `make bench-queue-quick`.
Остановка и отчёт пользователю.
2. Трек 1: `make bench-queue` → `evidence/queue/baseline/`; таблицы
классов и итоги Q1–Q5 из `summary.md` — в `REPORT.md`.
3. Последний шаг RUNBOOK: строки `TODO (Codex)` в `REPORT.md`, раздел
«Железо и стенд замеров», `make lint`, `make check`, `make
test-isolated`, уборка `vlad-bench*`.
Нельзя: переписывать гипотезы и пороги после замеров, менять код
приложения или профиль ради результата, править файлы меток руками,
перезаписывать или удалять каталоги меток без согласия, считать числа
вручную вместо `summary.md`. Долгое — в фоне с журналом (`nohup make … >
/tmp/bench-*.log 2>&1 &`), docker — вне sandbox с одобрения
пользователя. `aborted`, `host_warnings`, упавшие проверки — остановиться
и сказать пользователю.