refactor: Clarify word ladder question

This commit is contained in:
Cavit Erginsoy 2025-02-01 14:27:06 +00:00
parent 893ef97c2e
commit fce0c4fa3f

View file

@ -193,7 +193,7 @@ class WordLadderDataset(ProceduralDataset):
start, end, path = self._generate_word_pair(rng, length)
return {
"question": f"Transform the word '{start}' into '{end}' by changing one letter at a time. Each step must create a valid English word (including plurals) and keep the same word length. Show the sequence of words needed.",
"question": f"Transform the word ladder '{start}' to '{end}' by changing one letter at a time.",
"answer": ",".join(path),
"metadata": {
"start_word": start,