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.
File upload decision guide: signed URLs, validation, storage, virus scanning, image processing, UX. Use for: upload, file storage, attachment, avatar, image, document, GCS, S3, presigned.
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.
Default storage: GCS. Logic identical for S3/R2 — adapt provider SDK.
| Strategy | When | Trade-off |
|---|---|---|
| Signed URL (direct) | Default for all uploads | Backend never touches bytes; scales trivially |
| Server proxy | <100KB parsed inline (small CSV) | Simple but consumes backend RAM; no scale |
| Resumable/multipart | >100MB (videos, datasets) | 8-32MB chunks; resume on failure |
| tus protocol | Vendor-neutral resumable | Requires tusd server |
Client → POST /uploads/sign → Backend (validate, create pending row, return signed URL)
Client → PUT bytes → Storage (uploads-pending/)
Storage → Event (Pub/Sub) → Worker (MIME sniff + virus scan)
Worker → if clean: move to uploads-clean/, update DB status
Key decisions:
t/{tenant}/u/{user}/{uuid} key path| Check | Where | Detail |
|---|---|---|
| MIME whitelist | Sign + Worker (sniff) | Whitelist only; sniff first 512 bytes server-side |
| Size limit | Sign + URL constraint | Enforce per use case (10MB avatar, 100MB doc) |
| Virus scan | Worker (async) | ClamAV / Cloudmersive / VirusTotal; never serve status != clean |
| Content-Type match | Worker | Sniffed vs declared; reject on mismatch |
| Checksum | Worker (post-scan) | SHA-256 stored for integrity |
Never trust client Content-Type or file extension alone.
| Provider | When | Notes |
|---|---|---|
| GCS | Default (GCP) | V4 signed URLs, Pub/Sub, Cloud CDN |
| S3 | AWS stack | Presigned URLs, EventBridge, CloudFront |
| R2 | Egress-sensitive | S3-compatible, zero egress fees |
pending → scanning → clean | infected (deleted) | rejected (deleted)
DB columns: id, owner_id, tenant_id, bucket, key, mime, size, checksum_sha256, status, scanned_at, created_at.
upload.onprogress — fetch lacks upload progressuploadAsync100MB: switch to resumable with per-chunk retry + exponential backoff
status=clean; poll or WebSocket for completionNo 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.