-
Notifications
You must be signed in to change notification settings - Fork 1
Module 2 — Platform
File: modules/module2.py
Module 2 records, for each of the 12 built-in platforms (plus any
custom platforms defined in core/kpi_config.py), whether it's
selected and, within the active objectives, its priority 1 and
optional priority 2. The priority structure drives system goal
weights when no goal values are set in Module 1.
| Code | Display |
|---|---|
fb |
|
ig |
|
li |
|
yt |
YouTube |
tt |
TikTok |
pt |
|
tw |
X (Twitter) — code kept tw for back-compat |
sn |
Snapchat |
rd |
|
go_search |
Google Search |
go_display |
Google Display Network |
go_pmax |
Google Performance Max |
Search, Display, and PMax have lead-gen productivities that differ by an order of magnitude. Conflating them into one "Google" entry would hide the most important channel decision a marketer using this tool needs to make — so they're kept distinct.
active_platforms is the set of selected platforms that have at
least one priority slot filled. This is the list Module 3 onward
iterates over. A platform "selected but unprioritised" surfaces a
validation error rather than being silently ignored — explicit
beats implicit.