fix 0 pixel gate, fallback cursur halutination, comment halutination
This commit is contained in:
1 parent
a2543e19d4
commit
364616ec0f
9 files changed
+286
-82
No files matched your search
@@ -141,12 +141,15 @@ def final_checks(task: PlayreelTask) -> list[dict]:
|
||||
playreel에는 그 단계가 없어 검사 자체가 돌지 않는다.
|
||||
"""
|
||||
plan = LongcutPlan.model_validate(task.scene_plan or {"scenes": []})
|
||||
scroll_tags = {scene.tag for scene in plan.scenes if scene.kind == "scroll"}
|
||||
scrolls = [scene for scene in plan.scenes if scene.kind == "scroll"]
|
||||
scroll_tags = {scene.tag for scene in scrolls}
|
||||
return [
|
||||
{"key": "hybrid", "label": "원본 글자 합성",
|
||||
"ok": bool(task.hybrid_clip_url)},
|
||||
# 씬 종류가 scroll이라고 적힌 것만으로는 부족하다 — 실제로 훑은 거리를 본다.
|
||||
# 조각이 화면보다 짧아 한 픽셀도 안 움직인 채 통과한 적이 있다
|
||||
{"key": "scroll", "label": "상세페이지 스크롤",
|
||||
"ok": any(scene.kind == "scroll" for scene in plan.scenes)},
|
||||
"ok": any((scene.y1 or 0.0) > (scene.y0 or 0.0) for scene in scrolls)},
|
||||
{"key": "schedule", "label": "캐스팅 스케줄 포함",
|
||||
"ok": REQUIRED_SECTION_TAG in scroll_tags},
|
||||
{"key": "bgm", "label": "배경음악",
|
||||
|
||||
Reference in new issue
Block a user