This commit is contained in:
+1
-1
@@ -216,6 +216,6 @@ export async function getPostsData(
|
|||||||
`pph: ${postsPerHour.toFixed(2)} (${method})`,
|
`pph: ${postsPerHour.toFixed(2)} (${method})`,
|
||||||
)
|
)
|
||||||
|
|
||||||
return { postsPerHour, relatedTags, displayTag, hasAnyPosts: true }
|
return { postsPerHour: Math.round(postsPerHour * 10) / 10, relatedTags, displayTag, hasAnyPosts: true }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -12,10 +12,10 @@
|
|||||||
* 3 600 (viral) → $250.00 (design target)
|
* 3 600 (viral) → $250.00 (design target)
|
||||||
* Asymptote → ~$346
|
* Asymptote → ~$346
|
||||||
*
|
*
|
||||||
* Floor: $0.25 (matches zero-PPH floor price).
|
* Floor: $0.25 for ≤ 1 PPH.
|
||||||
*/
|
*/
|
||||||
export function calcPrice(postsPerHour: number): number {
|
export function calcPrice(postsPerHour: number): number {
|
||||||
if (postsPerHour <= 0) return 0.25
|
if (postsPerHour <= 1) return 0.25
|
||||||
const base = 0.25 // The base price at low volumes (1 PPH)
|
const base = 0.25 // The base price at low volumes (1 PPH)
|
||||||
const anchor = 3600 // PPH at which we want the target price (1 PPS)
|
const anchor = 3600 // PPH at which we want the target price (1 PPS)
|
||||||
const target = 250 // price at the anchor PPH
|
const target = 250 // price at the anchor PPH
|
||||||
|
|||||||
Reference in New Issue
Block a user