File size: 334 Bytes
29cdc9d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
class TemplateFactory:
    @staticmethod
    def get_secure_template(task_type):
        templates = {
            "audit": "import os\n# Structural Audit Script\nprint('Auditing directory...')\n",
            "fix": "def repair_module(path):\n    pass\n"
        }
        return templates.get(task_type, "# Default template\npass")