{"id":31423103,"url":"https://github.com/samir-atra/challenges_and_competitions","last_synced_at":"2026-05-14T20:31:55.584Z","repository":{"id":316225583,"uuid":"1062324308","full_name":"Samir-atra/Challenges_and_Competitions","owner":"Samir-atra","description":"A group of programs and solutions to kaggle challenges and programming competitions","archived":false,"fork":false,"pushed_at":"2025-09-23T10:38:08.000Z","size":999,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T12:32:12.552Z","etag":null,"topics":["algorithms","algorithms-and-data-structures","artificial-intelligence","deep-neural-networks","gemma3","kaggle","kaggle-competition","kickstart","leetcode","llm","machine-learning","ml-olympiad"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samir-atra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-23T05:40:13.000Z","updated_at":"2025-09-23T10:38:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"c33f6006-b693-495a-8f9c-9ec113a5d0fb","html_url":"https://github.com/Samir-atra/Challenges_and_Competitions","commit_stats":null,"previous_names":["samir-atra/challenges_and_competitions"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Samir-atra/Challenges_and_Competitions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samir-atra%2FChallenges_and_Competitions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samir-atra%2FChallenges_and_Competitions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samir-atra%2FChallenges_and_Competitions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samir-atra%2FChallenges_and_Competitions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samir-atra","download_url":"https://codeload.github.com/Samir-atra/Challenges_and_Competitions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samir-atra%2FChallenges_and_Competitions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277622341,"owners_count":25849037,"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","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"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":["algorithms","algorithms-and-data-structures","artificial-intelligence","deep-neural-networks","gemma3","kaggle","kaggle-competition","kickstart","leetcode","llm","machine-learning","ml-olympiad"],"created_at":"2025-09-30T02:51:22.368Z","updated_at":"2026-05-14T20:31:55.577Z","avatar_url":"https://github.com/Samir-atra.png","language":"Jupyter Notebook","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=samiratra95@gmail.com\u0026item_name=Code+Broker+Donation\u0026currency_code=USD"],"categories":[],"sub_categories":[],"readme":"# 🏆 Challenges and Competitions 🚀\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n[![Python](https://img.shields.io/badge/python-3.14-blue.svg)](https://www.python.org/downloads/)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=samiratra95@gmail.com\u0026item_name=Code+Broker+Donation\u0026currency_code=USD)\n\n\nWelcome to my comprehensive collection of solutions for various programming challenges and competitions! This repository showcases my work across multiple platforms including Kaggle, LeetCode, HackerEarth, Google Code Golf, and NeurIPS competitions. I'm passionate about problem-solving, machine learning, and AI, and this repository documents my journey through diverse computational challenges.\n\n---\n\n## 📚 Table of Contents\n\n- [Agents Intensive Capstone Project](#-agents-intensive-capstone-project)\n- [Machine Learning Competitions](#-machine-learning-competitions)\n  - [ML Olympiad 2024](#-ml-olympiad-2024)\n  - [NeurIPS 2025 - Google Code Golf Championship](#-neurips-2025---google-code-golf-championship)\n  - [ESA Fake or Real Challenge](#%EF%B8%8F-esa-fake-or-real-the-impostor-hunt-in-texts)\n  - [Viz Wiz Image Classification](#%EF%B8%8F-viz-wiz-image-classification-challenge)\n- [Algorithmic Challenges](#-algorithmic-challenges)\n  - [LeetCode](#-leetcode)\n  - [Google Kick Start](#-google-kick-start)\n  - [HackerEarth](#-hackerearth)\n- [How to Use](#-how-to-use)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n---\n\n## 🤖 Agents Intensive Capstone Project\n\n**Code Broker** - An AI-Powered Multi-Agent Code Assessment System\n\n[![ADK](https://img.shields.io/badge/Google-ADK-4285F4?logo=google)](https://google.github.io/adk-docs/)\n\n- **Competition:** [Agents Intensive Capstone Project](https://www.kaggle.com/competitions/agents-intensive-capstone-project)\n- **Description:** Code Broker is an intelligent multi-agent system built with Google's Agent Development Kit (ADK) that automatically analyzes code files, directories, or GitHub repositories and generates comprehensive assessment reports with actionable improvement recommendations.\n\n### ✨ Key Features\n\n- 🔍 **Multi-Source Analysis**: Supports files, directories, and GitHub repositories\n- 📊 **Comprehensive Scoring**: Metrics for correctness, security, style, and maintainability\n- 🤖 **5-Agent Architecture**: Parallel processing with specialized AI agents\n- 📝 **Beautiful Reports**: Markdown and HTML formatted assessment outputs\n- ⚡ **Fast \u0026 Reliable**: Async processing with retry mechanisms\n- 🎨 **Pylint Integration**: Automated Python code quality analysis\n\n### 📂 Project Contents\n\n```\nAgents_intensive_capstone_project/\n├── code_broker_documented.ipynb   # Main executable notebook with full documentation\n├── requirements.txt                # Python dependencies (google-genai, etc.)\n└── README.md                       # Detailed project documentation\n```\n\n### 🏗️ Multi-Agent Architecture\n\n- **Report Generator** (Orchestrator): Coordinates the entire workflow\n- **Sequential Pipeline Agent**: Manages assessment flow\n- **Parallel Assessment Agent**: Runs 3 agents concurrently:\n  - Correctness Assessor\n  - Style Assessor\n  - Description Generator\n- **Improvement Recommender**: Synthesizes findings into actionable recommendations\n\n**Reference:**\n```bibtex\n@misc{agents-intensive-capstone-project,\n  author = {Walter Reade and Ashley Chow},\n  title = {Agents Intensive - Capstone Project},\n  year = {2025},\n  howpublished = {\\url{https://kaggle.com/competitions/agents-intensive-capstone-project}},\n  note = {Kaggle}\n}\n```\n\n[📖 Read Full Documentation](Agents_intensive_capstone_project/README.md)\n\n---\n\n## 🧬 Machine Learning Competitions\n\n### 🤖 ML Olympiad 2024\n\nA collection of machine learning challenges focusing on real-world applications.\n\n#### 🌋 Predicting Earthquake Damage\n\n- **Challenge:** [ML Olympiad - Predicting Earthquake Damage](https://www.kaggle.com/competitions/ml-olympiad-predicting-earthquake-damage)\n- **Description:** Predict the level of damage to buildings caused by earthquakes based on various building and location features.\n- **Technology Stack:**\n  - TensorFlow \u0026 Keras for deep learning\n  - Feedforward neural network architecture\n  - Feature engineering for building characteristics\n- **Files:**\n  - `ML_Olympiad_2024/Predicting_earthquack_damage/EarthQuake.ipynb` - Main solution notebook\n  - `ML_Olympiad_2024/Predicting_earthquack_damage/EarthQuakeDamage.py` - Python implementation\n  - Multiple submission CSV files (submission.csv through submission7.csv)\n\n**Reference:**\n```bibtex\n@misc{ml-olympiad-predicting-earthquake-damage,\n  author = {Tensor Girl},\n  title = {ML Olympiad - Predicting Earthquake Damage},\n  year = {2024},\n  howpublished = {\\url{https://kaggle.com/competitions/ml-olympiad-predicting-earthquake-damage}},\n  note = {Kaggle}\n}\n```\n\n#### 🐢 The Turtle Vision Challenge\n\n- **Challenge:** [ML Olympiad - TurtleVision Challenge](https://www.kaggle.com/competitions/mlo2024mlact)\n- **Description:** Classify images of marine life to distinguish between different species of turtles, jellyfish, and plastic pollution - an important task for marine conservation.\n- **Technology Stack:**\n  - Transfer learning with pre-trained InceptionV3\n  - Fine-tuning on marine life dataset\n  - Computer vision for conservation\n- **Files:**\n  - `ML_Olympiad_2024/Turtle_vision_challenge/TurtleVision_Challenge.ipynb` - Main solution\n  - Multiple prediction CSV files for different model versions\n\n**Reference:**\n```bibtex\n@misc{mlo2024mlact,\n  author = {Ahmed LOUHICHI and Anas Lahdhiri and Imen MASMOUDI and Mehdi SOMRANI and Seif Eddine Achour},\n  title = {ML Olympiad - TurtleVision Challenge},\n  year = {2024},\n  howpublished = {\\url{https://kaggle.com/competitions/mlo2024mlact}},\n  note = {Kaggle}\n}\n```\n\n[📖 Read ML Olympiad Documentation](ML_Olympiad_2024/README.md)\n\n---\n\n### 🧠 NeurIPS 2025 - Google Code Golf Championship\n\n- **Competition:** [NeurIPS 2025 - Google Code Golf Championship](https://www.kaggle.com/competitions/google-code-golf-2025)\n- **Description:** Part of the NeurIPS 2025 conference, this competition challenges participants to write the shortest possible code for solving ARC (Abstraction and Reasoning Corpus) tasks. The goal is to optimize for code length while maintaining correctness, encouraging creative and efficient solutions.\n  \n### 🎯 What is Code Golf?\n\nCode Golf is a type of recreational computer programming competition where participants strive to achieve the shortest possible source code that implements a specified algorithm. In this challenge, every character counts!\n\n### 📂 Project Contents\n\n```\nNeurIPS_2025_Google_Code_Golf_Championship/\n├── generate_all_solvers.py      # Script to generate solver code for all tasks\n├── run_and_visualize.py         # Execution and visualization utilities\n├── visualize_arc_tasks.py       # ARC task visualization tools\n└── generated_solver/            # Contains 400+ task-specific solvers\n    ├── task001.py through task400.py (and beyond)\n```\n\n### 🔧 Key Components\n\n- **Automated Solver Generation:** Scripts to programmatically generate optimized solutions\n- **Visualization Tools:** Utilities to visualize ARC puzzle patterns and transformations\n- **400+ Task Solutions:** Individual Python solvers for diverse reasoning challenges\n- **Code Optimization:** Focus on minimal character count while maintaining functionality\n\n**Reference:**\n```bibtex\n@misc{google-code-golf-2025,\n  author = {Michael D. Moffitt and Divy Thakkar and Ryan Burnell and Orhan Firat and Walter Reade and Sohier Dane and Addison Howard},\n  title = {NeurIPS 2025 - Google Code Golf Championship},\n  year = {2025},\n  howpublished = {\\url{https://kaggle.com/competitions/google-code-golf-2025}},\n  note = {Kaggle}\n}\n```\n\n---\n\n### 🕵️ ESA Fake or Real: The Impostor Hunt in Texts\n\n- **Challenge:** [Fake or Real: The Impostor Hunt in Texts](https://www.kaggle.com/competitions/fake-or-real-the-impostor-hunt)\n- **Organizer:** European Space Agency (ESA)\n- **Description:** Distinguish between real human-written texts and AI-generated fake texts using natural language processing techniques.\n\n### 🔬 Approaches Implemented\n\n1. **English Word Detection Baseline**\n   - Uses `langdetect` library to calculate proportion of English words\n   - Simple and interpretable method\n   - Assumes real text has higher percentage of English words\n\n2. **Character-Level Baseline**\n   - Analyzes proportion of Latin characters\n   - Language-agnostic signal for text classification\n   - Provides alternative to word-based detection\n\n3. **Generative AI Detection**\n   - Leverages Google's `gemma-3-27b-it` model\n   - Step-by-step analysis to determine text authenticity\n   - Advanced approach using cutting-edge LLMs\n\n### 📂 Project Contents\n\n```\nESA_Fake_or_Real:_The_Impostor_Hunt_in_Texts/\n├── baseline-solution.ipynb      # Complete solution with all three approaches\n└── README.md                    # Detailed project documentation\n```\n\n### 🛠️ Technology Stack\n\n- Python 3.x\n- langdetect for language detection\n- Google Generative AI (Gemma models)\n- scikit-learn for evaluation\n- pandas for data processing\n\n**Reference:**\n```bibtex\n@misc{fake-or-real-the-impostor-hunt,\n  author = {Agata Kaczmarek and Dawid Płudowski and Krzysztof Kotowski and Ramez Shendy and Artur Janicki and Przemysław Biecek and Evridiki Ntagiou},\n  title = {Fake or Real: The Impostor Hunt in Texts},\n  year = {2025},\n  howpublished = {\\url{https://kaggle.com/competitions/fake-or-real-the-impostor-hunt}},\n  note = {Kaggle}\n}\n```\n\n[📖 Read Full Documentation](ESA_Fake_or_Real:_The_Impostor_Hunt_in_Texts/README.md)\n\n---\n\n### 🖼️ Viz Wiz Image Classification Challenge\n\n- **Challenge:** [Viz Wiz Image Classification](https://vizwiz.org/tasks-and-datasets/image-classification/)\n- **Description:** Classify images from the Viz Wiz dataset, which contains images taken by people who are blind or have low vision. This challenge has important implications for accessibility technology.\n\n### 📂 Project Contents\n\n```\nViz_Wiz_Challenges/\n├── Classifier.ipynb             # Image classification solution\n└── README.md                    # Project documentation\n```\n\n### 🎯 Impact\n\nThis project contributes to making technology more accessible for visually impaired individuals by improving image understanding and classification systems.\n\n[📖 Read Full Documentation](Viz_Wiz_Challenges/README.md)\n\n---\n\n## 🧩 Algorithmic Challenges\n\n### 🧠 LeetCode\n\nSolutions to algorithmic problems from [LeetCode](https://leetcode.com/), a platform for practicing coding skills and preparing for technical interviews.\n\n#### 📝 Solutions\n\n```\nLeetCode/\n├── AddTwoNumbers.py            # Linked list manipulation\n├── PalindromNumber.py          # Number theory and palindromes\n└── TwoSumAlgorithm.py          # Hash table and array processing\n```\n\nEach solution demonstrates:\n- ✅ Efficient algorithms and data structures\n- 📊 Time and space complexity optimization\n- 💡 Clean, readable Python code\n\n---\n\n### 🏅 Google Kick Start\n\nCollection of solutions for [Google Kick Start](https://codingcompetitions.withgoogle.com/kickstart), Google's global online coding competition (now retired but historically significant).\n\n#### 📝 Solutions\n\n```\nGoogle_KickStart_Multiple_Years/\n├── BuildingPalindromes.py      # String manipulation and palindromes\n├── CGame.py                    # Game theory\n├── CentauriPrime.py            # Logic and conditionals\n├── ChallengeNine.py            # Number theory\n├── GBusCount.ipynb             # Array processing\n├── MagicalWellOfLilies.py      # Dynamic programming\n├── NewPassword.py              # String processing\n├── Palindrome.py               # Advanced palindrome algorithms\n├── RunninginCircles.py         # Simulation\n├── SamplProblem.ipynb          # Sample problem walkthrough\n├── SortTheFabrics.ipynb        # Sorting algorithms\n├── Walktober.py                # Array manipulation\n├── WiggleWalk.ipynb            # Grid traversal\n└── infinity.py                 # Mathematical puzzles\n```\n\n**Technologies Used:**\n- Python for implementation\n- Jupyter notebooks for interactive solutions\n- Advanced algorithms: DP, greedy, graph theory, number theory\n\n---\n\n### 🌍 HackerEarth\n\nSolutions for challenges on [HackerEarth](https://www.hackerearth.com/challenges/), a competitive programming platform.\n\n```\nHackerEarth/\n└── MaximumBoarders.py          # Optimization problem\n```\n\n---\n\n## 🛠 How to Use\n\n### General Setup\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/Samir-atra/Challenges_and_Competitions.git\n   cd Challenges_and_Competitions\n   ```\n\n2. **Navigate to specific challenge:**\n   ```bash\n   cd [Challenge_Directory]\n   ```\n\n3. **Install dependencies:**\n   - Most projects include their own `requirements.txt`\n   - For general Python scripts, standard libraries are typically sufficient\n   - For ML projects: TensorFlow, Keras, scikit-learn, pandas, numpy\n   - For AI agent projects: Google ADK, google-genai\n\n### Running Solutions\n\n**Python Scripts:**\n```bash\npython script_name.py\n```\n\n**Jupyter Notebooks:**\n```bash\njupyter notebook notebook_name.ipynb\n# Or use VS Code, Google Colab, or JupyterLab\n```\n\n### ⚠️ Important Notes\n\n- **Data Paths:** Some file paths in notebooks may be hardcoded. Update these to match your local directory structure.\n- **API Keys:** Projects using external APIs (e.g., Google AI) require API keys. Set these up in `.env` files as documented in individual project READMEs.\n- **Dependencies:** Each major project has its own `requirements.txt` file. Install dependencies specific to that project.\n\n---\n\n## 🤝 Contributing\n\nI welcome collaboration and suggestions! Here's how you can contribute:\n\n1. **Fork the repository**\n2. **Create a feature branch** (`git checkout -b feature/amazing-solution`)\n3. **Commit your changes** (`git commit -m 'Add amazing solution'`)\n4. **Push to the branch** (`git push origin feature/amazing-solution`)\n5. **Open a Pull Request**\n\n### Contribution Ideas\n\n- 💡 Alternative solutions to existing problems\n- 🐛 Bug fixes or optimizations\n- 📝 Documentation improvements\n- 🆕 Solutions to new challenges\n- 🧪 Test cases and validation\n\n---\n\n## 📊 Repository Statistics\n\n- **Total Competitions:** 8+ (Kaggle, LeetCode, Google Kick Start, HackerEarth, NeurIPS)\n- **Machine Learning Projects:** 5\n- **AI Agent Systems:** 1 (Multi-agent architecture)\n- **Algorithmic Solutions:** 20+\n- **Technologies:** Python, TensorFlow, Keras, Google ADK, Jupyter\n- **Domains:** ML, NLP, Computer Vision, AI Agents, Code Golf, Competitive Programming\n\n---\n\n## 👨‍💻 Author\n\n**Samer Atra**\n- GitHub: [@Samir-atra](https://github.com/Samir-atra)\n- Passionate about AI, Machine Learning, and Competitive Programming\n\n---\n\n## 📄 License\n\nThis repository is licensed under the **Apache License 2.0**. See the [LICENSE](LICENSE) file for complete details.\n\n```\nCopyright 2025 Samer Atra\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n```\n\n---\n\n## 🌟 Acknowledgments\n\nSpecial thanks to all the competition organizers:\n- Kaggle and the competition hosts\n- Google (Kick Start, ADK, Code Golf)\n- European Space Agency (ESA)\n- NeurIPS Conference\n- LeetCode, HackerEarth, and VizWiz communities\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n### ⭐ Star this repo if you find it useful! and donate through the button on the top of the readme file to support my work!\n\n**Happy Coding! 🚀**\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamir-atra%2Fchallenges_and_competitions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamir-atra%2Fchallenges_and_competitions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamir-atra%2Fchallenges_and_competitions/lists"}