How pivasya/taskforge works
TaskForge is a learning and coding platform: learners use its React apps to browse courses, solve tasks, and submit code for asynchronous judging. The README documents the durable submission path and major browser, AI-agent, SQL/image-task, Minecraft, and high-availability capabilities. The graph combines those documented relationships with the sampled frontend query-cache and browser-service wiring; unsampled subsystems are represented at supported directory or entry-point paths, without inferring internal calls.
Main entry points: App.jsx Web application · execution Execution worker · api/Program.cs Solution submissions · assignment-api/Program.cs Assignment API
Components 22
Learning experience
- Web application
apps/web/src/App.jsx - CT learning app
apps/web-ct/src/App.jsx - Query cache
apps/web/src/data/queryClient.js - Query provider
apps/web/src/data/QueryClientProvider.jsx - Query hook
apps/web/src/hooks/useQuery.js - Courses and tasks
services/education/api/Program.cs - Learning content
services/content/api/Program.cs
Submission and judging
- Solution submissions
services/solutions/api/Program.cs - Execution worker
services/execution - Code analyzer
services/analyzers/code-analyzer/src/main.rs - Language runners
services/execution/runners - Assignment API
services/tasks/assignment-api/Program.cs - Task data
services/tasks/assignment-api/Data/TasksDbContext.cs
Platform services
- Browser API
services/browser/api/Program.cs - Automated agent
- AI API
services/ai/api/Program.cs - AI worker
services/ai/worker/Program.cs - Files API
services/files/api/Program.cs
Integrations and operations
- Minecraft API
services/minecraft/api/Program.cs - Mob tweaks plugin
plugins/minecraft/minecraft-plugin-folia/CustomMobTweaksPlugin/src/main/java/me/vasya/custommobtweaks/CustomMobTweaksPlugin.java - Cluster manager
deploy/cluster/manager.py
Other components
- Learner
Connections 23
- Learner → Web application: uses
- Learner → CT learning app: uses
- Web application → Query provider: provides cache
apps/web/src/data/QueryClientProvider.jsx - Query provider → Query cache: creates client
apps/web/src/data/QueryClientProvider.jsx - Query hook → Query provider: uses client
apps/web/src/hooks/useQuery.js - Query hook → Query cache: fetches and observes
apps/web/src/hooks/useQuery.js - Web application → Courses and tasks: browses courses
- Courses and tasks → Learning content: loads learning content
- Learner → Solution submissions: submits solution
- Solution submissions → Execution worker: creates execution job
- Execution worker → Code analyzer: checks submission
- Execution worker → Language runners: runs code
services/execution/runners/csharp-runner/Controllers/RunController.cs - Execution worker → Solution submissions: returns verdict
- Web application → Assignment API: uses task APIs
- Assignment API → Task data: persists task data
- Automated agent → Browser API: discovers and inspects
- Browser API → Web application: renders deployed app
- Automated agent → Solution submissions: submits through APIs
- Web application → AI API: uses agent features
- AI API → AI worker: delegates agent work
- Assignment API → Files API: stores image assets
- Minecraft API → Mob tweaks plugin: delivers link codes
- Cluster manager → Cluster manager: manages HA nodes
deploy/cluster/manager.py