Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Satisfy required_deinit for StatsCollector test helpers

Open Beginner friendly
#612 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
swift
Domain
testing

Research direction

Open brain-bar/Tests/BrainBarTests/StatsCollectorTests.swift and inspect the four named reference-type test helpers. Add the required explicit empty deinit declarations, then run SwiftLint and the focused StatsCollector tests. Done means the lint rule passes, those tests pass, and production behavior remains unchanged.

Written by the indexing model from the issue text.

Description

enhancement

Problem

Four reference-type test helpers in brain-bar/Tests/BrainBarTests/StatsCollectorTests.swift lack the explicit empty deinit declarations required by the repository's SwiftLint required_deinit rule:

  • SequencedWindowBucketsProvider
  • SucceedOnceWindowBucketsProvider
  • SequencedBlockingWatcherProbe
  • OlderFullRefreshProbe

Acceptance criteria

  • Add the required explicit deinit {} declarations, or narrowly document/configure why the rule should not apply to test helpers.
  • Run SwiftLint and the focused StatsCollector tests.
  • Keep production behavior unchanged.

Evidence

Dominant language
Python
Stars
9
Forks
7
Avg merge
4h 43m
Merged PRs (30d)
360

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EtanHey/brainlayer

All issues in EtanHey/brainlayer

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.