Skip to content

Diogo Travassos

Data leader across analytics and data science

Data work, made inspectable.

Each study below takes a question a business asks its data team, answers it on public or synthetic data, and shows the method, the evidence and the limits, so you can check the work.

I scaled and led an 8-person analytics and data science team in Brazil.

I owned a data platform end to end, from the warehouse and dbt models to the BI layer.

Career history on LinkedIn

Before and after documentation

Correct SQL answers out of 40

from a bare schema, then with the data marts fully documented

gpt-4.1-mini, one run2733Claude Sonnet 5.5, mean of 3 runs3539.7Claude Opus 5.5, mean of 3 runs3640
Synthetic banking ledger, 40 questions written alongside the documentation, so scores sit near the ceiling. Current models: mean of three runs, gains with intervals above zero; gpt-4.1-mini: one run, its gain interval reaches zero. From the Agent-ready data marts study. Hover or tap a model for its numbers.

Studies

Pick a topic to narrow the list. Each study leads with its question and its answer.

Topic: Data leadership, 9 studies.Topic: Experimentation, 18 studies.Topic: AI and LLMs, 10 studies.Topic: Analytics engineering, 21 studies.Topic: Revenue and growth, 18 studies.Topic: Forecasting and planning, 5 studies.

Planning, in the base case on hypothetical assumptions: how many customer accounts a fair test of a guided first task needs

Judgment and planning

Enterprise AI adoption

A company sells an AI assistant any employee can use for work questions and routine tasks. Does a guided first task get more of a customer's staff using it, and how big a test would detect it, on assumed rates?

Does a guided first task get more of a customer's staff using an AI assistant? In the base case, on assumed rates, a fair test takes about 360 customer accounts.

No customer, usage or revenue data was used.

HTML, Python, experiment planning

Open Enterprise AI adoption

12of 12

per-model tests rose with definitions, on questions written alongside them; in 4 the gain could be zero

3 studiesSynthetic and public data

What an AI needs from company data

What must a company give an AI model before it answers questions from the company's data correctly?

Business definitions raised every AI model's score on data questions written alongside them, most to near the ceiling, where the test can no longer rank the models

The questions and their right answers were written alongside the definitions they test, and the third study reuses the first two studies' questions byte for byte, so these results describe those questions; how often real questions need definitions is untested.

Python, SQL, DuckDB, dbt MetricFlow, LLM evaluation

Open What an AI needs from company data

6of 7

faults written blind that left two systems disagreeing, caught by billing checks on one synthetic company; schema tests caught none

Synthetic data

ARR reconciliation

How do you build one ARR number you can defend every month, and tell when the data under it is wrong?

On one synthetic company, billing checks caught 6 of the 7 faults that an independent author, who never saw the checks, wrote to leave two systems disagreeing; schema tests caught none.

The company and its rates are synthetic, and each fault ran once. One author wrote the definition, the checks and the self-test faults, wrote the schemas and system notes the blind author worked from, and applied each blind spec as written, publishing every reading taken. This shows which kinds of check see which errors, not how often they would catch failures in a real company's data.

dbt, DuckDB, SQL, Python

Open ARR reconciliation

23%

of reported agent-caused failures made unfinished work look done (108 of 473; 63 of them by definition), in one LLM labelling pass over this log

Real incident log

Coding-agent incidents

When AI coding agents fail in real work, how often do they make unfinished work look done, and had a written rule already covered it?

An LLM labelled 1,162 incident reports from my agent workflow in one pass: 23% of reported agent-caused failures made unfinished work look done, most of those by definition.

One operator's workflow over three and a half months; the reports were mostly written by the agents themselves and labelled in one LLM pass, and the author's blind check on a random sample is planned, not done. Only failures someone noticed got a report, so the share among all failures could be higher or lower: higher if the unnoticed ones lean toward looking done more than the reported ones, which this log cannot test. The shares describe this log, not coding agents in general.

Python, content analysis, LLM coding, bias-variance decomposition

Open Coding-agent incidents

222of 330

high-value customers who had gone quiet by June 2011 ordered again, with no contact recorded; 43% in December 2010

Real public data

Online retail win-back

Which customers who stopped ordering are worth a win-back contact, and how many come back anyway?

Two in three high-value customers who had gone quiet by June 2011 ordered again within six months, with no contact recorded. I would fund a holdout test, not a win-back program.

One wholesaler-heavy gift-ware seller, 2009 to 2011, whose data records orders but no contacts. Who came back is measured; what a contact adds is assumed, and every gain is an upper figure because won-back customers may spend less.

Python, pandas, scikit-learn clustering, discrete-time survival model, calibration by band, PSI drift, bootstrap intervals, holdout test sizing

Open Online retail win-back

13%

cheaper plan in 2017 to 2019 at an assumed 3:1 cost; 13% costlier in the 2020 shock, could be zero

2 studiesPublic data, assumed costs

Transit demand, from forecast to capacity

