Spaces:
Runtime error
Runtime error
Commit ·
2ae42b0
1
Parent(s): 6887f56
feat: add explicit keyword routes for summer reading, find-a-library, sunday/opening hours
Browse files- 'summer reading'/'reading challenge' → summer-reading-challenge page
(was falling through to _keyword_search, no source, 3 messy chunks)
- 'find a library'/'library branches' etc → find-a-library page
(was falling through to _keyword_search, no source)
- 'sunday'/'opening hours'/'when do' → opening-hours page
(was returning only 91w from LU page; now 231w with Sunday-specific data)
All 32 topic navigator questions now grade A except 'book a computer'
which is correctly B — that page is genuinely sparse (walk-in, no booking).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- query_tool.py +4 -0
query_tool.py
CHANGED
|
@@ -577,6 +577,10 @@ class LibraryQueryTool:
|
|
| 577 |
("children", "storytime", "bounce and rhyme", "stay and play", "kids",
|
| 578 |
"events", "activities", "activity", "sessions", "reading group",
|
| 579 |
"coding club", "craft", "rhyme time"): "library-events-and-activities",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 580 |
("disruption", "closed", "closure", "service disruption"): "library-service-disruption",
|
| 581 |
("computer", "pc", "book a computer", "internet access", "free computer"): "book-a-computer",
|
| 582 |
("printing", "photocopy", "photocopying", "scan", "scanner", "print"): "printing-and-photocopying-services",
|
|
|
|
| 577 |
("children", "storytime", "bounce and rhyme", "stay and play", "kids",
|
| 578 |
"events", "activities", "activity", "sessions", "reading group",
|
| 579 |
"coding club", "craft", "rhyme time"): "library-events-and-activities",
|
| 580 |
+
("summer reading", "reading challenge", "summer holiday reading"): "summer-reading-challenge",
|
| 581 |
+
("find a library", "nearest library", "library branches", "library locations",
|
| 582 |
+
"all libraries", "list of libraries", "where is the library"): "find-a-library",
|
| 583 |
+
("sunday", "opening hours", "open on", "what time", "when do", "when does"): "opening-hours",
|
| 584 |
("disruption", "closed", "closure", "service disruption"): "library-service-disruption",
|
| 585 |
("computer", "pc", "book a computer", "internet access", "free computer"): "book-a-computer",
|
| 586 |
("printing", "photocopy", "photocopying", "scan", "scanner", "print"): "printing-and-photocopying-services",
|