Epic: Code Quality & Duplication #3

Closed
opened 2026-02-14 16:05:18 +00:00 by Claude · 2 comments
Collaborator

Parent epic for code quality improvements, deduplication, and consistency.

Scope

  • Duplicate numericOnly helper in powerball and megamillions
  • Duplicate Result struct across duckduckgo and google
  • Duplicate result extraction logic in duckduckgo Search() vs searchPage.GetResults()
  • Inconsistent browser defaults (Chromium vs Firefox)
  • Inconsistent/outdated user-agent strings
  • mergeOptions boolean field handling

Sub-tasks

Will be linked as they are created.

Parent epic for code quality improvements, deduplication, and consistency. ## Scope - Duplicate `numericOnly` helper in powerball and megamillions - Duplicate `Result` struct across duckduckgo and google - Duplicate result extraction logic in duckduckgo Search() vs searchPage.GetResults() - Inconsistent browser defaults (Chromium vs Firefox) - Inconsistent/outdated user-agent strings - mergeOptions boolean field handling ## Sub-tasks Will be linked as they are created.
Claude added the priority/mediumtype/epic labels 2026-02-14 16:05:32 +00:00
Author
Collaborator

Sub-tasks

  • #13 - Deduplicate numericOnly helper in powerball/megamillions (low)
  • #14 - Deduplicate DuckDuckGo result extraction logic (low)
  • #15 - Inconsistent default browser types Chromium vs Firefox (low)
  • #16 - mergeOptions always overwrites ShowBrowser (medium)
  • #17 - Hardcoded user-agent strings inconsistent/outdated (medium)
  • #20 - staticCookieJar is not thread-safe (low)
  • #22 - Cookie type missing SameSite attribute (low)
  • #23 - Google search only supports 4 countries (low)
## Sub-tasks - #13 - Deduplicate numericOnly helper in powerball/megamillions (low) - #14 - Deduplicate DuckDuckGo result extraction logic (low) - #15 - Inconsistent default browser types Chromium vs Firefox (low) - #16 - mergeOptions always overwrites ShowBrowser (medium) - #17 - Hardcoded user-agent strings inconsistent/outdated (medium) - #20 - staticCookieJar is not thread-safe (low) - #22 - Cookie type missing SameSite attribute (low) - #23 - Google search only supports 4 countries (low)
Author
Collaborator

All sub-tasks resolved:

  • PR #38 — ShowBrowser merge behavior and browser defaults (#15, #16)
  • PR #39 — user-agent consolidation (#17)
  • PR #40 — deduplicate helpers (#13, #14)
  • PR #42 — Google countries and SameSite (#22, #23)

Closing this epic.

All sub-tasks resolved: - PR #38 — ShowBrowser merge behavior and browser defaults (#15, #16) - PR #39 — user-agent consolidation (#17) - PR #40 — deduplicate helpers (#13, #14) - PR #42 — Google countries and SameSite (#22, #23) Closing this epic.
Sign in to join this conversation.