How should a planner forecast daily demand through a shock, and turn that forecast into the capacity to schedule?

On one city's transit counts, last week's count beat gradient boosting in the 2020 shock, and a plan above the forecast saved 13% in 2017 to 2019 at an assumed 3:1 cost

One city's transit counts and one shock, and the two costs behind the capacity plan are assumptions, not transit-agency figures: a missed boarding is set to cost three times an empty place, and the answer moves with that ratio.

Python, statsmodels, scikit-learn, NumPy, backtesting

Open Transit demand, from forecast to capacity

+£2per order

change in average order value between the Novembers, inside −£79 to +£90: UK guest orders +£22, all others −£20

Public data

Order value change

Did the average order change between two Novembers, and why?

Average order value did not measurably change between the two Novembers: +£2 per order, inside a noise band of −£79 to +£90, netting a rise from UK guest orders against a fall everywhere else.

Two Novembers of one UK online wholesaler. The band shows how far the average moves with the particular orders placed in these two months; another business, or another month, needs its own.

Observable Framework, D3, Python

Open Order value change

14%

of switchback tests shipped a real gain when 70% lingered, in the study's simulation; 93% with none

2 studiesSynthetic data

Driver incentives, from test to decision

How should a ride-hailing marketplace test a driver incentive, and then decide whether to ship it?

Measure how long an incentive lingers before testing it; in a simulation I built, a written rule shipped a real gain in 93% of switchback tests, but 14% when 70% lingered

Both studies are simulations, with cases and settings the study chose, so they show how each design and the rule fail when the truth is known, not how often in a real market; one lingering setting, chosen by the study, sets the switchback's ship rate.

Python, NumPy, SciPy, simulation

Open Driver incentives, from test to decision

5of 8

faults caught on a second blind set after rules for the first set's misses, up from 2; 2 of the 3 gains rest on made-up arrival times, and the author had seen the first set's faults

Public data, synthetic faults

Data quality scorecard

Can a short list of automatic checks tell you when a daily data load has gone wrong, and what do they miss?

Rules written after one blind test, and committed before the next set of blind faults existed, raised the catch from 2 to 5 of 8, with most of the gain resting on arrival times this study made up.

Twenty-six faults on one month of public trip data: ten written directly into the fault code (plus one run with four of them at once) and sixteen written blind in two rounds. The counts describe these faults, not how often the checks would catch faults in production.

dbt, DuckDB, Databricks, SQL, Python

Open Data quality scorecard

150of 200

launches where the matched-city estimate said a losing incentive pays, when the launch drew trips from the neighbours it leaned on; 15 in the base case, in a simulation with assumed costs

Synthetic data

City launch without an A/B test

When a change launches to a whole city at once, can nearby cities show what would have happened without it?

In a simulation with assumed costs, the matched-city estimate said a losing incentive pays in 150 of 200 launches that drew trips from the neighbours it leaned on.

The cities are synthetic, the simulation and the methods share one author, and the launch city sits at the centre of the other cities, the condition matched cities need, so the result shows how each method behaves under faults the study chose, not how often those faults happen in a real marketplace.

Python, NumPy, pandas, SciPy, synthetic control, difference-in-differences

Open City launch without an A/B test

38,000residents

newly near frequent service with route 14 in the main case; about 23,000 when every route at a stop counts

Public data

Transit access

Which bus corridor would put the most residents near frequent service for the hours it costs?

In the main case, topping up route 14 to a bus every 15 minutes would bring about 38,000 more residents near frequent service, the most of three corridors; when every route at a stop counts, about 23,000.

It counts residents within 400 metres, in a straight line, of a frequent stop. It does not model riders, demand or walking routes, so a ridership check comes before any budget.

Observable Framework, MapLibre, Python

Open Transit access

25.2%

of shocked accounts can leave before the flat fee falls behind, in the base case; 8.5% to 48.9% tested

Synthetic data

Usage-based pricing

Which way of raising 5% more revenue from a usage-based price list still pays once customers react?

In the base case, higher tier thresholds beat a flat fee unless fewer than about 1 in 4 shocked accounts leave, and only while the larger accounts stay.

How many accounts leave and how much usage responds are assumptions swept over a range, not forecasts, in one synthetic month. In the base case only accounts whose bill rises more than 20% can leave, so nobody leaves the tier changes, which favours them.

Python, pandas, NumPy, simulation, live-formula spreadsheet

Open Usage-based pricing

50%

successful self-service in an invented example where tickets halve from 40 to 20; 60% at baseline

Judgment and planningHypothetical examples

Self-service measurement

When should a self-service task count as a success, and what can a falling ticket count hide?

Judge self-service by finished tasks: in this example, tickets halve while successful self-service falls from 60% to 50%.

The example counts are invented so that no company's request data is shared, and every cost is my assumption, so the page shows how the measure behaves; how often ticket counts mislead in a real queue is unknown.

HTML, JavaScript, Python, measurement design

Open Self-service measurement

