Skip to content
vp.Ven Petrov
WorkAI demoWritingResourcesResume / CVAboutAt a glance
Projects/Financial review lab
Explore the full report How the Python/FastAPI service works
Public-report finance prototype

Operating income rose. What changed underneath?

A finance team needs to explain the movement behind a headline number. I built this example to follow each contribution from the published statement to the chart, with the original figures one click away.

Calculated only0 model calls

$0.00 inference cost

Financial arithmetic runs in Python. This version uses a fixed, checked brief.

The headline hides the interesting part.

Novartis reported $86 million more operating income in Q4 2025 than in Q4 2024. That small net increase contains much larger changes: R&D expense rose by $321 million, while lower other expenses added $212 million to income.

The job here is to make those offsets understandable before writing a management summary.

Follow a change, then check the explanation.

Start with the R&D movement selected below. The chart shows its effect on profit; the source link shows where the values came from. Then compare the calculation with the company’s explanation beside it.

Python calculates the changes. The brief is fixed and checked. The separate Finance evidence desk tests what happens when an AI agent writes an explanation.

NovartisData period: Q4 2025 vs Q4 2024
IFRS reported · USD millionReport, page 17
Operating-income change+86 USDm

3,530 → 3,616

Net-sales growth+1.4%

Reported USD, versus the prior-year quarter

Operating margin27.1%

26.8% prior year · +0.28 percentage points

Saved calculation
Operating-income bridge

Seven changes. $86 million higher.

Residual: 0

Each bar shows how a reported line contributed to the change. Expense reductions add to income; expense increases subtract from it.

Seven changes reconcile the 86 million US dollar increase in operating income.Operating income increases from 3,530 to 3,616 million US dollars. The vertical scale begins at 3100 million. Select a named movement below the chart for exact figures and its source.3,1003,4003,7004,0003,530Q4 2024income+183Netsales+119Otherrevenues−287Cost ofgoods sold+61Selling &admin−321Research &development+119Otherincome+212Otherexpense3,616Q4 2025incomeUSD million · vertical scale starts at 3,100
Inspect a movement
Selected movement

Research and development

Q4 2024(2,842)
→
Q4 2025(3,163)
Income contribution−321

The expense became larger, reducing operating income by this amount. Figures are in USD million.

Report, page 17
The review brief

A small net increase, with larger movements underneath.

Calculated from the statement

Reported operating income moved from USD 3,530 million to USD 3,616 million. The seven signed contributions reconcile to the USD 86 million increase.

Calculated from the statement

The largest negative contribution was Research and development, at USD 321 million. Lower other expenses contributed USD 212 million in the opposite direction.

What the company says

The company attributes the operating-income increase to higher government grant income and lower SG&A expenses, partly offset by higher R&D expenses.

Report, page 5

The bridge reconciles the arithmetic. It does not prove why the business changed. The company explanation is attributed to its report.

From source to review

Check the figures before writing the explanation.

A plausible paragraph can still use the wrong period or reverse an expense. This process checks the comparison and the arithmetic first, then keeps calculated changes separate from the company’s account of what caused them.

  1. 01Read source

    Reviewed public report extract, with page references.

    Checked
  2. 02Normalize facts

    Validate period, units, signs, metric IDs and source references.

    Checked
  3. 03Reconcile movement

    Calculate seven signed contributions and check both income totals.

    Checked
  4. 04Select evidence

    Select bounded report summaries by relevant metric IDs.

    Checked
  5. 05Build brief

    Render a deterministic brief; no model has been called.

    No model used
  6. 06Check failures

    Run real validation and deliberately corrupted-input checks.

    Checked
Saved calculation ready to inspect

Showing the saved calculation. You can inspect every figure and check below.

Independent portfolio prototype using a public report. This is not work performed for Novartis.

How this prototype is built
Ven PetrovSoftware engineer · Barcelona
GitHub ↗LinkedIn ↗Email ↗

Find a project or a note

18 results

