ЛР 6 — БВТ2302 — Лебедев — на 5

This commit is contained in:
2026-11-22 23:19:26 +03:00
parent 470d9d6f1e
commit 90508e41e9
148 changed files with 19332 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
# 2026-11-21T19:21:17Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ dc run --rm --no-deps -T -v /home/claude/work6/mtusi2026lab6/student-tests:/app/student-tests:ro --entrypoint python worker student-tests/test_imgproc.py
Container mtusi-lab6-worker-run-9cf4e4401d71 Creating
Container mtusi-lab6-worker-run-9cf4e4401d71 Created
PASS fixture 320×200 → thumbnail 256×160, crop 128×128, optimized WebP 320×200 0.81s
PASS rounding down and minimum 1 px: 3000×10 → 256×1, 1280×4 0.26s
PASS EXIF orientation 6 applied (400×200 stored → 128×256); orientation tag not copied 0.26s
PASS alpha composited on white for JPEG variants; WebP keeps alpha 0.26s
PASS metadata removed: EXIF/XMP/ICC of the source are not in any variant 0.29s
PASS deterministic output (same bytes on re-run) — basis of idempotent effect; v2 differs 0.98s
PASS limits: pixels by header (413-class), memory (RLIMIT_AS), undecodable → permanent 0.78s too_large / resource_limit / invalid_image
PASS worker wall-clock timeout kills the subprocess → transient (retry), not a hang 0.25s killed after 0.05s; undecodable → Permanent(invalid_image)
summary: 8 passed, 0 failed
exit=0