Skip to content

Roadmap generator module - #103

Merged
Matee-ur-Rehman merged 1 commit into
QuantumLogicsLabs:mainfrom
Matee-ur-Rehman:feature/roadmap-generator
Aug 29, 2026
Merged

Matee-ur-Rehman merged 1 commit into
QuantumLogicsLabs:mainfrom
Matee-ur-Rehman:feature/roadmap-generator

Conversation

@Matee-ur-Rehman

Copy link
Copy Markdown
Collaborator

Overview

Implements the Roadmap Generator module for Team Lambda, per the approved architecture doc (Weak-topic Detection & Roadmap Generator Proposed Structure). Generates a simple, ordered study roadmap from subject/topic input.

Design
General-purpose module — takes a list of topics as input, does not depend on Weak-topic Detection or any other module's output, matching the approved architecture doc exactly.
Callers may optionally pass per-topic priority hints (e.g. sourced from weak-topic results elsewhere) as plain data — this module never imports or depends on that source.
app/api/ is intentionally left empty, per the doc's instruction to defer API contracts until cross-team integration details are confirmed.
What was added
generators/base_generator.py, generators/roadmap_generator.py — LLM-backed (Groq) roadmap generation
models/topic.py, models/roadmap.py — input/output data models
services/roadmap_service.py — integration entry point, includes input validation
validators/topic_validator.py — topic name and step-count validation
tests/ — unit tests for validation (always run) and generation (skipped automatically if GROQ_API_KEY isn't set)
README.md, requirements.txt, .gitignore
Testing
All 7 tests pass locally with GROQ_API_KEY configured: pytest roadmap_generator/tests -q --tb=short → 7 passed
Manually verified end-to-end output — generated a 4-step roadmap for "Algorithms" (Recursion → Recursive patterns → DP foundations → Applying DP), logically sequenced with clear descriptions.

@Matee-ur-Rehman
Matee-ur-Rehman merged commit 00c5256 into QuantumLogicsLabs:main Aug 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant