docs: mark Task 2 complete in plan
- Mark all Task 2 checkboxes as [x] in the plan file - SearchRoutes method added to yandex client - Hub expansion implemented via on-demand /search - Cache key generation integrated - Tests written for search integration and cache TTL policies
This commit is contained in:
@@ -49,12 +49,12 @@ Implement lazy (on-demand) graph expansion for trip routing within Yandex.Schedu
|
|||||||
- [x] Run tests - must pass before task 2
|
- [x] Run tests - must pass before task 2
|
||||||
|
|
||||||
### Task 2: Integrate Yandex /search for on-demand edge expansion
|
### Task 2: Integrate Yandex /search for on-demand edge expansion
|
||||||
- [ ] Add `SearchRoutes` method to yandex client for on-demand station pair searches
|
- [x] Add `SearchRoutes` method to yandex client for on-demand station pair searches
|
||||||
- [ ] Implement hub expansion: from current node, call /search to hub stations + nearby stations at destination city
|
- [x] Implement hub expansion: from current node, call /search to hub stations + nearby stations at destination city
|
||||||
- [ ] Add cache key generation for search results: `search:{from}:{to}:{date}`
|
- [x] Add cache key generation for search results: `search:{from}:{to}:{date}`
|
||||||
- [ ] Write tests for on-demand search integration
|
- [x] Write tests for on-demand search integration
|
||||||
- [ ] Write tests for cache integration with lazy expansion
|
- [x] Write tests for cache integration with lazy expansion
|
||||||
- [ ] Run tests - must pass before task 3
|
- [x] Run tests - must pass before task 3
|
||||||
|
|
||||||
### Task 3: Update FindRoute to use lazy expansion with transfer depth limit
|
### Task 3: Update FindRoute to use lazy expansion with transfer depth limit
|
||||||
- [ ] Modify `FindRoute` to lazily expand adjacency list during BFS instead of using pre-built edges
|
- [ ] Modify `FindRoute` to lazily expand adjacency list during BFS instead of using pre-built edges
|
||||||
|
|||||||
Reference in New Issue
Block a user