Files
timmy-home/evennia_tools/training.py

20 lines
842 B
Python
Raw Normal View History

from pathlib import Path
WORLD_BASICS_STEPS = (
{"command": "look", "expected": ("Gate",)},
{"command": "enter", "expected": ("Courtyard",)},
{"command": "workshop", "expected": ("Workshop", "Workbench")},
{"command": "look", "expected": ("Workshop", "Workbench")},
{"command": "courtyard", "expected": ("Courtyard", "Map Table")},
{"command": "chapel", "expected": ("Chapel", "Prayer Wall")},
{"command": "look Book of the Soul", "expected": ("Book of the Soul", "doctrinal anchor")},
)
def example_trace_path(repo_root: str | Path) -> Path:
return Path(repo_root) / "training-data" / "evennia" / "examples" / "world-basics-trace.example.jsonl"
def example_eval_path(repo_root: str | Path) -> Path:
return Path(repo_root) / "training-data" / "evennia" / "examples" / "world-basics-eval.example.json"