(s)
| 299 | |
| 300 | |
| 301 | def remove_boxed(s): |
| 302 | left = "\\boxed{" |
| 303 | try: |
| 304 | assert s[:len(left)] == left |
| 305 | assert s[-1] == "}" |
| 306 | return s[len(left):-1] |
| 307 | except: |
| 308 | return None |
| 309 | |
| 310 | def _last_boxed_only_string(string): |
| 311 | idx = string.rfind("\\boxed") |
nothing calls this directly
no outgoing calls
no test coverage detected