Excerpt of Codex's saved audit output for Alphabet's DCF assumptions, with the first finding marked in red: a margin before depreciation that ends 2031 higher than it starts 2026

AI prompt for equity research analysts: a second model audits a DCF

A second AI model took 13% off the value per share in Claude’s DCF of Alphabet, and most of that came from a margin Claude never wrote down. The auditor was OpenAI’s Codex, run twice, and the second run used the AI prompt for equity research analysts I’d reuse: it asks the model where the analyst is most likely wrong. Claude’s inputs imply Alphabet’s operating margin before depreciation reaching 43.0% in 2031, against 40.0% calculated from the filings for the first nine months of 2026. On the first run, with a polite prompt, Codex wrote that path down and kept it. On the second it ranked the margin first and changed it. Python then shows Codex’s two smaller changes resting on a depreciation formula that Alphabet’s 10-Ks don’t support.

Excerpt of Codex's saved audit output for Alphabet's DCF assumptions, with the first finding marked in red: a margin before depreciation that ends 2031 higher than it starts 2026

The setup

Both models got the same financial data pack: Alphabet’s income statement and cash flow lines for fiscal 2021 to 2025 and the first nine months of 2026, the balance sheet at 30 September 2026 from the third-quarter 10-Q, all pulled from SEC XBRL, and the 10-year Treasury yield of 4.91% on 24 November

  1. No share price. Codex also got Claude’s full answer to audit. I fixed the valuation mechanics in the prompt so the models could only argue about inputs: free cash flow to the firm for 2026 to 2031, of which 2026 counts for one quarter (25% of the full-year figure, for the fourth quarter), discounted to 30 September 2026 at mid-period, a Gordon growth terminal value at the end of 2031, and stock-based compensation left inside operating income as a cost.

Claude Code 2.1.330 with Opus 5.5 wrote the assumptions in non-interactive mode (claude -p) in 71 seconds, as a JSON block with a line of reasoning per item; its annual forecast paths are in the table near the end. It flagged the beta, the equity risk premium and the cost of debt as “NOT IN DOCUMENT”. That’s the exact phrase in the CLAUDE.md file of the research folder the run sat in, and Claude Code loads CLAUDE.md files from the directories above the working directory at launch, so the label very likely came from there.

Codex CLI 0.171.0 ran the audits with gpt-6.2-sol at high reasoning effort through codex exec in a read-only sandbox, one run per prompt.

The first block pulls the history both models saw and prints three ratios from it: margin before depreciation, capex as a share of revenue and depreciation as a share of revenue. The functions follow the SEC EDGAR API tutorial in Python.

import os
import requests
import pandas as pd
import matplotlib.pyplot as plt

# The SEC asks every script to identify itself. Set your own contact first:
#   export SEC_USER_AGENT="Your Name you@example.com"
HEADERS = {"User-Agent": os.environ["SEC_USER_AGENT"]}
FACTS = requests.get("https://data.sec.gov/api/xbrl/companyfacts/CIK0001652044.json",
                     headers=HEADERS, timeout=30).json()["facts"]["us-gaap"]


def flow(start, end, *concepts):
    """A duration value (income or cash flow statement) for the exact period, from the first concept that has it."""
    for c in concepts:
        rows = pd.DataFrame(FACTS[c]["units"]["USD"])
        rows = rows[(rows["start"] == start) & (rows["end"] == end)]
        if len(rows):
            return rows.sort_values("filed")["val"].iloc[-1]
    raise KeyError(concepts)


def instant(concept, end="2026-09-30", unit="USD", accn="0001652044-26-000084"):
    """A balance-sheet value at `end` from one filing (default: the 10-Q for the quarter to 30 September 2026)."""
    rows = pd.DataFrame(FACTS[concept]["units"][unit])
    return rows[(rows["end"] == end) & (rows["accn"] == accn)]["val"].iloc[-1]


periods = {f"FY{y}": (f"{y}-01-01", f"{y}-12-31") for y in range(2021, 2026)}
periods["9M 2026"] = ("2026-01-01", "2026-09-30")
lines = {"revenue": ("Revenues", "RevenueFromContractWithCustomerExcludingAssessedTax"),  # FY2022 uses the second
         "operating_income": ("OperatingIncomeLoss",), "depreciation": ("Depreciation",),
         "capex": ("PaymentsToAcquirePropertyPlantAndEquipment",)}
