/**
 * Automated Program Repair (APR) Types
 *
 * Defines types for advanced program repair based on research from:
 * - ITER (arXiv 2403.00418) - Iterative template repair
 * - AgentCoder (Huang et al., 2023) - Test-driven repair
 * - RepairAgent (ICSE 2024) - LLM-guided repair
 */
/**
 * Default configuration
 */
export const DEFAULT_REPAIR_CONFIG = {
    maxCandidates: 10,
    maxIterations: 5,
    timeout: 120000, // 2 minutes
    strategies: [
        "add_null_check",
        "fix_off_by_one",
        "fix_operator",
        "fix_type",
        "add_missing_return",
        "fix_method_call",
        "llm_generated",
    ],
    useLLM: true,
    useTemplates: true,
    useSearchBased: false,
    validateWithTests: true,
    parallelValidation: false,
    learningEnabled: true,
    faultLocalization: {
        metric: "ochiai",
        threshold: 0.3,
        maxStatements: 20,
        useStackTrace: true,
        useStaticAnalysis: true,
    },
};
//# sourceMappingURL=types.js.map