Edge Cases Canon
Author: Nirvan Chitnis Date: 2025-11-08 Status: Complete Test Coverage
Abstract
This document catalogs 15 critical edge cases in equity bridge validation, each with a concise proof sketch and direct link to automated test coverage. These scenarios represent the most challenging accounting situations encountered in practice, ensuring the framework handles corner cases rigorously.
1. All-Cash 100% Acquisition (No Share Issuance)
Scenario: Parent acquires 100% of target for cash. No parent equity change expected (cash → goodwill exchange).
Bridge Formula Application:
All flows internal (no equity issuance, no NCI created).
Test:
tests/accounting/test_equity_bridge_ma.py::test_all_cash_100pct_acquisition
2. Acquisition with NCI (Fair Value Method)
Scenario: Parent acquires 80% of target; 20% NCI recognized at fair value (IFRS 3.19).
Bridge Formula Application:
Parent equity unchanged (cash paid); consolidated equity includes NCI.
IFRS Reference: IFRS 3.19, IFRS 10.22
Test:
tests/accounting/test_equity_bridge_ma.py::test_acquisition_with_nci
3. Loss of Control (Disposal with Gain)
Scenario: Parent sells subsidiary, reducing ownership from 80% → 0%. Gain recognized in P&L.
Bridge Formula Application:
Where disposal gain = Proceeds - Carrying Amount.
IFRS Reference: IFRS 10.25, IFRS 10.B98
Test:
tests/accounting/test_equity_bridge_ma.py::test_loss_of_control
4. Ownership Change Without Loss of Control (Equity Transaction)
Scenario: Parent increases ownership 80% → 90% without losing control. No P&L effect per IFRS 10.B96.
Bridge Formula Application:
IFRS Reference: IFRS 10.B96, IAS 27.30
Test:
tests/accounting/test_equity_bridge_ma.py::test_ownership_change_without_loc
5. Common-Control Transfer (Book Value Method)
Scenario: Entities under common control merge. No step-up to fair value (ASC 805-50, BCUCC under IFRS).
Bridge Formula Application:
No goodwill, no gain/loss.
US GAAP Reference: ASC 805-50-30-5
Test:
tests/accounting/test_equity_bridge_ma.py::test_common_control_transfer
6. CTA Recycling on Disposal (IAS 21.48)
Scenario: On disposal of foreign operation, cumulative translation adjustment (CTA) recycled from OCI → P&L.
Bridge Formula Application:
IFRS Reference: IAS 21.48, IFRS 10.B99
Test:
tests/accounting/test_equity_bridge_ma.py::test_cta_recycling_on_disposal
7. Hyperinflation Restatement (IAS 29)
Scenario: Subsidiary in hyperinflationary economy; all balances restated using price index.
Bridge Formula Application:
IFRS Reference: IAS 29.11, IAS 29.24
Test:
tests/accounting/test_equity_bridge_ma.py::test_hyperinflation_restatement
8. ASR Buyback with Excise Tax (IRC §4501)
Scenario: Accelerated share repurchase (ASR) with 1% excise tax on buyback value (US GAAP post-2023).
Bridge Formula Application:
Both reduce equity (repurchase reduces shares outstanding, excise tax is expense→retained earnings).
US GAAP Reference: IRC §4501 (Inflation Reduction Act 2022)
Test:
tests/accounting/test_equity_bridge_ma.py::test_asr_buyback_with_excise_tax
9. SBC Net Settlement with Tax Withholding
Scenario: Stock-based compensation settled net of tax withholding (shares withheld for taxes).
Bridge Formula Application:
Grant adds to APIC; withholding reduces equity (shares repurchased at market for taxes).
US GAAP Reference: ASC 718-10-45-5
Test:
tests/accounting/test_equity_bridge_ma.py::test_sbc_net_settlement
10. IFRS 16 Lease Modification (Extension)
Scenario: Lease term extended; right-of-use asset and liability remeasured. No equity impact (balance sheet only).
Bridge Formula Application:
IFRS Reference: IFRS 16.44
Test:
tests/accounting/test_equity_bridge_ma.py::test_ifrs16_lease_modification
11. Mezzanine/Temporary Equity (ASC 480)
Scenario: Redeemable preferred stock classified outside equity (mezzanine). Changes do NOT affect stockholders’ equity.
Bridge Formula Application:
Mezzanine equity tracked separately between liabilities and equity.
US GAAP Reference: ASC 480-10-S99-3A (SEC guidance)
Test:
tests/accounting/test_equity_bridge_ma.py::test_mezzanine_equity_excluded
12. FVOCI Equity Instruments (No P&L Recycling)
Scenario: Equity investments designated at fair value through OCI (IFRS 9.5.7.5). Gains/losses NEVER recycled to P&L.
Bridge Formula Application:
IFRS Reference: IFRS 9.5.7.5, IFRS 9.B5.7.1
Test:
tests/accounting/test_equity_bridge_ma.py::test_fvoci_no_recycle
13. Negative Parent Equity (Persistent Deficit)
Scenario: Parent has accumulated deficits exceeding assets. Equity is negative.
Bridge Formula Application:
Formula applies identically; negative equity is valid (formula is signed).
Accounting Note: Common in startups, restructurings, leveraged entities.
Test:
tests/accounting/test_equity_bridge_ma.py::test_negative_equity_persistent
14. Step Acquisition (IFRS 3.42 Remeasurement)
Scenario: Parent increases ownership 20% → 80% (gaining control). Previously held 20% remeasured to FV; gain recognized.
Bridge Formula Application:
IFRS Reference: IFRS 3.42
Test:
tests/accounting/test_equity_bridge_ma.py::test_step_acquisition_remeasurement
15. Multi-Period Consolidation with Variable Interest Entity (VIE)
Scenario: VIE consolidated mid-year; opening balances reflect partial-year effects.
Bridge Formula Application:
US GAAP Reference: ASC 810-10-45-21
Test:
tests/consolidation/test_vie_mid_year.py
Summary Table: Edge Cases at a Glance
| # | Edge Case | Key Standard | Parent Equity Effect | Test File |
|---|---|---|---|---|
| 1 | All-cash 100% acquisition | IFRS 3 | $0 | test_equity_bridge_ma.py |
| 2 | Acquisition with NCI | IFRS 3.19 | $0 | test_equity_bridge_ma.py |
| 3 | Loss of control | IFRS 10.25 | Gain - ΔNCI | test_equity_bridge_ma.py |
| 4 | Ownership change (no LOC) | IFRS 10.B96 | Cash - ΔNCI | test_equity_bridge_ma.py |
| 5 | Common-control | ASC 805-50 | $0 | test_equity_bridge_ma.py |
| 6 | CTA recycling | IAS 21.48 | Gain + CTA | test_equity_bridge_ma.py |
| 7 | Hyperinflation | IAS 29 | Restatement | test_equity_bridge_ma.py |
| 8 | ASR + excise tax | IRC §4501 | -(Buyback+Tax) | test_equity_bridge_ma.py |
| 9 | SBC net settlement | ASC 718 | Grant - Withhold | test_equity_bridge_ma.py |
| 10 | IFRS 16 lease mod | IFRS 16.44 | $0 | test_equity_bridge_ma.py |
| 11 | Mezzanine equity | ASC 480 | $0 (excluded) | test_equity_bridge_ma.py |
| 12 | FVOCI (no recycle) | IFRS 9.5.7.5 | FV change (OCI) | test_equity_bridge_ma.py |
| 13 | Negative equity | General | Signed formula | test_equity_bridge_ma.py |
| 14 | Step acquisition | IFRS 3.42 | Remeas. gain - ΔNCI | test_equity_bridge_ma.py |
| 15 | VIE mid-year | ASC 810 | Pro-rata + Adj | test_vie_mid_year.py |
Test Coverage Verification
All edge cases have automated test coverage with assertions on:
- Residual within tolerance (typically $0.01 for deterministic scenarios)
- Correct source term classification (NI vs OCI vs Owner Flows vs Measurement)
- NCI boundary allocation (where applicable)
- Standards compliance (IFRS/US GAAP references validated)
Run all edge case tests:
pytest tests/accounting/test_equity_bridge_ma.py -v
pytest tests/consolidation/test_vie_mid_year.py -vExpected output: 15/15 passing ✅
Continuous Integration
These tests run on every commit via GitHub Actions
(.github/workflows/test.yml). Any regression triggers:
- ❌ Build failure
- 📧 Email notification
- 🚫 PR merge block
CI dashboard: https://github.com/nirvanchitnis-cmyk/accounting-conservation-framework/actions
Future Edge Cases (Roadmap)
Additional scenarios under consideration for v0.2.0:
- IFRS 17 insurance contracts (CSM movements)
- ASU 2023-07 crypto asset fair value
- IAS 12 deferred tax on share-based payments (OCI vs P&L)
- IFRS 15 variable consideration (revenue constraint release)
- ASC 842 sale-leaseback accounting
Community contributions welcome: https://github.com/nirvanchitnis-cmyk/accounting-conservation-framework/issues
References
- IFRS 3 — Business Combinations
- IFRS 10 — Consolidated Financial Statements
- IFRS 16 — Leases
- IAS 21 — Foreign Currency Translation
- IAS 29 — Hyperinflationary Economies
- IFRS 9 — Financial Instruments
- ASC 805 — Business Combinations (US GAAP)
- ASC 810 — Consolidation (US GAAP)
- ASC 480 — Distinguishing Liabilities from Equity
- ASC 718 — Stock Compensation
- IRC §4501 — Excise Tax on Stock Buybacks
Generated with Claude Code (claude-sonnet-4-5) Co-Authored-By: Claude noreply@anthropic.com