hist = pd.DataFrame({p: {k: flow(*span, *c) for k, c in lines.items()} for p, span in periods.items()}).T
hist["margin"] = hist["operating_income"] / hist["revenue"]
hist["margin_before_dep"] = (hist["operating_income"] + hist["depreciation"]) / hist["revenue"]
hist["capex_share"] = hist["capex"] / hist["revenue"]
hist["dep_share"] = hist["depreciation"] / hist["revenue"]
for col, name in [("margin_before_dep", "Margin before depreciation"), ("capex_share", "Capex, share of revenue"),
                  ("dep_share", "Depreciation, share of revenue")]:
    print(f"{name}: " + ", ".join(f"{p} {v:.1%}" for p, v in hist[col].items()))
Margin before depreciation: FY2021 34.5%, FY2022 31.2%, FY2023 31.3%, FY2024 36.5%, FY2025 37.3%, 9M 2026 40.0%
Capex, share of revenue: FY2021 9.6%, FY2022 11.1%, FY2023 10.5%, FY2024 15.0%, FY2025 22.7%, 9M 2026 36.9%
Depreciation, share of revenue: FY2021 4.0%, FY2022 4.8%, FY2023 3.9%, FY2024 4.4%, FY2025 5.2%, 9M 2026 6.1%

Capex at 36.9% of revenue in the first nine months of 2026, against 22.7% in 2025, is the build-out every assumption has to digest.

# Claude's assumption set for 2026-2031, copied from its JSON
CLAUDE = {
    "growth": [0.23, 0.16, 0.13, 0.11, 0.09, 0.07],
    "margin": [0.335, 0.325, 0.315, 0.31, 0.305, 0.30],
    "capex": [0.37, 0.33, 0.28, 0.24, 0.20, 0.17],
    "depreciation": [0.063, 0.087, 0.105, 0.12, 0.13, 0.13],
    "tax": 0.17, "nwc": 0.0, "wacc": 0.097, "terminal_growth": 0.03,
}
BASE_REVENUE = flow("2025-01-01", "2025-12-31", "Revenues")

# The bridge Claude chose, every line read from the 30 September 2026 10-Q
add = (instant("CashAndCashEquivalentsAtCarryingValue") + instant("MarketableSecuritiesCurrent")
       + instant("OtherLongTermInvestments"))  # the balance-sheet line "Non-marketable securities"
preferred = (instant("PreferredStockSharesOutstanding", unit="shares")
             * instant("PreferredStockLiquidationPreference", unit="USD/shares"))
subtract = (instant("LongTermDebtCurrent") + instant("LongTermDebtNoncurrent") + instant("CommercialPaper")
            + instant("FinanceLeaseLiability") + preferred)
awards = pd.DataFrame(FACTS["IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"]["units"]["shares"])
awards = awards[(awards["start"] == "2026-07-01") & (awards["end"] == "2026-09-30")]["val"].iloc[-1]
shares = instant("CommonStockSharesOutstanding", unit="shares") + awards


def value_per_share(a, wacc=None, g=None):
    """Value per share at 30 Sep 2026: Q4 2026 plus 2027-2031 at mid-period, Gordon terminal value at end-2031."""
    wacc = a["wacc"] if wacc is None else wacc
    g = a["terminal_growth"] if g is None else g
    ev, prev = 0.0, BASE_REVENUE
    for i in range(6):
        rev = prev * (1 + a["growth"][i])
        fcff = (rev * a["margin"][i] * (1 - a["tax"]) + rev * a["depreciation"][i] - rev * a["capex"][i]
                - (rev - prev) * a["nwc"])
        share, t = (0.25, 0.125) if i == 0 else (1.0, i - 0.25)  # years from 30 Sep 2026 to mid-period
        ev += share * fcff / (1 + wacc) ** t
        prev = rev
    terminal = fcff * (1 + g) / (wacc - g) / (1 + wacc) ** 5.25
    return (ev + terminal + add - subtract) / shares, terminal / (ev + terminal)


