(s)
| 53 | |
| 54 | |
| 55 | def remove_boxed(s): |
| 56 | left = "\\boxed{" |
| 57 | try: |
| 58 | assert s[:len(left)] == left |
| 59 | assert s[-1] == "}" |
| 60 | return s[len(left):-1] |
| 61 | except: |
| 62 | return None |
| 63 | |
| 64 | def _last_boxed_only_string(string): |
| 65 | idx = string.rfind("\\boxed") |
nothing calls this directly
no outgoing calls
no test coverage detected