Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Zebra/Murdle/Einstein/Grid Style Puzzles #55

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

Miserlou
Copy link
Collaborator

@Miserlou Miserlou commented Feb 3, 2025

Ex:

This is a logic puzzle. There are 4 houses (numbered 1 on the left, 4 on the right), from the perspective of someone standing across the street from them. Each has a different person in them. They have different characteristics:
 

    Each person has a unique name: arnold, peter, alice, eric
    The people are of nationalities: norwegian, swede, dane, brit
    Everyone has something different for lunch: stew, pizza, spaghetti, grilled cheese
    Each person has a favorite color: white, red, yellow, green


    The Dane is in the third house.
    The Swedish person is in the second house.
    The person whose favorite color is red is Arnold.
    The person who loves yellow is Alice.
    Eric is in the fourth house.
    Alice and the person who loves white are next to each other.
    Arnold is in the first house.
    The Dane is the person who is a pizza lover.
    Peter is directly left of the person who loves the stew.
    The British person is the person who loves the spaghetti eater.

Puzzle generation from https://github.com/nouhadziri/faith-and-fate, hacked up slightly and added as contrib. Visualization code is unused but included in case it's useful in the future.

Oneshotted by DS-R1 in 120 seconds. Configurable difficulty with 'm' and 'k' parameters from 2 to 7.

Copy link
Contributor

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comments


def __init__(self, config: ZebraConfig):
self._prompt_templates = [
"What will this Game of Life board look like after {simulation_steps} steps of simulation?\n\n{board}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a leftover for Game of Life?

@andreaskoepf andreaskoepf merged commit 052d76d into open-thought:main Feb 3, 2025
3 checks passed
@andreaskoepf
Copy link
Contributor

Thank you very much, Rich!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants