Skip to content

feat: add init and reset to coverage monitors#7

Merged
EYH0602 merged 1 commit intomainfrom
feat-improve-cov
Jul 23, 2025
Merged

feat: add init and reset to coverage monitors#7
EYH0602 merged 1 commit intomainfrom
feat-improve-cov

Conversation

@EYH0602
Copy link
Copy Markdown
Member

@EYH0602 EYH0602 commented Jul 23, 2025

No description provided.

@EYH0602 EYH0602 requested a review from Copilot July 23, 2025 21:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds initialization and reset functionality to coverage monitors by moving the constructor to the base class and adding a reset method. This provides a consistent interface for managing monitor state across different coverage monitor implementations.

  • Moved constructor from FrameMonitor to the abstract base class CoverageMonitor
  • Added a reset() method to clear monitor state
  • Standardized initialization of path_seen and item_seen attributes

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/gamecov/cov_base.py Added constructor and reset method to base CoverageMonitor class
src/gamecov/frame_cov.py Removed constructor from FrameMonitor class (now inherited from base)

Comment thread src/gamecov/cov_base.py
@EYH0602 EYH0602 merged commit 2901992 into main Jul 23, 2025
4 checks passed
@EYH0602 EYH0602 deleted the feat-improve-cov branch July 23, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants