Skip to content

[FIX] AI 보정 속기록 문장 앞에 발언 유형·진영 머리말이 붙는 문제 수정 - #291

Merged
coli-geonwoo merged 1 commit into
fix/#288-transcript-table-snapshotfrom
fix/#289-refine-prefix
Oct 24, 2026
Merged

coli-geonwoo merged 1 commit into
fix/#288-transcript-table-snapshotfrom
fix/#289-refine-prefix

Conversation

@coli-geonwoo

Copy link
Copy Markdown
Contributor

🚩 연관 이슈

closed #289

작업 내용

AI 보정을 거친 속기록 문장 앞에 입론 | 찬성: 같은 머리말이 붙어 저장됐습니다(예: 입론 | 찬성: 붕어빵이란 무엇입니까?). 보정 요청에서 각 줄을 [번호] 발언 유형 | 진영 화자: 문장으로 보냈는데, AI가 머리말까지 문장으로 돌려줬기 때문입니다.

  • 보정 요청에서 각 줄을 JSON 원소(index, speechType, team, speaker, text)로 보내 다듬을 대상이 text뿐임을 분명히 했습니다. 시스템 프롬프트에 "text에는 문장만 넣는다" 규칙을 추가했습니다.
  • AI가 그래도 [2] 입론 | 반대 비토: 처럼 머리말을 붙여 돌려주면 저장 전에 지웁니다.
  • 이미 저장된 기록은 바뀌지 않습니다. 다듬기 전 원문(raw_lines_json)은 보관돼 있습니다.

검증

  • "머리말을 붙여 돌려줘도 문장만 저장", "문장과 맥락을 JSON으로 나눠 보냄" 테스트를 먼저 실패시킨 뒤 구현했습니다.
  • ./gradlew test 655개 통과.
  • 로컬 실제 확인: 예전 녹음 원문 2건(RPC 8줄, Soniox 41줄)을 실제 OpenAI로 다시 보정해 머리말이 붙은 문장 0건을 확인했습니다.

🗣️ 리뷰 요구사항 (선택)

🤖 Generated with Claude Code

보정 요청에서 각 줄을 "[번호] 입론 | 찬성 화자: 문장"으로 보내 AI가 머리말까지 문장으로 돌려줬다.
문장과 맥락(발언 유형·진영·화자)을 JSON 필드로 나눠 보내고, 머리말이 붙어 오면 저장 전에 지운다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coli-geonwoo coli-geonwoo added the fix 기능 수정 label Oct 24, 2026
@coli-geonwoo coli-geonwoo self-assigned this Oct 24, 2026
@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 1
  • develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coli-geonwoo
coli-geonwoo merged commit 50ac0b0 into fix/#288-transcript-table-snapshot Oct 24, 2026
2 checks passed
@coli-geonwoo
coli-geonwoo deleted the fix/#289-refine-prefix branch October 24, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 기능 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant