{"id":26291282,"url":"https://github.com/llm-grading-system/platform-backend","last_synced_at":"2026-04-13T23:02:28.396Z","repository":{"id":279304657,"uuid":"937398427","full_name":"LLM-Grading-System/Platform-Backend","owner":"LLM-Grading-System","description":"Основной бэкенд для системы оценивания","archived":false,"fork":false,"pushed_at":"2025-03-10T21:56:39.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-10T22:31:39.668Z","etag":null,"topics":["docker","fastapi","granian","postgresql","python","sqlalchemy","sqlmodel","uv"],"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/LLM-Grading-System.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}},"created_at":"2025-02-23T00:16:55.000Z","updated_at":"2025-03-10T21:56:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc59b0e2-7e06-4bc8-b5f3-df5f9715d044","html_url":"https://github.com/LLM-Grading-System/Platform-Backend","commit_stats":null,"previous_names":["llm-grading-system/platform-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLM-Grading-System","download_url":"https://codeload.github.com/LLM-Grading-System/Platform-Backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243668005,"owners_count":20328036,"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","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":["docker","fastapi","granian","postgresql","python","sqlalchemy","sqlmodel","uv"],"created_at":"2025-03-15T00:36:52.316Z","updated_at":"2026-04-13T23:02:28.390Z","avatar_url":"https://github.com/LLM-Grading-System.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Документация\n\n### Модель данных\n```mermaid\nerDiagram\n    USERS {\n        UUID user_id PK\n        string login\n        string salt\n        string hashed_password\n        string role\n        datetime created_at\n    }\n\n    SESSIONS {\n        UUID session_id PK\n        UUID user_id FK\n        datetime expired_at\n        string user_agent\n    }\n\n    STUDENTS {\n        UUID student_id PK\n        int tg_user_id\n        string tg_username\n        string gh_username\n        datetime registered_at\n    }\n\n    TASKS {\n        UUID task_id PK\n        string name\n        string system_instructions\n        string ideas\n        string gh_repo_url\n        string level\n        string tags\n        bool is_draft\n    }\n\n    SUBMISSIONS {\n        UUID submission_id PK\n        UUID task_id FK\n        UUID student_id FK\n        string gh_repo_url\n        string code_file_name\n        string llm_grade\n        string llm_feedback\n        string llm_report\n        datetime evaluated_at\n        datetime created_at\n    }\n\n    COMPLAINTS {\n        UUID complaint_id PK\n        UUID task_id FK\n        UUID student_id FK\n        string student_request\n        string teacher_response\n        datetime created_at\n    }\n\n    USERS ||--o{ SESSIONS : has\n    STUDENTS ||--o{ SUBMISSIONS : makes\n    TASKS ||--o{ SUBMISSIONS : receives\n    TASKS ||--o{ COMPLAINTS : receives\n    STUDENTS ||--o{ COMPLAINTS : makes\n```\n\n## Разработка\n\n### Переменные окружения\n```bash\nMODE=dev\n# Postgres Envs\nPOSTGRES_DB=grading\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=password\nPOSTGRES_PORT=5432\nPOSTGRES_HOST=localhost\n# Minio Envs\nMINIO_PORT=9000\nMINIO_HOST=localhost\nMINIO_ROOT_USER=minio\nMINIO_ROOT_PASSWORD=password\nMINIO_ACCESS_KEY=access-key\nMINIO_SECRET_KEY=secret-key\nMINIO_BUCKET=submissions\n# Kafka\nKAFKA_BOOTSTRAP_SERVERS=localhost:29092\nKAFKA_UI_ADMIN_LOGIN=admin\nKAFKA_UI_ADMIN_PASSWORD=password\n```\n\n### Установка библиотек с uv\n```bash\nuv sync\n```\n\n### Запуск контейнеров для разработки\nКонтейнер приложения запускается в reload-режиме для разработки\n```bash\ndocker compose -f dev.docker-compose.yaml build\ndocker compose -f dev.docker-compose.yaml up -d\n```\n\n### Запуск в dev-режиме\n```bash\nuv run fastapi dev src/app.py --port 8000\n```\n\n### Запуск форматтера и линтера с автофиксами\n```bash\nuv run ruff format ./src\nuv run ruff check --fix src\n```\n\n### Тестирование\n- GitHub owner: ashishpatel26\n- GitHub repo: vectordb-recipes","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllm-grading-system%2Fplatform-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllm-grading-system%2Fplatform-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllm-grading-system%2Fplatform-backend/lists"}