Skip to content

Engagement Metrics Collector - #155

Merged
jonnyjohannes merged 11 commits into
masterfrom
engagement_metrics_collector
Aug 12, 2026
Merged

Engagement Metrics Collector#155
jonnyjohannes merged 11 commits into
masterfrom
engagement_metrics_collector

Conversation

@jonnyjohannes

Copy link
Copy Markdown
Collaborator

No description provided.

Jonny Johannes and others added 9 commits May 26, 2026 21:34
scaffolds docs/specs/metric-collector.md covering the per-platform
engagement snapshot system: schema evolution of database.json,
MetricCollector ABC mirroring SocialPoster, and orchestration that
re-polls posts up to 14 days old each run.

<|°_°|>
Replaces the nested posted_pets[].posts.{platform} shape with a
top-level posts[] table joined on pet_id, with metric snapshots
nested inside each post row as a time-series list.

Picked C (hybrid) over A (nested) and B (fully flat) for:
- minimum byte redundancy (no FK repetition in the dominant
  127k snapshot rows; nesting handles that)
- cleaner consumption by the planned GH Pages dashboard
- two independent prune filters by posted_at, no cascading joins,
  no orphan-row drift

Updates schema example, orchestration responsibilities for
record_publish_results and collect_metrics, implementation plan,
and testing strategy to match.

<|°_°|>
Comment thread metric_collectors/__init__.py Outdated
Comment thread main.py Outdated
Comment thread main.py Outdated
Comment thread main.py Outdated
Comment thread main.py Outdated

@binamkayastha binamkayastha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@jonnyjohannes
jonnyjohannes merged commit f181aba into master Aug 12, 2026
2 checks passed
@jonnyjohannes
jonnyjohannes deleted the engagement_metrics_collector branch August 12, 2026 00:17
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