7 — Т2302 — ебедев — на 5

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