feat(demo-data): 합성 근로자 전체 문서 원본 적재 - #183
Draft
hywznn wants to merge 8 commits into
Draft
Conversation
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.
무엇을 변경했나요
LEGACY비누락 문서 67건의 원본을 실제 파일 저장소에 멱등 적재합니다.응웬반A에게 여권, 외국인등록증 앞·뒤·통합본, 고용허가서, 표준근로계약서, 취업활동기간 연장신청서, 통합신청서, 체류지 입증자료를 연결했습니다.DRAFT는 빈 원본이 아니라 모든 가용 필드가 채워진 미서명 초안입니다.왜 필요한가요
문서 메타데이터만 있고 원본 파일이 없거나, 파일 본문과 근로자 DB가 달라 Client 미리보기·다운로드·OCR 계보를 종단 간 검증할 수 없었습니다. 또한 초안 파일이 빈 양식이고 중앙 워터마크가 OCR 입력을 가려 실제 검토 시나리오를 재현하기 어려웠습니다. 이번 변경으로 영구 PostgreSQL과 로컬 영구 파일 볼륨에서 서로 일치하는 합성 데이터를 재현할 수 있습니다.
결과
DEMO_SEED43 +LEGACY83)REVIEW_REQUIRED, 원본 문서·파일 ID 연결모든 문서는 실제 개인정보와 공식 보안문양을 사용하지 않습니다. OCR 필드 밖의 고정
DEMO / NOT VALID표시와 비실재 번호를 유지합니다.검증
./gradlew test --no-daemon— 성공SyntheticDocumentGeneratorTest— OCR 필드 내 붉은 오버레이 픽셀 0 확인DEMO_DOCUMENT_DATA_COMMAND=import실행 후 126/109건 확인DEMO_DOCUMENT_DATA_COMMAND=verify성공UPCloses #182