Planning, on illustrative cost assumptions: the low quarterly cost rises from $95K in quarter 1 to $135K once the first hire is planned to start, in month 7

Judgment and planningIllustrative company

Data leadership, year one

What should a company's first Head of Data do in the first year, in what order, and at what cost?

On my assumed costs, this illustrative company's first data team costs about US$470K to US$700K in year one, and my plan makes revenue one agreed number before the first hire.

A plan written before any discovery: nothing here has been tried on a real company, and every cost is my assumption.

HTML, JavaScript, cost model and self-check

Open Data leadership, year one

24months

until a holdout planned to make the right call 4 times in 5 reads out, in one simulated company at the assumed US$41K a month with full ad exclusion; month 42 at US$30K, month 18 at US$60K

Synthetic data

Retargeting holdout

Every attribution report says keep retargeting. Can a holdout test tell whether it pays for itself?

In a simulated B2B company, a holdout test of retargeting takes about two years to give a usable keep-or-cut answer, at the assumed spend with full ad exclusion.

One simulated company, with a spend and channel effects the study chose, where retargeting reaches likelier buyers by design. The numbers show how attribution and a holdout behave, not what retargeting is worth in any real business.

Python, NumPy, SciPy, simulation, experiment design

Open Retargeting holdout

2.5cents per kWh

what a local electricity supplier was worth in 361 households' stated choices, under a normal spread; 2.7 under a log-normal, and a well-known supplier 1.7

Real public data

Willingness to pay

What is each feature of a contract worth to customers, how much do they differ, and how do you measure it from their choices instead of asking for a price?

Stated choices from 361 US households put a local electricity supplier at 2.5 to 2.7 cents per kWh on a 7 or 9 cent price, with a spread across people almost as large.

These are stated choices from one survey of US electricity customers, more than two decades old: what people said they would pick, not what they paid. The fixed price took only two values, so every figure here is read off a 9 against 7 cent gap.

Python, NumPy, SciPy, conditional and mixed logit, xlogit cross-check

Open Willingness to pay

4.4%a month

mean miss one month ahead, settled years, Chicago ride-hail data; direct 4.6%, naive 3.9%

Public data

Revenue forecast from its drivers

Does a monthly revenue forecast built from its drivers beat a direct forecast, and which driver caused each month's miss?

On Chicago ride-hail data, a revenue forecast built from its drivers missed by 4.4% a month, one month ahead, in the settled years: no better than forecasting revenue directly. What it adds is the driver behind each miss.

One city's public trip records for all operators together: the revenue here is rider spend before tips, not any company's revenue, and both model forecasts were simple exponential smoothing. A richer model could separate them where these could not.

Python, NumPy, SciPy, exponential smoothing, rolling-origin backtest, price-volume-mix bridge

Open Revenue forecast from its drivers

30%

ranking quality lost at worst by a recommender never retrained, against the same model retrained each quarter; 12% at best, in each of the 17 quarters after the first

Public data, planted faults

A recommender from training to rollback

How much ranking quality does a movie recommender lose when nobody retrains it?

On one public movie ratings set, a recommender never retrained lost 12% to 30% of its ranking quality against the same model retrained each quarter.

The recommender's re-ranker was trained on one quarter of labels; a wider window was not tried. The rollback rule pulled both planted bad releases within two months but also 2 of 18 healthy ones, a self-test, as one author wrote the monitors, the rule and the planted failures. For new users the model beat a genre popularity list in 10 of 18 quarters, by intervals added after the results. One public ratings set split by calendar quarter, scored in a batch on each quarter's first day on one machine, one model fit per release: it shows the method, not a production system.

Python, implicit ALS, LightGBM, model registry, drift monitoring

Open A recommender from training to rollback

13needless retrains

in 24 hourly checks by a monitor trusting the labels so far, base case, mean of 5 runs; one waiting for matured alerts made fewer but caught only about 3 of 10 real drops

Public data, simulated delays

Fraud labels that arrive late

When fraud labels arrive late, how far can a team trust a model monitor that reads the labels it has as final, and what does the model itself lose?

With simulated label delays on public card data, a fraud model's monitor trusting the labels so far called about 13 needless retrains in 24 hourly checks.

Two days of card data, so the delays are simulated in hours where real labels take weeks: 13 is the base case's mean over 5 runs (10 to 16 of each run's 19 to 24 retrain calls came while true precision was not under the retrain floor), and across the delay settings tried it ran from 1.2 to 21.6. In the base case the gradient boosting model itself caught 0% to 19% less fraud value per window than with full labels, but with 21 to 55 frauds a window no interval is clear of zero, and the costs and alert cap are assumptions.

Python, scikit-learn, gradient boosting, simulation, bootstrap intervals

Open Fraud labels that arrive late

6 of 8performance figures

in the report came out worse on holders the model never saw; approved holders defaulted at 11.1% against its 10.18%

Real public data

Independent validation of a credit model

Given a credit default model someone else built, what does an independent validation find that the developer's report does not, and which findings should block approval?

Checked on holders it never saw, a credit model someone else built fell short of its report on 6 of 8 performance figures, in one public dataset.

The report's test figures reproduce to the last digit and are slightly too good: about half of each gap is its test sample of 3,584 holders, which defaulted less, and approved holders defaulted at 11.1% against its 10.18%, inside its own interval of 8.99% to 11.39% (both comparisons added after the results). It rests on one public dataset, checked on 12,000 holders of one bank in Taiwan in 2005 that the model never saw, and on one model from one independent author in one run: the findings show what a validation catches on this model, not how often developers miss these things, and the costs behind the cutoff are assumptions.

Python, scikit-learn, gradient boosting, bootstrap intervals, population stability index

Open Independent validation of a credit model

631member-months

of withdrawn patients kept in the figures when a check quarantined their consent withdrawals, against 15 with no fault

Synthetic data

Clinical data integration contracts

When clinical, lab, device, enrollment and claims feeds are joined, what does each integration check do to the published metrics when it fires, and which faults get past them all?

On synthetic clinical feeds, quarantining consent withdrawals with a prefixed patient number kept withdrawn patients in the figures for 631 member-months, against 15 with no fault.

Synthetic feeds, no clinical validity claim: one fault from an author told the kinds of break the checks cover, mean of five runs (with no consent gate, all of them count); outcome labels, blind faults' scored metrics and leaving out one that changed no record (5 of 10 caught counting it) were set after the results. With all twelve declared faults at assumed shares, schema-only contracts did no better than none, and semantic ones, a self-test, left LDL control up to 0.6 points off in months published as final.

Python, HL7 v2, FHIR and X12 layouts, simulation, faults written blind

Open Clinical data integration contracts

3of 4

tracking breaks by an independent author that a contract stopped before release, monitoring caught on day one anyway, in all 5 runs; synthetic app, base case, scored by a rule set after the results

Synthetic data

Event contracts before release

When a release changes how a product sends analytics events, does a contract checked before release stop the breaks monitoring would miss, or ones it catches on day one anyway?

On a synthetic app, three of the four tracking breaks by an independent author that a contract stopped before release were ones monitoring caught on day one anyway.

Found in all 5 runs of the base case, on a small workout app with about 29 purchases a day, by a rule set after the results; four breaks are too few to say how often this holds, by construction the contract stops the 4 of the author's 8 breaks its schema and three scripted sessions can see, and 7 of the author's 12 changes repeat one of the study's own, the rest new settings of its operations, because both used the same change grammar. Adding the contract to monitoring cut the mean wrong metric-days, counted from 8 days before each release to 28 after by the same rule, from 62 to 51, and from 148 to 58 on the study's own 15 breaks, a self-test; with releases, thresholds and costs the study chose, the counts show what each check can and cannot see, not how often real releases break.

Python, simulation, schema contracts, replayed test sessions, data monitoring

Open Event contracts before release

0of 60

runs in which the uncertainty range from probabilistic identity matching held the true user count; 1 of 90 over nine assumed rate settings

Synthetic data

Identity resolution when signals disappear

As cookies, device ids and consent disappear and a platform migration loses most ids, does the uncertainty range from probabilistic identity matching hold the true user count, and how far do the counts drift?

On a synthetic shop, the uncertainty range from probabilistic identity matching held the true user count in 0 of 60 runs.

Synthetic people and behaviour, and every loss rate and the mix of all four are my assumptions, two of them swept after the results: the sizes show how each rule fails, not how far a real shop's numbers drift.

Python, NumPy, SciPy, record linkage, Fellegi-Sunter matching, simulation

Open Identity resolution when signals disappear

18%

of its budget spent by a bidding rule that counted clicks not yet converted as failures, while its true return beat the target, on synthetic auctions

Synthetic data

Pacing and bidding when conversions arrive late

When sales arrive days after the click, what does a bidding rule that counts clicks not yet converted as failures do to the budget it spends and the return it earns?

On synthetic auctions, a bidding rule that counted clicks not yet converted as failures spent only 18% of its budget while its true return beat the target.

Base case, mean of 10 runs, on auctions where every conversion rate, value, delay and cost is my assumption and the simulator knows a truth no real account has. Counting every sale whenever it arrived, the rule's return was 1.41 times the target and it lost 73% of the conversion value a bidder knowing the true values earned, 41% to 88% across the delay and drift settings tried; delay curves per segment from history recovered 95% of that loss, one pooled curve 42%, and none of these numbers says what a real account would lose.

Python, NumPy, SciPy, auction simulation, delay correction, off-policy evaluation (inverse propensity; DR, a standard estimator that combines an outcome model with inverse propensity weighting)

Open Pacing and bidding when conversions arrive late

+10illicit caught

added to a strong model by the best honest link feature before a market break, against 23 for a planted leak; 95% interval +4 to +16, at 100 reviews per step

Real public data

Graph features at a fixed review budget

When a review team can check 100 transactions per period, how many more illicit transactions do links between transactions add to a strong model, using only what was known at scoring time, and how much does a planted leak add?

Before a market break on one public Bitcoin dataset, the best honest link feature added 10 illicit catches to a strong model, against 23 for a planted leak.

Neighbours' scores, the best of four link features built only from what was known at scoring time, caught 10 more than the 614 that gradient boosting caught on each transaction's own features (95% interval +4 to +16), at 100 reviews per step over the 8 time steps before the break; the leak used neighbours' labels no reviewer had yet. One public graph with anonymized features, some of which already summarize a transaction's inputs and outputs, and labels on 22.9% of its transactions; with 8 and 7 time steps per period the intervals are wide.

Python, scikit-learn, gradient boosting, graph features, score propagation, bootstrap intervals

Open Graph features at a fixed review budget

1.5points

of Drug B's share left after the year-before check, from a raw gap of 18.5 between paid and unpaid prescribers; one drug class, Medicare data, observational

Real public data

Paid engagement and prescribing

Did paying prescribers for meals and talks move what they prescribe, once you account for whom the makers chose to pay and the way those prescribers were already moving?

Prescribers newly paid by Drug B's maker wrote more of it, but most of that gap opened before the payments: about 1.5 points remain (0.7 to 2.4), none clearly for Drug A (observational Medicare data)

Payments are not assigned at random, so any gap can come from whom the makers chose to pay.

Python, CMS Open Payments and Medicare Part D, matching, difference in differences, bootstrap, holdout simulation

Open Paid engagement and prescribing

6of 32

flows passed every rule (within 5 points in both tests, within 10 across settings), down from 12 after the self-test; a guess with no model, checked after the results, passes the same 6

Public data

Brazil runoff vote transfers

What do Brazil's official counts prove about where first-round voters went in the runoff, and which flows can a model recover when tested where the answer is known?

Brazil's official counts prove at least 4.78M runoff votes came from first-round blank, null or non-voters. Beyond that, only 6 of 32 voter movements estimated by a model passed two sets of test elections with known answers, and a guess with no model, checked after the results, passes the same 6.

Beyond the certain bounds every flow is a model estimate from polling-section totals. The independent test is 6 kinds of behaviour from one author: passing it shows the model survived those, not that it works on the real vote.

Python, numpy, constrained regression, planted-election tests

Open Brazil runoff vote transfers

8of 8

public rostering problems where the greedy roster broke a staffing rule; local search repaired 7

Public data

Staff rostering: greedy, local search or a solver

How should a team build a staff roster when coverage, overtime and fairness pull against each other, and when is a simple method good enough?

On 8 public rostering problems, greedy rosters broke rules on all 8 and local search ran 10 to 12% above proven optima on 3; evening out overtime cost 4 to 27% more at the optimum on 5, at assumed prices.

The prices, and reading the benchmark's minimum hours as each person's contract, are assumptions: every cost figure moves with them. "Proven" means proven within one fixed search budget; a larger budget may prove more.

Python, OR-Tools CP-SAT, simulated annealing, public benchmark instances

Open Staff rostering: greedy, local search or a solver

5of 39

published Canadian review levels a four-question AI risk rule matched with one AI reader, 4 with the other; always guessing the most common level matched 23

Public data

Risk tiers for public-sector AI

Does a short written risk-tier rule sort real public-sector AI uses into the same review levels their own published assessments reached, and where does it disagree?

A four-question AI risk rule matched at most 5 of Canada's 39 published review levels, against 23 for always guessing the most common level.

Canada rated no case above the second of its four levels, and both the rule and Canada's score rest on the department's own account, so the gap does not show which is off.

Python, a four-question rule fixed in advance, two AI readers kept apart, published Government of Canada assessments

Open Risk tiers for public-sector AI

89%of referral sessions

name the store's own website, a check added after the first results; they hold 1,428 of referral's 1,511 buying sessions

Public data

A web funnel on a public GA4 export

On a real public GA4 export, where does each traffic source lose buyers, how much of that is tracking, and how far do sessions by source forecast next month's orders?

In Google's obfuscated GA4 sample, 89% of the sessions in referral, the large channel with the highest purchase rate, name the store's own website, a check added after the first results.

The publisher obfuscated this sample and warns its internal consistency may be limited, so each problem found describes the sample, never how the store itself is tagged. A store-host session names no outside source, and 47% of them follow no earlier visit by the same user, so the export cannot say where those buyers came from.

Python, DuckDB, GA4 event export, bootstrap intervals, planted tagging faults

Open A web funnel on a public GA4 export

0.71points

of their unemployment advantage lost by the most AI-exposed jobs after ChatGPT, but pretending it launched in 2017 gives about as much

Public data

AI exposure and Canadian unemployment

Did the unemployment gap between Canada's most and least AI-exposed occupations change at ChatGPT's release, or had it started moving before?

