Skip to content

Jeonghan Source Modes Filtering Integration - #37

Open
hiidkaboutyou-spec wants to merge 9 commits into
mainfrom
feature/jeonghan-source-modes-filtering
Open

Jeonghan Source Modes Filtering Integration#37
hiidkaboutyou-spec wants to merge 9 commits into
mainfrom
feature/jeonghan-source-modes-filtering

Conversation

@hiidkaboutyou-spec

Copy link
Copy Markdown
Owner

Problem

Existing source configuration introduced source modes, but reusable filtering logic and tests were missing.

Implementation

Added a source mode filtering module supporting:

  • full_feed
  • keyword_filter

Keyword filtering accepts Jeonghan names/aliases or angel emoji markers.

Filtering logic

keyword_filter accepts:

  • Jeonghan keywords
  • 🪽 😇 👼🏻 👼

full_feed keeps all posts.

Tests added

Added unit coverage for:

  • keyword matching
  • emoji matching
  • mode behavior
  • filtering output

Validation

Repository execution environment was not available through the connector, so pytest was not run here.

Remaining work

Pipeline wiring into the X collector path still needs to be completed before merge.

Copy link
Copy Markdown
Owner Author

Continued PR #37 execution.

Completed in this pass:

  • Verified existing SourceMode runtime module and configuration wiring.
  • Added additional runtime coverage in tests/test_source_modes_runtime.py.
  • New commit: 3ede908

Remaining verification:

  • Full local pytest execution is still required.
  • End-to-end X collector/archive/dedup pipeline wiring must be verified before merge.

- Added from_dict() classmethod as alias to from_mapping()
- Preserves existing behavior while enabling config.py loader
- Full backward compatibility with legacy jeonghan_only format
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.

1 participant