Add collector for Norwich County Council#316
Conversation
Closes #314 Generated with Codex CLI by Moley-Bot
Formatted by Moley-Bot
|
/gemini review |
|
@claude review |
|
Claude finished @BadgerHobbs's task in 1m 55s —— View job Code Review
Overall the implementation is well-structured and follows the project conventions closely. Two issues found — one significant, one minor. 1. Incorrect Council Name (Bug)
public string Name => "Norwich County Council";Norwich is a City Council, not a County Council. The county-level authority for the area is Norfolk County Council, which is an entirely different entity. The The 2. Postcode Not URL-Encoded in Form Body (Bug)
var requestBody = $"address_postcode={postcode}";UK postcodes contain a space (e.g. Should be: var requestBody = ProcessingUtilities.ConvertDictionaryToFormData(new()
{
{ "address_postcode", postcode },
});Minor:
|
There was a problem hiding this comment.
Code Review
This pull request adds a new collector for Norwich County Council, which implements the ICollector interface and inherits from GovUkCollectorBase. The collector handles address lookups and bin day retrieval using a multi-step request flow and regular expressions for parsing. A corresponding integration test has also been included to ensure the collector functions correctly. I have no feedback to provide.
Summary
This PR adds a new bin collection data collector for Norwich County Council.
ICollectorinterfaceCloses #314
Test Summary
Bin Collections Page Screenshot
Generated automatically by Moley-Bot using Codex CLI