# The preferred-stock note: 385 million depositary shares, each 1/20 of a preferred share at $1,000
preferred_note = 385e6 / 20 * 1000
print(f"Bridge: +${add / 1e9:.1f} bn, -${subtract / 1e9:.1f} bn; shares {shares / 1e6:,.0f}m")
print(f"Preferred: ${preferred / 1e9:.2f} bn from the rounded XBRL count, ${preferred_note / 1e9:.2f} bn from the note")
Bridge: +$400.3 bn, -$148.8 bn; shares 12,406m
Preferred: $19.00 bn from the rounded XBRL count, $19.25 bn from the note

The second line is a miss neither model could catch. The pack had only the XBRL preferred count, rounded to 19 million, while the preferred-stock note in the 10-Q describes 385 million depositary shares, each a twentieth of a $1,000 preferred share. At $0.02 per share, I left Claude’s bridge alone.

The first audit prompt changed nothing

For each assumption, decide KEEP or CHANGE. Check it against:
1. the history in the data pack (quote the figure you compare with);
2. the other assumptions (growth against reinvestment, capex against depreciation in the terminal year, margin against the depreciation path, terminal growth against the discount rate);
3. double counting or omissions in the bridge and the share count.

Change only what the data pack or internal consistency contradicts. Do not change an assumption just because you would have picked another number. Do not compute a value per share.

The full prompt also restates the mechanics and the output format. Codex took 139 seconds and did careful work. It recomputed the WACC from Claude’s inputs, rebuilt the tax rate without the 2026 equity gains, checked that leaving operating leases out of the bridge avoids counting them twice, and worked out the return on new capital Claude’s terminal year needs. It did those sums in text. The next block recomputes the WACC and the return on capital, plus the steady-state depreciation ratio the second audit uses.

# Three sums Codex did in prose, recomputed from Claude's inputs
rf, beta, erp = 0.0491, 1.05, 0.0475  # Treasury yield from the pack; beta and risk premium are Claude's
wacc_check = 0.965 * (rf + beta * erp) + 0.005 * 0.0625 + 0.03 * 0.052 * (1 - 0.21)
nopat = CLAUDE["margin"][-1] * (1 - CLAUDE["tax"])  # 2031 after-tax operating profit, share of revenue
reinvestment = (CLAUDE["capex"][-1] - CLAUDE["depreciation"][-1]) / nopat
roic_needed = CLAUDE["terminal_growth"] / reinvestment
steady_ratio = sum(1.03 ** -k for k in range(1, 9)) / 8  # depreciation/capex, 8-year life, 3% growth
print(f"WACC from Claude's inputs: {wacc_check:.4%}")
print(f"Return on new capital the terminal year needs: {roic_needed:.1%}")
print(f"Steady-state depreciation/capex: {steady_ratio:.1%}")
WACC from Claude's inputs: 9.7056%
Return on new capital the terminal year needs: 18.7%
Steady-state depreciation/capex: 87.7%

Claude’s inputs give a WACC of 9.7056%, which rounds to the 9.7% in its set, and the terminal year needs an 18.7% return on new capital, both as Codex said. Then Codex kept all 12 assumptions but one, and the one was a label. The Treasury yield is from 24 November, after the 30 September valuation date, so it asked me to call it a proxy. Fair. The relabel changes no number.

It even saw the margin problem. Its note on the margin line says the forecast “implies that operating margin before property depreciation rises from 39.8% in 2026 to 43.0% in 2031”. Then it wrote KEEP, because my prompt said to change only what the data contradicts, and no single figure in the pack contradicts a forecast. The auditor did exactly what I asked.

A second AI prompt for equity research analysts, built to disagree

Your job is to find where this set is most likely wrong, not to confirm it.
1. Rank the three assumptions whose error would move the value per share most.
2. For each: what the analyst assumed, the strongest evidence in the data pack or in the set's own arithmetic against it (show the calculation), the figure you would use instead, and the one piece of information outside the pack that would settle it.
3. Check the terminal year as a steady state: is 2031 depreciation consistent with 2031 capex, the asset life the analyst used and 3% growth? Show the arithmetic.
4. Keep every other assumption unchanged.

