feat(polymarket-browse): add --starts-before filter for match events #30

Closed
shoko wants to merge 0 commits from feat/starts-before-filter into master
Owner

Summary

  • Add --starts-before CLI argument accepting Unix timestamp to filter match events
  • Events starting after the timestamp are filtered out
  • LIVE events are always included regardless of timestamp
  • Update SKILL.md documentation

Changes

  • browse.py: Added CLI argument and filter_by_starts_before() function
  • test_browse.py: Added TestStartsBeforeFilter with 3 unit tests
  • SKILL.md: Updated documentation

Testing

73/73 tests passing

Notes

  • LIVE events are determined by _is_live_event() which checks if event started within last 4 hours
  • Filter only applies to match events, not non-match events
## Summary - Add `--starts-before` CLI argument accepting Unix timestamp to filter match events - Events starting after the timestamp are filtered out - LIVE events are always included regardless of timestamp - Update SKILL.md documentation ## Changes - `browse.py`: Added CLI argument and `filter_by_starts_before()` function - `test_browse.py`: Added `TestStartsBeforeFilter` with 3 unit tests - `SKILL.md`: Updated documentation ## Testing 73/73 tests passing ## Notes - LIVE events are determined by `_is_live_event()` which checks if event started within last 4 hours - Filter only applies to match events, not non-match events
shoko added 1 commit 2026-03-26 19:38:53 +01:00
- Add --starts-before CLI argument accepting Unix timestamp
- Filter match events to only show those starting before timestamp
- LIVE events are always included regardless of timestamp
- Update SKILL.md documentation
- Add TestStartsBeforeFilter with 3 unit tests
Collaborator

closes #29

closes #29
han approved these changes 2026-03-27 01:45:30 +01:00
Dismissed
han left a comment
Collaborator

lgtm

lgtm
han added the approved label 2026-03-27 01:56:36 +01:00
han approved these changes 2026-03-27 02:06:55 +01:00
shoko closed this pull request 2026-03-27 04:09:31 +01:00

Pull request closed

Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/jujutsu-skills#30