(code, input_list)
| 6 | |
| 7 | |
| 8 | def execute(code, input_list) -> bool: |
| 9 | try: |
| 10 | trusted_exec(code, [input_list], entry_point) |
| 11 | except Exception as e: |
| 12 | assert str(e) == "invalid inputs" |
| 13 | return False |
| 14 | return True |
| 15 | |
| 16 | |
| 17 | def write(new_input_dict): |
no test coverage detected