You cannot verify an AI analysis of a spreadsheet by asking the same model to check more strictly. You need to know what the columns mean, how much data was loaded and how to repeat the calculation. For a chart, you also need to see the actual image: correctly transcribing a value does not mean correctly interpreting the axis.
A practical workflow has three separate parts. Retrieval identifies the row that answers the question. Calculation processes a precisely defined dataset. Interpretation explains what the result does—and does not—establish. A language model can help with all three, but the evidence of correctness differs each time.
Define the question and the right denominator
“Which channel performs best?” is not a calculation brief. It could mean the most leads, the lowest cost or the highest proportion of visits generating a lead. First choose one question and define the result. Then specify the period, market, unit represented by one row and rule for missing values.
In the original synthetic demonstration below, each row summarizes visits and leads for a subsegment. We assume at most one lead per visit; real data would require verification of that condition. We calculate the proportion of leads to visits only in complete, valid rows. The result is therefore neither the conversion rate of an entire website nor a client result.
If you first need to choose the marketing metrics themselves, see data measurement in content marketing. Here we address a narrower problem: whether a particular number in an AI output can be reproduced from the input data.
Check data types and incomplete rows
A CSV is not a ready-made database. It is text with rules for separating fields. Our file uses semicolons, decimal commas for costs and identifiers with leading zeros. Seemingly harmless automatic conversions can change a row’s identity or a financial value.
| ID | Channel | Visits | Leads | Cost in CZK |
|---|---|---|---|---|
| 001 | SEO | 100 | 10 | 1 250,50 |
| 002 | SEO | 900 | 9 | 2 000,00 |
| 003 | SEO | 200 | empty field | 500,00 |
| 004 | PPC | 0 | 0 | 0,00 |
| 005 | PPC | sto (Czech for “one hundred”) | 2 | 300,00 |
| 006 | PPC | 50 | missing field | missing field |
The check was performed in Python 3.14.9 using the standard csv and decimal modules, without calling a model. Importing through DictReader preserved the ID 001 as text. It also loaded visits as text rather than automatically converting them to numbers. The empty leads field in 003 returned an empty string; the missing field in the short row 006 returned None. This matches the CSV import documentation.
We excluded 003, 005 and 006 from the calculation. We did not fill missing leads with zero or silently replace the word “sto” with 100. A different approved cleaning policy is possible, but it must show which values it changes and why. Row 004 is a valid zero-total summary. Its own ratio of 0 divided by 0 is undefined, not zero percent.
Distinguish finding a row from performing a calculation
The question “What is the cost for ID 001?” requires retrieving one cell: CZK 1,250.50. A question about the combined rate requires processing every accepted row. If an application merely retrieves a few text snippets and passes them to a model, they may not contain the entire denominator. A fluent answer will not reveal that.
Ask the tool for the imported row count, filters used, excluded records and the calculation actually executed. An “Analyzing data” heading is not technical evidence. Also check file limits, workbook sheets and whether the application calculates over the data or merely reads a preview. Providing a screenshot of a table is not equivalent to providing a CSV.
Recalculate the numbers outside the language model
Valid rows 001, 002 and 004 contain a total of 1,000 visits and 19 leads. The combined rate is 19 ÷ 1,000 × 100 = 1.9%. The simple average of the rates for the two nonzero rows, 10% and 1%, is 5.5%. That is the wrong answer to a question about the combined rate, because it gives each row equal weight despite their different visit counts.
Total costs for accepted rows are CZK 3,250.50. Amounts are converted from text to the Decimal type only after explicitly removing the space and converting the decimal comma. That does not mean the same adjustment will safely repair every international export. Thousands and decimal separators must match the data dictionary.
The complete example below includes the input CSV and assertions. Save it as kontrola.py and run it with python3 kontrola.py. It uses only the standard library, does not access the network and makes no changes to the original data.
Complete verified Python example (expand)
import csv, io, json, platform
from decimal import Decimal
CSV = '''id;kanal;navstevy;poptavky;naklad_kc
001;SEO;100;10;1 250,50
002;SEO;900;9;2 000,00
003;SEO;200;;500,00
004;PPC;0;0;0,00
005;PPC;sto;2;300,00
006;PPC;50
'''
def check():
rows = list(csv.DictReader(io.StringIO(CSV), delimiter=';'))
assert rows[0]['id'] == '001'
assert isinstance(rows[0]['navstevy'], str)
assert rows[-1]['poptavky'] is None
assert rows[2]['poptavky'] == ''
valid, rejected = [], []
for r in rows:
try:
n, p = int(r['navstevy']), int(r['poptavky'])
cost = Decimal(r['naklad_kc'].replace(' ', '').replace(',', '.'))
if n < 0 or p < 0 or p > n or cost < 0:
raise ValueError('invalid range')
valid.append((r['id'], n, p, cost))
except (ValueError, TypeError, AttributeError):
rejected.append(r['id'])
n = sum(r[1] for r in valid)
p = sum(r[2] for r in valid)
rates = [Decimal(r[2]) / r[1] * 100 for r in valid if r[1] > 0]
result = {
'python': platform.python_version(),
'input_rows': len(rows),
'accepted_ids': [r[0] for r in valid],
'rejected_ids': rejected,
'visits_complete_rows': n,
'leads_complete_rows': p,
'weighted_percent': str(Decimal(p) / n * 100),
'wrong_unweighted_percent': str(sum(rates) / len(rates)),
'cost_complete_rows_CZK': str(sum(r[3] for r in valid)),
'undefined_zero_visit_ids': [r[0] for r in valid if r[1] == 0],
}
assert (n, p, rejected) == (1000, 19, ['003', '005', '006'])
assert result['weighted_percent'] == '1.900'
assert Decimal(result['wrong_unweighted_percent']) == Decimal('5.5')
assert result['cost_complete_rows_CZK'] == '3250.50'
return result
if __name__ == '__main__':
print(json.dumps(check(), ensure_ascii=False, indent=2))
In this synthetic demonstration, the error is specifically substituting an average of row rates for the weighted result. It is not a captured response from a particular AI product. The test demonstrates the behavior of the import and checking program, not a model’s success rate in data analysis.
For a chart, check the axis, unit and readability

The correct interpretation is: the combined rate for complete, valid rows is 1.9%. The incorrect interpretation is: the website converts at 5.5%. The second sentence changes both the calculation and the scope of the conclusion. Even the first sentence does not permit filling in excluded rows or predicting business outcomes.
When reviewing someone else’s chart, first read the title, period, axes, units and legend. Check whether the axis starts at zero, whether it is logarithmic and whether a source is given. Then compare several printed values with the table. Do not estimate precise numbers from bar heights if data labels or original data are unavailable.
Open the original file and the actual mobile view. The entire page can have the correct width while the table breaks decimal numbers across lines. For wide tables, a labeled horizontally scrollable region is preferable to shrinking text until it is unreadable. Add a written result to the chart so that important information is not conveyed only through color or pixels.
Keep a reproducible verification record
Retain the original export, its checksum, script version, data dictionary, excluded-row list and output with the report. If AI proposed the code, save the version actually run, not just the conversation. Apply the same rules to the next export and record changes as a new methodology version.
For an SEO gap analysis, that trail matters more than another normalized score without inputs. And when calculating SEO ROI, check the assumptions as well. Without that, the arithmetic can be exact while the decision is wrong.
Need to turn an AI report into verifiable evidence?
I can help define the decision question, checking workflow and limits of AI use in marketing analysis. Tell me which number you currently cannot trace back to its inputs. We can define any deeper analytical implementation according to the dataset’s scope and responsibilities.









