How rohitbopche/track-manuals-atlas works
Track Manuals Atlas is an offline Indian Railways manuals knowledge base, with cited chat, search, manual browsing, practice cards, and an expert graph workbench. Its user workflow starts with a question or manual-selection task and returns ranked manual passages or answers intended to cite the manual, paragraph, and page; other entry points support browsing, learning, and graph exploration. The repository also contains a substantial extraction and knowledge-graph preparation pipeline. Runtime wiring beyond the README and the shown search CLI/index builder is only partly evidenced, so uncertain links are omitted.
Main entry points: rdso_chat.js Cited chat · expert.js Graph workbench · search_cli.js Search CLI · rdso_search.js Manual search
Components 19
User features
- Cited chat
lib/rdso_chat.js - Manual browser
lib/rdso_browse.js - Practice cards
data/learning/cards.js - Graph workbench
ui/expert.js - Entity support
lib/rdso_entities.js
Knowledge data
- Knowledge graph data
data/rdso_kg_data.js - Manual structure
data/manual_structure.js - Page evidence index
data/manual_content_index.js
Knowledge pipeline
- Chapter ingestion
scripts/ingest_all_manual_chapters.py - Clause parser
scripts/clause_parser.py - Canonical graph generation
scripts/generate_canonical_kg.py - Manual hierarchy
scripts/resolve_manual_hierarchy.py - Evidence rendering
scripts/render_evidence.py - Human review packet
scripts/make_review_packet.py
Search runtime
- Manual search
lib/rdso_search.js - Search CLI
scripts/search_cli.js - Search index
data/search/search_index.js - Index builder
scripts/build_search_index.js
Other components
- Manual user
Connections 17
- Manual user → Cited chat: asks questions
README.md - Manual user → Manual browser: browses manuals
README.md - Manual user → Practice cards: practices with
README.md - Manual user → Graph workbench: explores graph
README.md - Manual user → Search CLI: runs query
README.md - Search CLI → Search index: loads
scripts/search_cli.js - Search CLI → Manual search: queries
scripts/search_cli.js - Index builder → Manual search: uses tokenization
scripts/build_search_index.js - Index builder → Search index: writes
scripts/build_search_index.js - Chapter ingestion → Clause parser: imports parser
scripts/ingest_all_manual_chapters.py - Canonical graph generation → Manual hierarchy: references
scripts/generate_canonical_kg.py - Human review packet → Evidence rendering: renders evidence
scripts/make_review_packet.py - Graph workbench → Entity support: uses entity support
- Graph workbench → Knowledge graph data: explores graph data
- Manual browser → Manual structure: browses structure
- Cited chat → Manual search: retrieves passages
- Cited chat → Page evidence index: supports citations