(self)
| 32 | f.write(json.dumps(self.templates, sort_keys=True, indent=4, separators=(',', ': '))) |
| 33 | |
| 34 | def print_templates(self): |
| 35 | for name in self.templates: |
| 36 | print(f"=============================Template Name: {name}============================") |
| 37 | for i, r in enumerate(self.templates[name]): |
| 38 | print(f"===========Round: {i}==========") |
| 39 | print("demo:") |
| 40 | print(r["demo"]) |
| 41 | print("instruction:") |
| 42 | print(r["instruction"]) |
| 43 | |
| 44 | def round_exist(self, rd, name): |
| 45 | if name == "base": |
nothing calls this directly
no outgoing calls
no test coverage detected