analyze_code_submission_programmers
Analyze user-submitted code for Programmers problems to generate tailored feedback, hints, debugging insights, or code reviews based on the selected analysis type.
Instructions
프로그래머스 문제에 대한 사용자 코드를 분석하여 피드백을 제공합니다.
문제 본문과 사용자 코드를 결합하여 LLM 분석용 프롬프트를 생성합니다.
분석 타입:
full: 전체 분석 (정확성, 복잡도, 개선점)
hint: 힌트 제공 (핵심 개념, 접근 방법)
debug: 디버깅 (에러 원인, 로직 오류)
review: 코드 리뷰 (스타일, 가독성)
응답 구조: problemInfo, codeMetadata, analysisPrompts, suggestedQuestions
지원 언어: Python, C++, JavaScript, Java, Go
⚠️ 플랫폼 판별: 문제 번호만 입력된 경우 대화 맥락에서 플랫폼을 파악하거나, 맥락이 없으면 반드시 BOJ/프로그래머스 중 어느 플랫폼인지 사용자에게 확인 후 호출하세요.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 분석할 사용자 코드 | |
| language | Yes | 프로그래밍 언어 | |
| problem_id | Yes | 프로그래머스 문제 ID 또는 URL | |
| analysis_type | No | 분석 타입 (기본값: full) | full |