feat(tools): NewsDOM JSON 처리를 위한 validate_dom 및 export_html 도구 추가 - #298
feat(tools): NewsDOM JSON 처리를 위한 validate_dom 및 export_html 도구 추가#298seonghobae wants to merge 1 commit into
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
What (구현 내용)
ParseResponse스키마 기반으로 검증하는 CLI 도구tools/validate_dom.py를 추가했습니다.tools/export_html.py를 추가했습니다.tests/test_tools_validate_dom.py,tests/test_tools_export_html.py)를 작성했습니다.Why (해결하는 문제)
ParseResponse구조가 제대로 생성되었는지 독립적으로 검증할 수단이 부족하여, 파싱 결과물의 유효성을 빠르게 확인하기 어려웠습니다.Impact (성능/영향)
tools/패키지에 대한 100% 테스트 커버리지를 유지합니다.Measurement (측정/검증 방법)
uv run pytest --cov=tools --cov-report=term-missing명령어를 통해 커버리지 100%를 달성했음을 확인했습니다.uv run ruff format및uv run ruff check명령어로 코딩 컨벤션 위반이 없음을 검증했습니다.PR created automatically by Jules for task 7564294809414231963 started by @seonghobae