Skip to content

Conversation

@BadgerHobbs
Copy link
Owner

Summary

This PR adds a new bin collection data collector for Cheshire East Council.

  • Implements ICollector interface
  • Adds integration tests
  • Successfully tested with example postcode from issue

Closes #83

Test Summary

 ==================== Test Summary ====================
 
 --------------------- Collector ----------------------
 
 Cheshire East Council
 
 ------------------- Addresses (34) -------------------
 
 - 3 BRIERLEY STREET, CREWE, CW1 2AY, 100010070040
 - 4 BRIERLEY STREET, CREWE, CW1 2AY, 100010070041
 - 6 BRIERLEY STREET, CREWE, CW1 2AY, 100010070042
 - 8 BRIERLEY STREET, CREWE, CW1 2AY, 100010070043
 - 10 BRIERLEY STREET, CREWE, CW1 2AY, 100010070044
 - ...
 
 ------------------- Bin Days (23) --------------------
 
 - 13/01/2026 (1 bins):
   - Recycling
 
 - 27/01/2026 (1 bins):
   - Recycling
 
 - 10/02/2026 (1 bins):
   - Recycling
 
 - 24/02/2026 (1 bins):
   - Recycling
 
 - 10/03/2026 (1 bins):
   - Recycling
 
 - 24/03/2026 (1 bins):
   - Recycling
 
 - 07/04/2026 (1 bins):
   - Recycling
 
 - 21/04/2026 (1 bins):
   - Recycling
 
 - 05/05/2026 (1 bins):
   - Recycling
 
 - 19/05/2026 (1 bins):
   - Recycling
 - ...
 
 ======================================================

Generated automatically by Codex CLI

@gemini-code-assist

This comment was marked as outdated.

gemini-code-assist[bot]

This comment was marked as outdated.

@BadgerHobbs BadgerHobbs force-pushed the collector/CheshireEastCouncil-issue-83-1767482447 branch from cbecbff to ede3996 Compare January 3, 2026 23:41
Repository owner deleted a comment from github-actions bot Jan 3, 2026
@BadgerHobbs BadgerHobbs force-pushed the collector/CheshireEastCouncil-issue-83-1767482447 branch 2 times, most recently from 93af956 to 13b18d0 Compare January 10, 2026 00:59
@BadgerHobbs
Copy link
Owner Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a 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!

Closes #83

Generated with Codex CLI
@BadgerHobbs BadgerHobbs force-pushed the collector/CheshireEastCouncil-issue-83-1767482447 branch from 13b18d0 to fe67a0a Compare January 17, 2026 00:17
- 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>
@BadgerHobbs
Copy link
Owner Author

Quick investigation into the return of only recycling. Seems to be that's all which is returned. Kind of odd.

image

@BadgerHobbs BadgerHobbs added ready for deployment Implementation ready for deployment new collector Request for a new collector to be supported labels Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new collector Request for a new collector to be supported ready for deployment Implementation ready for deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cheshire East Council

1 participant