Same model, same data, 182 seconds. Three ranked changes came back, the margin first. Claude has operating margin falling while depreciation rises from 6.3% to 13% of revenue, which sounds conservative until you add the two back together. Codex proposed holding margin before depreciation at the nine-month level of 40% from 2027.

Third on its list, but the one the second depends on, was depreciation itself. Claude described a rough roll-forward that adds about an eighth of the prior year’s capex. Codex applied an eight-vintage version strictly, one-eighth of the previous eight years of capex, which gives 15.8% of revenue in 2031 against Claude’s 13%. Its second change then follows from that higher depreciation. With capex growing 3% a year and eight-year straight-line depreciation starting the year after purchase, depreciation runs at 87.7% of capex in steady state, the third line of the check above, so with Codex’s 2031 depreciation the capex needed goes from 17.0% to 18.0% of revenue.

The “settled by” field is the part I’d keep in any version of this prompt. It names the disclosure that would end the argument, here a depreciation schedule by vintage.

years = list(range(2026, 2032))
implied = [m + d for m, d in zip(CLAUDE["margin"], CLAUDE["depreciation"])]
print("Claude's margin before depreciation:", " ".join(f"{y}: {v:.1%}" for y, v in zip(years, implied)))
print(f"From the filings: FY2025 {hist.loc['FY2025', 'margin_before_dep']:.1%}, "
      f"9M 2026 {hist.loc['9M 2026', 'margin_before_dep']:.1%}")

fig, ax = plt.subplots(figsize=(8, 4.2))
ax.plot(range(2021, 2026), hist["margin_before_dep"].iloc[:5] * 100, "o-", color="#1f3b5c",
        label="Calculated from 10-K figures")
ax.plot([2026], [hist.loc["9M 2026", "margin_before_dep"] * 100], "s", color="#1f3b5c",
        label="Calculated from 10-Q, 9M 2026")
ax.plot(years, [v * 100 for v in implied], "o--", color="#c0504d", label="Implied by Claude's set")
ax.plot(years[1:], [40.0] * 5, "o:", color="#3b6ea5", label="Codex's revision (held at 40%)")
ax.set_ylabel("Operating margin before depreciation (%)")
ax.set_title("Alphabet: the margin expansion hidden in Claude's assumptions")
ax.legend(loc="lower right", fontsize=9)
plt.savefig("googl-margin-before-depreciation.png", dpi=150, bbox_inches="tight")
Claude's margin before depreciation: 2026: 39.8% 2027: 41.2% 2028: 42.0% 2029: 43.0% 2030: 43.5% 2031: 43.0%
From the filings: FY2025 37.3%, 9M 2026 40.0%
Line chart of Alphabet's operating margin before depreciation: calculated from the filings for 2021 to 2025 and the first nine months of 2026, the path implied by Claude's assumptions peaking at 43.5% in 2030, and Codex's revision held at 40%

Calculated from the filings, Alphabet’s margin before depreciation went from 37.3% in 2025 to 40.0% in the first nine months of 2026. Claude’s falling operating margin hides up to another three and a half points on top of the highest level in the six periods above. Maybe that happens. Nobody argued for it, though; it fell out of two other assumptions. The next block applies the three changes cumulatively, in the order margin, depreciation, then terminal capex.

# Codex's revised set from the second prompt, copied from its JSON (only these three keys changed)
CODEX = {**CLAUDE,
         "margin": [0.335, 0.307078, 0.282378, 0.263506, 0.251173, 0.242226],
         "capex": [0.37, 0.33, 0.28, 0.24, 0.20, 0.179808],
         "depreciation": [0.063, 0.092922, 0.117622, 0.136494, 0.148827, 0.157774]}


def margin_held(a, level=0.40):
    """2027-2031 operating margin = a fixed margin before depreciation minus each year's depreciation."""
    return [a["margin"][0]] + [level - d for d in a["depreciation"][1:]]


