{"id":26249706,"url":"https://github.com/cmohan312002/pixel_prompteng","last_synced_at":"2026-04-13T02:31:51.684Z","repository":{"id":280944666,"uuid":"943696456","full_name":"cmohan312002/Pixel_PromptEng","owner":"cmohan312002","description":"A fun and interactive Streamlit-based web app designed for students to test and improve their prompt engineering skills through three dynamic rounds of AI challenges. Participants craft creative prompts, reverse-engineer AI outputs, and tackle unique challenges — all while avoiding forbidden words and earning scores.","archived":false,"fork":false,"pushed_at":"2025-03-18T06:22:09.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T19:28:44.568Z","etag":null,"topics":["gemini","genai","llm","python","streamlit"],"latest_commit_sha":null,"homepage":"https://pixel-prompt.streamlit.app/","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/cmohan312002.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-06T05:51:04.000Z","updated_at":"2025-03-18T06:25:14.000Z","dependencies_parsed_at":"2025-03-06T06:42:11.266Z","dependency_job_id":null,"html_url":"https://github.com/cmohan312002/Pixel_PromptEng","commit_stats":null,"previous_names":["cmohan312002/pixel_prompteng"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmohan312002/Pixel_PromptEng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmohan312002%2FPixel_PromptEng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmohan312002%2FPixel_PromptEng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmohan312002%2FPixel_PromptEng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmohan312002%2FPixel_PromptEng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmohan312002","download_url":"https://codeload.github.com/cmohan312002/Pixel_PromptEng/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmohan312002%2FPixel_PromptEng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31737847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"online","status_checked_at":"2026-04-13T02:00:06.623Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gemini","genai","llm","python","streamlit"],"created_at":"2025-03-13T15:49:20.214Z","updated_at":"2026-04-13T02:31:51.643Z","avatar_url":"https://github.com/cmohan312002.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# 🚀 Prompt Engineering Challenge – College Edition 🎮\n\nA fun, interactive **Streamlit web app** where students can test their **prompt engineering skills** through **three dynamic AI-powered rounds**. Designed for **tech fests**, **workshops**, or **learning events**, this game challenges players to craft prompts, reverse-engineer outputs, and creatively respond — all while scoring based on multiple metrics.\n\n---\n\n## 🌟 Features\n\n- 🎯 **Three Engaging Rounds**:\n  - **Round 1**: Forbidden Words Challenge – Craft prompts without using specific keywords.\n  - **Round 2**: Reverse Engineer the Prompt – Guess the prompt based on an AI-generated output.\n  - **Round 3**: Creative Challenge – Generate the most creative prompt to solve a unique challenge.\n  \n- 🤖 Powered by **Google Gemini API** for real-time AI responses.\n- 📊 **Scoring System**:\n  - Evaluates **accuracy**, **creativity**, **clarity**, **efficiency**, and **rule compliance**.\n  - Uses AI to judge prompt relevance and award scores per round.\n  \n- 🔐 Secure API key handling using **Streamlit Secrets**.\n- 🏆 Final results with detailed **score breakdown** and **review mode**.\n\n---\n\n## 🚀 Demo\n\nComing soon! (Add screenshots or a Streamlit Cloud link if hosted)\n\n---\n\n## 🛠️ Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/cmohan312002/Pixel_PromptEng.git\n   cd prompt-engineering-challenge\n   ```\n\n2. **Create a virtual environment** (optional but recommended):\n   ```bash\n   python -m venv env\n   source env/bin/activate  # On Windows: env\\Scripts\\activate\n   ```\n\n3. **Install dependencies**:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Set up Streamlit Secrets for Gemini API key**:\n   - Create a `.streamlit/secrets.toml` file:\n     ```toml\n     GEMINI_API_KEY = \"your-gemini-api-key-here\"\n     ```\n\n---\n\n## ▶️ Run the App\n\n```bash\nstreamlit run app.py\n```\n\n---\n\n## 📁 Project Structure\n\n```\n📦 prompt-engineering-challenge/\n ┣ 📜 app.py               # Main Streamlit app\n ┣ 📜 requirements.txt     # Required Python packages\n ┣ 📁 .streamlit/          # Streamlit secrets configuration\n ┃ ┗ 📜 secrets.toml\n```\n\n---\n\n## 📊 Scoring Logic\n\n| Metric            | Description                                                                 |\n|-------------------|-----------------------------------------------------------------------------|\n| Accuracy          | Relevance of AI response to the challenge question                         |\n| Creativity        | Unique word usage in prompt                                                |\n| Clarity           | Balanced length and coherence                                              |\n| Efficiency        | Prompt length optimization                                                 |\n| Rule Compliance   | Avoidance of forbidden words                                               |\n\n---\n\n## 🙌 Contributing\n\nContributions, suggestions, and feature requests are welcome!\n\n1. Fork the repository.\n2. Create a new branch: `git checkout -b feature-name`.\n3. Commit changes: `git commit -m 'Add new feature'`.\n4. Push to branch: `git push origin feature-name`.\n5. Open a pull request.\n\n---\n\n## 📜 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 📬 Contact\n\nQuestions or feedback? Reach out via [email](mailto:cmohan312002@gmail.com) or open an [issue](https://github.com/cmohan312002/Pixel_PromptEng/issues).\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmohan312002%2Fpixel_prompteng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmohan312002%2Fpixel_prompteng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmohan312002%2Fpixel_prompteng/lists"}