2026
COMPASS AI
A local research system for supporting project-task assignment across a team based on competencies, workload, deadlines, risks and development goals. The main pipeline generates and explains recommendations, while a separate Sandbox brings together data generation and import, model training and comparison, assignment experiments and reporting.
Project roles
Technologies and tools
- Built two connected components: the main COMPASS AI pipeline for task analysis, team analysis, candidate ranking and recommendation explanations, plus a separate COMPASS AI Sandbox with its own local FastAPI backend and browser UI for data generation and import, model training, experiments, assignment workflows and reporting.
- Implemented reproducible generators for employees, tasks and backlogs, assignment history, completion outcomes and task–employee training pairs. Developer and designer domain profiles, along with a custom schema, define roles, grades, skills, task types and additional numeric, categorical, boolean, text and skill-list features. Team size, workload, fatigue, availability, learning goals, task complexity, deadlines, effort estimates, priorities, dependencies and status distributions are configurable. Added CSV, JSON and Parquet dataset import with previews and required-field validation against data contracts.
- Built task, employee and pair features. They cover required skills and proficiency levels, technology stack, role-to-task fit, complexity, priority, deadline and estimated effort; employee profiles include grade, workload, active task count, availability, fatigue, delivery speed and quality, deadline reliability and development goals. Task descriptions use 384-dimensional multilingual Sentence Transformers embeddings (`paraphrase-multilingual-MiniLM-L12-v2`). Feature metadata, skill vocabulary and dataset splits are saved.
- Implemented four recommendation modes in the main pipeline: fast delivery, balanced workload, employee growth and risk minimization. Ranking considers skill fit, workload and availability, delivery history and quality, deadline reliability, task complexity relative to grade, learning goals and mentor support. Results include factor scores, matched and missing skills, risks and reasons; a rule-based fallback is available when ML inference cannot run. The Sandbox provides five assignment modes: balanced, best quality, fastest delivery, best learning and risk aware.
- Built a separate bulk-assignment optimizer. It assigns tasks sequentially while accounting for work already allocated in the current session, projected workload and fatigue, task complexity and estimated hours, learning goals, a fairness penalty for assignment concentration and the selected mode. Sessions store team and per-assignment starting and projected workload, task lists, scores and distribution summaries for later review and reporting.
- Implemented an agent pipeline with Task Analyzer, Team Analyzer, Matching Agent, Explanation Agent and Plane Agent. The task analyzer normalizes Plane fields and extracts labels, task type, priority, complexity, skills and deadline from fields or text; the team analyzer prepares candidate profiles. ML ranking is used for synthetic tasks, while Plane project-member lists use rule-based ranking and exclude synthetic employees.
- Integrated Plane through its REST API to retrieve projects, work items, members and comments; normalize states, assignees, labels, deadlines and project context; map Plane users to employee profiles; and estimate workload from open tasks. With explicit request parameters, a recommendation can be posted as a work-item comment (with a marker to detect duplicates) or the top candidate can be assigned when their score exceeds a configured threshold. Writes and assignments are off by default; the integration can restrict candidates to members of the selected project.
- Implemented and compared six models: a rule-based baseline, SGD classifier, logistic regression, random forest, histogram gradient boosting and a PyTorch MLP. The main `TaskEmployeeMatchingNet` encodes tasks and employees into separate 128-dimensional representations, then combines them with their absolute difference, element-wise product and 13 pair features to estimate assignment success probability. Training uses BCEWithLogitsLoss, AdamW, validation-based early stopping and a fixed seed; it selects Apple Silicon MPS when available and otherwise CPU. Checkpoints and training sessions preserve model configuration and feature metadata.
- Prepared task-grouped train, validation and test splits with no task_id overlap: 42,052 training, 9,024 validation and 8,924 test pairs across 2,500 synthetic tasks and 36 employee profiles. The saved neural-model test report records 0.781 accuracy and 0.859 ROC AUC. Across 375 test tasks, ML precision@1 is 0.893 versus 0.872 for the rule-based baseline, and NDCG@3 is 0.863 versus 0.861; precision@3 is 0.853 versus 0.860. These are offline results on synthetic data: they describe the experimental sample, do not establish performance for a real team, and show that the model does not lead on every ranking metric.
- Added diagnostics for recommendation distribution by grade, assignment concentration across employees, average workload of recommended candidates and overload risks. These indicators appear in summaries and reports and help assess how evenly tasks are distributed.
- Exported `TaskEmployeeMatchingNet` to ONNX opset 17 with a dynamic batch dimension and added ONNX Runtime inference. Numerical comparison of the saved export shows a maximum absolute probability difference of 2.4×10⁻⁷ between PyTorch and ONNX. The Sandbox also supports model training and comparison, metric and prediction review, export validation and inference with saved models.
- Added local explanations through Ollama with Qwen2.5 1.5B Instruct. The LLM writes an explanation only after ranking is complete: its prompt restricts names to the supplied candidates and prohibits changing their order or inventing facts; a template explanation is used when Ollama is unavailable. Built a Streamlit dashboard for data overview, recommendations, Plane Live, team workload, model metrics and fairness. The browser Sandbox includes all main interface sections: dashboard, data generation, viewer, import, training, models, Assignment Lab, Kanban Lab, reports and settings. The viewer supports search, filters, table pagination, employee and task profiles, employee history and a Kanban view. The lab can test recommendations on test cases and modify teams and boards on an isolated data copy: add or remove tasks and employees, move tasks between statuses, save boards and reset changes. Settings allow domain schemas and generation and training parameters to be edited.
- Prepared dataset, model, training and bulk-assignment reports with summary tables, metrics, plots, training history, manifests and HTML export with artifact files. Wrote Russian and English documentation for the architecture, data contracts, feature schemas, local setup for the main stack and Sandbox, Plane integration workflows and Ollama usage. Documented COMPASS AI as a research prototype and clarified that the reported metrics come from synthetic data and do not verify assignment outcomes in an organization.

