ensure arbitrary bit depth and signed values

This commit is contained in:
Rich Jones 2025-02-21 16:52:26 +01:00
parent b6c7ceabb2
commit c1b26cf184

View file

@ -123,7 +123,7 @@ class BitwiseArithmeticDataset(ProceduralDataset):
rng,
self.config.difficulty,
)
problem_str = f"Please solve this problem. Reply only with the final hexidecimal value.\n" + problem
problem_str = f"Please solve this problem. Assume there is arbitrary bit depth and that there are signed integers. Reply only with the final hexidecimal value.\n" + problem
return {"question": problem_str, "answer": answer, "metadata": {"problem": problem}}