mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-05-03 17:53:26 +00:00
Add curricula status to gallery (#367)
* Add curricula status to gallery * lint
This commit is contained in:
parent
4006200132
commit
3e0254afea
1 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import textwrap
|
|||
from pathlib import Path
|
||||
|
||||
import reasoning_gym.code.bf
|
||||
from reasoning_gym.factory import DATASETS, create_dataset
|
||||
from reasoning_gym.factory import DATASETS, create_dataset, has_curriculum
|
||||
|
||||
|
||||
def generate_gallery() -> str:
|
||||
|
|
@ -20,7 +20,8 @@ def generate_gallery() -> str:
|
|||
for name in sorted(DATASETS.keys()):
|
||||
# Create anchor link
|
||||
anchor = name.replace(" ", "-").lower()
|
||||
content.append(f"- [{name}](#{anchor})\n")
|
||||
has_curr = "✅" if has_curriculum(name) else "❌"
|
||||
content.append(f"- [{name}](#{anchor}) {has_curr}\n")
|
||||
content.append("\n")
|
||||
|
||||
# Add examples for each dataset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue