Implement summary and tag validation logic#16
Open
imyeyun wants to merge 2 commits into
Open
Conversation
jih0-kim
reviewed
May 17, 2026
Comment on lines
+19
to
+21
| options: | ||
| - report | ||
| - strict |
Member
There was a problem hiding this comment.
이 옵션을 사용하는 게 어떤 의미인지 알 수 있을까요? 각 옵션별로 어떻게 동작하는지 궁금합니다.
| if: github.event_name == 'pull_request' && steps.changed-ids.outputs.entry_ids == '' | ||
| run: | | ||
| mkdir -p reports | ||
| cat <<'EOF' > reports/llm_validation_report.json |
Member
There was a problem hiding this comment.
EOF 앞뒤에 따옴표가 붙으면 뒤에 이어지는 코드에서 변수 치환이 제대로 되지 않는 것으로 보여, 확인 부탁드립니다.
66L도 같이 확인 부탁드려요.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이슈 : #7
구현 내용
실행 방법
1) GitHub Actions에서 실행
워크플로우 파일: .github/workflows/llm-metadata-validation.yml
동작 방식:
pull_request 이벤트에서 data/*.yaml 변경 시 실행
PR에서는 diff 기준으로 신규 추가된 id만 추출하여 검증
신규 추가 id가 없으면 스킵 리포트 생성
schedule, workflow_dispatch에서는 전체 또는 지정 모드로 실행
2) 로컬 실행
3) 특정 엔트리만 실행
실행 결과
PR에서 신규로 추가된 데이터가 있을 경우: 해당 ID만 검증 리포트 생성
PR에서 신규 추가 데이터가 없을 경우: 스킵 상태 리포트 생성
검증 시 영어/한국어 요약문 모두 근거 기반으로 판단
reason은 한국어로 반환
테스트 실행 방법 및 결과
테스트 실행
pytest -q tests/test_validate_llm_metadata.py테스트 결과
11 passed in 0.21s