2025–2026
Frappe HR Forge
A local environment for developing an HR solution on ERPNext and Frappe HRMS. It combines a Docker deployment, a custom Frappe app with HR entities and ETL pipelines for preparing career-history, job-market and course data.
Project roles
Technologies and tools
- Set up a local Docker Compose stack with ERPNext 15.92.4 and Frappe HRMS based on frappe_docker. Configured MariaDB 10.6, Redis 6.2 for queues and cache, backend, frontend, workers, scheduler and websocket; the portal is served locally on port 8080. Connected the custom `compass_hr_ai` app and HRMS sources through bind mounts, installed the app on the site and enabled developer mode. `frappe_docker` and HRMS are upstream submodules in the repository.
- Prepared demo HR configuration: company and organization structure, designations, grades, employment types, a Basic salary component, the `RUB Monthly (Base)` salary structure and a payroll period. Added CSV seed data for 79 demo employees, salary assignments and employment history; the history file contains 126 entries. Configured Compass HR Admin, Compass Manager and Compass Employee roles, baseline DocType permissions and exportable fixtures.
- Created the COMPASS-HR workspace with nine shortcuts and 17 custom DocTypes: nine main entities — Employment History, Skill, Role Profile, Employee Skill Profile, Career Prediction, Course, Learning Recommendation, Team Plan and Resume — plus eight child tables for role requirements, employee and course skills, predictions, skill gaps, resume skills and team-plan roles.
- Added JavaScript actions to the Employee form (`Generate Career Plan`, `Refresh Skills from Resume`) and Compass Team Plan form (`Compute Team Plan`). They are currently UI placeholders that display messages about future calls; prediction, resume processing and ML-service integration are not connected to them.
- Prepared a separate Python 3.11.14 `compass_hr_ai` package, virtual environment and `Python (compass-hr)` Jupyter kernel. Organized local data into `raw`, `interim`, `processed` and `cache` layers; added project-root/path utilities and a JSON cache keyed by a stable serialization of request parameters.
- Implemented ETL for career trajectories from the Rostrud/Zenodo dataset. The script detects the separator and maps column names, supports CSV inspection and 200,000-row chunked reads, normalizes job titles, parses dates and groups records by candidate. It produces cleaned work-history Parquet data, role sequences and a separate normalized role catalog. A `--demo-small` mode supports faster demonstration runs.
- Built cache-first hh.ru API ingestion with text and region search, configurable pages and result counts, a delay between requests and reuse of cached responses. The parser flattens nested JSON into vacancy ID and title, region, employer, salary and currency, experience, schedule, employment type, requirements, responsibilities, publication date and URL.
- Implemented a Stepik course-catalog collector: it tries search API parameter variants, extracts course IDs, fetches details in batches of up to 50 and caps total collection through `--max-courses` (200 by default). Both search responses and course details are cached. The parser extracts title, slug, description, language, level, paid status and price, certificate availability, learner count, reviews, cover and URL. Rostrud, hh.ru and Stepik outputs are stored as Parquet.
- Added an ETL smoke workflow to run all three pipelines on demo-sized inputs and validate four Parquet outputs: career trajectories, role catalog, vacancies and courses. Pinned dependencies and configured Ruff, Black, Mypy, pytest and pre-commit; added scripts to start, stop and inspect Docker portal logs, plus project documentation and planning documents.
- Prepared the project foundation and documented the unfinished areas: trained models, NLP and embeddings, Qdrant, skill extraction and matching, career prediction, salary estimation, course ranking, team planning, resume parsing and a FastAPI service. Also documented that end-to-end ML integration with Frappe, logic behind the three UI buttons and row-level access control have not been implemented.

