Ycluster

D 54 completed
Other
library / python · small
231
Files
22,457
LOC
1
Frameworks
9
Languages

Pipeline State

completed
Run ID
#1543073
Phase
done
Progress
0%
Started
2026-04-16 21:51:07
Finished
2026-04-16 21:51:07
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
49.47
Framework unique
Isolation
Last stage change
2026-05-10 03:34:51
Deduplication group #50329
Member of a group with 23 similar repo(s) · framework flaskcanonical #1520014 view group →
Powered by Repobility — scan your code at https://repobility.com

AI Prompt

Create a self-bootstrapping infrastructure platform, similar to YCluster, using Python and Flask. The system needs to manage AI clusters, incorporating distributed storage using Ceph and PostgreSQL. Key features to include are auto-discovery via MAC addresses, PXE provisioning for new nodes, and high availability using etcd. I also need functionality for setting up HTTPS certificates, supporting both self-signed and Let's Encrypt options, and providing a web dashboard for monitoring cluster health and certificate status.
python flask infrastructure ai-cluster ceph postgresql automation networking
Generated by gemma4:latest

Catalog Information

Create a self-bootstrapping infrastructure platform, similar to YCluster, using Python and Flask. The system needs to manage AI clusters, incorporating distributed storage using Ceph and PostgreSQL. Key features to include are auto-discovery via MAC addresses, PXE provisioning for new nodes, and high availability using etcd. I also need functionality for setting up HTTPS certificates, supporting both self-signed and Let's Encrypt options, and providing a web dashboard for monitoring cluster heal

Tags

python flask infrastructure ai-cluster ceph postgresql automation networking

Quality Score

D
53.7/100
Structure
51
Code Quality
72
Documentation
78
Testing
0
Practices
41
Security
75
Dependencies
90

Strengths

  • Code linting configured (ruff (possible))
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file — legal ambiguity for contributors
  • No tests found — high risk of regressions
  • No CI/CD configuration — manual testing and deployment
  • 42 bare except/catch blocks swallowing errors
  • 775 duplicate lines detected — consider DRY refactoring
  • 2 'god files' with >500 LOC need decomposition

Recommendations

  • Add a test suite — start with critical path integration tests
  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a LICENSE file (MIT recommended for open source)
  • Replace bare except/catch blocks with specific exception types

Languages

python
41.3%
yaml
34.6%
json
9.3%
markdown
6.2%
html
4.6%
shell
3.9%
toml
0.2%
text
0.1%
javascript
0.0%

Frameworks

Flask

Symbols

function314
constant53
method40
variable13
class4

API Endpoints (39)

Repobility (https://repobility.com) — every score reproducible
MethodPathHandlerFramework
All rows above produced by Repobility · https://repobility.com
POST/api/alert-webhookalert_webhookFastAPI/Flask
GET/api/allocateallocate_hostnameFastAPI/Flask
GET/api/allocateallocate_hostnameFastAPI/Flask
GET/api/allocationsallocationsFastAPI/Flask
GET/api/allocationsallocationsFastAPI/Flask
GET/api/cluster-statuscluster_status_apiFastAPI/Flask
GET/api/dhcp-configget_dhcp_configFastAPI/Flask
GET/api/dhcp-configget_dhcp_configFastAPI/Flask
POST/api/draindrain_nodeFastAPI/Flask
GET/api/drain/statusdrain_statusFastAPI/Flask
GET/api/drain/status/<target_hostname>drain_status_targetFastAPI/Flask
POST/api/drain/<target_hostname>drain_target_nodeFastAPI/Flask
GET/api/healthhealthFastAPI/Flask
GET/api/healthhealthFastAPI/Flask
GET/api/healthhealthFastAPI/Flask
POST/api/host/<hostname>/disabledisable_hostFastAPI/Flask
POST/api/host/<hostname>/enableenable_hostFastAPI/Flask
GET/api/hostsget_hostsFastAPI/Flask
GET/api/hostsget_hostsFastAPI/Flask
GET/api/pingpingFastAPI/Flask
GET/api/pingpingFastAPI/Flask
GET/api/statusstatusFastAPI/Flask
GET/api/statusstatusFastAPI/Flask
GET/api/timeget_timeFastAPI/Flask
GET/api/timeget_timeFastAPI/Flask
POST/api/undrainundrain_nodeFastAPI/Flask
POST/api/undrain/<target_hostname>undrain_target_nodeFastAPI/Flask
GET/api/wg/poll/<hostname>wg_pollFastAPI/Flask
POST/api/wg/registerwg_registerFastAPI/Flask
GET/autoinstall/meta-dataserve_meta_dataFastAPI/Flask
GET/autoinstall/user-dataserve_user_dataFastAPI/Flask
GET/bootstrap/serve_bootstrap_indexFastAPI/Flask
GET/bootstrap/<node_type>serve_bootstrapFastAPI/Flask
GET/healthhealthFastAPI/Flask
GETlengths.getExpress
GET/metricsprometheus_metricsFastAPI/Flask
GET/static/<path:filename>static_filesFastAPI/Flask
GET/statusstatus_pageFastAPI/Flask
POST/webhookwebhookFastAPI/Flask

Quality Timeline

1 quality score recorded.

View File Metrics
Repobility (the analyzer behind this table) · https://repobility.com

Embed Badge

Add to your README:

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