Pinwheel

C 68 completed
Game
containerized / python · small
392
Files
121,333
LOC
3
Frameworks
8
Languages

Pipeline State

completed
Run ID
#298128
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
81.33
Framework unique
Isolation
Last stage change
2026-05-10 03:35:02
Deduplication group #48800
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (12)
RepositorytestingpresentationObserver/Event EmitterFactoryStrategyConfigurationDatabaseLoggingSearchTestingUser Management
Open data scored by Repobility · https://repobility.com

AI Prompt

Create a simulation project for a 3v3 basketball league that uses AI for governance and rule interpretation. I need the core logic written in Python, utilizing FastAPI for the web dashboard and SQLAlchemy for database management. The system should allow players (or agents) to propose rule changes in natural language, which an Anthropic API key will interpret into structured parameters for the simulation engine. Include functionality to run simulation steps, check league standings, and manage governance proposals. The project should be containerized using Docker.
python fastapi sqlalchemy ai simulation basketball docker anthropic web-app
Generated by gemma4:latest

Catalog Information

The pinwheel project simulates a 3v3 basketball league with human-driven, AI-interpreted governance and rules.

Description

Pinwheel is a simulated 3v3 basketball league that incorporates both human-driven and AI-interpreted governance and rules. This project allows for the creation of a dynamic and realistic basketball environment where teams can compete against each other. The simulation takes into account various factors such as team performance, player skills, and game strategies.

الوصف

يعد مشروع Pinwheel محاكاة ل лиغا الباسكتبول 3x3 التي تدمج الحكم الإنساني والتحليل الآلي للقواعد. يتيح هذا المشروع إنشاء بيئة كرة السلة واقعية وديناميكية حيث يمكن للمشاريع التنافس ضد بعضها البين. يتم أخذ العديد من العوامل في الاعتبار مثل أداء الفريق، مهارات اللاعبين، و استراتيجيات المباراة.

Novelty

7/10

Tags

simulated-sports-league basketball governance ai-interpreted-rules human-driven-governance sports-simulation

Technologies

anthropic fastapi pydantic sqlalchemy uvicorn

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

C
67.8/100
Structure
71
Code Quality
61
Documentation
80
Testing
70
Practices
60
Security
68
Dependencies
80

Strengths

  • Good test coverage (72% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No CI/CD configuration \u2014 manual testing and deployment
  • 7587 duplicate lines detected \u2014 consider DRY refactoring
  • 20 'god files' with >500 LOC need decomposition

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a LICENSE file (MIT recommended for open source)

Security & Health

14.6h
Tech Debt (A)
Medium
DORA Rating
A
OWASP (100%)
Repobility analyzer · published findings · https://repobility.com
PASS
Quality Gate
A
Risk (0)
MIT
License
8.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
68.8%
markdown
23.5%
html
4.3%
css
2.5%
json
0.4%
shell
0.3%
javascript
0.1%
toml
0.1%

Frameworks

FastAPI pytest SQLAlchemy

Symbols

variable1,124
function539
method271
constant211
class128
property49
protocol3

API Endpoints (57)

Repobility (https://repobility.com) — every score reproducible
MethodPathHandlerFramework
Same scanner, your repo: https://repobility.com — Repobility
POSTset_paceFastAPI
GETget_paceFastAPI
GETlist_teamsFastAPI
POSTcreate_season_endpointFastAPI
GET/home_pageFastAPI
GET/adminadmin_landing_pageFastAPI
POST/advanceadvance_roundFastAPI
POST/api/teams/{team_id}/followfollow_teamFastAPI
DELETE/api/teams/{team_id}/followunfollow_teamFastAPI
GET/arenaarena_pageFastAPI
GET/callbackcallbackFastAPI
GET/costscosts_dashboardFastAPI
GET/evalseval_dashboardFastAPI
GET/{game_id}get_gameFastAPI
GET/{game_id}/boxscoreget_boxscoreFastAPI
GET/games/{game_id}game_pageFastAPI
GET/governancegovernance_pageFastAPI
GET/governors/{player_id}governor_profile_pageFastAPI
GET/healthhealthFastAPI/Flask
GET/healthevents_healthFastAPI
GET/historyhistory_pageFastAPI
GET/hoopers/{hooper_id}hooper_pageFastAPI
POST/hoopers/{hooper_id}/bioupdate_hooper_bioFastAPI
GET/hoopers/{hooper_id}/bio/edithooper_bio_edit_formFastAPI
GET/hoopers/{hooper_id}/bio/viewhooper_bio_viewFastAPI
GET/latest/{season_id}get_latest_reportsFastAPI
GET/loginloginFastAPI
GET/logoutlogoutFastAPI
GET/partials/what-changedwhat_changed_partialFastAPI
GET/perfperf_dashboardFastAPI
GET/playplay_pageFastAPI
GET/playoffsplayoffs_pageFastAPI
GET/playoffs/bracketget_playoff_bracketFastAPI
GET/postnewspaper_pageFastAPI
GET/privacyprivacy_pageFastAPI
GET/private/{season_id}/{governor_id}get_private_reportsFastAPI
GET/proposalsapi_list_proposalsFastAPI
GET/reportsreports_pageFastAPI
GET/reviewadmin_reviewFastAPI
GET/rosteradmin_rosterFastAPI
GET/round/{season_id}/{round_number}get_round_reportsFastAPI
GET/rulesrules_pageFastAPI
GET/rules/currentapi_current_rulesFastAPI
GET/rules/historyapi_rule_historyFastAPI
GET/seasonadmin_seasonFastAPI
GET/seasons/archiveseason_archives_pageFastAPI
GET/seasons/archive/{season_id}season_archive_detailFastAPI
GET/seasons/{season_id}/memorialmemorial_pageFastAPI
GET/standingsstandings_pageFastAPI
GET/standingsget_standingsFastAPI

Showing 50 of 57

Concepts (14)

Source: Repobility analyzer (https://repobility.com)
CategoryNameDescriptionConfidence
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/
design_patternRepositoryFound repository-named files80%
arch_layertestingDetected testing layer70%
arch_layerpresentationDetected presentation layer70%
design_patternObserver/Event EmitterFound event emission/subscription patterns70%
design_patternFactoryFound factory/create_ naming patterns60%
design_patternStrategyFound strategy/policy-named files60%
business_logicConfigurationDetected from 4 related files50%
business_logicDatabaseDetected from 21 related files50%
business_logicLoggingDetected from 16 related files50%
business_logicSearchDetected from 3 related files50%
business_logicTestingDetected from 85 related files50%
business_logicUser ManagementDetected from 2 related files50%
business_logicAuthenticationDetected from 12 related files50%
business_logicAnalyticsDetected from 21 related files50%
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/21923.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV