diff --git a/docs/homework/demo-light.html b/docs/homework/demo-light.html new file mode 100644 index 0000000..79def32 --- /dev/null +++ b/docs/homework/demo-light.html @@ -0,0 +1,860 @@ + + + + + +Flair2 — AI Campaign Studio + + + + + +
+
Real Output
+
AI-generated. Audience-voted. Creator-voiced.
+
+
+
+ #1 — RANK 1 + ▲ 15.0 votes +
+
pattern: story + steady pacing
+
+
Hook
+
"I deleted every single photo off my phone last Tuesday."
+
Personalized Script Creator Voice
+
+ Okay no cap, I did something absolutely insane last Tuesday. Deleted every single photo off my phone. Not the cloud, not the backup — just... poof. Fourteen thousand pics and my hands were literally shaking. But wait for it... [beat] I couldn't even remember taking half of them. Trust me on this — the best vibes of your life don't need an audience. +
+
+
+
+
+ #2 — RANK 2 + ▲ 11.0 votes +
+
pattern: direct_address + staccato
+
+
Hook
+
"Your phone is making you ugly."
+
Personalized Script Creator Voice
+
+ Your phone is lowkey aging you. No cap. Tech neck. Eye bags. Blue light? Insane. 96 times daily. Squinting. Frowning. Lines forming. Deep ones. Permanent. [HARD CUT] Stop. Hold it eye level. Today. Trust me on this. Let's gooo. +
+
+
+
+
+ + +
+
The Problem
+
Creators guess.
Algorithms don't.
+
+
+
👀
+

Manual Pattern Hunting

+

Watch hundreds of viral videos, trying to intuit what makes them work. Slow, subjective, unrepeatable.

+
+
+
🔁
+

Surface-Level Copying

+

Copy trending sounds and dances. Platforms actively penalize imitation. Trends die in 48-72 hours.

+
+
+
📈
+

Structural Patterns Last

+

Hook types, pacing, emotional arcs — 82% of 500K+ videos share the same structural mechanics.

+
+
+
🤖
+

We Automate the Structure

+

Extract structural patterns from real data. Generate scripts. Simulate audience voting. Personalize to your voice.

+
+
+
+ + +
+
The Pipeline
+
Six Stages. Two MapReduce Cycles.
+
+
+
+
+
MapReduce 1
+
+
S1
+
Analyze
+
100 videos
→ patterns
+
+
+
+
+
+
S2
+
Aggregate
+
patterns
→ library
+
+
+
+
+
+
S3
+
Generate
+
library
→ 50 scripts
+
+
+
+
+
MapReduce 2
+
+
S4
+
Vote
+
100 personas
→ rankings
+
+
+
+
+
+
S5
+
Rank
+
votes
→ top 10
+
+
+
+
+
+
S6
+
Personalize
+
top 10
→ your voice
+
+
+
+
+
■ S1, S2 — Pure data extraction
+
■ S4, S5 — Crowd simulation
+
■ S3, S6 — LLM generation
+
+
+ + +
+
Infrastructure
+
Multi-User Distributed System on AWS
+
+
+
+
ECS Fargate + ALB
+
API & Celery workers
Horizontal scaling, no EC2
+
+
+
+
ElastiCache
+
Redis 7 — task queue
rate limiter, SETNX cache
+
+
+
📦
+
S3 + DynamoDB
+
Pipeline outputs
run metadata, perf tracking
+
+
+
🤖
+
Kimi K2.5
+
Reasoning provider
256K context
+
+
+
🎬
+
Gemini
+
Video generation
(Lambda, on-demand)
+
+
+
📊
+
Observability
+
UsageTracker, structlog
CloudWatch, CI/CD
+
+
+
🌐
+
Cloudflare Pages
+
Astro + React islands
SSE pipeline viz
+
+
+
+
+

Experiment 1

+

Multi-tenant backpressure under shared API rate limit

+
+
+

Experiment 2

+

Failure recovery & run isolation across concurrent pipelines

+
+
+

Experiment 3

+

Cross-user SETNX cache concurrency & hit rates

