Wild · Sarcasm, Mixed Joy+Anger, Emoji vs Plain, @user Drift & >512 Truncation · 128.99 MB WASM q8

Adversarial Emotion Stress Lab — Sarcasm, Collisions & 512-Token Cliffs

Stress-test cardiffnlp/twitter-roberta-base-emotion against real social edge cases: deadpan sarcasm, mixed joy + anger collisions, emojis vs plain words, @user/http anonymization drift, negation flips, and a >512-token thread whose angry twist sits past max_position_embeddings: 514. Includes mid-suite Cancel.

1. Adversarial Probe & Cancellable Stress Suite

Live Probe 4-Emotion Distribution

Initialize the model above to score this adversarial probe.

Probe Diagnostics

Dominant Emotion–
Softmax Margin–
Tokens · Truncated?–
Latency · NaN–

2. Emojis vs Plain Words Pairs

Side-by-side comparison of plain text versus emoji-annotated variants across 4 emotions
Pair Plain Text & Emotion With Emojis & Emotion Valence Shift
Initialize the model above to score emojis vs plain words pairs.

3. @user / URL Anonymization Drift, Negation & Orthographic Pairs

Side-by-side comparison of raw handles/URLs versus @user/http anonymization, negation, and ALL-CAPS shifts
Mechanism Baseline Input & Emotion Transformed Input & Emotion Valence Shift
Initialize the model above to run anonymization drift & negation stress pairs.

4. Inspect Adversarial Fixtures & Epoch-Guarded Worker Batch

Show the code · emotion-core.mjs — Sarcasm, mixed joy+anger, >512 truncation & emoji fixtures
Show the code · worker.js — classifyBatch() (epoch-guarded FIFO inference)