{"id":26578133,"url":"https://github.com/llm-grading-system/platform","last_synced_at":"2026-04-18T04:31:44.403Z","repository":{"id":283506166,"uuid":"950116278","full_name":"LLM-Grading-System/Platform","owner":"LLM-Grading-System","description":"Инфраструктура для запуска платформы LLM-оценивания","archived":false,"fork":false,"pushed_at":"2025-04-15T10:01:37.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-15T11:22:04.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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,"zenodo":null}},"created_at":"2025-03-17T16:51:00.000Z","updated_at":"2025-04-15T10:01:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"24d64a1b-20c3-4e13-bc40-e49d7b882da9","html_url":"https://github.com/LLM-Grading-System/Platform","commit_stats":null,"previous_names":["llm-grading-system/platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LLM-Grading-System/Platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform/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/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Grading-System%2FPlatform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31956818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":"2025-03-23T04:27:54.146Z","updated_at":"2026-04-18T04:31:44.397Z","avatar_url":"https://github.com/LLM-Grading-System.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Grading\n\n## Архитектура\n\n```mermaid\ngraph LR\n    %% C4 style classes c4model.com %%\n    classDef person fill:#08427b,stroke:black,color:white;\n    classDef container fill:#1168bd,stroke:black,color:white;\n    classDef database fill:#1168bd,stroke:black,color:white;\n    classDef software fill:#1168bd,stroke:black,color:white;\n    classDef existing fill:#999999,stroke:black,color:white;\n    classDef boundary fill:white,stroke:black,stroke-width:2px,stroke-dasharray: 5 5;\n    classDef frame fill:white,stroke:black;\n\n\n    %% nodes %%\n    GitHub[\"GitHub API\"]:::existing\n    Mistral[\"Mistral AI API\"]:::existing\n    Admin((Admin)):::person\n    Student((Student)):::person\n    WebApp(\"Admin Panel \u003cbr\u003e[Container: Nginx + React]\"):::container\n    CoreAPI(\"Core API \u003cbr\u003e[Container: FastAPI]\"):::container\n    Worker(\"LLM Grader \u003cbr\u003e[Container: FastStream]\"):::container\n    GitHubGateway(\"GitHub Gateway \u003cbr\u003e[Container: FastAPI]\"):::container\n    CoreDB[(\"Core Data \u003cbr\u003e[Container: PostgreSQL]\")]:::database\n    S3[(\"Submissions \u003cbr\u003e[Container: Minio]\")]:::database\n    Events([\"Events \u003cbr\u003e[Container: Kafka Topic]\"]):::container\n    TGBot(\"Student Bot \u003cbr\u003e[Container: Aiogram]\"):::container\n\n    %% connections and boundaries %%\n    \n    subgraph Legend [Containers]\n        Student-.-\u003e|Uses| TGBot\n        Admin-.-\u003e|Uses| WebApp\n        \n        subgraph Boundary[\"Boundary: System\"]\n            WebApp-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| CoreAPI\n            CoreAPI-.-\u003e|\"Makes requests  \u003cbr\u003e [HTTP/HTTPS]\"| GitHubGateway\n            CoreAPI-.-\u003e|\"Makes requests  \u003cbr\u003e [TCP]\"| CoreDB\n            CoreAPI-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| S3\n\n            Worker-.-\u003e|\"Makes requestts \u003cbr\u003e [HTTP/HTTPS]\"| CoreAPI\n            Worker-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| S3\n\n            CoreAPI-.-\u003e|\"Pushes event  \u003cbr\u003e [TCP]\"| Events\n            TGBot-.-\u003e|\"Pulls event \u003cbr\u003e [TCP]\"| Events\n            Worker-.-\u003e|\"Pulls event \u003cbr\u003e [TCP]\"| Events\n            GitHubGateway-.-\u003e|\"Pushes/pulls event \u003cbr\u003e [TCP]\"| Events\n\n            \n            TGBot-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| GitHubGateway\n            TGBot-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| CoreAPI\n\n        end\n        class Boundary boundary\n        \n        GitHubGateway-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| GitHub\n        Worker-.-\u003e|\"Makes requests \u003cbr\u003e [HTTP/HTTPS]\"| Mistral\n    end\n    class Legend frame\n```\n\n## Запуск\n\n### Переменные окружения\n\n```env\n# Core API\nPLATFORM_ADMIN_USER=admin\nPLATFORM_ADMIN_PASSWORD=password\n# Postgres\nPOSTGRES_DB=grading\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=password\n# Minio\nMINIO_ROOT_USER=minio\nMINIO_ROOT_PASSWORD=password\nMINIO_ACCESS_KEY=\u003cSET-LATER\u003e\nMINIO_SECRET_KEY=\u003cSET-LATER\u003e\n# Kafka\nKAFKA_BOOTSTRAP_SERVERS=localhost:29092\nKAFKA_UI_ADMIN_LOGIN=admin\nKAFKA_UI_ADMIN_PASSWORD=password\n# Mistral API\nMISTRAL_API_KEY=\u003cSET-LATER\u003e\nMISTRAL_MODEL=codestral-latest\n# Telegram\nBOT_TOKEN=\u003cSET-LATER\u003e\n# GitHub\nGITHUB_ACCESS_TOKEN=\u003cSET-LATER\u003e\n# GitHub\nGITHUB_APPS_PRIVATE_KEY_PATH=/app/grading.private-key.pem\nGITHUB_APPS_CLIENT_ID=\u003cSET-LATER\u003e\nGITHUB_PERSONAL_ACCESS_TOKEN=\u003cSET-LATER\u003e\n```\n\n### Инструкция по изначальному запуску\n\n1. Запустить minio `docker-compose up -d minio`\n2. Зайти в админку Minio по http://localhost:9001/login под кредами MINIO_ROOT_USER/MINIO_ROOT_PASSWORD\n3. Перейти по http://localhost:9001/access-keys и создать access key\n4. Скопировать данные по созданному ключу в env MINIO_ACCESS_KEY, MINIO_SECRET_KEY\n5. Запустить контейнеры для Kafka `docker-compose up -d zookeeper kafka kafka-ui`\n6. Зайти в админку Kafka UI по http://localhost:8090/auth под кредами KAFKA_UI_ADMIN_LOGIN/KAFKA_UI_ADMIN_PASSWORD\n7. Перейти по http://localhost:8090/ и убедиться, что кластер живой\n8. Запустить базу данных и подождать несколько секунд `docker-compose up -d postgres`\n9. Запустить все остальное `docker-compose up -d api grader bot github-gateway web`\n\n### Инструкции по обновлению Docker-образов в продакшн-среде\n\n```bash\ndocker pull daniilsolo/llm-grading.core-api:latest \ndocker pull daniilsolo/llm-grading.grader:latest \ndocker pull daniilsolo/llm-grading.student-bot:latest \ndocker pull daniilsolo/llm-grading.github-gateway:latest\ndocker pull daniilsolo/llm-grading.frontend:latest\ndocker-compose up -d api grader bot github-gateway\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllm-grading-system%2Fplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllm-grading-system%2Fplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllm-grading-system%2Fplatform/lists"}