31 lines
1.2 KiB
Bash
Executable File
31 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Playreel 롱컷 — 게이트 ①(fetch_confirm) 직전까지 돌린다.
|
|
# 사용: tests/run_playreel.sh <goods_id>
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
goods_id="${1:?사용: $0 <goods_id>}"
|
|
|
|
run() { echo; echo "── $1 ──"; shift; uv run python -m "$@"; }
|
|
|
|
run "① fetch" tests.playreel.test_fetch_nol "$goods_id"
|
|
run "② split" tests.playreel.test_split_detail "$goods_id"
|
|
run "②-부속 캐스트" tests.playreel.test_extract_cast "$goods_id"
|
|
|
|
cat <<EOF
|
|
|
|
══ 게이트 ① fetch_confirm — 사람이 정해야 이어진다 ══
|
|
확인할 것
|
|
meta.json 공연명·장소·기간이 맞는지
|
|
sections/_sheet.jpg 섹션 태그가 맞는지 (실측 7/9 일치라 육안 검수가 필요하다)
|
|
cast.json source 가 failed 면 출연진을 사람이 채워야 한다
|
|
|
|
승인 후 — 게이트 ②까지 간다
|
|
uv run python -m tests.playreel.test_upscale_poster "$goods_id"
|
|
uv run python -m tests.playreel.test_analyze_poster "$goods_id"
|
|
|
|
══ 게이트 ② analysis_confirm ══
|
|
analysis.json 의 movable 을 사람이 켜고 끈다. review_grid.jpg 로 요소를 지목한다.
|
|
ip_risk 가 켜져 있으면 생성 모델이 거부할 수 있다.
|
|
EOF
|