replication_package
Generate structured replication packages for quantitative research by specifying required components like code, data, and documentation to ensure reproducibility.
Instructions
재현성 패키지 구조 가이드
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| journal | No | 목표 저널 | |
| components | Yes | 포함 요소 (code, data, readme, codebook) |
Implementation Reference
- src/tools/index.ts:1861-1871 (handler)The handler function implementing the 'replication_package' tool logic. It returns a predefined replication package folder structure based on the input components.function handleReplicationPackage(args: Record<string, unknown>) { return { components: args.components, structure: { code: "/code - Analysis scripts", data: "/data - Raw and processed data", output: "/output - Tables and figures", docs: "/docs - README, codebook" } }; }
- src/tools/index.ts:644-659 (registration)Registration of the 'replication_package' tool in the tools array, including its name, description, and input schema definition.{ name: "replication_package", description: "재현성 패키지 구조 가이드", inputSchema: { type: "object", properties: { journal: { type: "string", description: "목표 저널" }, components: { type: "array", items: { type: "string" }, description: "포함 요소 (code, data, readme, codebook)" }, }, required: ["components"], }, },
- src/tools/index.ts:647-658 (schema)Input schema definition for the 'replication_package' tool, specifying properties like journal and components, with components required.inputSchema: { type: "object", properties: { journal: { type: "string", description: "목표 저널" }, components: { type: "array", items: { type: "string" }, description: "포함 요소 (code, data, readme, codebook)" }, }, required: ["components"], },
- src/tools/index.ts:878-879 (registration)Dispatch case in the main handleToolCall function that routes calls to the replication_package handler.case "replication_package": return handleReplicationPackage(args);