Skip to main content
Beton
posthog_storage_based posthog_storage_based_mvp_v1

Storage-based SaaS

Storage-tier SaaS where the expansion signal is growth toward tier limits. Storage warnings serve as quota-risk signals.

Value metric

GB stored, records managed, files hosted

Success event

file_uploaded

entity_type: account

Scale

  • 260 accounts
  • 4 users/account (mean)
  • 7 sessions/user (mean)
  • 30 days of history

Research metrics proxied

  • — Storage growth rate
  • — Days-to-tier-limit
  • — Upload frequency trend

Signal paths

Positive paths end in file_uploaded. Negative paths do not. Every generated event_id belonging to a path is recorded in ground_truth.json.

Positive signals (2)

record_then_upload ×80
record_created file_uploaded
cohorts: high_intent, medium_intent, power_user
repeated_upload_growth ×55
file_uploaded file_uploaded
cohorts: medium_intent, power_user

Negative signals (2)

upload_hits_storage_warning ×45
file_uploaded storage_warning_shown
cohorts: low_intent, medium_intent, lurker
repeated_storage_warning ×25
storage_warning_shown storage_warning_shown
cohorts: low_intent, noisy_bot_like

Generate this dataset

Config file: configs/posthog_storage_based_mvp.yaml

Quickstart
# Dockerized Postgres (recommended for inspection)
docker compose up -d

uv run dryfit \
  -c configs/posthog_storage_based_mvp.yaml \
  --dsn postgresql://dryfit_writer:dryfit_writer@127.0.0.1:54329/dryfit \
  --print-summary

# Or local Postgres
./scripts/generate-local -c configs/posthog_storage_based_mvp.yaml --print-summary

Full setup instructions are in the repo's README — including local Postgres, Grafana inspection, and dataset restore.

Noise parameters

DryFit injects realistic noise on top of the generated signal paths. These probabilities are per-event. Noise never touches rows referenced by ground_truth.json — your scoring logic can trust the truth file is exact.

missing event probability
5.0%
duplicate event probability
2.0%
out of order probability
3.0%
null property probability
3.0%
anonymous actor probability
1.0%
weird property probability
1.0%

Benchmark your detector against Storage-based SaaS

Clone the repo, run the config, check your agent's output against ground_truth.json.

View on GitHub