reviewer_response
Generate structured responses to reviewer critiques on statistical methods, addressing issues like endogeneity, measurement, and robustness with data constraints.
Instructions
리뷰어 통계 지적 대응 가이드
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"critique_type": "<critique_type>",
"current_method": "<current_method>"
},
"name": "reviewer_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| critique_type | Yes | 지적 유형 | |
| current_method | Yes | 현재 사용 방법 | |
| data_constraints | No | 데이터 제약 |
Implementation Reference
- src/tools/index.ts:661-675 (registration)Registration of the 'reviewer_response' tool including name, description, and input schema.
name: "reviewer_response", description: "리뷰어 통계 지적 대응 가이드", inputSchema: { type: "object", properties: { critique_type: { type: "string", enum: ["endogeneity", "selection", "measurement", "robustness", "sample_size", "identification"], description: "지적 유형" }, current_method: { type: "string", description: "현재 사용 방법" }, data_constraints: { type: "string", description: "데이터 제약" }, }, required: ["critique_type", "current_method"], }, - src/tools/index.ts:1873-1890 (handler)The main handler function that executes the 'reviewer_response' tool, providing predefined response templates for reviewer critiques based on critique type.
function handleReviewerResponse(args: Record<string, unknown>) { const critiqueType = args.critique_type as string; const responses: Record<string, any> = { endogeneity: { options: ["IV/2SLS", "Control function", "Selection model", "Bounds analysis"], template: "We address endogeneity concerns by [method]. Results remain robust..." }, selection: { options: ["Heckman selection", "PSM", "Bounds", "Placebo tests"], template: "Selection concerns are addressed through [method]..." } }; return { critique_type: critiqueType, response_guide: responses[critiqueType] || { message: "Response template not found" } }; } - src/tools/index.ts:880-881 (registration)Tool registration in the main handleToolCall switch statement, dispatching to the handler.
case "reviewer_response": return handleReviewerResponse(args);