In Canada's labour force survey, the most AI-exposed jobs lost 0.71 points of their unemployment advantage after ChatGPT, but pretending it launched in 2017 gives about as much.

This compares 20 broad occupation groups, scored with one AI assistant's 2025 worldwide usage, measured after these outcomes began to move. At best such a comparison shows when a gap moved, not why, and here even the timing is too noisy to settle. The estimate falls to 0.38 without two trades groups and to 0.50 without the two exposed groups that rose most (rows chosen after the results).

Python, difference in differences, wild cluster bootstrap, Statistics Canada public survey file

Open AI exposure and Canadian unemployment

4of 8

sync faults caught when an author who never saw the checks wrote them, against 19 of 20 written with the checks, in a simulation; much of the gap is where the faults sit

Synthetic data

Scoring accounts from product usage: what breaks on the way to the CRM

When a software company tests the checks on its warehouse-to-CRM score sync, do faults written with the checks overstate what they catch?

In a simulation, checks on a CRM sync caught 19 of 20 faults written with them but 4 of 8 from an author who never saw them.

One simulated company design, 100 draws of it, with every rate, effect and fault size set in the design or by the independent author, whose 8 faults are a single draw, and the 4 misses each moved the holdout read by under a point. Much of the gap is where faults sit, on a split chosen after the results: 15 of the 20 against 3 of the 8 sit after the warehouse, where the checks catch them largely by construction and at a ceiling, since fault size was never swept.

dbt, DuckDB, Python, a simulated CRM sync, randomized holdout

Open Scoring accounts from product usage: what breaks on the way to the CRM

3.6times a modelled count

in the last CA$2,500, up from 1.2; pooled, and the 12 busiest bodies differ widely; 2.4 to 5.0 by window

Public data

Federal contracts at the no-bid limits

Do Canadian federal contracts bunch just under the limits for awarding without bids, beyond round-number pricing, and did the pattern move when a limit moved?

When Canada raised its no-bid limit for services to CA$40,000, contracts piled up under the line: 3.6 times a modelled count in the last CA$2,500, up from 1.2, with large departments far apart. It does not prove anyone split contracts.

This is a pattern in where contract values sit. It does not prove contract splitting by anyone: buyers budgeting to the limit, vendors quoting to it and using the faster route as the rule intends all draw the same picture. The expected count is modelled, and the before period is about two years.

Python, Poisson bunching estimate, placebo figures, a natural check, open.canada.ca contract records

Open Federal contracts at the no-bid limits

75%

of Senate independent spending through 14 October 2026 (95% interval 54 to 87%) went to 11 races decided by under 10 points last time, 31% of seats; Texas holds a third of it

Public data

US midterm campaign money in close and safe races

Did campaign money behave differently in races that looked close beforehand, and how did 2026 compare with 2022 at the same point before the vote?

Through 14 October 2026, 11 Senate races decided by under 10 points last time drew 75% of independent spending (95% interval 54 to 87%) on 31% of seats.

Spending and votes feed each other, because money goes where a race is expected to be close, so this shows where money went and makes no claim that money won a race. Candidates' itemized spending is on the FEC's file only through 30 June 2026; independent reports are on file through 5 November 2026.

Python, FEC bulk files, ordered keyword rules, race-level bootstrap, reconciliation against FEC summaries

Open US midterm campaign money in close and safe races

−8.2%

ride-hail trips touching the fee zone against the rest of the city, close to the 7.6% the same comparison showed in the years before

Public data

A launch with no holdout: New York's congestion fee and ride-hail

When a per-trip fee launched for a whole zone on one day with no holdout, what happened to ride-hail trips touching the zone, and how sure can anyone be?

Ride-hail trips touching New York's congestion fee zone fell 8.2% against the rest of the city in the fee's first year, close to the 7.6% the same comparison showed in the years before

Real public trip records and one launch with no holdout; the 200 earlier dates cover three years of data, and weather, drivers moving and requests sent to taxis fell in the same year as the fee.

Python, DuckDB, NumPy, SciPy, remote Parquet column reads, difference in differences, synthetic control, placebo dates

Open A launch with no holdout: New York's congestion fee and ride-hail

434of 600

default charts of real tables had broken text; told what to look for, two vision models flagged 96% and 99% of them, and 6% and 8% of clean ones

Public data

Default charts on real tables: what breaks, and what a vision model catches

When a charting library draws real official tables with its default settings, how often is the text measurably broken, and how much of it does a vision model catch?

434 of 600 default charts of real tables had broken text; told what to look for, two vision models flagged 96% and 99% of them, and 6% and 8% of the clean ones

Most defects were glaring (216 of 250 overlaps clear), the prompt named both defects, and each chart was asked once. The subtle-overlap split was chosen after the results and rests on 34 charts from 18 tables.

Python, matplotlib, renderer text geometry, vision-model evaluation, Statistics Canada data

Open Default charts on real tables: what breaks, and what a vision model catches

−3.3points