Transfutur ERP · ExperienceERP for transport and logisticsAs the sole engineer, I built an ERP from zero for transport and logistics. It supported roughly €5–6 million in annual invoicing across two offices, and I kept it running for about a year.Finance evidence desk · Project storyCan an AI reviewer improve a financial explanation?A finance review needs the right explanation as well as the right numbers. I tested one AI analyst, an added reviewer and self-review on the same public report. The added review produced fewer supported answers.Financial review lab · Project storyWhat contributed to an $86 million rise in operating income?I built a financial-report explorer around a question I could check: how did seven income-statement movements add up to an $86 million increase? The same source now supports comparisons of sales, cash flow and reported versus core results.MNQ time-series research · ExperimentA time-series model that failed on later dataA model gained about $2,351 in the research simulation, then lost about $1,728 in three later windows. I followed the experiment from data acquisition and time intervals to costs, evaluation and the decision to reject it for trading.Crude-oil narrative tracker · Project storyFollowing crude-oil news without losing the market numbersI used a short personal experiment to follow global events alongside crude-oil prices and position values. The prototype calculates the numbers before asking Claude Code for an assessment and keeps a limited recent history.NQ/MNQ backtest engine · Technical noteYesterday’s short was blocking today’s trades in the simulatorWhen input stopped before the scheduled close, the strategy forgot a position but a shared counter kept counting it. Closing the old position before resetting the day restored the trade record and released the block.Small-cap edge research · Project storyWhat would make a small-cap price pattern worth testing?I built a Python and DuckDB prototype to turn trading ideas into named tests, compare their costs and revisit them in later periods. The candidates deteriorated under further checks, and the source exposed a misleading pass flag.Gadgeon Europe applications · ExperienceConnected-device dashboards and mobile apps at Gadgeon EuropeThe dashboards let people monitor energy use and control connected devices through data from several APIs. My work covered customized Ionic and Angular apps, integrations, store releases and maintenance.ctxforge · Project storyctxforge: turn “add search” into a task an agent can build“Add search” leaves decisions about data, matching and behavior unanswered. I built an editable toolkit that asks an LLM to uncover those requirements and show its assumptions before a coding agent starts.Sociedades Inactivas enquiries · Technical noteAn enquiry should survive a failed emailA failed notification should not make someone submit the same enquiry twice. The implemented form keeps the saved request and its reference while email delivery is retried; live activation is still pending.Astro local-services website · Project storyKeeping local service pages and their FAQs consistentA city page should only offer services enabled for that location. I used shared Astro templates with explicit availability rules, and one FAQ selection for both the visible page and its structured data.3D Spaces website migration · Project storyMoving 3D Spaces without moving its mailboxThe website could move to Next.js and Vercel, while email still depended on the old host. I carried over the pages, enquiry flow and analytics, then checked what the cutover had actually preserved.Capture CRM · Project storySave the listing now, connect the person when the details arriveA classified listing may arrive before its phone number or contact name. Capture CRM keeps those records separate, then lets a later capture complete the existing listing and bring contact status back to the browsing page.Product-description comparison bench · ExperimentWhere did the product description get that detail wrong?A product description can go wrong when the image is read or when the copy is written. This local bench exposes both steps, lets me switch models and records request measurements. A matched quality comparison is still unfinished.Between Us · Project storyBetween Us: keeping control of a generated filmA more emotional dialogue take still needed convincing acting and framing. I kept the alternatives, widened shots to reveal gestures and changed the workflow when its studio limited the films I wanted to make.Restaurant-service voice agent · ExperimentDesigning a restaurant-service call around the real offerThe first correction was the offer: a paid service had become a free visit in one draft. I then compared how the Spanish voice-agent prompts handled new speakers, technical limits and booking results.Vapi and Telnyx voice integration · Technical noteThe Vapi agent could speak, but it could not hear me clearlyI could hear the assistant, but it could not understand my distorted audio. Three codec tests changed the connection behavior and brought the greeting back; the caller-audio problem remains unresolved.Warloop: Echoes of Solmara · Project storyWarloop: turning generated character art into a playable prototypeGood-looking character images became tiny figures, a backwards walk and misplaced bosses in the game. I worked through the gap between generated art and playable behavior.
esc to close · Tab to move through results