O3-mini simulated scikit calculations
Published on: 2025-07-12 13:29:39
OK, this is wild. I just saw o3-mini (regular) to precisely simulate (calculate?) output of quite complicated computations. Well, at least for a human… and no, it didn’t use code interpreter (more on that later).
The prompt
It all started with a prompt like that (sic!, sorry for the typos):
How deoes TfidfVectorizer behave with {“use_idf”: True, “binary”: True} ? Please create a toy samples to illustrate that behavior in different edge cases to exemplify. Think about all possible cases. I want to know how both of thos optins behave. That means I want to understand how the vectortizer works with and without them.
As you see I needed to explain the intricacies of TfidfVectorizer to someone, so I asked for a code that would help me illustrate that.
The model reasoned for 8 second and provided the following piece of code (for brevity I am omitting both reasoning and full response):
import numpy as np from sklearn.feature_extraction.text import TfidfVectorizer # Define a toy corpus wi
... Read full article.