# Changelog of SA eTenders (OCDS) Tenders, Awards & Contracts (`gtnetworks/sa-etenders-ocds`) Actor

- **URL**: https://apify.com/gtnetworks/sa-etenders-ocds/changelog.md
- **Full Actor documentation**: https://apify.com/gtnetworks/sa-etenders-ocds.md

## Changelog

All notable changes to this Actor. Dates are ISO (YYYY-MM-DD).

### Platform

- 2026-11-09: pushed to the Apify platform as `gtnetworks/sa-etenders-ocds` (Actor ID `TQvvWccZFMb2UCdfT`, build 0.1.1); first platform run zSr3NdJXsdvufpT9G: 10 releases in 12 s.

### 0.2 - 2026-11-09

- `.actor/output_schema.json` added (Apify Store now requires an Actor output schema before publishing).
- The per-run start fee is the platform's synthetic `apify-actor-start` event (configured in Console, $0.01, first 5 s of
  compute waived); the Actor no longer charges its own `actor-start` when that event is priced.
- Operator contact set to gtnetworksptyltd@gmail.com.

### 0.1 - 2026-10-30

- Initial version built from the Bet 2 SA Actor template.
- Source: National Treasury eTenders OCDS API (`GET /api/OCDSReleases`, swagger
  https://ocds-api.etenders.gov.za/swagger/v1/swagger.json), PDDL 1.0 / CC BY 4.0, no authentication.
- One record per OCDS release: ocid, releaseId, derived stage tag, tender fields, ISO tender period, buyer, province
  (toolkit normaliser + municipality gazetteer), documents, awards (supplier business names, ZAR cents), contracts.
- Filters: date window (default last 7 days), keywords, provinces (+ `National`), procurement categories (loose match),
  buyers, stage tags. Filtered-out releases are not charged.
- Optional `includeDocumentsText`: downloads tender PDFs (max 50 per run, 5 MB / 20 s each) and adds the extracted text.
- Pay-per-event: `actor-start` once per run ($0.01), `record` per pushed release ($0.004), `document_text` per PDF parsed
  ($0.002). Budget stop verified locally.
- Robustness: the API answers HTTP 500 for any page containing one of a few unserviceable releases (~1.4 % of releases
  in the week sampled); failing pages are bisected down to the single release, which is skipped and counted in the run
  summary (`api.skippedUnserviceable`).
- Politeness: 1 request/second shared between the API and the document host, operator-identifying User-Agent.
- POPIA guard (deep): ID numbers, phone numbers and e-mail addresses are stripped from every text field, including
  nested award descriptions and extracted PDF text.
- Dedupe on ocid + releaseId, persisted across migrations; pagination progress persisted so a migrated run resumes.
