(table_name: str, kv: Dict)
| 100 | |
| 101 | |
| 102 | def table_print(table_name: str, kv: Dict): |
| 103 | table = Table( |
| 104 | title=table_name, |
| 105 | show_header=True, |
| 106 | header_style="bold", |
| 107 | ) |
| 108 | for col_name in kv: |
| 109 | table.add_column(col_name) |
| 110 | |
| 111 | table.add_row(*[str(v) for v in kv.values()]) |
| 112 | rich.print(table) |
| 113 | |
| 114 | |
| 115 | def correctness_worker(task_id: str, samples: list, ctask: Dict, expected_output: Dict): |
no outgoing calls
no test coverage detected