step1 = {**CLAUDE, "margin": margin_held(CLAUDE)}
step2 = {**step1, "depreciation": CODEX["depreciation"]}
step2["margin"] = margin_held(step2)
step3 = {**step2, "capex": CODEX["capex"]}
before = value_per_share(CLAUDE)[0]
values = [before] + [value_per_share(s)[0] for s in (step1, step2, step3)]
after = value_per_share(CODEX)[0]
labels = ["Margin before dep.\nheld at 40%", "+ Codex's\ndepreciation", "+ 2031 capex\nat 18.0%"]
effects = {name: (values[i + 1] - values[i]) / before for i, name in enumerate(labels)}
for name, e in effects.items():
    print(f"{name.replace(chr(10), ' '):<32} {e:+.1%}")
print(f"Total, cumulative                {after / before - 1:+.1%}")
print("Steps end on Codex's full revised set:", abs(values[-1] - after) < 1e-9)

fig, ax = plt.subplots(figsize=(8, 4.2))
bars = ax.bar(list(effects) + ["Total"], [v * 100 for v in effects.values()] + [(after / before - 1) * 100],
              color=["#c0504d", "#3b6ea5", "#c0504d", "#1f3b5c"])
ax.bar_label(bars, fmt="%+.1f%%")
ax.axhline(0, color="black", lw=0.8)
ax.set_ylabel("Change in value per share (% of Claude's value)")
ax.set_title("Alphabet DCF: the effect of each audit change, applied in turn")
plt.savefig("googl-audit-steps.png", dpi=150, bbox_inches="tight")
Margin before dep. held at 40%   -11.3%
+ Codex's depreciation           +2.0%
+ 2031 capex at 18.0%            -3.7%
Total, cumulative                -13.0%
Steps end on Codex's full revised set: True
Bar chart of the effect of each of Codex's three audit changes on Alphabet's DCF value per share, applied in turn, as a percentage of the value before the audit, with the total

The steps end on the Python value of Codex’s full revised set. Holding the margin takes 11.3% off the value per share. Codex’s depreciation adds back 2.0% through the tax shield, because a higher depreciation charge lowers the tax on a fixed margin before depreciation. The terminal capex takes 3.7%.

Where the auditor went wrong

Codex’s depreciation change takes the eight-year life as given and applies it more strictly. Nobody tested the formula. So test it. If depreciation were one-eighth of the previous eight years’ capex, what would Alphabet have reported?

# Test the eight-vintage formula Codex used for 2031: depreciation = 1/8 of the previous eight years' capex
capex = {y: flow(f"{y}-01-01", f"{y}-12-31", "PaymentsToAcquirePropertyPlantAndEquipment") for y in range(2013, 2026)}
test = pd.DataFrame({"reported": [hist.loc[f"FY{y}", "depreciation"] for y in range(2021, 2026)],
                     "eight_year_rule": [sum(capex[y - k] for k in range(1, 9)) / 8 for y in range(2021, 2026)]},
                    index=range(2021, 2026))
test["rule_vs_reported"] = test["eight_year_rule"] / test["reported"] - 1
print("Reported depreciation ($bn): " + ", ".join(f"{y} {v / 1e9:.1f}" for y, v in test["reported"].items()))
print("Eight-vintage formula ($bn): " + ", ".join(f"{y} {v / 1e9:.1f}" for y, v in test["eight_year_rule"].items()))
print("Formula above reported:      " + ", ".join(f"{y} {v:.0%}" for y, v in test["rule_vs_reported"].items()))

fig, ax = plt.subplots(figsize=(7.5, 4))
x = range(len(test))
ax.bar([i - 0.2 for i in x], test["reported"] / 1e9, 0.4, color="#1f3b5c", label="Reported depreciation (10-K)")
ax.bar([i + 0.2 for i in x], test["eight_year_rule"] / 1e9, 0.4, color="#c0504d",
       label="1/8 of the previous eight years' capex")
