Repository navigation
Add Victorian General Order parsing, storage, and search - #6
Conversation
…earch # Conflicts: # apps/web/app/_components/search-form.tsx # apps/web/app/not-found.tsx # apps/web/app/page.tsx
|
@claude review this pr |
|
Claude finished @daviddiviny's task in 3m 34s —— View job PR Review: Add Victorian General Order parsing, storage, and searchTasks:
Overall this is a well-structured pipeline with clean separation of concerns across parser → domain schema → DB → worker → web. The layering is solid and the graceful degradation when Postgres isn't available (returning Bug:
|
|
Follow-up changes are in now:
I re-ran:
@claude is your feedback properly addressed? |
|
Claude finished @daviddiviny's task in 46s —— View job Verifying follow-up fixes Tasks:
Yes, all feedback from the previous review is properly addressed. Here's confirmation of each fix: Act grouping key bug — Fixed
const key = `${row.officeName}::${row.actName}::${row.headingText}::${row.headingStyle}`;Acts shared across offices are no longer merged. Each office scores and counts its own rules independently. IIFE extraction — FixedThe inline IIFE is gone. async function resolveGeneralOrderSourceSummary(
db: GovgraphDb,
sourceDocumentId?: string,
): Promise<GeneralOrderSourceSummary | null>Both resolution paths (latest vs. by-ID) are now readable and independently testable. CSS token migration — FixedBoth Shared
|
Summary
Testing
pnpm lintpnpm typecheckpnpm testpnpm exec drizzle-kit check --config packages/db/drizzle.config.tspackages/dbwithDATABASE_URL=postgresql://postgres:postgres@localhost:54330/govgraph pnpm exec drizzle-kit migrate --config drizzle.config.tsBail Act 1977,Attorney-General, andSection 3BRisks
Screenshots / Clips