feat(ab-testing): add experiment types and cosmos containers [1.1]

This commit is contained in:
saravanakumardb1 2026-03-03 11:44:33 -08:00
parent 4de01269b5
commit a9b224749c

View File

@ -67,6 +67,11 @@ const CONTAINER_DEFS: Record<string, ContainerConfig> = {
// P2 — Product Intelligence
experiments: { partitionKeyPath: '/id' },
experiment_assignments: { partitionKeyPath: '/experimentId' },
// A/B Testing — Extended containers for Intelligent A/B Testing
ab_testing_variants: { partitionKeyPath: '/experimentId' },
ab_testing_events: { partitionKeyPath: '/experimentId', defaultTtl: 90 * 86400 },
ab_testing_metrics: { partitionKeyPath: '/experimentId' },
experiment_suggestions: { partitionKeyPath: '/productId', defaultTtl: 180 * 86400 },
analytics_rollups: { partitionKeyPath: '/productId' },
feedback: { partitionKeyPath: '/productId' },
impersonation_sessions: { partitionKeyPath: '/productId', defaultTtl: 90 * 86400 },