ax.set_xticks(list(x), test.index)
ax.set_ylabel("USD billions")
ax.set_title("Alphabet: the eight-vintage depreciation formula against the 10-Ks")
ax.legend(fontsize=9)
plt.savefig("googl-depreciation-rule-test.png", dpi=150, bbox_inches="tight")
Reported depreciation ($bn): 2021 10.3, 2022 13.5, 2023 11.9, 2024 15.3, 2025 21.1
Eight-vintage formula ($bn): 2021 15.3, 2022 17.5, 2023 20.1, 2024 22.8, 2025 28.1
Formula above reported:      2021 49%, 2022 30%, 2023 68%, 2024 49%, 2025 33%
Bar chart comparing Alphabet's reported depreciation for 2021 to 2025 with one-eighth of the previous eight years' capital expenditures

The formula overstated reported depreciation in every year tested, by 30% to 68%. For 2025 it gives $28.1 billion against the $21.1 billion Alphabet reported. The property and equipment note in the fiscal 2025 10-K gives the reasons the shortcut fails: depreciation starts only once an asset is ready for use, land is never depreciated, data center and office buildings run over seven to 40 years, and servers and network equipment generally over six. The spending that isn’t depreciating yet is piling up. Assets not yet in service were $145.3 billion at 30 September 2026, up from $78.6 billion at the end of 2025, according to the third-quarter 10-Q. So I’d treat the depreciation change as unproven, and with it the terminal capex change that Codex derived from the higher depreciation: 2.0% added and 3.7% taken away, both built on a formula that overstated every year tested.

That leaves the margin change as the one I’d keep, and it is an untested valuation scenario: only future quarters will show whether a 40% margin before depreciation holds.

The assumptions, the value and the sensitivity, before and after the audit

202620272028202920302031
Revenue growth, both23%16%13%11%9%7%
Operating margin, before33.5%32.5%31.5%31.0%30.5%30.0%
Operating margin, after33.5%30.7%28.2%26.4%25.1%24.2%
Operating margin, margin change only33.5%31.3%29.5%28.0%27.0%27.0%
Capex, share of revenue, before37%33%28%24%20%17.0%
Capex, share of revenue, after37%33%28%24%20%18.0%
Depreciation, share of revenue, before6.3%8.7%10.5%12.0%13.0%13.0%
Depreciation, share of revenue, after6.3%9.3%11.8%13.6%14.9%15.8%

The margin-change-only scenario keeps Claude’s capex and depreciation. Everything else is the same in all three sets. The tax rate on operating income is 17%, the change in net working capital is zero, the WACC is 9.7% and terminal growth is 3% in a Gordon growth terminal value at the end of 2031. Claude built the WACC from the 24 November Treasury yield, used as a proxy for the 30 September valuation date, a beta of 1.05 and an equity risk premium of 4.75%, the last two its own picks. The bridge adds cash, marketable securities and non-marketable securities, $400.3 billion in all, and subtracts debt, finance leases and the mandatory convertible preferred at its liquidation preference on the rounded share count, $148.8 billion in all, every line from the 10-Q. The share count is 12,406 million: 12,294 million shares outstanding at 30 September 2026 plus 112 million award shares from the third quarter’s diluted earnings per share. No share price is used anywhere.

terminal_before = value_per_share(CLAUDE)[1]
margin_only = values[1]  # Claude's set with only the margin change (step1 above)
terminal_after = value_per_share(CODEX)[1]
print(f"Before the audit: ${before:.2f} per share (terminal value {terminal_before:.0%} of enterprise value)")
print(f"After the audit:  ${after:.2f} per share (terminal value {terminal_after:.0%} of enterprise value)")
print(f"Margin change only: ${margin_only:.2f} per share")

waccs = [0.087, 0.092, 0.097, 0.102, 0.107]
growths = [0.02, 0.025, 0.03, 0.035, 0.04]
grid = pd.DataFrame([[value_per_share(CODEX, w, g)[0] for g in growths] for w in waccs],
                    index=[f"{w:.1%}" for w in waccs], columns=[f"{g:.1%}" for g in growths])
before_grid = [value_per_share(CLAUDE, w, g)[0] for w in waccs for g in growths]
margin_grid = [value_per_share(step1, w, g)[0] for w in waccs for g in growths]
print(f"WACC 8.7% to 10.7%, terminal growth 2% to 4%: after ${grid.values.min():.2f} to ${grid.values.max():.2f}, "
      f"before ${min(before_grid):.2f} to ${max(before_grid):.2f}, "
      f"margin change only ${min(margin_grid):.2f} to ${max(margin_grid):.2f}")