+
+
+
+ + +
+
Progress
+
Day 4 of 21
+
+
+
M1 — MVP Pipeline
+
+
88%
+
+
+
M2 — AWS Infra
+
+
100%
+
+
+
M3 — Distributed
+
+
0%
+
+
+
M4 — Frontend
+
+
0%
+
+
+
M5 — Experiments
+
+
25%
+
+
+
+
+
45
+
Tests Passing
+
+
+
14
+
PRs Merged
+
+
+
6
+
Pipeline Stages
+
+
+
2
+
LLM Providers
+
+
+
8
+
AWS Services
+
+
+
+ + +
+
+
+
+ Flair2 +
+
+ Pattern learning & crowd-validated content generation
for short-form video +
+
+
+
Sam Wu
+
Pipeline · Frontend
+
+
+
Jess Zhang
+
AWS Infrastructure
+
+
+ +
+ + CS6650 — Milestone 1 — March 2026 +
+
+ + + +
1 / 6
+
or click
+ + + + diff --git a/docs/homework/demo.html b/docs/homework/demo.html new file mode 100644 index 0000000..d21ebd9 --- /dev/null +++ b/docs/homework/demo.html @@ -0,0 +1,860 @@ + + + + + +Flair2 — AI Campaign Studio + + + + + +
+
Real Output
+
AI-generated. Audience-voted. Creator-voiced.
+
+
+
+ #1 — RANK 1 + ▲ 15.0 votes +
+
pattern: story + steady pacing
+
+
Hook
+
"I deleted every single photo off my phone last Tuesday."
+
Personalized Script Creator Voice
+
+ Okay no cap, I did something absolutely insane last Tuesday. Deleted every single photo off my phone. Not the cloud, not the backup — just... poof. Fourteen thousand pics and my hands were literally shaking. But wait for it... [beat] I couldn't even remember taking half of them. Trust me on this — the best vibes of your life don't need an audience. +
+
+
+
+
+ #2 — RANK 2 + ▲ 11.0 votes +
+
pattern: direct_address + staccato
+
+
Hook
+
"Your phone is making you ugly."
+
Personalized Script Creator Voice
+
+ Your phone is lowkey aging you. No cap. Tech neck. Eye bags. Blue light? Insane. 96 times daily. Squinting. Frowning. Lines forming. Deep ones. Permanent. [HARD CUT] Stop. Hold it eye level. Today. Trust me on this. Let's gooo. +
+
+
+
+
+ + +
+
The Problem
+
Creators guess.
Algorithms don't.
+
+
+
👀
+

Manual Pattern Hunting

+

Watch hundreds of viral videos, trying to intuit what makes them work. Slow, subjective, unrepeatable.

+
+
+
🔁
+

Surface-Level Copying

+

Copy trending sounds and dances. Platforms actively penalize imitation. Trends die in 48-72 hours.

+
+
+
📈
+

Structural Patterns Last

+

Hook types, pacing, emotional arcs — 82% of 500K+ videos share the same structural mechanics.

+
+
+
🤖
+

We Automate the Structure

+

Extract structural patterns from real data. Generate scripts. Simulate audience voting. Personalize to your voice.

+
+
+
+ + +
+
The Pipeline
+
Six Stages. Two MapReduce Cycles.
+
+
+
+
+
MapReduce 1
+
+
S1
+
Analyze
+
100 videos
→ patterns
+
+
+
+
+
+
S2
+
Aggregate
+
patterns
→ library
+
+
+
+
+
+
S3
+
Generate
+
library
→ 50 scripts
+
+
+
+
+
MapReduce 2
+
+
S4
+
Vote
+
100 personas
→ rankings
+
+
+
+
+
+
S5
+
Rank
+
votes
→ top 10
+
+
+
+
+
+
S6
+
Personalize
+
top 10
→ your voice
+
+
+
+
+
■ S1, S2 — Pure data extraction
+
■ S4, S5 — Crowd simulation
+
■ S3, S6 — LLM generation
+
+
+ + +
+
Infrastructure
+
Multi-User Distributed System on AWS
+
+
+
+
ECS Fargate + ALB
+
API & Celery workers
Horizontal scaling, no EC2
+
+
+
+
ElastiCache
+
Redis 7 — task queue
rate limiter, SETNX cache
+
+
+
📦
+
S3 + DynamoDB
+
Pipeline outputs
run metadata, perf tracking
+
+
+
🤖
+
Kimi K2.5
+
Reasoning provider
256K context
+
+
+
🎬
+
Gemini
+
Video generation
(Lambda, on-demand)
+
+
+
📊
+
Observability
+
UsageTracker, structlog
CloudWatch, CI/CD
+
+
+
🌐
+
Cloudflare Pages
+
Astro + React islands
SSE pipeline viz
+
+
+
+
+

Experiment 1

+

Multi-tenant backpressure under shared API rate limit

+
+
+

Experiment 2

+

Failure recovery & run isolation across concurrent pipelines

+
+
+

Experiment 3

+

Cross-user SETNX cache concurrency & hit rates

+
+
+
+ + +
+
Progress
+
Day 4 of 21
+
+
+
M1 — MVP Pipeline
+
+
88%
+
+
+
M2 — AWS Infra
+
+
100%
+
+
+
M3 — Distributed
+
+
0%
+
+
+
M4 — Frontend
+
+
0%
+
+
+
M5 — Experiments
+
+
25%
+
+
+
+
+
45
+
Tests Passing
+
+
+
14
+
PRs Merged
+
+
+
6
+
Pipeline Stages
+
+
+
2
+
LLM Providers
+
+
+
8
+
AWS Services
+
+
+
+ + +
+
+
+
+ Flair2 +
+
+ Pattern learning & crowd-validated content generation
for short-form video +
+
+
+
Sam Wu
+
Pipeline · Frontend
+
+
+
Jess Zhang
+
AWS Infrastructure
+
+
+ +
+ + CS6650 — Milestone 1 — March 2026 +
+
+ + + +
1 / 6
+
or click
+ + + +