# Channel posting-frequency recipe

A shared-window calculation for comparing channel activity without inconsistent denominators or duplicated albums.

## Calculation

- Mode: source_comparison
- Formula: distinct logical posts in [start,end) / common window duration in days, calculated separately for each selected source.

## Query

For [selected channels] from [start] to [exclusive end], count logical posts and calculate posts per day using the same window for every channel. Name requested channels with zero posts, state the timezone, cite a representative recent post for populated sources, and do not treat publishing volume as importance or quality.

## Inputs

- **Channels:** The exact selected sources included in the activity comparison.
- **Start time:** Inclusive publication bound interpreted in the declared timezone.
- **End time:** Exclusive bound shared by every source.
- **Counting unit:** Logical Telegram post, with albums deduplicated.

## Expected output

- Logical post count by channel
- Posts-per-day rate
- Shared date window and timezone
- Explicit zero-post sources
- Representative evidence links

## Coverage checks

- [ ] Use one window for every channel
- [ ] Deduplicate albums before counting
- [ ] Do not drop requested inactive sources
- [ ] Do not mix engagement into the frequency formula
- [ ] Confirm source selection before external use
