Ihcm Ai Bot

D 51 completed
Other
web_app / sql · small
68
Files
18,905
LOC
2
Frameworks
8
Languages

Pipeline State

completed
Run ID
#772419
Phase
done
Progress
0%
Started
2026-04-15 02:24:51
Finished
2026-04-15 02:24:51
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
70.60
Framework unique
Isolation
Last stage change
2026-05-10 03:35:34
Deduplication group #50504
Member of a group with 2 similar repo(s) — canonical #794583 view group →
Repobility · code-quality intelligence · https://repobility.com

AI Prompt

Create the foundational structure for an IHCM AI Command Center web application. I need the backend database schema defined using SQL, specifically targeting Supabase/Postgres. The system must include core schemas for facilities, episodes, MDS, staffing, incidents, and reimbursement, along with role-aware, domain-gated row-level security. Please ensure the setup includes necessary seed data and platform intelligence tables like knowledge sources and conversation logs. The project uses React and Vite for the frontend scaffold, so structure the necessary files to support a modern web app build process.
sql react vite supabase database web-app backend schema javascript
Generated by gemma4:latest

Catalog Information

Create the foundational structure for an IHCM AI Command Center web application. I need the backend database schema defined using SQL, specifically targeting Supabase/Postgres. The system must include core schemas for facilities, episodes, MDS, staffing, incidents, and reimbursement, along with role-aware, domain-gated row-level security. Please ensure the setup includes necessary seed data and platform intelligence tables like knowledge sources and conversation logs. The project uses React and

Tags

sql react vite supabase database web-app backend schema javascript

Quality Score

D
51.2/100
Structure
40
Code Quality
67
Documentation
50
Testing
0
Practices
64
Security
92
Dependencies
80

Strengths

  • Consistent naming conventions (snake_case)
  • Good security practices — no major issues detected

Weaknesses

  • No LICENSE file — legal ambiguity for contributors
  • No tests found — high risk of regressions
  • No CI/CD configuration — manual testing and deployment
  • 1 files with critical complexity need refactoring
  • 1739 duplicate lines detected — consider DRY refactoring
  • 6 '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 linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Languages

sql
28.4%
javascript
24.7%
text
18.2%
json
12.1%
markdown
11.8%
css
3.2%
python
1.4%
html
0.1%

Frameworks

React Vite

Symbols

variable238
function104
constant42

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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