refactor: rename "works" to "titles" across codebase#1043
Conversation
|
Claude finished @fshowalter's task in 2m 49s —— View job PR Review: refactor: rename "works" to "titles" across codebase
SummaryThis is a large but straightforward rename refactor — "works" → "titles" across the entire codebase (Python source, tests, reading markdown files, and JSON data files). The rename is thorough and internally consistent. Below are the findings. Issues Found1. Orphaned snapshot directory not cleaned up
{
"authors": [{ "notes": null, "slug": "richard-laymon" }],
"includedWorks": [],
...
}The test file was renamed to 2. In
The 3. Naming inconsistency: In class JsonTitleAuthor(TypedDict):
id: str # ← this stores an author slug
notes: str | NoneBut @dataclass
class TitleAuthor:
notes: str | None
author_slug: str # ← same value, different nameThe JSON data on disk also uses 4. In lambda title: query.lower() in f"{title.title}: {title.subtitle}".lower()This produces What's Done Well
Minor Notes
|
No description provided.