{"id":"refactoring-to-generalize-operationalizes-template-method-discovery","text":"Template Method's 'refactoring to generalize' technique (identify differences in similar code, separate into new operations, replace with template method calls) operationalizes the discovery path for Template Method instances: rather than imposing the pattern top-down, Template Method can be extracted bottom-up from existing code duplication, connecting Template Method to the GoF's broader claim that patterns capture structures that result from refactoring.","truth_value":"OUT","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["gof-template-method-refactoring-to-generalize","gof-patterns-as-refactoring-targets"],"outlist":[],"label":"Template Method's refactoring-to-generalize technique concretely instantiates patterns-as-refactoring-targets"}],"dependents":[],"metadata":{"source_type":"derived","review_result":"pass","_retracted":true},"created_at":"2026-06-18T01:48:11+00:00","updated_at":"2026-06-18T03:52:17+00:00","reviewed_at":"2026-06-18T03:27:41+00:00","verified_at":"","retracted_at":"2026-06-18T03:52:17+00:00","explanation":{"steps":[{"node":"refactoring-to-generalize-operationalizes-template-method-discovery","truth_value":"OUT","reason":"SL justification invalid","failed_antecedents":[],"label":"Template Method's refactoring-to-generalize technique concretely instantiates patterns-as-refactoring-targets"}]}}