Skip to content

feat: add rule-evaluation-and-dedup-demo#22

Merged
stacknil merged 1 commit intomainfrom
codex/rule-evaluation-and-dedup-demo
Apr 1, 2026
Merged

feat: add rule-evaluation-and-dedup-demo#22
stacknil merged 1 commit intomainfrom
codex/rule-evaluation-and-dedup-demo

Conversation

@stacknil
Copy link
Copy Markdown
Owner

@stacknil stacknil commented Apr 1, 2026

What changed

  • add rule-evaluation-and-dedup-demo as a third small, file-based demo
  • commit before/after dedup artifacts plus per-hit suppression explanations
  • update the repo landing page and roadmap so telemetry-lab reads as a three-demo repository

Validation

  • python -m pytest
  • python -m telemetry_window_demo.cli run-rule-dedup-demo

@stacknil stacknil marked this pull request as ready for review April 1, 2026 06:29
@stacknil stacknil merged commit 96fba76 into main Apr 1, 2026
2 checks passed
@stacknil stacknil deleted the codex/rule-evaluation-and-dedup-demo branch April 1, 2026 06:33
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2c3ba522fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +590 to +591
def parse_timestamp(raw_value: str) -> datetime:
return datetime.fromisoformat(raw_value.replace("Z", "+00:00")).astimezone(UTC)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reject naive timestamps to keep dedup deterministic

parse_timestamp accepts timezone-naive strings and immediately calls astimezone(UTC), which makes Python interpret them in the host's local timezone. If a user provides hits like "2026-03-18T10:01:00" (no offset), the same input file can produce different normalized times and suppression outcomes across environments (especially around DST boundaries), contradicting the demo’s deterministic/reproducible behavior. This parser should either require an explicit offset/Z or attach UTC explicitly before conversion.

Useful? React with 👍 / 👎.

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