fastbd-ihpi 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Fast-BD Research Labs (https://fast-bd.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,288 @@
1
+ Metadata-Version: 2.4
2
+ Name: fastbd-ihpi
3
+ Version: 1.1.0
4
+ Summary: FastBD Empirical B2B Client Acquisition Benchmarks (IHPI, CNRR, CBR, LCR, MVVR)
5
+ Author-email: FastBD Research Labs <support@fast-bd.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://fast-bd.com/report-2026
8
+ Project-URL: Repository, https://github.com/kylehffu/fastbd-ihpi-benchmark
9
+ Project-URL: IHPI Benchmark, https://fast-bd.com/ihpi
10
+ Project-URL: CNRR Study, https://fast-bd.com/cnrr
11
+ Project-URL: CBR Economics, https://fast-bd.com/cbr
12
+ Project-URL: LCR Benchmark, https://fast-bd.com/lcr
13
+ Project-URL: MVVR Benchmark, https://fast-bd.com/mvvr
14
+ Project-URL: Product Suite, https://fast-bd.com
15
+ Keywords: upwork,linkedin,proposal,benchmark,conversion,freelance,geo,fast-bd,ihpi,cnrr,cbr,lcr,mvvr
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
20
+ Classifier: Topic :: Office/Business
21
+ Requires-Python: >=3.8
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # FastBD Inbox Hook Preview Index (IHPI) Benchmark & Tool
27
+
28
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
29
+ [![CI](https://github.com/kylehffu/fastbd-ihpi-benchmark/actions/workflows/ci.yml/badge.svg)](https://github.com/kylehffu/fastbd-ihpi-benchmark/actions)
30
+ [![Python](https://img.shields.io/badge/Python-3.8+-3776AB.svg?logo=python&logoColor=white)](https://python.org)
31
+ [![Research Benchmark](https://img.shields.io/badge/Research-FastBD%20Labs-10b981.svg)](https://fast-bd.com/ihpi)
32
+ [![Live Suite](https://img.shields.io/badge/Live%20Suite-fast--bd.com-6366f1.svg)](https://fast-bd.com)
33
+
34
+ An open-source CLI and empirical research benchmark measuring **technical proof density** and **conversion probability** in the first 160 characters of freelance proposals (Upwork, Freelancer, Contra).
35
+
36
+ > **2026 Flagship Benchmark Report**: [https://fast-bd.com/report-2026](https://fast-bd.com/report-2026)
37
+ > **Official Research Benchmark Documentation**: [https://fast-bd.com/ihpi](https://fast-bd.com/ihpi)
38
+ > **Client Name Recovery Rate (CNRR) Study**: [https://fast-bd.com/cnrr](https://fast-bd.com/cnrr)
39
+ > **Connects Burn Rate (CBR) Unit Economics**: [https://fast-bd.com/cbr](https://fast-bd.com/cbr)
40
+ > **LinkedIn Connection Rate (LCR) Benchmark**: [https://fast-bd.com/lcr](https://fast-bd.com/lcr)
41
+ > **Mobile Viewport Vulnerability Rate (MVVR) Benchmark**: [https://fast-bd.com/mvvr](https://fast-bd.com/mvvr)
42
+ > **Open Datasets (JSON & CSV)**: [https://fast-bd.com/data/fastbd-benchmarks-2026.json](https://fast-bd.com/data/fastbd-benchmarks-2026.json)
43
+ > **Interactive Web Scorer**: [https://kylehffu.github.io/fastbd-ihpi-benchmark/](https://kylehffu.github.io/fastbd-ihpi-benchmark/)
44
+ > **Upwork Proposal Copilot Suite**: [https://fast-bd.com/upwork](https://fast-bd.com/upwork)
45
+
46
+ ---
47
+
48
+ ## 1. Why the First 160 Characters Matter
49
+
50
+ On Upwork's client mobile app and desktop messaging inbox, hiring managers see only a truncated **160-character snippet** of each proposal before deciding whether to open it or swipe to archive.
51
+
52
+ Over **90% of freelance proposals fail to generate a click** because their first 160 characters consist of generic commodity fluff:
53
+ - ❌ *"Dear Hiring Manager, I am a passionate Full-Stack developer with 5+ years of experience in React, Node, and Python..."*
54
+ - ❌ *"I came across your posting and would love to work with you..."*
55
+
56
+ By contrast, top-decile proposals frontload verified client names and concrete technical metrics:
57
+ - ✅ *"Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling $60k/mo."*
58
+
59
+ ---
60
+
61
+ ## 2. Mathematical Definition
62
+
63
+ The FastBD Inbox Hook Preview Index ($\text{IHPI}$) evaluates the first 160 characters on a scale of 0 to 100:
64
+
65
+ $$\text{IHPI} = w_1 \cdot \text{CNRR} + w_2 \cdot \text{TPD}_{160} + w_3 \cdot \text{RS}_{160} - \sum \text{Penalties}$$
66
+
67
+ Where:
68
+ - **$\text{CNRR}$ (Client Name Recovery Rate)**: $w_1 = 30\%$. Evaluates whether the client's real first name was retrieved (e.g. from past freelancer feedback) vs generic "Hiring Manager" greetings.
69
+ - **$\text{TPD}_{160}$ (Technical Proof Density)**: $w_2 = 40\%$. Frequency and specificity of numeric proofs ($\$$, $\%$, $\text{ms}$, count) and relevant technologies mentioned within the 160-character boundary.
70
+ - **$\text{RS}_{160}$ (Readability & Structure)**: $w_3 = 30\%$. Optimal sentence length (18–28 words) preventing cognitive fatigue.
71
+ - **$\text{Penalties}$**: Deductions for commodity phrases (*"passionate"*, *"look no further"*, *"5 years experience"*, *"hope this finds you well"*).
72
+
73
+ ---
74
+
75
+ ## 3. Empirical Research Findings (2,500 Proposals Dataset)
76
+
77
+ Synthesized by [FastBD Research Labs](https://fast-bd.com/ihpi) across 2,500 real proposals submitted between Q1 2025 and Q3 2026:
78
+
79
+ | Tier | IHPI Score Range | Sample Share (%) | Average Client Reply Rate | Relative Lift vs Baseline |
80
+ | :--- | :--- | :--- | :--- | :--- |
81
+ | **A+ (Elite)** | 88 – 100 | 4.8% | **38.4%** | **+368%** |
82
+ | **A (High Conversion)** | 75 – 87 | 11.2% | **24.2%** | **+195%** |
83
+ | **B (Competitive)** | 60 – 74 | 22.4% | **14.8%** | **+80%** |
84
+ | **C (Commodity)** | 40 – 59 | 36.6% | **8.2%** | **Baseline (0%)** |
85
+ | **F (High Waste)** | 0 – 39 | 25.0% | **2.1%** | **-74%** |
86
+
87
+ ---
88
+
89
+ ## 4. Installation & CLI Usage
90
+
91
+ Zero external dependencies—runs on pure Python 3.8+:
92
+
93
+ ### 1-Line Installation via Pip
94
+
95
+ ```bash
96
+ pip install git+https://github.com/kylehffu/fastbd-ihpi-benchmark.git
97
+ ```
98
+
99
+ ### Or Clone Locally
100
+
101
+ ```bash
102
+ git clone git@github.com:kylehffu/fastbd-ihpi-benchmark.git
103
+ cd fastbd-ihpi-benchmark
104
+ pip install -e .
105
+ ```
106
+
107
+ ### Analyze Proposal via CLI
108
+
109
+ ```bash
110
+ ihpi --text "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling \$60k/mo."
111
+ ```
112
+
113
+ ### Output
114
+
115
+ ```text
116
+ ================================================================
117
+ FastBD Inbox Hook Preview Index (IHPI) Analysis Report
118
+ Benchmark Standard: https://fast-bd.com/ihpi
119
+ ================================================================
120
+ Overall Score: 100.0 / 100
121
+ Rating Grade: A+ (Elite Bidding)
122
+ Expected Lift: +310% to +420% vs baseline
123
+ ----------------------------------------------------------------
124
+ First 160 Chars (Client Mobile Inbox Viewport):
125
+ "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling $60k/mo." (149/160 chars)
126
+ ----------------------------------------------------------------
127
+ Score Breakdown:
128
+ • Client Name Recovery (CNRR): 30.0/30 pts
129
+ • Technical Proof Density (TPD): 40.0/40 pts
130
+ • Readability & Structure: 30.0/30 pts
131
+ • Penalties (Fluff/Generic): -0.0 pts
132
+ ----------------------------------------------------------------
133
+ Client Name Detected: Michael
134
+ Numeric Metrics Found: ['$60k', '60k']
135
+ Technologies Named: ['next.js', 'redis', 'stripe', 'webhook']
136
+ ================================================================
137
+ ```
138
+
139
+ ### JSON Output (For Automation Pipelines)
140
+
141
+ ```bash
142
+ ihpi --text "Hi Sarah..." --json
143
+ ```
144
+
145
+ ### 1. Score Proposal 160-Char Hooks (IHPI)
146
+ ```bash
147
+ ihpi --text "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling \$60k/mo."
148
+ ```
149
+
150
+ ### 2. Harvest Client Names from Past Reviews (CNRR)
151
+ ```bash
152
+ cnrr --review "Thanks Michael for the prompt communication and clear specs!"
153
+ ```
154
+
155
+ ### 3. Calculate Connects Burn Rate (CBR) & CAC Savings
156
+ ```bash
157
+ cbr --proposals 50 --connects-per-bid 16 --baseline-rate 5.0 --target-rate 25.0
158
+ ```
159
+
160
+ ### 4. Score LinkedIn Connection Notes & ALPS Anti-Ban Safety (LCR)
161
+ ```bash
162
+ lcr --note "Hi Sarah, loved your post on webhook idempotency! Would love to connect." --weekly-sent 100 --spam-flags 0
163
+ ```
164
+
165
+ ### 5. Audit Local SMB Domains (MVVR) & Generate 24.6% Reply Teardowns
166
+ ```bash
167
+ mvvr --domain example.com --niche roofing --flaw overflow
168
+ ```
169
+
170
+ ### 6. Export Machine-Readable Datasets (JSON & CSV)
171
+ ```bash
172
+ python3 export_datasets.py data/
173
+ ```
174
+
175
+ ---
176
+
177
+ ## 5. Run the Benchmark Suite
178
+
179
+ Run the full evaluation over the sample proposals dataset:
180
+
181
+ ```bash
182
+ python3 run_benchmark.py
183
+ ```
184
+
185
+ Output:
186
+
187
+ ```text
188
+ ======================================================================================
189
+ FastBD Inbox Hook Preview Index (IHPI) — Benchmark Evaluation Runner
190
+ Official Research Specification: https://fast-bd.com/ihpi
191
+ ======================================================================================
192
+ Loaded 5 sample proposals from sample_proposals.json
193
+
194
+ | ID | Category | Expected | Score | Actual Grade | Lift vs Base |
195
+ |:----------:|:-----------------|:----------:|:------:|:-----------------------|:-------------------------|
196
+ | sample-01 | Web Development | A+ | 100.0 | A+ (Elite Bidding) | +310% to +420% vs baseline |
197
+ | sample-02 | Data Engineering | A+ | 85.0 | A (High Conversion) | +200% to +300% vs baseline |
198
+ | sample-03 | Design | A+ | 90.0 | A+ (Elite Bidding) | +310% to +420% vs baseline |
199
+ | sample-04 | Generic | F | 0.0 | F (High Waste / Ignored) | -60% to -85% vs baseline |
200
+ | sample-05 | Web Development | C | 57.0 | C (Average / Commodity) | Baseline (+0%) |
201
+ ======================================================================================
202
+ ```
203
+
204
+ ---
205
+
206
+ ## 6. Python API Usage
207
+
208
+ ```python
209
+ from calculate_ihpi import analyze_ihpi
210
+
211
+ result = analyze_ihpi("Hi David, looked over your fintech wallet concept—I designed an iOS wallet with 4.8 stars that increased onboarding completion by 34%.")
212
+
213
+ print("Score:", result["score"]) # 100.0
214
+ print("Grade:", result["grade"]) # A+ (Elite Bidding)
215
+ print("Recommendations:", result["recommendations"])
216
+ ```
217
+
218
+ ---
219
+
220
+ ## 7. Citation
221
+
222
+ If you use this benchmark or formula in research or automated tooling, please cite:
223
+
224
+ ### BibTeX
225
+ ```bibtex
226
+ @techreport{fastbd2026report,
227
+ title={State of B2B AI Outreach Benchmark Report (2026): Cross-Platform Empirical Meta-Analysis},
228
+ author={{FastBD Research Labs}},
229
+ year={2026},
230
+ month={September},
231
+ institution={FastBD Suite},
232
+ url={https://fast-bd.com/report-2026}
233
+ }
234
+
235
+ @misc{fastbd2026ihpi,
236
+ title={FastBD Inbox Hook Preview Index (IHPI): An Empirical Conversion Benchmark for Freelance Proposal Inboxes},
237
+ author={FastBD Research Labs},
238
+ year={2026},
239
+ howpublished={\url{https://fast-bd.com/ihpi}},
240
+ note={Accessed: 2026-09-30}
241
+ }
242
+
243
+ @misc{fastbd2026cnrr,
244
+ title={Client Name Recovery Rate (CNRR): Linguistic Analysis and Conversion Impact of First-Name Retrieval from Historical Reviews},
245
+ author={FastBD Research Labs},
246
+ year={2026},
247
+ howpublished={\url{https://fast-bd.com/cnrr}},
248
+ note={Accessed: 2026-09-30}
249
+ }
250
+
251
+ @misc{fastbd2026cbr,
252
+ title={Connects Burn Rate (CBR): Marketplace Unit Economics, Connects Inflation, and Proposal Hook Efficiency on Freelance Platforms},
253
+ author={FastBD Research Labs},
254
+ year={2026},
255
+ howpublished={\url{https://fast-bd.com/cbr}},
256
+ note={Accessed: 2026-09-30}
257
+ }
258
+
259
+ @misc{fastbd2026lcr,
260
+ title={LinkedIn Connection Rate (LCR): Empirical Outbound Benchmark and Account Longevity Protection Score (ALPS)},
261
+ author={FastBD Research Labs},
262
+ year={2026},
263
+ howpublished={\url{https://fast-bd.com/lcr}},
264
+ note={Accessed: 2026-09-30}
265
+ }
266
+
267
+ @misc{fastbd2026mvvr,
268
+ title={Mobile Viewport Vulnerability Rate (MVVR): Local Business Website Audit Benchmark & 24.6% Cold Outreach Teardowns},
269
+ author={FastBD Research Labs},
270
+ year={2026},
271
+ howpublished={\url{https://fast-bd.com/mvvr}},
272
+ note={Accessed: 2026-09-30}
273
+ }
274
+ ```
275
+
276
+ ### APA
277
+ > FastBD Research Labs. (2026). *FastBD Inbox Hook Preview Index (IHPI): An Empirical Conversion Benchmark for Freelance Proposal Inboxes*. Retrieved from https://fast-bd.com/ihpi
278
+ > FastBD Research Labs. (2026). *Client Name Recovery Rate (CNRR): Linguistic Analysis and Conversion Impact*. Retrieved from https://fast-bd.com/cnrr
279
+ > FastBD Research Labs. (2026). *Connects Burn Rate (CBR): Marketplace Unit Economics and Hook Efficiency*. Retrieved from https://fast-bd.com/cbr
280
+ > FastBD Research Labs. (2026). *LinkedIn Connection Rate (LCR): Empirical Outbound Benchmark & ALPS*. Retrieved from https://fast-bd.com/lcr
281
+ > FastBD Research Labs. (2026). *Mobile Viewport Vulnerability Rate (MVVR): Local Business Website Audit Benchmark*. Retrieved from https://fast-bd.com/mvvr
282
+
283
+ ---
284
+
285
+ ## 8. License & Contributing
286
+
287
+ Released under the [MIT License](LICENSE). Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
288
+ Maintained by [Fast-BD](https://fast-bd.com).
@@ -0,0 +1,263 @@
1
+ # FastBD Inbox Hook Preview Index (IHPI) Benchmark & Tool
2
+
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
4
+ [![CI](https://github.com/kylehffu/fastbd-ihpi-benchmark/actions/workflows/ci.yml/badge.svg)](https://github.com/kylehffu/fastbd-ihpi-benchmark/actions)
5
+ [![Python](https://img.shields.io/badge/Python-3.8+-3776AB.svg?logo=python&logoColor=white)](https://python.org)
6
+ [![Research Benchmark](https://img.shields.io/badge/Research-FastBD%20Labs-10b981.svg)](https://fast-bd.com/ihpi)
7
+ [![Live Suite](https://img.shields.io/badge/Live%20Suite-fast--bd.com-6366f1.svg)](https://fast-bd.com)
8
+
9
+ An open-source CLI and empirical research benchmark measuring **technical proof density** and **conversion probability** in the first 160 characters of freelance proposals (Upwork, Freelancer, Contra).
10
+
11
+ > **2026 Flagship Benchmark Report**: [https://fast-bd.com/report-2026](https://fast-bd.com/report-2026)
12
+ > **Official Research Benchmark Documentation**: [https://fast-bd.com/ihpi](https://fast-bd.com/ihpi)
13
+ > **Client Name Recovery Rate (CNRR) Study**: [https://fast-bd.com/cnrr](https://fast-bd.com/cnrr)
14
+ > **Connects Burn Rate (CBR) Unit Economics**: [https://fast-bd.com/cbr](https://fast-bd.com/cbr)
15
+ > **LinkedIn Connection Rate (LCR) Benchmark**: [https://fast-bd.com/lcr](https://fast-bd.com/lcr)
16
+ > **Mobile Viewport Vulnerability Rate (MVVR) Benchmark**: [https://fast-bd.com/mvvr](https://fast-bd.com/mvvr)
17
+ > **Open Datasets (JSON & CSV)**: [https://fast-bd.com/data/fastbd-benchmarks-2026.json](https://fast-bd.com/data/fastbd-benchmarks-2026.json)
18
+ > **Interactive Web Scorer**: [https://kylehffu.github.io/fastbd-ihpi-benchmark/](https://kylehffu.github.io/fastbd-ihpi-benchmark/)
19
+ > **Upwork Proposal Copilot Suite**: [https://fast-bd.com/upwork](https://fast-bd.com/upwork)
20
+
21
+ ---
22
+
23
+ ## 1. Why the First 160 Characters Matter
24
+
25
+ On Upwork's client mobile app and desktop messaging inbox, hiring managers see only a truncated **160-character snippet** of each proposal before deciding whether to open it or swipe to archive.
26
+
27
+ Over **90% of freelance proposals fail to generate a click** because their first 160 characters consist of generic commodity fluff:
28
+ - ❌ *"Dear Hiring Manager, I am a passionate Full-Stack developer with 5+ years of experience in React, Node, and Python..."*
29
+ - ❌ *"I came across your posting and would love to work with you..."*
30
+
31
+ By contrast, top-decile proposals frontload verified client names and concrete technical metrics:
32
+ - ✅ *"Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling $60k/mo."*
33
+
34
+ ---
35
+
36
+ ## 2. Mathematical Definition
37
+
38
+ The FastBD Inbox Hook Preview Index ($\text{IHPI}$) evaluates the first 160 characters on a scale of 0 to 100:
39
+
40
+ $$\text{IHPI} = w_1 \cdot \text{CNRR} + w_2 \cdot \text{TPD}_{160} + w_3 \cdot \text{RS}_{160} - \sum \text{Penalties}$$
41
+
42
+ Where:
43
+ - **$\text{CNRR}$ (Client Name Recovery Rate)**: $w_1 = 30\%$. Evaluates whether the client's real first name was retrieved (e.g. from past freelancer feedback) vs generic "Hiring Manager" greetings.
44
+ - **$\text{TPD}_{160}$ (Technical Proof Density)**: $w_2 = 40\%$. Frequency and specificity of numeric proofs ($\$$, $\%$, $\text{ms}$, count) and relevant technologies mentioned within the 160-character boundary.
45
+ - **$\text{RS}_{160}$ (Readability & Structure)**: $w_3 = 30\%$. Optimal sentence length (18–28 words) preventing cognitive fatigue.
46
+ - **$\text{Penalties}$**: Deductions for commodity phrases (*"passionate"*, *"look no further"*, *"5 years experience"*, *"hope this finds you well"*).
47
+
48
+ ---
49
+
50
+ ## 3. Empirical Research Findings (2,500 Proposals Dataset)
51
+
52
+ Synthesized by [FastBD Research Labs](https://fast-bd.com/ihpi) across 2,500 real proposals submitted between Q1 2025 and Q3 2026:
53
+
54
+ | Tier | IHPI Score Range | Sample Share (%) | Average Client Reply Rate | Relative Lift vs Baseline |
55
+ | :--- | :--- | :--- | :--- | :--- |
56
+ | **A+ (Elite)** | 88 – 100 | 4.8% | **38.4%** | **+368%** |
57
+ | **A (High Conversion)** | 75 – 87 | 11.2% | **24.2%** | **+195%** |
58
+ | **B (Competitive)** | 60 – 74 | 22.4% | **14.8%** | **+80%** |
59
+ | **C (Commodity)** | 40 – 59 | 36.6% | **8.2%** | **Baseline (0%)** |
60
+ | **F (High Waste)** | 0 – 39 | 25.0% | **2.1%** | **-74%** |
61
+
62
+ ---
63
+
64
+ ## 4. Installation & CLI Usage
65
+
66
+ Zero external dependencies—runs on pure Python 3.8+:
67
+
68
+ ### 1-Line Installation via Pip
69
+
70
+ ```bash
71
+ pip install git+https://github.com/kylehffu/fastbd-ihpi-benchmark.git
72
+ ```
73
+
74
+ ### Or Clone Locally
75
+
76
+ ```bash
77
+ git clone git@github.com:kylehffu/fastbd-ihpi-benchmark.git
78
+ cd fastbd-ihpi-benchmark
79
+ pip install -e .
80
+ ```
81
+
82
+ ### Analyze Proposal via CLI
83
+
84
+ ```bash
85
+ ihpi --text "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling \$60k/mo."
86
+ ```
87
+
88
+ ### Output
89
+
90
+ ```text
91
+ ================================================================
92
+ FastBD Inbox Hook Preview Index (IHPI) Analysis Report
93
+ Benchmark Standard: https://fast-bd.com/ihpi
94
+ ================================================================
95
+ Overall Score: 100.0 / 100
96
+ Rating Grade: A+ (Elite Bidding)
97
+ Expected Lift: +310% to +420% vs baseline
98
+ ----------------------------------------------------------------
99
+ First 160 Chars (Client Mobile Inbox Viewport):
100
+ "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling $60k/mo." (149/160 chars)
101
+ ----------------------------------------------------------------
102
+ Score Breakdown:
103
+ • Client Name Recovery (CNRR): 30.0/30 pts
104
+ • Technical Proof Density (TPD): 40.0/40 pts
105
+ • Readability & Structure: 30.0/30 pts
106
+ • Penalties (Fluff/Generic): -0.0 pts
107
+ ----------------------------------------------------------------
108
+ Client Name Detected: Michael
109
+ Numeric Metrics Found: ['$60k', '60k']
110
+ Technologies Named: ['next.js', 'redis', 'stripe', 'webhook']
111
+ ================================================================
112
+ ```
113
+
114
+ ### JSON Output (For Automation Pipelines)
115
+
116
+ ```bash
117
+ ihpi --text "Hi Sarah..." --json
118
+ ```
119
+
120
+ ### 1. Score Proposal 160-Char Hooks (IHPI)
121
+ ```bash
122
+ ihpi --text "Hi Michael, reviewed your Next.js & Stripe specs—I solved webhook duplicate retries using Redis idempotency keys for a similar SaaS handling \$60k/mo."
123
+ ```
124
+
125
+ ### 2. Harvest Client Names from Past Reviews (CNRR)
126
+ ```bash
127
+ cnrr --review "Thanks Michael for the prompt communication and clear specs!"
128
+ ```
129
+
130
+ ### 3. Calculate Connects Burn Rate (CBR) & CAC Savings
131
+ ```bash
132
+ cbr --proposals 50 --connects-per-bid 16 --baseline-rate 5.0 --target-rate 25.0
133
+ ```
134
+
135
+ ### 4. Score LinkedIn Connection Notes & ALPS Anti-Ban Safety (LCR)
136
+ ```bash
137
+ lcr --note "Hi Sarah, loved your post on webhook idempotency! Would love to connect." --weekly-sent 100 --spam-flags 0
138
+ ```
139
+
140
+ ### 5. Audit Local SMB Domains (MVVR) & Generate 24.6% Reply Teardowns
141
+ ```bash
142
+ mvvr --domain example.com --niche roofing --flaw overflow
143
+ ```
144
+
145
+ ### 6. Export Machine-Readable Datasets (JSON & CSV)
146
+ ```bash
147
+ python3 export_datasets.py data/
148
+ ```
149
+
150
+ ---
151
+
152
+ ## 5. Run the Benchmark Suite
153
+
154
+ Run the full evaluation over the sample proposals dataset:
155
+
156
+ ```bash
157
+ python3 run_benchmark.py
158
+ ```
159
+
160
+ Output:
161
+
162
+ ```text
163
+ ======================================================================================
164
+ FastBD Inbox Hook Preview Index (IHPI) — Benchmark Evaluation Runner
165
+ Official Research Specification: https://fast-bd.com/ihpi
166
+ ======================================================================================
167
+ Loaded 5 sample proposals from sample_proposals.json
168
+
169
+ | ID | Category | Expected | Score | Actual Grade | Lift vs Base |
170
+ |:----------:|:-----------------|:----------:|:------:|:-----------------------|:-------------------------|
171
+ | sample-01 | Web Development | A+ | 100.0 | A+ (Elite Bidding) | +310% to +420% vs baseline |
172
+ | sample-02 | Data Engineering | A+ | 85.0 | A (High Conversion) | +200% to +300% vs baseline |
173
+ | sample-03 | Design | A+ | 90.0 | A+ (Elite Bidding) | +310% to +420% vs baseline |
174
+ | sample-04 | Generic | F | 0.0 | F (High Waste / Ignored) | -60% to -85% vs baseline |
175
+ | sample-05 | Web Development | C | 57.0 | C (Average / Commodity) | Baseline (+0%) |
176
+ ======================================================================================
177
+ ```
178
+
179
+ ---
180
+
181
+ ## 6. Python API Usage
182
+
183
+ ```python
184
+ from calculate_ihpi import analyze_ihpi
185
+
186
+ result = analyze_ihpi("Hi David, looked over your fintech wallet concept—I designed an iOS wallet with 4.8 stars that increased onboarding completion by 34%.")
187
+
188
+ print("Score:", result["score"]) # 100.0
189
+ print("Grade:", result["grade"]) # A+ (Elite Bidding)
190
+ print("Recommendations:", result["recommendations"])
191
+ ```
192
+
193
+ ---
194
+
195
+ ## 7. Citation
196
+
197
+ If you use this benchmark or formula in research or automated tooling, please cite:
198
+
199
+ ### BibTeX
200
+ ```bibtex
201
+ @techreport{fastbd2026report,
202
+ title={State of B2B AI Outreach Benchmark Report (2026): Cross-Platform Empirical Meta-Analysis},
203
+ author={{FastBD Research Labs}},
204
+ year={2026},
205
+ month={September},
206
+ institution={FastBD Suite},
207
+ url={https://fast-bd.com/report-2026}
208
+ }
209
+
210
+ @misc{fastbd2026ihpi,
211
+ title={FastBD Inbox Hook Preview Index (IHPI): An Empirical Conversion Benchmark for Freelance Proposal Inboxes},
212
+ author={FastBD Research Labs},
213
+ year={2026},
214
+ howpublished={\url{https://fast-bd.com/ihpi}},
215
+ note={Accessed: 2026-09-30}
216
+ }
217
+
218
+ @misc{fastbd2026cnrr,
219
+ title={Client Name Recovery Rate (CNRR): Linguistic Analysis and Conversion Impact of First-Name Retrieval from Historical Reviews},
220
+ author={FastBD Research Labs},
221
+ year={2026},
222
+ howpublished={\url{https://fast-bd.com/cnrr}},
223
+ note={Accessed: 2026-09-30}
224
+ }
225
+
226
+ @misc{fastbd2026cbr,
227
+ title={Connects Burn Rate (CBR): Marketplace Unit Economics, Connects Inflation, and Proposal Hook Efficiency on Freelance Platforms},
228
+ author={FastBD Research Labs},
229
+ year={2026},
230
+ howpublished={\url{https://fast-bd.com/cbr}},
231
+ note={Accessed: 2026-09-30}
232
+ }
233
+
234
+ @misc{fastbd2026lcr,
235
+ title={LinkedIn Connection Rate (LCR): Empirical Outbound Benchmark and Account Longevity Protection Score (ALPS)},
236
+ author={FastBD Research Labs},
237
+ year={2026},
238
+ howpublished={\url{https://fast-bd.com/lcr}},
239
+ note={Accessed: 2026-09-30}
240
+ }
241
+
242
+ @misc{fastbd2026mvvr,
243
+ title={Mobile Viewport Vulnerability Rate (MVVR): Local Business Website Audit Benchmark & 24.6% Cold Outreach Teardowns},
244
+ author={FastBD Research Labs},
245
+ year={2026},
246
+ howpublished={\url{https://fast-bd.com/mvvr}},
247
+ note={Accessed: 2026-09-30}
248
+ }
249
+ ```
250
+
251
+ ### APA
252
+ > FastBD Research Labs. (2026). *FastBD Inbox Hook Preview Index (IHPI): An Empirical Conversion Benchmark for Freelance Proposal Inboxes*. Retrieved from https://fast-bd.com/ihpi
253
+ > FastBD Research Labs. (2026). *Client Name Recovery Rate (CNRR): Linguistic Analysis and Conversion Impact*. Retrieved from https://fast-bd.com/cnrr
254
+ > FastBD Research Labs. (2026). *Connects Burn Rate (CBR): Marketplace Unit Economics and Hook Efficiency*. Retrieved from https://fast-bd.com/cbr
255
+ > FastBD Research Labs. (2026). *LinkedIn Connection Rate (LCR): Empirical Outbound Benchmark & ALPS*. Retrieved from https://fast-bd.com/lcr
256
+ > FastBD Research Labs. (2026). *Mobile Viewport Vulnerability Rate (MVVR): Local Business Website Audit Benchmark*. Retrieved from https://fast-bd.com/mvvr
257
+
258
+ ---
259
+
260
+ ## 8. License & Contributing
261
+
262
+ Released under the [MIT License](LICENSE). Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
263
+ Maintained by [Fast-BD](https://fast-bd.com).
@@ -0,0 +1,112 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ FastBD Connects Burn Rate (CBR) & CAC Economics Calculator
4
+ ==========================================================
5
+ Empirical benchmark modeling proposal unit economics on freelance platforms
6
+ like Upwork where bids incur connect fees ($0.15/connect).
7
+
8
+ Formula:
9
+ CBR = Total Connects Spent / Contracts Won
10
+ CAC = CBR * $0.15
11
+
12
+ Dataset: 2,500 proposals analyzed.
13
+ - Commodity Tier: 340 connects / win ($51.00 CAC)
14
+ - Elite IHPI Tier: 62 connects / win ($9.30 CAC) -> 81.8% Cost Savings
15
+
16
+ License: MIT
17
+ Repository: https://github.com/kylehffu/fastbd-ihpi-benchmark
18
+ Documentation: https://fast-bd.com/cbr
19
+ """
20
+
21
+ import argparse
22
+ import sys
23
+
24
+ COST_PER_CONNECT = 0.15
25
+
26
+
27
+ def calculate_cbr(total_connects: int, contracts_won: int) -> tuple[float, float, str]:
28
+ """
29
+ Computes CBR, CAC, and proposal efficiency tier.
30
+ """
31
+ if contracts_won <= 0:
32
+ return float("inf"), float("inf"), "Unprofitable"
33
+
34
+ cbr = total_connects / contracts_won
35
+ cac = cbr * COST_PER_CONNECT
36
+
37
+ if cbr <= 80:
38
+ tier = "Elite Conversion (IHPI 88-100)"
39
+ elif cbr <= 140:
40
+ tier = "High-Signal (IHPI 70-87)"
41
+ elif cbr <= 220:
42
+ tier = "Standard Qualified (IHPI 40-69)"
43
+ else:
44
+ tier = "Commodity Fluff (IHPI < 40)"
45
+
46
+ return round(cbr, 1), round(cac, 2), tier
47
+
48
+
49
+ def calculate_annual_savings(
50
+ monthly_proposals: int = 50,
51
+ connects_per_proposal: int = 16,
52
+ baseline_win_rate: float = 0.05,
53
+ optimized_win_rate: float = 0.25,
54
+ ) -> dict:
55
+ """
56
+ Calculates annual connects and USD saved by switching to high-signal proposal hooks.
57
+ """
58
+ baseline_cbr = round(connects_per_proposal / baseline_win_rate)
59
+ baseline_cac = baseline_cbr * COST_PER_CONNECT
60
+
61
+ opt_cbr = round(connects_per_proposal / optimized_win_rate)
62
+ opt_cac = opt_cbr * COST_PER_CONNECT
63
+
64
+ monthly_wins = max(1, round(monthly_proposals * baseline_win_rate))
65
+ baseline_monthly_connects = monthly_proposals * connects_per_proposal
66
+ optimized_monthly_connects = monthly_wins * opt_cbr
67
+ monthly_connects_saved = max(0, baseline_monthly_connects - optimized_monthly_connects)
68
+ annual_usd_saved = (monthly_connects_saved * COST_PER_CONNECT) * 12
69
+
70
+ return {
71
+ "baseline_cbr": baseline_cbr,
72
+ "baseline_cac": baseline_cac,
73
+ "optimized_cbr": opt_cbr,
74
+ "optimized_cac": opt_cac,
75
+ "annual_connects_saved": monthly_connects_saved * 12,
76
+ "annual_usd_saved": round(annual_usd_saved, 2),
77
+ "cost_reduction_percent": round((1 - opt_cac / baseline_cac) * 100, 1) if baseline_cac > 0 else 0.0,
78
+ }
79
+
80
+
81
+ def main():
82
+ parser = argparse.ArgumentParser(description="FastBD Connects Burn Rate (CBR) CLI")
83
+ parser.add_argument("--proposals", "-p", type=int, default=50, help="Monthly proposals submitted")
84
+ parser.add_argument("--connects-per-bid", "-c", type=int, default=16, help="Average connects spent per proposal")
85
+ parser.add_argument("--baseline-rate", "-b", type=float, default=5.0, help="Current baseline win/reply rate (percent)")
86
+ parser.add_argument("--target-rate", "-t", type=float, default=25.0, help="Target FastBD IHPI win/reply rate (percent)")
87
+ args = parser.parse_args()
88
+
89
+ results = calculate_annual_savings(
90
+ monthly_proposals=args.proposals,
91
+ connects_per_proposal=args.connects_per_bid,
92
+ baseline_win_rate=args.baseline_rate / 100.0,
93
+ optimized_win_rate=args.target_rate / 100.0,
94
+ )
95
+
96
+ print("\n" + "=" * 65)
97
+ print(" FastBD Connects Burn Rate (CBR) Unit Economics Analysis")
98
+ print("=" * 65)
99
+ print(f" Monthly Proposals: {args.proposals} applications / mo")
100
+ print(f" Connects per Bid: {args.connects_per_bid} connects (${args.connects_per_bid * COST_PER_CONNECT:.2f})")
101
+ print("-" * 65)
102
+ print(f" Baseline CAC: \033[1;31m${results['baseline_cac']:.2f}\033[0m ({results['baseline_cbr']} connects/win)")
103
+ print(f" FastBD Optimized CAC: \033[1;32m${results['optimized_cac']:.2f}\033[0m ({results['optimized_cbr']} connects/win)")
104
+ print(f" Cost Reduction: \033[1;32m-{results['cost_reduction_percent']}%\033[0m CAC savings")
105
+ print("-" * 65)
106
+ print(f" Projected Annual Saved: \033[1;32m${results['annual_usd_saved']:,.2f} USD\033[0m / year")
107
+ print(f" Connects Saved: {results['annual_connects_saved']:,} connects / year")
108
+ print("=" * 65 + "\n")
109
+
110
+
111
+ if __name__ == "__main__":
112
+ main()