{"id":25303549,"url":"https://github.com/brendanbignell/riddlegenerator","last_synced_at":"2025-04-07T02:31:22.849Z","repository":{"id":275583997,"uuid":"923476353","full_name":"brendanbignell/RiddleGenerator","owner":"brendanbignell","description":"Riddle generation and solving competition amongst multiple LLMs","archived":false,"fork":false,"pushed_at":"2025-02-04T10:47:20.000Z","size":19975,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T07:37:26.371Z","etag":null,"topics":["cursor","llm","python","riddle"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brendanbignell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-28T10:13:19.000Z","updated_at":"2025-02-04T10:47:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"516f6370-23ca-4ea4-a1c8-bcfaa4e24159","html_url":"https://github.com/brendanbignell/RiddleGenerator","commit_stats":null,"previous_names":["brendanbignell/riddlegenerator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanbignell%2FRiddleGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanbignell%2FRiddleGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanbignell%2FRiddleGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanbignell%2FRiddleGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brendanbignell","download_url":"https://codeload.github.com/brendanbignell/RiddleGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247581442,"owners_count":20961774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cursor","llm","python","riddle"],"created_at":"2025-02-13T07:36:42.567Z","updated_at":"2025-04-07T02:31:22.836Z","avatar_url":"https://github.com/brendanbignell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Riddle generation and solving competition amongst multiple LLMs\nTest using Cursor.AI as a development environment.  \nA simple project to test used different LLMs together in a colaborative fashion.  \n\nGenerate riddles using multiple LLMs and test which LLM is the best at solving riddles.\n\nYou can install all dependencies with:\n      `pip install -r requirements.txt`\n\nMake sure you have your API keys set in your environment variables:\n\n`OPENAI_API_KEY=your_key_here`\n\n`ANTHROPIC_API_KEY=your_key_here`\n\n`GROQ_API_KEY=your_key_here`\n\n`GOOGLE_API_KEY=your_key_here`\n\n## Example output:\n\n`python run_competition.py`\n\n=== groq is asking riddles ===  \n\nRound 1  \nRiddle: In the heart of darkness, I shine bright. I'm not a flame, though I can be warm. I can be a beacon, but I'm not a light. What am I?  \nCorrect Answer: A Star  \nopenai answered: A star.  \ngoogle answered: Hope  \nanthropic answered: Hope  \n\nRound 2  \nRiddle: What is 6 x 9 - 3?  \nCorrect Answer: 51  \nSolution: 6 x 9 = 54, then subtract 3 to get 51  \nopenai answered: 51  \ngoogle answered: 45  \nanthropic answered: 51  \n\n=== openai is asking riddles ===  \n\nRound 1  \nRiddle: I can be cracked, made, told, and played. What am I?  \nCorrect Answer: A joke  \ngroq answered: Joke.  \ngoogle answered: Joke  \nanthropic answered: A joke  \n\nRound 2  \nRiddle: What is 15 + 27?  \nCorrect Answer: 42  \nSolution: Add the two numbers together: 15 + 27 = 42.  \ngroq answered: 42  \ngoogle answered: 42  \nanthropic answered: 42  \n\n=== google is asking riddles ===  \n\nRound 1  \nAttempt 1: Generated similar riddle, trying again...  \nRiddle: What is always coming, but never arrives?  \nCorrect Answer: Tomorrow  \ngroq answered: Tomorrow.  \nopenai answered: Tomorrow.  \nanthropic answered: Tomorrow  \n\nRound 2  \nRiddle: What is 234 + 109?  \nCorrect Answer: 343  \nSolution: Add the ones place: 4 + 9 = 13. Carry the 1 and add the tens place: 3 + 0 + 1 = 4. Add the hundreds place: 2 + 1 = 3.  \ngroq answered: 343  \nopenai answered: 343  \nanthropic answered: 343  \n\n=== anthropic is asking riddles ===  \n\nRound 1  \nRiddle: I have cities, but no houses. I have mountains, but no trees. I have water, but no fish. What am I?  \nCorrect Answer: map  \ngroq answered: A map.  \nopenai answered: A map.  \ngoogle answered: A map  \n\nRound 2  \nRiddle: What is 17 × 6 + 23?  \nCorrect Answer: 125  \nSolution: 1. Multiply 17 × 6 = 102, 2. Add 23 to 102, 3. Result is 125  \ngroq answered: 107  \nopenai answered: 145  \ngoogle answered: 127  \n\nWord Riddles Summary:  \n      LLM  Word Riddles Correct  Total Questions  Word Success Rate  \n     groq                     3              3.0             100.00  \n   openai                     3              3.0             100.00  \n   google                     2              3.0              66.67  \nanthropic                     2              3.0              66.67  \n\nMath Riddles Summary:  \n      LLM  Math Riddles Correct  Total Questions  Math Success Rate  \nanthropic                     3              3.0             100.00  \n     groq                     2              3.0              66.67  \n   openai                     2              3.0              66.67  \n   google                     1              3.0              33.33  \n\nDetailed results saved to riddle_competition_results.csv  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrendanbignell%2Friddlegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrendanbignell%2Friddlegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrendanbignell%2Friddlegenerator/lists"}