(self, task_name)
| 162 | |
| 163 | class DCG(TaskHandler): |
| 164 | def match(self, task_name) -> bool: |
| 165 | task_name = task_name.lower() |
| 166 | return ( |
| 167 | "card" in task_name |
| 168 | or task_name.startswith("cg") |
| 169 | or task_name.startswith("dcg") |
| 170 | ) |
| 171 | |
| 172 | def get_main_metric(self, overall_result): |
| 173 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected