Skip to content

feat: implement A/B experimentation for forge pricing and copy (phase-174) - #586

Merged
Darkvader-ship-it merged 3 commits into
PHASE-STELLAR:mainfrom
Nursca:feat/experiments-analytics-cost-billing-475-478
Oct 20, 2026
Merged

Darkvader-ship-it merged 3 commits into
PHASE-STELLAR:mainfrom
Nursca:feat/experiments-analytics-cost-billing-475-478

Conversation

@Nursca

@Nursca Nursca commented Oct 19, 2026

Copy link
Copy Markdown
Contributor
  • Introduced a new module for A/B experimentation that assigns subjects to weighted variants of an experiment.
  • Added functionality to resolve forge prices based on assigned variants and handle rollbacks.
  • Implemented subject hashing for privacy and deterministic bucketing for variant assignment.
  • Created a mechanism to load and parse experiment configurations from environment variables.

feat: add billing and metering for paid forge tiers (phase-177)

  • Developed a billing module to meter forge jobs per wallet per UTC day, enforcing daily quotas.
  • Configurable daily limits for different billing tiers, with a fallback to default values.
  • Implemented functions to check quotas and record billing events, ensuring idempotency by job ID.

feat: introduce search analytics for query logging and effectiveness (phase-175)

  • Created a search query logging module to track queries, clicks, and zero-result rates.
  • Implemented functionality to aggregate search analytics and compute various metrics.
  • Ensured privacy by hashing queries and viewer wallets, preventing raw data exposure.

Closes #475
Closes #476
Closes #477
Closes #478

…-174)

- Introduced a new module for A/B experimentation that assigns subjects to weighted variants of an experiment.
- Added functionality to resolve forge prices based on assigned variants and handle rollbacks.
- Implemented subject hashing for privacy and deterministic bucketing for variant assignment.
- Created a mechanism to load and parse experiment configurations from environment variables.

feat: add billing and metering for paid forge tiers (phase-177)

- Developed a billing module to meter forge jobs per wallet per UTC day, enforcing daily quotas.
- Configurable daily limits for different billing tiers, with a fallback to default values.
- Implemented functions to check quotas and record billing events, ensuring idempotency by job ID.

feat: introduce search analytics for query logging and effectiveness (phase-175)

- Created a search query logging module to track queries, clicks, and zero-result rates.
- Implemented functionality to aggregate search analytics and compute various metrics.
- Ensured privacy by hashing queries and viewer wallets, preventing raw data exposure.
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@Nursca Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Darkvader-ship-it
Darkvader-ship-it merged commit c539c38 into PHASE-STELLAR:main Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment