# Changelog of Instagram Kol Evaluator (`opspilot.cc/instagram-kol-evaluator`) Actor

- **URL**: https://apify.com/opspilot.cc/instagram-kol-evaluator/changelog.md
- **Full Actor documentation**: https://apify.com/opspilot.cc/instagram-kol-evaluator.md

## Changelog

### \[0.9] - 2026-11-11

#### Changed

- **One run-wide request budget for the whole run.** Upstream requests are now
  capped at **12 on the free plan / 40 on paid plans**, shared by every
  account, keyword, hashtag or post in the run and counting retries. Previously
  only each item had a page cap, so cost multiplied by the number of items a
  wide run could issue hundreds of calls under one actor-start charge. A single
  item can still walk all of its pages; only wide runs are compressed.
- The ceiling is enforced in `UpstreamClient.getJson()` before every real HTTP
  call, so it covers helper-leg requests (profile lookups, enrichments) too.
- Exhaustion is a business outcome: a `type: "notice"` dataset row,
  `SUMMARY.budgetExhausted`, `SUMMARY.maxRequestsPerRun` and
  `SUMMARY.upstreamRequests`, and a SUCCEEDED run — never a throw.
- `test/request-budget.js` (wired into `npm test`) drives both tiers with a
  fake upstream that never stops paginating, and asserts retries count toward
  the same budget.

### \[0.8] - 2026-11-09

- The Billing section claimed the Actor charges "pay per result". It does not: the
  only charge event registered on the platform is `apify-actor-start`, collected once
  when the run begins, so a run returning 300 rows costs the same as one returning 3.
  The section now describes that, and stops promising something the invoice contradicts.
- Free-plan runs are capped at 2 creators x 6 posts. Every page, seed and enrichment is one upstream
  request, so this is where the real cost sits. The cap is written to the dataset as a
  `notice` row and to `SUMMARY.appliedLimits.capped`, and a capped run still ends
  SUCCEEDED - exceeding a plan quota is never a failed run.

### \[0.7] - 2026-10-12

- The run can no longer be killed by the key-value store. Under
  `LIMITED_PERMISSIONS` — how Apify's automated QA and every API-triggered run
  starts an Actor — opening the store is refused with HTTP 403
  (`KeyValueStoreCollectionClient.getOrCreate`, path `/v2/key-value-stores`).
  That call sat in a `||` fallback chain and was never inside a `try/catch` of
  ours, so the throw ended the run with exit code 91 and a reported FAILED run
  with zero items. Every store open now goes through a wrapper that returns a
  no-op store instead of throwing, so the free-run counter and the run SUMMARY
  degrade and the actual work proceeds.
- The gate store's name-to-id lookup no longer depends on the store still being
  on the first page. There is no GET-by-name endpoint, so the lookup pages
  through `/v2/key-value-stores`; it used a fixed `limit=50`, which silently
  stopped containing gate stores once the account passed 50 of them — and the
  account creates a new default store on every run, so that list grows on its
  own. The lookup now pages (100 per page, up to 20 pages).

### \[0.6] - 2026-10-09

#### Changed

- README: added three sections before Quick start - what you can use it for, who it fits, and who it does **not** fit. The last section now names the Actor's real limits (what it cannot reach, which field is unavailable, which reading of a metric is wrong), so a buyer can tell whether it is the wrong tool before paying.

All notable changes to this project will be documented in this file.

### \[0.2] - 2026-10-03

#### Fixed

- Free-tier gate counter now persists across runs (moved to a named KV store). The default KV store is run-scoped on the Apify platform, so the previous 5 runs/day counter silently reset on every run.

### \[0.1] - 2026-10-03

#### Added

- Initial release: Instagram KOL evaluation with follower profile + engagement snapshot.
- Two modes: `by_keyword` (search & evaluate top matches) and `by_username` (evaluate up to 5 handles).
- Engagement metrics: avg/median likes, avg comments, avg video plays, engagement rate with high/medium/low benchmark, posting cadence (posts/week), top post.
- Free-tier gate: 5 runs/day with per-user isolation.
