{"id":31962138,"url":"https://github.com/mp70/berghain-challenge-listen","last_synced_at":"2025-10-14T16:34:12.115Z","repository":{"id":315547021,"uuid":"1057362141","full_name":"MP70/berghain-challenge-listen","owner":"MP70","description":"Solving the listenlabs berghain challenge.","archived":false,"fork":false,"pushed_at":"2025-09-15T16:15:52.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T16:42:00.270Z","etag":null,"topics":["constraintsolver"],"latest_commit_sha":null,"homepage":"https://berghain.challenges.listenlabs.ai/","language":"TypeScript","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/MP70.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-09-15T16:13:34.000Z","updated_at":"2025-09-23T18:04:32.000Z","dependencies_parsed_at":"2025-09-19T08:56:28.372Z","dependency_job_id":"5d6b7c22-c85b-4831-bfcd-a79ff97cc95b","html_url":"https://github.com/MP70/berghain-challenge-listen","commit_stats":null,"previous_names":["mp70/berghain-challenge-listen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MP70/berghain-challenge-listen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP70%2Fberghain-challenge-listen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP70%2Fberghain-challenge-listen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP70%2Fberghain-challenge-listen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP70%2Fberghain-challenge-listen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MP70","download_url":"https://codeload.github.com/MP70/berghain-challenge-listen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP70%2Fberghain-challenge-listen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019577,"owners_count":26086753,"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-10-14T02:00:06.444Z","response_time":60,"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":["constraintsolver"],"created_at":"2025-10-14T16:34:08.263Z","updated_at":"2025-10-14T16:34:12.108Z","avatar_url":"https://github.com/MP70.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Berghain Challenge Solver\n\nA zero-dependency TypeScript implementation for solving the Berghain Challenge.\n\n## Build\n\nSince there are only dev dependencies, install and build with:\n\n```bash\nnpm install\nnpm run build\n```\n\n## Usage\n\n### Basic Commands\n\nRun a single scenario:\n```bash\nnpm run solve -- --scenario 2\n```\n\nRun with continuously (with parallel processing):\n```bash\nnpm run solve -- --scenario 2 --parallel 2\n```\n\nRun with batching:\n```bash\nnpm run solve -- --scenario 2 --parallel 2 --batches 1\n```\n\n\n### Parameter Tuning\n\nBasic tuning with default parameters:\n```bash\nnpm run tune -- --scenario 2\n```\n\nAdvanced tuning with custom parameters:\n```bash\n# Fine-grained search with more evaluations per candidate\nnpm run tune -- --scenario 2 --gridSize 7 --evalsPerCandidate 10\n\n# Fast exploration with fewer evaluations\nnpm run tune -- --scenario 2 --gridSize 3 --evalsPerCandidate 3\n\n# Multi-threaded tuning for faster results\nnpm run tune -- --scenario 2 --gridSize 5 --evalsPerCandidate 5 --threads 8\n\n# Custom output file\nnpm run tune -- --scenario 2 --gridSize 5 --evalsPerCandidate 5 --outputFile my_config.json\n```\n\n**Tuning Parameters:**\n- `--scenario`: Scenario to tune (1, 2, or 3) - **required**\n- `--gridSize`: Grid resolution for parameter search (default: 5, higher = more thorough)\n- `--evalsPerCandidate`: Evaluations per parameter combination (default: 5, higher = more reliable)\n- `--threads`: Number of parallel threads (default: 4)\n- `--outputFile`: Output file name (default: optimal_config.json)\n\n**Parameter Ranges Being Optimized:**\n- `initialSelectivity`: 1.251-1.500 (safety buffer at game start)\n- `finalSelectivity`: 0.251-0.500 (safety buffer at game end)\n- `initialLearningRate`: 0.3-1.0 (attribute weight adaptation speed)\n- `maxAttributeWeight`: 14-17 (maximum attribute importance)\n- `endgameThreshold`: 20-33 (when to switch to endgame mode)\n\n### Development\n\nRun in development mode (no build required):\n```bash\nnpm run dev -- --scenario 2 --parallel 2\n```\n\n## Results\n\nWe came in 31st place with a score of 8017 (out of 1331 participants).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp70%2Fberghain-challenge-listen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmp70%2Fberghain-challenge-listen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp70%2Fberghain-challenge-listen/lists"}