mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
Restructure {reasoning_gym, tests}/{core, exercises, curricula}
This commit is contained in:
parent
8b0f634f4c
commit
10dbb374b0
110 changed files with 0 additions and 0 deletions
|
|
@ -1,14 +0,0 @@
|
|||
def minify(code):
|
||||
old_code = ""
|
||||
|
||||
while old_code != code:
|
||||
old_code = code
|
||||
|
||||
code = code.replace("><", "")
|
||||
code = code.replace("<>", "")
|
||||
code = code.replace("+-", "")
|
||||
code = code.replace("-+", "")
|
||||
|
||||
code = code.replace("][-]", "]")
|
||||
|
||||
return code
|
||||
Loading…
Add table
Add a link
Reference in a new issue