(obs_text: str)
| 13 | |
| 14 | |
| 15 | def remove_caption(obs_text: str) -> str: |
| 16 | # Convert each "description: <caption (may contain ",")>, url: <url (may contain ])>]" to "url: <url (may contain ])>]" |
| 17 | return re.sub(r"description: (.*?), url: (.*?)]", r"url: \2]", obs_text) |
| 18 | |
| 19 | |
| 20 | def get_examples(traj_root): |
no outgoing calls
no test coverage detected