three-year shipping of each project's 5 most-voted feature requests against ranks 16 to 20 (95% interval −8.4 to +2.0); ranked by first-three-month votes instead: +1.3

Public data

Do votes get feature requests built?

Across open-source data tools, does the number of user votes on a feature request predict whether it ships, and how fast?

Among the 20 most-voted feature requests in each of 79 open-source data tools, the top five showed no detectable shipping advantage: they shipped within three years 3.3 points less often than ranks 16 to 20 (95% interval −8.4 to +2.0).

This is association in 79 popular open-source data tools, not cause, and "shipped" rests on a merged change linked to the request: a second record disagreed on 6 of 30 sampled ships, and 28% of requests were closed as done with nothing linked.

Python, the code-hosting platform's API, shipping curves, bootstrap over projects

Open Do votes get feature requests built?

32%of models

tested in the median public project; 24% of projects test none

Public data

How public dbt projects test their models

In real public data transformation projects, how many models have any test, how many check their keys, and how many projects run tests before a change merges?

In 265 public dbt projects, the median project tests 32% of its models, and 24% of projects test none.

These are public repositories, not company projects: many teams keep theirs private. Tests run outside the repository are not seen, and a workflow that runs tests on pull requests does not by itself stop a failing change from merging.

Python, dbt, GitHub APIs, bootstrap intervals, an in-page percentile lookup

Open How public dbt projects test their models

20.5%false alarms

of 2,000 no-effect splits when checked daily at the usual bar; 5% with one look at the end, 0.6% with a sequential rule

Public data

Experiment design: which choices change the call

On real online experiments, which design choices (when to stop, what to adjust for, which unit to count) change a ship call, and by how much?

On 2,000 no-effect splits of ad traffic, daily checks at the usual bar raised false alarms in 20.5%; one look, 5%. If you check daily, raise the bar.

The 20.5% is set mostly by the 14 daily looks, and it was made the main result after the results.

Python, DuckDB, NumPy, SciPy, four public experiment and store datasets

Open Experiment design: which choices change the call

61%miss

8-quarter average miss of re-learned win chances on all wins from open deals, against 23% for the CRM's defaults, because neither counts wins dated outside the quarter and the defaults' optimism makes up for them

Public data

Forecasting a sales pipeline

How far off is a stage-weighted pipeline forecast of a quarter's wins, and do probabilities learned from history beat a CRM's defaults?

On 8 quarters of public tenders, CRM default win chances beat re-learned ones only by making up for wins dated outside the quarter, so fix close dates first.

Tenders stand in for CRM deals, and tender dates for close dates.

Python, DuckDB, rolling-origin backtest, CRM-shaped opportunity table

Open Forecasting a sales pipeline

89%match

with expert votes for two AI judges asked in both orders: as often as a second expert (85% here, 89% on new questions)

Public data

AI judges against expert raters

Can an AI judge stand in for expert ratings of a model's answers, and how many runs or judges does one verdict need?

Two AI judges, shown each answer pair in both orders, matched experts 89% of the time, as often as a second expert did. I would let them replace one rater.

The answers came from six chat models of 2023 on public questions, so closer calls, such as two versions of one product, may agree less.

Python, LLM evaluation, a regression gate, bootstrap intervals

Open AI judges against expert raters

46wrong per 1,000

paper checks without their number, matched when one payment fit, searching 1 week back; 0.6 at 12 weeks

Public data

Three-way reconciliation

Which matching rule gives the right balance at each day's close when books, the payment run or processor, and the bank disagree on timing, and how often does amount-and-date matching go wrong when a check number is missing?

When checks missing their number were matched only if one payment fit, searching 12 weeks, not 1, cut wrong matches from 46 in 1,000 to 0.6.

Check numbers were hidden one at a time.

Python, a county's public payment records, a synthetic card processor following a published settlement report format, bank lines in the camt.053 format

Open Three-way reconciliation

105rows wrong

after copying each slice of a live feed once, against 0 for copying every change

Public data

Pipelines that break: syncing a source that changes

When a source revises, deletes and re-keys records after first publishing them, how many rows does each common way of syncing it get wrong, and what does each cost in data read?

Copying each 4-minute slice once left 105 of 10,196 rows wrong in four hours, and copying every change left none. Reload small tables and copy every change in big ones.

one public earthquake feed, read 61 times over four hours

Dagster, DuckDB, Python, the USGS earthquake service, GH Archive

Open Pipelines that break: syncing a source that changes

32%cancelled

of those who missed the first marked assignment, against 25% for the least active fifth and 20% on average

Real public data

Early signs a subscriber will cancel

Which early signal tells that a new subscriber will cancel, and is a save offer to those flagged worth more than one to everyone?

The least active fifth after two weeks cancelled at 25%, barely above the 20% average. I would send save offers at the first missed assignment.

Course enrolments stand in for subscriptions, and every money figure is assumed.

Python, NumPy, cohort holdout, bootstrap AUC, threshold rule, save-offer arithmetic, test sizing

