Enhance Cognitive Signal Engine™ — PDF executive upgrade, media cost impact, UI improvements#57
Conversation
Major upgrades to app.py and science_tab.py across this session: PDF Report (executive-grade): - Cover page: client name (22px bold), CPCi interpretation line (tier-adaptive, centred) - Executive Decision Block (Page 2): combines CPCi, memory, multiplier, and deployment risk into a single CMO-facing decision card (DO NOT SCALE / OPTIMISE / READY TO SCALE) - Media Efficiency Impact section (Page 2): dynamic multiplier line + waste callout - Visual signal bars (Page 4): horizontal progress bars for Attention/Memory/Valence/Load - Cold Audience Deployment Risk badge (Strategic page): HIGH/MODERATE/LOW, colour-coded - Reduced redundancy: removed duplicate CPCi explanation and What This Means from Page 3 - Page 3 now shows formula detail (weights + expression) not covered elsewhere App UI: - Why This Matters block: media cost multiplier line (18px, colour-coded) + waste callout if multiplier > 1.5 - CTA block at bottom: "Ready to test your creatives before media spend?" with primary Analyze button (clears cache, reruns) and PDF download carrying client name - HTML rendering fix: removed position:absolute and HTML comments from CTA markdown block - Client name: flows correctly through all three PDF paths (export bar, CTA download) Science tab: - Architecture section: TRIBE v2 (Layer 1) → CPCi (Layer 2) diagram with signal pills Dev: - .claude/launch.json: fixed to use /Users/anilpandit/tribe_env/bin/streamlit (venv path) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Hi @anilp-stack! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Summary
DO NOT SCALE / OPTIMISE BEFORE SCALING / READY TO SCALEThis creative will cost ~X× more media to achieve the same recall— with waste callout if multiplier > 1.5Test plan
🤖 Generated with Claude Code