Method
get_inspect
(self, program_text: str, incremental_step: int)
Source from the content-addressed store, hash-verified
| 365 | return m |
| 366 | |
| 367 | def get_inspect(self, program_text: str, incremental_step: int) -> list[tuple[str, str]]: |
| 368 | step_bit = "1?" if incremental_step == 1 else str(incremental_step) |
| 369 | regex = f"# inspect{step_bit}: (--[a-zA-Z0-9_\\-=?^ ]+ )*([a-zA-Z0-9_.:/?^ ]+)$" |
| 370 | m = re.findall(regex, program_text, flags=re.MULTILINE) |
| 371 | return m |
| 372 | |
| 373 | |
| 374 | def normalize_messages(messages: list[str]) -> list[str]: |
Tested by
no test coverage detected