mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-05-02 17:45:58 +00:00
Correct string formatting
This commit is contained in:
parent
39ca150f2b
commit
c018e3697a
1 changed files with 4 additions and 4 deletions
|
|
@ -103,12 +103,12 @@ class FutoshikiDataset(ProceduralDataset):
|
|||
if r1 == r2: # horizontal
|
||||
return ">"
|
||||
else: # vertical
|
||||
return "\u2227"
|
||||
return "\u2228"
|
||||
elif sign == "<": # first is smaller
|
||||
if r1 == r2: # horizontal
|
||||
return "<"
|
||||
else:
|
||||
return "\u2228"
|
||||
return "\u2227"
|
||||
else:
|
||||
# reversed order in the dictionary -> invert the sign
|
||||
key = ((r2, c2), (r1, c1))
|
||||
|
|
@ -117,12 +117,12 @@ class FutoshikiDataset(ProceduralDataset):
|
|||
if r1 == r2:
|
||||
return "<"
|
||||
else:
|
||||
return "\u2228"
|
||||
return "\u2227"
|
||||
elif sign == "<":
|
||||
if r1 == r2:
|
||||
return ">"
|
||||
else:
|
||||
return "\u2227"
|
||||
return "\u2228"
|
||||
return None
|
||||
|
||||
lines = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue