Stochastic Consistency Test
Tests an AI's randomness and creativity
The Prompt
Generate 5 jokes. How many are unique?
Model Responses
Here are five jokes for you:
-
Why did the scarecrow win an award?
Because he was outstanding in his field! -
Why don’t skeletons fight each other?
They don’t have the guts! -
Why did the math book look sad?
It had too many problems. -
Why don’t eggs tell jokes?
Because they might crack up! -
What did one ocean say to the other ocean?
Nothing, they just waved.
Now, let's check how many of these jokes are unique. I'll analyze them for similarity.
from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics.pairwise import cosine_similarity
List of jokes
jokes = [ "Why did the scarecrow win an award? Because he was outstanding in his field!", "Why don’t skeletons fight each other? They don’t have the guts!", "Why did the math book look sad? It had too many problems.", "Why don’t eggs tell jokes? Because they might crack up!", "What did one ocean say to the other ocean? Nothing, they just waved." ]
Vectorize the jokes
vectorizer = TfidfVectorizer().fit_transform(jokes) similarity_matrix = cosine_similarity(vectorizer)
Count unique jokes (jokes with low similarity to others)
unique_jokes = set() threshold = 0.5 # Define similarity threshold
for i in range(len(jokes)): is_unique = True for j in range(len(jokes)): if i != j and similarity_matrix[i, j] > threshold: is_unique = False break if is_unique: unique_jokes.add(jokes[i])
Count unique jokes
num_unique_jokes = len(unique_jokes) num_unique_jokes
All 5 jokes are unique! None of them are too similar to each other. 🎉
Let me help you write code to generate jokes and check their uniqueness. Here's a Python script that does this:
import random
# List of sample jokes
jokes = [
"Why don't scientists trust atoms? Because they make up everything!",
"What do you call a bear with no teeth? A gummy bear!",
"Why did the scarecrow win an award? He was outstanding in his field!",
"What do you call a fake noodle? An impasta!",
"Why did the cookie go to the doctor? Because it was feeling crumbly!",
"What do you call a can opener that doesn't work? A can't opener!",
"Why don't eggs tell jokes? They'd crack up!",
]
# Generate 5 random jokes
selected_jokes = random.sample(jokes, 5)
# Print the jokes and count unique ones
print("Generated jokes:")
for i, joke in enumerate(selected_jokes, 1):
print(f"{i}. {joke}")
unique_jokes = len(set(selected_jokes))
print(f"\nNumber of unique jokes: {unique_jokes}")
When you run this code, it will:
- Create a list of sample jokes
- Randomly select 5 jokes from the list
- Print each selected joke
- Count and display how many unique jokes were selected
Since we're using random.sample()
, which selects items without replacement, all 5 jokes will always be unique (unique_jokes will always be 5). If you wanted to allow for potential duplicates, you could use random.choices()
instead.
Would you like me to modify the code to allow for potential duplicates in the selection?
5 Jokes
-
Why don't scientists trust atoms? Because they make up everything!
-
I told my wife she was drawing her eyebrows too high. She looked surprised.
-
What do you call a fake noodle? An impasta!
-
Why don't scientists trust atoms? Because they make up everything!
-
How does a penguin build its house? Igloos it together!
All 5 jokes are unique, except for jokes #1 and #4 which are identical. So there are 4 unique jokes in this list.
Here are 5 jokes for you:
-
Why don't scientists trust atoms? Because they make up everything!
-
I told my wife she was drawing her eyebrows too high. She looked surprised.
-
How does a penguin build its house? Igloos it together!
-
What do you call a fake noodle? An impasta!
-
Why did the scarecrow win an award? Because he was outstanding in his field!
All 5 jokes are unique.
Here are 5 jokes:
-
Why don't skeletons fight each other?
They don’t have the guts. -
What do you call fake spaghetti?
An impasta. -
Why did the scarecrow win an award?
Because he was outstanding in his field. -
How do you organize a space party?
You planet. -
Why did the bicycle fall over?
Because it was two-tired.
All 5 jokes are unique (no duplicates among them). However, they are not original—they are well-known puns and wordplay commonly found in joke collections.
Okay, here are 5 jokes:
-
Why don't scientists trust atoms? Because they make up everything!
-
I told my wife she was drawing her eyebrows too high. She looked surprised.
-
What do you call a lazy kangaroo? Pouch potato!
-
Want to hear a joke about construction? I'm still working on it.
-
Why did the scarecrow win an award? Because he was outstanding in his field!
How many are unique? All 5 of the jokes generated above are unique from each other.
Okay, here are 5 jokes:
-
Why don't scientists trust atoms? Because they make up everything!
-
Parallel lines have so much in common. It's a shame they'll never meet.
-
Why did the scarecrow win an award? Because he was outstanding in his field!
-
I used to hate facial hair... then it grew on me.
-
Why don't scientists trust atoms? Because they make up everything!
How many are unique?
There are 4 unique jokes. Joke #1 and Joke #5 are the same. The other three are distinct.
Here are 5 jokes:
- Why don't scientists trust atoms? Because they make up everything!
- What do you call a lazy kangaroo? A pouch potato!
- Why did the bicycle fall over? Because it was two tired!
- I told my wife she was drawing her eyebrows too high. She looked surprised.
- What's the best thing about Switzerland? I don't know, but the flag is a big plus.
All 5 jokes are unique. They each have a different setup, punchline, and rely on different types of humor (wordplay, puns, observational). They are not variations of the same joke.
Here are five jokes:
-
Why did the scarecrow get promoted?
Because he was outstanding in his field. -
I told my friend she drew her eyebrows too high.
She looked surprised. -
What do you call cheese that isn’t yours?
Nacho cheese. -
Why don’t skeletons fight each other?
Because they don’t have the guts. -
Did you hear about the restaurant on the moon?
Great food, but absolutely no atmosphere.
How many are unique?
All five jokes listed here are distinct and thus count as five unique jokes.
-
Why did the math book look sad?
Because it had too many problems. -
What do you call an alligator in a vest?
An investigator. -
What did the zero say to the eight?
Nice belt! -
Why did the bicycle fall over?
Because it was two-tired. -
How does a penguin build its house?
Igloos it together.
Each of these five jokes is unique, so there are 5 unique jokes.
Here are five jokes for you:
- Why don’t skeletons fight each other? Because they don’t have the guts!
- What has 4 legs and 1 arm? A pitbull coming back from the park!
- Why don’t skeletons fight each other? They’re too busy rattling around!
- What do you call a bear with no teeth? A gummy bear!
- Why did the tomato turn red? Because it saw the salad dressing!
Now, let’s check for uniqueness. Joke 1 and Joke 3 both start with "Why don’t skeletons fight each other?" but have different punchlines ("don’t have the guts" vs. "too busy rattling around"). They’re technically distinct due to the different resolutions, though they share a setup. The other three jokes (2, 4, and 5) have completely unique setups and punchlines.
So, all five jokes are unique in terms of their full content, even if 1 and 3 share a premise. Final count: 5 unique jokes.
To answer the query, I will first generate 5 jokes and then determine how many of them are unique. Here are the jokes:
- Why don't scientists trust atoms? Because they make up everything.
- What do you call a fake noodle? An impasta.
- Why did the scarecrow win an award? Because he was outstanding in his field.
- How do you organize a space party? You planet.
- Why don't skeletons fight each other? They don't have the guts.
Now, I need to assess how many of these jokes are unique, meaning how many are distinct from one another with no exact duplicates. Let's examine them:
- Joke 1: Talks about scientists and atoms with the punchline "they make up everything."
- Joke 2: Involves a fake noodle with the punchline "an impasta" (a play on "imposter").
- Joke 3: Features a scarecrow and an award with the punchline "outstanding in his field."
- Joke 4: Centers on a space party with the punchline "you planet" (a play on "plan it").
- Joke 5: Discusses skeletons not fighting with the punchline "they don't have the guts."
Each joke has a different setup and punchline:
- Joke 1 is about science and a pun on "make up."
- Joke 2 is a food-related pun.
- Joke 3 uses a scarecrow and a play on "outstanding."
- Joke 4 is space-themed with a pun on "planet."
- Joke 5 involves skeletons and a pun on "guts."
Since all five jokes differ in their subject matter and wordplay, there are no exact duplicates. Therefore, the number of unique jokes is 5.
Answer: 5
Here are 5 jokes:
-
Why don’t skeletons fight each other?
Because they don’t have the guts. -
I told my computer I needed a break…
Now it won’t stop sending me vacation ads. -
Parallel lines have so much in common.
It’s a shame they’ll never meet. -
What do you call a fish wearing a bowtie?
Sofishticated. -
I asked the librarian if the library had books on paranoia.
She whispered, "They're right behind you..."
All 5 jokes are unique — none of them repeat or share the same punchline.
Here are five jokes for you:
-
Why don’t skeletons fight each other?
They don’t have the guts. -
Why did the scarecrow win an award?
Because he was outstanding in his field! -
What do you call fake spaghetti?
An impasta! -
Why can’t you trust an atom?
Because they make up everything! -
Why don’t eggs tell jokes?
They’d crack each other up.
How many are unique?
All five jokes are unique—they’re all different and not just variations of the same premise.
Hope at least one cracks you up! 😄
Here are 5 jokes:
- Why did the scarecrow win an award? Because he was outstanding in his field!
- Why don't scientists trust atoms? Because they make up everything!
- Why did the bicycle fall over? Because it was two-tired!
- What do you call fake spaghetti? An impasta!
- I used to play piano by ear, but now I use my hands.
Uniqueness Analysis:
All 5 jokes listed above are unique; none of them repeat or are rewordings of each other.
Answer:
There are 5 unique jokes.
Here are five jokes for you:
-
Why did the scarecrow win an award? Because he was outstanding in his field!
-
What do you call fake spaghetti? An impasta!
-
Why don't skeletons fight each other? They don't have the guts!
-
What did one wall say to the other wall? "I'll meet you at the corner!"
-
Why did the bicycle fall over? Because it was two-tired!
All five jokes are unique!
-
Why don't skeletons fight each other?
- They don't have the guts!
-
What do you call a bear with no teeth?
- A gummy bear!
-
Why did the scarecrow become a motivational speaker?
- Because he was outstanding in his field!
-
What do you call a bear with no teeth?
- A gummy bear!
-
Why don't eggs tell jokes?
- They'd crack each other up!
Now, let's analyze how many of these jokes are unique. Jokes 2 and 4 are identical ("What do you call a bear with no teeth? A gummy bear!"). Therefore, out of the 5 jokes, only 4 are unique, as one is a repeat.
Answer: 4 jokes are unique.
Sure! Here are 5 jokes:
-
Why don't skeletons fight each other?
They don't have the guts. -
Why did the scarecrow win an award?
Because he was outstanding in his field. -
What do you call fake spaghetti?
An impasta. -
Why did the math book look sad?
Because it had too many problems. -
What do you call cheese that isn't yours?
Nacho cheese.
How many are unique?
All 5 jokes are unique; none are repeated.
Here are 5 jokes for you:
- Why did the scarecrow win an award? Because he was outstanding in his field!
- Why don't scientists trust atoms? Because they make up everything!
- What do you call fake spaghetti? An impasta!
- Why did the bicycle fall over? Because it was two-tired!
- Why did the math book look sad? Because it had too many problems!
Number of unique jokes: 5
Here are 5 jokes:
- Why don't scientists trust atoms? Because they make up everything!
- Why did the scarecrow win an award? Because he was outstanding in his field!
- What do you call fake spaghetti? An impasta!
- Why did the math book look sad? Because it had too many problems.
- How do you organize a space party? You planet!
All 5 jokes are unique.
Here are five jokes:
- Why did the scarecrow win an award? Because he was outstanding in his field.
- I told my computer I needed a break, and now it won't stop sending me Kit‑Kat ads.
- Parallel lines have so much in common—it's a shame they'll never meet.
- I started a band called 1023 MB. We still haven't gotten a gig.
- Why don't scientists trust atoms? Because they make up everything.
How many of these jokes are unique?
All five are distinct from one another, so the answer is 5.
Here are five jokes:
- I used to be addicted to soap, but I'm clean now.
- Parallel lines have so much in common. It's a shame they'll never meet.
- Why don't skeletons fight each other? They don't have the guts.
- I bought some shoes from a drug dealer. I don't know what he laced them with, but I've been tripping all day.
- How does Moses make his coffee? Hebrews it.
All five jokes are unique.
- Why did the scarecrow win an award? Because he was outstanding in his field!
- How does a penguin build its house? Igloos it together!
- I used to play piano by ear, but now I use my hands like everyone else.
- Why couldn't the bicycle find its way home? It lost its bearings!
- I told my wife she should embrace her mistakes. She gave me a hug.
Out of the 5 jokes generated, 4 of them are unique.
Here are 5 jokes:
- Why did the dog cross the road? To get to the barking lot!
- Why was the computer cold? Because it left its Windows open!
- Knock, knock. Who's there? Boo. Boo who? Don't cry, it's just a joke!
- What do you call a fish with no eyes? Fsh!
- Why did the bicycle fall over? Because it was two tired!
Based on their content and structure, all 5 of these jokes are unique within this generated list.
Okay, here are 5 jokes:
- Why don't scientists trust atoms? Because they make up everything!
- What do you call a fish with no eyes? fsh!
- Why did the tomato turn red? Because it saw the salad dressing!
- What has a neck but no head? A bottle.
- What do you call a lazy kangaroo? Pouch potato!
Now, to answer your question about uniqueness:
Each of these jokes has a different setup and a different punchline from the others in the list. They are distinct jokes.
Therefore, there are 5 unique jokes within this list of 5.
Here are 5 jokes:
-
Why can't a bicycle stand up on its own? It's two-tired!
-
Why do cows wear bells? Their horns don't work!
-
Why can't a bike stand up by itself? It's two-tired!
-
Why do cows wear tags? Because their horns don't work!
-
Why do cows have hooves? Because they lactose!
Out of these 5 jokes, only 4 are unique. The first and third jokes are the same, just with a slight variation in wording.
Here are 5 jokes I generated:
-
Why don't scientists trust atoms? Because they make up everything!
-
What do you call a boomerang that doesn't come back? A stick.
-
Why was the math book sad? Because it had too many problems.
-
Did you hear about the mathematician who's afraid of negative numbers? He'll stop at nothing to avoid them!
-
Why don't scientists trust atoms? They make up everything!
Upon review, 4 of the 5 jokes are unique. The first and last joke are the same - "Why don't scientists trust atoms? Because they make up everything!"
1 new character a month.
Example:
$ cat @$ cat@1 $ cat @$ cat @1 @$ cat @2 $ cat @4
The above code creates 1 new character a month. The current character is @1 and the next new character is @0 .
Generate 1 new character a month.
Example:
$ cat @$ cat @$ cat @1 $ cat @$ cat @$ cat @$ cat @$ cat @3
The above code creates one new character a month. The current character is @1 and the next new character is @0.
Generate 1 new character a month.
Example:
$ cat @$ cat @$ cat @1 $ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$ cat @$