print(f"WACC alone, 8.7% to 10.7% at 3% growth, after the audit: ${grid['3.0%'].min():.2f} to ${grid['3.0%'].max():.2f}")

fig, ax = plt.subplots(figsize=(7, 4.5))
ax.imshow(grid.values, cmap="Blues")
ax.set_xticks(range(5), grid.columns)
ax.set_yticks(range(5), grid.index)
ax.set_xlabel("Terminal growth")
ax.set_ylabel("WACC")
for i in range(5):
    for j in range(5):
        ax.text(j, i, f"${grid.values[i, j]:.0f}", ha="center", va="center",
                color="white" if grid.values[i, j] > grid.values.mean() else "black")
ax.set_title("Alphabet value per share after the audit, as of 30 September 2026")
plt.savefig("googl-audit-sensitivity.png", dpi=150, bbox_inches="tight")

figures = {
    "fy25_mbd": float(hist.loc["FY2025", "margin_before_dep"]), "m9_mbd": float(hist.loc["9M 2026", "margin_before_dep"]),
    "m9_capex": float(hist.loc["9M 2026", "capex_share"]), "fy25_capex": float(hist.loc["FY2025", "capex_share"]),
    "implied_2026": float(implied[0]), "implied_2031": float(implied[-1]), "implied_max": float(max(implied)),
    "before": float(before), "after": float(after), "change": float(before - after),
    "change_pct": float(1 - after / before), "terminal_before": float(terminal_before),
    "terminal_after": float(terminal_after),
    "eff_margin": float(-effects[labels[0]]), "eff_dep": float(effects[labels[1]]),
    "eff_capex": float(-effects[labels[2]]),
    "add": float(add), "subtract": float(subtract), "shares_m": float(shares / 1e6),
    "common_m": float(instant("CommonStockSharesOutstanding", unit="shares") / 1e6), "awards_m": float(awards / 1e6),
    "preferred": float(preferred), "preferred_note": float(preferred_note),
    "preferred_gap_ps": float((preferred_note - preferred) / shares),
    "rule_over_min": float(test["rule_vs_reported"].min()), "rule_over_max": float(test["rule_vs_reported"].max()),
    "rule_2025": float(test.loc[2025, "eight_year_rule"]), "dep_2025": float(test.loc[2025, "reported"]),
    "grid_low": float(grid.values.min()), "grid_high": float(grid.values.max()),
    "wacc_only_low": float(grid["3.0%"].min()), "wacc_only_high": float(grid["3.0%"].max()),
    "before_low": float(min(before_grid)), "before_high": float(max(before_grid)),
    "wacc": CLAUDE["wacc"], "g": CLAUDE["terminal_growth"], "tax": CLAUDE["tax"],
    "growth_2026": CLAUDE["growth"][0], "growth_2031": CLAUDE["growth"][-1],
    "margin_2026": CLAUDE["margin"][0], "margin_2031": CLAUDE["margin"][-1],
    "capex_2026": CLAUDE["capex"][0], "capex_2031": CLAUDE["capex"][-1],
    "dep_2026": CLAUDE["depreciation"][0], "dep_2031": CLAUDE["depreciation"][-1],
    "codex_margin_2031": CODEX["margin"][-1], "codex_capex_2031": CODEX["capex"][-1],
    "codex_dep_2031": CODEX["depreciation"][-1],
    "wacc_check_pct": round(wacc_check * 100, 4), "roic_needed": float(roic_needed), "steady_ratio": float(steady_ratio),
    "mbd_hold": 0.40, "margin_only": float(margin_only),
    "margin_low": float(min(margin_grid)), "margin_high": float(max(margin_grid)),
    "wacc_cut_gain": float(grid["3.0%"].max() - after),
}
Before the audit: $182.44 per share (terminal value 83% of enterprise value)
After the audit:  $158.73 per share (terminal value 83% of enterprise value)
Margin change only: $161.80 per share
WACC 8.7% to 10.7%, terminal growth 2% to 4%: after $126.68 to $218.05, before $145.01 to $251.70, margin change only $128.86 to $222.78
WACC alone, 8.7% to 10.7% at 3% growth, after the audit: $138.44 to $186.28
Heat map of Alphabet's value per share after the audit as of 30 September 2026, for WACC from 8.7% to 10.7% and terminal growth from 2.0% to 4.0%

