I am trying build a binary classification model to classify real and fake news using zero-shot approach and prompting to gpt-4.1. I want to calculate AUC and Kolmogorov-Smirnov (KS). For this, I need probability values returned from gpt-4.1 which has atleast 10 digits after decimal points. For e.g. probability_real should look like 0.9987654321. But I get values like 0.9975, 0.96, 0.2, 0.3. It seems in many predictions, probability_real is either truncated or gpt-4.1 is returning truncated scores.
Below is a snippet of prompt I used:
Return JSON exactly in this format:
{{
“probability_real”: 0.0000000000,
“reason”: “Maximum 50 words.”
}}
Requirements
• probability_real must be between 0.0000000000 and 1.0000000000.
• Return exactly 10 digits after the decimal point.
• For e.g. probability_real should look like 0.9987654321 and not 0.99.
Also, sharing the print statement of what I see at inference:
Debug (Model Raw Output): probability_real = 0.9975
Debug (Model Raw Output): probability_real = 0.35
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.65
Debug (Model Raw Output): probability_real = 0.9975
Debug (Model Raw Output): probability_real = 0.98
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.9975
Debug (Model Raw Output): probability_real = 0.3
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.2
Debug (Model Raw Output): probability_real = 0.75
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.65
Debug (Model Raw Output): probability_real = 0.95
Debug (Model Raw Output): probability_real = 0.8
Debug (Model Raw Output): probability_real = 0.9975
Debug (Model Raw Output): probability_real = 0.995
Debug (Model Raw Output): probability_real = 0.35
Debug: Length of probability_real list: 20
Debug: Number of rows in df: 20
Debug: df columns before assignment: [‘title’, ‘text’, ‘subject’, ‘date’, ‘label’, ‘probability_real’, ‘prediction’, ‘reason’]
Debug: First 5 values in probability_real list: [‘0.9975000000’, ‘0.3500000000’, ‘0.9950000000’, ‘0.6500000000’, ‘0.9975000000’]
Debug: df columns after assignment: [‘title’, ‘text’, ‘subject’, ‘date’, ‘label’, ‘probability_real’, ‘prediction’, ‘reason’]
Prediction Complete!
Is it possible to get probability values that has atleast 10 digits after decimal point using gpt-4.1?








