Update Plan B dataset (2026-11-05)
Browse files
README.md
CHANGED
|
@@ -83,13 +83,13 @@ Plan B follows a strict Graham–Klarman–Buffett deep-value discipline. Financ
|
|
| 83 |
|
| 84 |
### 1. Hard Quantitative Screen (`Cheap + Safe + Hated`)
|
| 85 |
A company must pass **all three** pillars simultaneously:
|
| 86 |
-
- **Cheap:**
|
| 87 |
-
- **Safe:** Positive stockholders' equity, current ratio
|
| 88 |
-
- **Hated:** Share price down at least **
|
| 89 |
|
| 90 |
### 2. Composite Score (`0–100`)
|
| 91 |
-
- **Base Weighting:**
|
| 92 |
-
- **Bonuses:** Net open-market Form 4 insider buying (up to
|
| 93 |
- **Penalties:** Share dilution, negative free cash flow, accrual divergence (net income significantly exceeding operating cash flow or operating income), one-off profits following consecutive loss years, and high goodwill/M&A intensity.
|
| 94 |
- **AI 10-K Adjustment:** After reading the 10-K filing, the composite score is adjusted by the AI analyst's verdict (`CONTRARIAN BUY CANDIDATE`, `WATCH`, or `AVOID`) and conviction (`0–100`).
|
| 95 |
|
|
@@ -141,12 +141,12 @@ print(top_ideas[["date", "ticker", "name", "score", "pe", "ev_ebit", "net_cash_p
|
|
| 141 |
| `news_neg`, `hate_why` | `float`/`string` | Headline negativity score (`0.0` loved → `1.0` hated) and short explanation of market pessimism. |
|
| 142 |
| `first_seen`, `return_since_first` | `string`/`float` | Date the ticker first entered the shortlist and cumulative price return since `first_seen`. |
|
| 143 |
| `bonus`, `flags` | `list` / `string` | Score bonuses (e.g., insider buying, shrinking shares) and accounting/risk flags. |
|
| 144 |
-
| `price`, `mcap`, `ev` | `float` | Latest share price (USD), market capitalization (USD), and enterprise value (
|
| 145 |
-
| `dd_3y`, `ret_1y`, `high_3y`, `high_52w`, `low_52w`, `off_low` | `float` | Drawdown from 3-year high (`-0.75` = down
|
| 146 |
| `pe`, `ev_ebit`, `pb` | `float` | Price-to-Earnings, Enterprise Value-to-EBIT (capped at `0` when EV is negative), and Price-to-Book ratio. |
|
| 147 |
-
| `earnings_yield`, `ebit_ev`, `fcf_yield`, `book_yield` | `float` | Inverse valuation yields:
|
| 148 |
-
| `ncav`, `netnet`, `net_cash`, `net_cash_pct` | `float` | Net Current Asset Value (
|
| 149 |
-
| `current_ratio`, `liab_eq`, `fcf`, `profit_years` | `float`/`int` | Current assets / current liabilities, total liabilities / equity, free cash flow (
|
| 150 |
| `share_chg_3y`, `rev_growth`, `buyback_yield`, `div_yield`, `goodwill_pct`, `acq_pct` | `float` | 3-year share count change, YoY revenue growth, buybacks/MCap, dividends/MCap, goodwill/assets, and acquisitions/assets. |
|
| 151 |
| `period`, `fy`, `assets`, `ca`, `cl`, `cash`, `equity`, `goodwill`, `debt`, `debt_known`, `liab` | `mixed` | Raw SEC XBRL balance-sheet values (USD) and reporting period (`CY2026Q3I`, etc.). |
|
| 152 |
| `shares`, `shares_old`, `shares_old_period` | `float`/`string` | Latest common shares outstanding and shares outstanding 3 years prior. |
|
|
|
|
| 83 |
|
| 84 |
### 1. Hard Quantitative Screen (`Cheap + Safe + Hated`)
|
| 85 |
A company must pass **all three** pillars simultaneously:
|
| 86 |
+
- **Cheap:** P/E ≤ 12, **or** EV/EBIT ≤ 8, **or** trading below Net Current Asset Value (`NCAV / Market Cap ≥ 1.0`, a classic Benjamin Graham net-net).
|
| 87 |
+
- **Safe:** Positive stockholders' equity, current ratio ≥ 1.2, total liabilities ≤ 2.0× equity (or net cash position), 3-year share dilution ≤ 25%, and positive operating cash flow if net income is negative.
|
| 88 |
+
- **Hated:** Share price down at least **40%** from its 3-year weekly high (`dd_3y ≤ -0.40`), with market cap ≥ $50M and share price ≥ $1.00.
|
| 89 |
|
| 90 |
### 2. Composite Score (`0–100`)
|
| 91 |
+
- **Base Weighting:** 40% **Cheap** (`cheap_score`) + 30% **Safe** (`safe_score`) + 30% **Hated** (`hated_score`, blending price drawdown and headline negativity `news_neg`).
|
| 92 |
+
- **Bonuses:** Net open-market Form 4 insider buying (up to +12 pts) and 3-year share count reduction via buybacks (+4 pts).
|
| 93 |
- **Penalties:** Share dilution, negative free cash flow, accrual divergence (net income significantly exceeding operating cash flow or operating income), one-off profits following consecutive loss years, and high goodwill/M&A intensity.
|
| 94 |
- **AI 10-K Adjustment:** After reading the 10-K filing, the composite score is adjusted by the AI analyst's verdict (`CONTRARIAN BUY CANDIDATE`, `WATCH`, or `AVOID`) and conviction (`0–100`).
|
| 95 |
|
|
|
|
| 141 |
| `news_neg`, `hate_why` | `float`/`string` | Headline negativity score (`0.0` loved → `1.0` hated) and short explanation of market pessimism. |
|
| 142 |
| `first_seen`, `return_since_first` | `string`/`float` | Date the ticker first entered the shortlist and cumulative price return since `first_seen`. |
|
| 143 |
| `bonus`, `flags` | `list` / `string` | Score bonuses (e.g., insider buying, shrinking shares) and accounting/risk flags. |
|
| 144 |
+
| `price`, `mcap`, `ev` | `float` | Latest share price (USD), market capitalization (USD), and enterprise value (`Market Cap + Debt - Cash`, USD). |
|
| 145 |
+
| `dd_3y`, `ret_1y`, `high_3y`, `high_52w`, `low_52w`, `off_low` | `float` | Drawdown from 3-year high (`-0.75` = down 75%), 1-year return, 3-year/52-week highs & lows, and percentage above 52-week low. |
|
| 146 |
| `pe`, `ev_ebit`, `pb` | `float` | Price-to-Earnings, Enterprise Value-to-EBIT (capped at `0` when EV is negative), and Price-to-Book ratio. |
|
| 147 |
+
| `earnings_yield`, `ebit_ev`, `fcf_yield`, `book_yield` | `float` | Inverse valuation yields: `NI / MCap`, `EBIT / EV`, `FCF / MCap`, and `Equity / MCap`. |
|
| 148 |
+
| `ncav`, `netnet`, `net_cash`, `net_cash_pct` | `float` | Net Current Asset Value (`CA - Total Liabilities`), `NCAV / MCap`, Net Cash (`Cash - Debt`), and `Net Cash / MCap`. |
|
| 149 |
+
| `current_ratio`, `liab_eq`, `fcf`, `profit_years` | `float`/`int` | Current assets / current liabilities, total liabilities / equity, free cash flow (`CFO - CapEx`), and profitable years out of the last 3 FYs (`0–3`). |
|
| 150 |
| `share_chg_3y`, `rev_growth`, `buyback_yield`, `div_yield`, `goodwill_pct`, `acq_pct` | `float` | 3-year share count change, YoY revenue growth, buybacks/MCap, dividends/MCap, goodwill/assets, and acquisitions/assets. |
|
| 151 |
| `period`, `fy`, `assets`, `ca`, `cl`, `cash`, `equity`, `goodwill`, `debt`, `debt_known`, `liab` | `mixed` | Raw SEC XBRL balance-sheet values (USD) and reporting period (`CY2026Q3I`, etc.). |
|
| 152 |
| `shares`, `shares_old`, `shares_old_period` | `float`/`string` | Latest common shares outstanding and shares outstanding 3 years prior. |
|