ab-test-setup
FreePlan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
Structured logging: slog/pino, Cloud Logging, Loki, correlation IDs, PII scrubbing, sampling, cost control.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Objetivo: debuggable en prod, barato a escala, sin PII.
| Destino | Cuándo |
|---|---|
| GCP Cloud Logging | Default Educabot (runtime GCP), $0.50/GiB ingest |
| Grafana Loki | Self-host, alto volumen barato |
| Datadog Logs | Si ya pagan DD APM |
| ELK/OpenSearch | Compliance/SIEM full-text |
Default: Cloud Logging (runtime) + Loki (alto volumen/cheap retention).
Go (slog stdlib 1.21+): slog.NewJSONHandler con level configurable, ReplaceAttr para PII scrubbing, base fields (service, env, version). Middleware Gin inyecta request-scoped attrs (request_id, trace_id, route) en context.
Node/TS (pino): level via env, base fields, redact.paths para PII (password, token, authorization, cookie, dni, cuit), pinoHttp middleware con custom props (trace_id) y serializers compactos. Pino > winston: 5x más rápido, JSON nativo.
Cloud Logging fields: severity (DEBUG-CRITICAL), logging.googleapis.com/trace (auto-link a Cloud Trace), httpRequest (método/status/latency como columnas). Cloud Run/GKE: stdout se loguea automáticamente.
React/frontend: errores → Sentry, analytics → Mixpanel/Amplitude. Si necesitás logs centralizados: buffer + batch + flush a /api/logs, solo warn+ en prod. Evitar loguear interacciones rutinarias.
React Native: errores → Sentry, analytics → Mixpanel. Debug en campo: react-native-logs (archivos rotados), upload con consent. Nunca PII en logs del device.
OTel W3C Trace Context (traceparent). Todo log en un request con mismo trace_id. Go: trace.SpanFromContext(ctx).SpanContext().TraceID().
| Level | Uso |
|---|---|
| DEBUG | Flujo interno. Off en prod salvo troubleshooting |
| INFO | Eventos normales. Default prod |
| WARN | Recuperable ("retry 2/3"). Mirar tendencias |
| ERROR | Falla operación, sistema sigue. → Sentry también |
| FATAL | Se muere el servicio. Raro. Page on-call |
Si nadie va a hacer algo con la línea → bájala de level o sacala.
Cloud Logging ~$0.50/GiB. Estrategia: siempre errores 100%, samplear éxitos (5-10%). Con OTel tracing, bajar INFO a 1-5%.
→ Read references/pii-audit-access.md for PII scrubbing fields, audit log schema, access log fields, and retention/cost tables
→ Read references/anti-patterns.md for common logging anti-patterns
→ Read references/checklist.md for the 12-item implementation checklist
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.
The English summary is being prepared. Showing the original description.
Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.
The English summary is being prepared. Showing the original description.
Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.
The English summary is being prepared. Showing the original description.
Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.
The English summary is being prepared. Showing the original description.
Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.
The English summary is being prepared. Showing the original description.