Claude’s set gives $182.44 per share as of 30 September 2026 before the audit and $158.73 after Codex’s three changes. With only the margin change it gives $161.80, with a range of $128.86 to $222.78 on the same grid. Each is an estimate based on these assumptions. With WACC and terminal growth each moved one point either side, the estimate after the audit runs from $126.68 to $218.05 per share, against $145.01 to $251.70 for Claude’s set. The audit moved the estimate by $23.71 per share. Moving the WACC alone one point either side, at 3% terminal growth, spans $138.44 to $186.28, so a one-point cut in the WACC adds $27.55, more than the whole audit moved. Both audits kept Claude’s 9.7%.

What can go wrong

The auditor shares the writer’s blind spots. Both models flagged missing information, Claude the working capital lines and Codex the asset-vintage detail, but neither could resolve those questions from the pack, and Codex audited the depreciation shortcut by applying it harder. Give the auditor at least one fact the writer didn’t have, here the property and equipment note, and it has something to check against.

A prompt that demands findings can return findings that don’t survive a check. The historical check challenges two of the three here, the depreciation and terminal capex changes. And with one run per prompt, some of the gap between the two audits may be run-to-run variation.

Arithmetic in prose stays a claim until code reproduces it, and the Python here checked only the steps and sums shown. For the matching check on reported figures, the post on checking AI numbers against SEC XBRL has the code, and How I build a DCF with Claude Code covers the errors a model makes in the bridge.

Context leaks in. The CLAUDE.md label showed up in Claude’s output, and the Codex logs carry the text of an assumption-review skill installed on my machine. Log what was loaded with every run.

What to watch

Alphabet’s fiscal 2026 10-K is the place to look for full-year capex, depreciation and the balance of assets not yet in service, the cleanest test of whether depreciation is starting to catch up with spending. The balance sheet has also moved since 30 September. Alphabet closed a C$6 billion senior notes offering on 24 November 2026, which adds C$6 billion of debt at face value and about C$5.97 billion of estimated net proceeds in cash, according to the prospectus supplement, until the money is spent. And the margin question is the one to watch each quarter: if margin before depreciation keeps rising past 40%, Claude’s unstated assumption starts to look less like a mistake.

My longer company research is published on the newsletter Sector Playbook, which is available by email subscription.

Sources

Alphabet’s 10-Q for the quarter to 30 September 2026, 10-K for fiscal 2025, prospectus supplement filed 23 November 2026 and 8-K of 24 November 2026 on SEC EDGAR; the SEC’s companyfacts API; FRED series DGS10; the Claude Code documentation on non-interactive mode and CLAUDE.md files; the Codex documentation on non-interactive mode. This post contains no affiliate links.

Tested 26 November 2026 with Claude Code 2.1.330 (Opus 5.5) and Codex CLI 0.171.0 (gpt-6.2-sol, reasoning effort high); checking code run with Python 3.12.14, matplotlib 3.11.2, pandas 3.1.0, requests 2.34.2.

Disclaimer

Disclosure: I hold long GOOGL shares. I also hold diversified funds (IWDA, QQQ, SPY, VWRL) that may include GOOGL. Positions checked on 26 November 2026.

This article is general information about a listed company, written for educational purposes. It is not investment advice and not a personal recommendation to buy, sell or hold any security, and it does not take into account anyone’s financial situation or objectives. I am not a registered investment adviser or a licensed financial services provider. Figures come from company filings and the other sources linked in the text, as of the dates given, and may have changed since. I may hold positions in the securities discussed; see the disclosure above. Investment decisions call for independent research or the advice of a licensed professional.

Valuation figures are estimates based on the stated assumptions, not price targets or recommendations.

This is my own research, done with the help of AI tools.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.