-
-
Notifications
You must be signed in to change notification settings - Fork 4
Add collector for Cheshire East Council #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add collector for Cheshire East Council #95
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
cbecbff to
ede3996
Compare
93af956 to
13b18d0
Compare
|
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This PR adds a new collector for Cheshire East Council and an integration test, which is great. The implementation is solid and mostly follows the project's style guide.
I've left a few comments regarding minor style guide violations, such as missing trailing commas in object initializers and the missing null-forgiving operator on regex matches. I've also suggested a small refactoring to reduce code duplication between GetAddresses and GetBinDays for better maintainability.
Additionally, a markdown file (.agent/prompts/fix-pr-comment.md) was added which seems unrelated to the collector implementation. I've made a minor suggestion there, but it might be worth checking if this file was intended to be part of this PR.
Overall, great work on the new collector!
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.IntegrationTests/Collectors/Councils/CheshireEastCouncilTests.cs
Show resolved
Hide resolved
Closes #83 Generated with Codex CLI
13b18d0 to
fe67a0a
Compare
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
BinDays.Api.Collectors/Collectors/Councils/CheshireEastCouncil.cs
Outdated
Show resolved
Hide resolved
- Remove redundant postcode formatting (already formatted) - Remove timestamp cache-busting parameters (not required) - Remove URI escaping (not needed) - Simplify Address object to use Property and Postcode only - Expect postcode and cookies to be provided (remove conditionals) - Use postcode from request parameter, not parsed address parts - Fix null-forgiving operators per style guide (on Matches, not Groups) - Add comment for onelineAddress building logic Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Summary
This PR adds a new bin collection data collector for Cheshire East Council.
ICollectorinterfaceCloses #83
Test Summary
Generated automatically by Codex CLI