| 98 | return self.config.workflow |
| 99 | |
| 100 | def _benchmark_context(self) -> str: |
| 101 | if self.benchmark is None: |
| 102 | return "" |
| 103 | |
| 104 | lines: list[str] = [] |
| 105 | if self.benchmark.name: |
| 106 | lines.append(f"- Benchmark: {self.benchmark.name}") |
| 107 | if self.benchmark.category: |
| 108 | lines.append(f"- Category: {self.benchmark.category}") |
| 109 | if self.benchmark.difficulty: |
| 110 | lines.append(f"- Difficulty: {self.benchmark.difficulty}") |
| 111 | if self.benchmark.description: |
| 112 | lines.append(f"- Description: {self.benchmark.description}") |
| 113 | if self.benchmark.references: |
| 114 | lines.append(f"- References: {', '.join(self.benchmark.references)}") |
| 115 | return "\n".join(lines) |