{"id":50815708,"url":"https://github.com/bbc2/orchamp","last_synced_at":"2026-06-13T09:06:43.115Z","repository":{"id":362151271,"uuid":"1121255381","full_name":"bbc2/orchamp","owner":"bbc2","description":"Experimental championship analyzer","archived":false,"fork":false,"pushed_at":"2026-06-02T21:41:38.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-02T23:14:35.585Z","etag":null,"topics":[],"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/bbc2.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-22T17:24:54.000Z","updated_at":"2026-06-02T21:41:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bbc2/orchamp","commit_stats":null,"previous_names":["bbc2/orchamp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bbc2/orchamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Forchamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Forchamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Forchamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Forchamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbc2","download_url":"https://codeload.github.com/bbc2/orchamp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Forchamp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2026-06-13T09:06:38.804Z","updated_at":"2026-06-13T09:06:43.100Z","avatar_url":"https://github.com/bbc2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Orchamp\n\n## ☣️ Hazardous material\n\nThis project is still in its infancy. It is not finished and it may even turn out to be\nstupid. For example, many questions haven't been answered: Is it useful? Is it the right\napproach for the problem? Do the technology choices make sense?\n\n## Introduction\n\n**Orchamp** is a championship analyzer that uses constraint programming to explore all possible outcomes in the league.\n\n## Usage\n\n### Web application\n\nGo to the web application, select a league (year, division, phase), and see current standings.\n\n### CLI\n\nTo analyze possible future positions of a given team in the championship:\n\n```bash\norchamp \\\n  --rules tests/orchamp/cli/data/rules.json \\\n  --state \u003c(orchamp-get parse tests/orchamp_get/data/standings.html) \\\n  analyze-team --team team_b\n```\n\nThis outputs JSON in the following form:\n\n```json\n{\n  \"team_id\": \"team_b\",\n  \"team_name\": \"Team B\",\n  \"best_position\": 1,\n  \"worst_position\": 5,\n  \"best_scenario\": {\n    ...\n  },\n  \"worst_scenario\": {\n    ...\n  }\n}\n```\n\n## Development\n\n### Checks\n\nRun all checks (lint + tests):\n\n```bash\njust check\n```\n\n### Dev server\n\nRun the dev server on http://localhost:8000:\n\n```bash\njust run\n```\n\n### Translations\n\nTo add or update translatable strings:\n\n- Run `just update-translations`\n- Edit the `.po` files under `src/orchamp_web/locales/`\n- Run `just compile-translations`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc2%2Forchamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbc2%2Forchamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc2%2Forchamp/lists"}