Open Early signs a subscriber will cancel

84%less data billed

by a date-filtered dashboard query once the dbt view was stored as a table split by day

Public data

What cuts a BigQuery bill on a dbt model

On a dbt model of Google Analytics 4 events in BigQuery, which change cuts the data queries scan most for the work it takes, and which popular one pays little?

Storing Google Analytics events as a table split by day, not a dbt view, cut a date-filtered dashboard query's data by a further 84%. Filter first, table second.

One small dataset: 92 days, 3.6 GB in all. Sorting by event may pay more on bigger data.

BigQuery, dbt, SQL, Python

Open What cuts a BigQuery bill on a dbt model

40US$ a week

more that picked households already spent before the promotion, as much as the US$36 naive lift during it. Their rise from before, against paired households, is US$2.40, no bigger than on a made-up date with nothing sent

Real public data

Judging a promotion from household spend

Households picked for a grocery promotion outspent the rest. How much of that did the promotion cause?

Households picked for a grocery promotion outspent the rest by US$40 a week before it, as much as during it. Next time I would hold back a random group.

One panel of frequent shoppers at one retailer, over one year. The data says who received each campaign, not how they were chosen or what it cost. The margin and cost are assumed.

Python, NumPy, SciPy, matching, difference in differences, synthetic control, placebo test

Open Judging a promotion from household spend

15/17January files refused

by a pipeline written for the 2025 taxi files; converting column types loaded 2011 to 2025, and only 2009 and 2010 needed a column map

Public data

Seventeen January taxi files in Databricks: what changing columns and file order decide

On the January NYC taxi trip file of every year from 2009 to 2025 (153.6 million trips) in Databricks, does a pipeline written for today's files survive the history, and what does file order do to the data a query reads?

Letting Databricks convert column types loaded every January taxi file from 2011 to 2025; only 2009 and 2010 needed a column map.

Larger tables were not tested.

Databricks serverless jobs and SQL warehouse, PySpark, Delta Lake, Python, Databricks SDK

Open Seventeen January taxi files in Databricks: what changing columns and file order decide

74,600loans

left with no status by a status map built from the SBA data dictionary; totals still matched, and the 7(a) charge-off rate read 3.22%, not 2.49%

Real public data

Loan data conversion: which reconciliation catches the faults

When loan records are converted into one target schema, which reconciliation catches the faults a conversion really makes: totals, rule checks, a line-by-line rebuild or a sample?

On public SBA files, mapping statuses from the SBA's data dictionary left 74,600 loans with no status, and matching totals missed it. Check each converted loan against rules too.

Every cost and saving figure is assumed and was chosen after the results.

SQL (DuckDB), an independent Python rebuild, target-table rules, code census, seeded fault generator, exact sample odds, FDIC name matching

Open Loan data conversion: which reconciliation catches the faults

26%of added purchases

in an uplift model's top 30% on the e-mail chosen in advance, against 40% for the 30% likeliest to buy

Real public data

Likely buyers or the people a send changes

Does a list of the customers likeliest to buy hold the purchases an e-mail actually adds, and when does an uplift model pick better?

An uplift list could not beat the likeliest buyers on the e-mail chosen in advance or a 3.5 million user ad test. Test every send against customers left unsent.

One retailer's e-mail test, where only 122 customers bought with no e-mail.

Python, scikit-learn, DuckDB, cross-fitted propensity and uplift models, calibration, AUC with bootstrap intervals, effect by decile, Qini curves, holdout sizing, send-cost policy with intervals

Open Likely buyers or the people a send changes

69out of 100

ranking score of active days with ties broken by events, on a November cohort set out before its data was read, against 67 for events alone

Public data

Choosing a North Star metric for GitHub newcomers

Which first-week number best predicts which new GitHub accounts are still active three months later?

Ranking GitHub newcomers by first-week active days, ties broken by events, predicted who stayed three months better than events alone, on a day declared in advance. Count days, then events.

Staying means public activity, so private work does not show, and each cohort is one day's new accounts (21,795, 19,896 and 19,162).

SQL, dbt, DuckDB, Tableau, Power BI, Python

Open Choosing a North Star metric for GitHub newcomers

12of 21

blank-field and messy-text problem types got through acceptance criteria written before the data; process types mostly had their rows set aside

Real public data

Requirements written before the data, checked against it

If acceptance criteria are written from a process's public documentation before anyone looks at the data, how many of the data's problems do they catch, which types slip through, and what does one automatic scan of the data add?

Acceptance criteria written from Chicago's licence rules before the data let 12 of 21 blank-field and messy-text problem types through. Fund the step, and ask the data owner about blanks.

Its finds and the rows set aside are candidates, not confirmed errors.

Python, DuckDB, SQL, Graphviz, user stories with acceptance criteria

Open Requirements written before the data, checked against it

Continue the conversation

To get in touch, write to hello@diogotravassos.dev or visit Diogo on LinkedIn.