bonsai44 commited on
Commit
cf5bcd6
·
verified ·
1 Parent(s): f5bf655

Initial CAPT paper data and analysis release

Browse files
.gitignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ __pycache__/
2
+ *.py[cod]
3
+ .venv/
4
+ reproduced_results/
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 hangcode44
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ pretty_name: CAPT Public-Trace Dataset and Landmark Analysis
4
+ language:
5
+ - en
6
+ tags:
7
+ - digital-platforms
8
+ - algorithmic-visibility
9
+ - amazon-bestsellers
10
+ - new-york-times
11
+ - longitudinal
12
+ - research
13
+ configs:
14
+ - config_name: amazon_daily_completed
15
+ data_files:
16
+ - split: train
17
+ path: data/amazon_daily_completed.csv
18
+ - config_name: nyt_weekly_completed
19
+ data_files:
20
+ - split: train
21
+ path: data/nyt_weekly_completed.csv
22
+ ---
23
+
24
+ # CAPT public-trace dataset and landmark analysis
25
+
26
+ This repository accompanies the submitted paper *Algorithmic Visibility as a
27
+ Platform-Mediated Outcome: Public Signals and Future Product Persistence in
28
+ Digital Marketplaces*.
29
+
30
+ The release contains public Amazon Australia bestseller-surface observations,
31
+ public New York Times bestseller-list records, the completed longitudinal
32
+ panels used for the paper's sensitivity analysis, reproducible landmark-model
33
+ code, and the corresponding derived results.
34
+
35
+ ## Repository contents
36
+
37
+ | Path | Description |
38
+ |---|---|
39
+ | `data/amazon_daily_completed.csv` | Amazon daily panel, 14 April–18 May 2026 |
40
+ | `data/nyt_weekly_completed.csv` | NYT weekly panel, list dates 19 April–24 May 2026 |
41
+ | `analysis/capt_analyze_jmis_landmark.py` | Landmark cohort construction and logistic models |
42
+ | `analysis/capt_plot_nyt_amazon_comparison.py` | Title/author normalization and matching functions |
43
+ | `analysis/capt_validation_schema.py` | Shared filesystem helper |
44
+ | `results/jmis_landmark_book_level.csv` | Derived ASIN-level analytic table |
45
+ | `results/jmis_landmark_nested_models.csv` | Nested-model performance |
46
+ | `results/jmis_landmark_summary.json` | Model estimates and validation metrics |
47
+
48
+ ## Panel completion and provenance
49
+
50
+ The Amazon file has one row per captured category placement. Scheduled dates
51
+ without a capture were completed using the closest preceding observed snapshot
52
+ (last observation carried forward); if no preceding snapshot existed, the next
53
+ observed snapshot would be used. The NYT file is complete at its weekly
54
+ `page_date` frequency and therefore contains no generated weekly rows.
55
+
56
+ Every row retains explicit provenance:
57
+
58
+ - `imputed`: `true` for a generated date and `false` for a direct observation.
59
+ - `imputation_source_date`: the observed date from which a generated row was
60
+ carried.
61
+ - `imputation_method`: `locf`, `nocb`, or `observed`.
62
+
63
+ The completed panel is appropriate for reproducing the paper's sensitivity
64
+ analysis. It should not be described as entirely directly observed.
65
+
66
+ ## Study design
67
+
68
+ Predictors use information dated no later than 30 April 2026. The prediction
69
+ landmark is 4 May 2026. Outcomes are product presence on the directly captured
70
+ Amazon snapshots of 11 May (7-day retention) and 18 May (14-day retention).
71
+ Continuous predictors are standardized within the analysis sample. Model
72
+ validation uses an 80/20 stratified holdout and five-fold stratified
73
+ cross-validation with seed `20260629`.
74
+
75
+ ## Reproduce the sensitivity analysis
76
+
77
+ From the repository root:
78
+
79
+ ```bash
80
+ python -m venv .venv
81
+ source .venv/bin/activate
82
+ python -m pip install -r requirements.txt
83
+
84
+ python analysis/capt_analyze_jmis_landmark.py \
85
+ --amazon data/amazon_daily_completed.csv \
86
+ --nyt data/nyt_weekly_completed.csv \
87
+ --output-dir reproduced_results
88
+ ```
89
+
90
+ The command writes the book-level table, nested-model table, and JSON model
91
+ summary to `reproduced_results/`.
92
+
93
+ ## Load with `datasets`
94
+
95
+ ```python
96
+ from datasets import load_dataset
97
+
98
+ amazon = load_dataset(
99
+ "YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY",
100
+ "amazon_daily_completed",
101
+ )
102
+ nyt = load_dataset(
103
+ "YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY",
104
+ "nyt_weekly_completed",
105
+ )
106
+ ```
107
+
108
+ ## Fields
109
+
110
+ The Amazon panel includes snapshot date, category node and label, page and rank,
111
+ title, author, ASIN, public product URL, visible rating average and count,
112
+ format, price, and provenance fields.
113
+
114
+ The NYT panel includes scrape date, list slug and title, list page date, rank,
115
+ weeks-on-list text, title, author, publisher, description, ISBN-13, public book
116
+ URL, and provenance fields.
117
+
118
+ ## Limitations and responsible use
119
+
120
+ These are bounded public ranking-surface observations, not unit sales,
121
+ conversions, advertising exposure, recommendation logs, or a complete sample of
122
+ either platform. Amazon ASINs identify product-format records rather than unique
123
+ works. Absence from a captured surface is not proof of absence from all platform
124
+ surfaces. Title/author matching may contain false positives or false negatives.
125
+ The analysis is observational and does not identify causal effects.
126
+
127
+ The CSVs include product titles, author names, identifiers, descriptions, and
128
+ URLs originating from third-party public pages. Before making the repository
129
+ public, the depositor is responsible for confirming that redistribution
130
+ complies with the relevant platform terms and publisher or institutional
131
+ requirements. The MIT license in `LICENSE` applies to the accompanying software,
132
+ not to third-party database rights or third-party content.
133
+
134
+ ## Citation
135
+
136
+ Replace the placeholders below with the final author and publication details
137
+ before publishing the dataset:
138
+
139
+ ```bibtex
140
+ @misc{capt_public_trace_2026,
141
+ author = {Hang Thanh Bui, Priya Muthukannan},
142
+ title = {Algorithmic Visibility as a Platform-Mediated Outcome: Public Signals and Future Product Persistence in Digital Marketplaces},
143
+ year = {2026},
144
+ publisher = {Hugging Face},
145
+ howpublished = {\url{https://huggingface.co/datasets/bonsai44/CAPT}},
146
+ note = {Data and code accompanying the submitted manuscript}
147
+ }
148
+ ```
UPLOAD_TO_HUGGING_FACE.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upload to Hugging Face
2
+
3
+ ## 1. Review before publishing
4
+
5
+ Open `README.md` and replace:
6
+
7
+ - `AUTHOR NAME`
8
+ - `YOUR_HF_USERNAME`
9
+ - `YOUR_DATASET_REPOSITORY`
10
+
11
+ Confirm that you have permission to redistribute the public-page fields in the
12
+ CSVs. If this has not yet been cleared, create the dataset as private first.
13
+
14
+ ## 2. Install and sign in
15
+
16
+ On macOS, install the current Hugging Face CLI using either:
17
+
18
+ ```bash
19
+ brew install hf
20
+ ```
21
+
22
+ or:
23
+
24
+ ```bash
25
+ python -m pip install -U huggingface_hub
26
+ ```
27
+
28
+ Then authenticate with a write-enabled Hugging Face user token:
29
+
30
+ ```bash
31
+ hf auth login
32
+ ```
33
+
34
+ Paste the token only into the secure CLI prompt. Do not put it in this folder,
35
+ the README, a script, or a Git commit.
36
+
37
+ ## 3. Create a private dataset repository
38
+
39
+ Choose a repository name and run:
40
+
41
+ ```bash
42
+ hf repos create YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY \
43
+ --repo-type dataset \
44
+ --private
45
+ ```
46
+
47
+ Starting private lets you inspect the rendered dataset card and data viewer
48
+ before publication.
49
+
50
+ ## 4. Upload this folder
51
+
52
+ Run this command from the parent project directory:
53
+
54
+ ```bash
55
+ hf upload YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY \
56
+ ./huggingface_release \
57
+ . \
58
+ --repo-type dataset \
59
+ --commit-message "Initial CAPT paper data and analysis release"
60
+ ```
61
+
62
+ The dataset will appear at:
63
+
64
+ ```text
65
+ https://huggingface.co/datasets/YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY
66
+ ```
67
+
68
+ ## 5. Inspect and publish
69
+
70
+ On the dataset page, verify:
71
+
72
+ - both dataset configurations open in the viewer;
73
+ - `README.md` renders as the dataset card;
74
+ - the file list contains only `data/`, `analysis/`, `results/`,
75
+ `requirements.txt`, `LICENSE`, `.gitignore`, and the upload guide;
76
+ - citation details and author names are correct;
77
+ - the repository contains no token or credentials.
78
+
79
+ When redistribution clearance and metadata are complete, make it public:
80
+
81
+ ```bash
82
+ hf repos settings YOUR_HF_USERNAME/YOUR_DATASET_REPOSITORY --private false
83
+ ```
84
+
85
+ Future updates can use the same `hf upload` command. Hugging Face creates a new
86
+ versioned commit rather than discarding the earlier repository history.
analysis/capt_analyze_jmis_landmark.py ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import argparse
4
+ import csv
5
+ import json
6
+ import math
7
+ from collections import defaultdict
8
+ from datetime import date
9
+ from pathlib import Path
10
+ from typing import Dict, List, Sequence, Tuple
11
+
12
+ import numpy as np
13
+ from scipy.optimize import minimize
14
+ from scipy.stats import norm
15
+ from sklearn.linear_model import LogisticRegression
16
+ from sklearn.metrics import roc_auc_score
17
+ from sklearn.model_selection import StratifiedKFold, train_test_split
18
+ from sklearn.pipeline import make_pipeline
19
+ from sklearn.preprocessing import StandardScaler
20
+
21
+ from capt_plot_nyt_amazon_comparison import load_nyt_series, match_score
22
+
23
+
24
+ CONTINUOUS_FEATURES = [
25
+ ("baseline_best_rank_strength", "Baseline best-rank strength"),
26
+ ("baseline_category_breadth", "Baseline category breadth"),
27
+ ("log_baseline_rating_count", "Log baseline rating count"),
28
+ ("log_baseline_rating_growth_rate", "Log baseline rating-growth rate"),
29
+ ("baseline_rating_average", "Baseline rating average"),
30
+ ]
31
+ BINARY_FEATURES = [("prior_nyt_overlap", "Prior NYT overlap")]
32
+ FEATURES = CONTINUOUS_FEATURES + BINARY_FEATURES
33
+
34
+
35
+ def read_rows(path: str | Path) -> List[Dict[str, str]]:
36
+ with Path(path).open("r", newline="", encoding="utf-8") as handle:
37
+ return list(csv.DictReader(handle))
38
+
39
+
40
+ def parse_float(value: str) -> float | None:
41
+ text = str(value or "").strip().replace(",", "")
42
+ if not text:
43
+ return None
44
+ try:
45
+ return float(text)
46
+ except ValueError:
47
+ return None
48
+
49
+
50
+ def day(value: str) -> date:
51
+ return date.fromisoformat(value)
52
+
53
+
54
+ def book_key(row: Dict[str, str]) -> str:
55
+ return str(row.get("asin", "")).strip() or str(row.get("product_url", "")).strip()
56
+
57
+
58
+ def best_daily_rows(rows: Sequence[Dict[str, str]]) -> List[Dict[str, str]]:
59
+ by_date: Dict[str, List[Dict[str, str]]] = defaultdict(list)
60
+ for row in rows:
61
+ by_date[row["snapshot_date"]].append(row)
62
+ output = []
63
+ for snapshot_date in sorted(by_date):
64
+ output.append(min(by_date[snapshot_date], key=lambda row: parse_float(row.get("rank", "")) or math.inf))
65
+ return output
66
+
67
+
68
+ def prior_nyt_flags(
69
+ books: Sequence[Dict[str, object]], nyt_path: str | Path, nyt_cutoff: date
70
+ ) -> Dict[str, int]:
71
+ eligible_rows = [row for row in read_rows(nyt_path) if day(row["page_date"]) <= nyt_cutoff]
72
+ temporary = Path("/tmp/capt_nyt_pre_landmark.csv")
73
+ with temporary.open("w", newline="", encoding="utf-8") as handle:
74
+ writer = csv.DictWriter(handle, fieldnames=list(eligible_rows[0].keys()))
75
+ writer.writeheader()
76
+ writer.writerows(eligible_rows)
77
+ series, _ = load_nyt_series([temporary])
78
+ flags: Dict[str, int] = {}
79
+ for book in books:
80
+ flags[str(book["asin"])] = int(
81
+ any(
82
+ match_score(series_item.title, series_item.author, str(book["title"]), str(book["author"])) >= 0.8
83
+ for series_item in series
84
+ )
85
+ )
86
+ return flags
87
+
88
+
89
+ def build_landmark_rows(
90
+ amazon_rows: Sequence[Dict[str, str]],
91
+ nyt_path: str | Path,
92
+ baseline_cutoff: date,
93
+ landmark_date: date,
94
+ outcome_7d_date: date,
95
+ outcome_14d_date: date,
96
+ ) -> List[Dict[str, object]]:
97
+ grouped: Dict[str, List[Dict[str, str]]] = defaultdict(list)
98
+ present_by_date: Dict[date, set[str]] = defaultdict(set)
99
+ for row in amazon_rows:
100
+ asin = book_key(row)
101
+ grouped[asin].append(row)
102
+ present_by_date[day(row["snapshot_date"])].add(asin)
103
+
104
+ books: List[Dict[str, object]] = []
105
+ for asin, rows in grouped.items():
106
+ baseline = [row for row in rows if day(row["snapshot_date"]) <= baseline_cutoff]
107
+ if not baseline:
108
+ continue
109
+ daily = best_daily_rows(baseline)
110
+ ranks = [parse_float(row.get("rank", "")) for row in daily]
111
+ ranks = [value for value in ranks if value is not None]
112
+ ratings = [
113
+ (day(row["snapshot_date"]), parse_float(row.get("rating_count", "")))
114
+ for row in daily
115
+ if parse_float(row.get("rating_count", "")) is not None
116
+ ]
117
+ averages = [parse_float(row.get("rating_average", "")) for row in daily]
118
+ averages = [value for value in averages if value is not None]
119
+ growth_rate = None
120
+ if len(ratings) >= 2:
121
+ elapsed = (ratings[-1][0] - ratings[0][0]).days
122
+ if elapsed > 0:
123
+ growth_rate = max((float(ratings[-1][1]) - float(ratings[0][1])) / elapsed, 0.0)
124
+ categories = {
125
+ str(row.get("category_node", "")).strip() or str(row.get("category_label", "")).strip()
126
+ for row in baseline
127
+ }
128
+ first = daily[0]
129
+ books.append(
130
+ {
131
+ "asin": asin,
132
+ "title": first.get("title", ""),
133
+ "author": first.get("author", ""),
134
+ "baseline_first_seen": daily[0]["snapshot_date"],
135
+ "baseline_last_seen": daily[-1]["snapshot_date"],
136
+ "baseline_observation_dates": len(daily),
137
+ "baseline_best_rank_strength": 101.0 - min(ranks),
138
+ "baseline_category_breadth": float(len(categories)),
139
+ "log_baseline_rating_count": math.log1p(float(ratings[0][1])) if ratings else None,
140
+ "log_baseline_rating_growth_rate": math.log1p(growth_rate) if growth_rate is not None else None,
141
+ "baseline_rating_average": float(averages[0]) if averages else None,
142
+ "retained_7d": int(asin in present_by_date[outcome_7d_date]),
143
+ "retained_14d": int(asin in present_by_date[outcome_14d_date]),
144
+ "baseline_cutoff": baseline_cutoff.isoformat(),
145
+ "landmark_date": landmark_date.isoformat(),
146
+ "outcome_7d_date": outcome_7d_date.isoformat(),
147
+ "outcome_14d_date": outcome_14d_date.isoformat(),
148
+ }
149
+ )
150
+
151
+ flags = prior_nyt_flags(books, nyt_path, landmark_date)
152
+ for book in books:
153
+ book["prior_nyt_overlap"] = flags[str(book["asin"])]
154
+ return books
155
+
156
+
157
+ def complete_rows(rows: Sequence[Dict[str, object]], features: Sequence[str]) -> List[Dict[str, object]]:
158
+ return [row for row in rows if all(isinstance(row.get(feature), (int, float)) for feature in features)]
159
+
160
+
161
+ def design_matrix(
162
+ rows: Sequence[Dict[str, object]], features: Sequence[str]
163
+ ) -> Tuple[np.ndarray, Dict[str, Tuple[float, float]]]:
164
+ continuous = {name for name, _ in CONTINUOUS_FEATURES}
165
+ stats: Dict[str, Tuple[float, float]] = {}
166
+ columns = []
167
+ for feature in features:
168
+ values = np.asarray([float(row[feature]) for row in rows])
169
+ if feature in continuous:
170
+ mean = float(values.mean())
171
+ sd = float(values.std(ddof=1)) or 1.0
172
+ values = (values - mean) / sd
173
+ stats[feature] = (mean, sd)
174
+ columns.append(values)
175
+ return np.column_stack([np.ones(len(rows))] + columns), stats
176
+
177
+
178
+ def fit_inference(x: np.ndarray, y: np.ndarray) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
179
+ def objective(beta: np.ndarray) -> float:
180
+ eta = x @ beta
181
+ return float(np.logaddexp(0.0, eta).sum() - y @ eta)
182
+
183
+ def gradient(beta: np.ndarray) -> np.ndarray:
184
+ eta = np.clip(x @ beta, -35, 35)
185
+ probabilities = 1.0 / (1.0 + np.exp(-eta))
186
+ return x.T @ (probabilities - y)
187
+
188
+ result = minimize(objective, np.zeros(x.shape[1]), jac=gradient, method="BFGS")
189
+ if not result.success and np.linalg.norm(result.jac) > 1e-4:
190
+ raise RuntimeError(f"Logistic model did not converge: {result.message}")
191
+ beta = result.x
192
+ probabilities = 1.0 / (1.0 + np.exp(-np.clip(x @ beta, -35, 35)))
193
+ weights = probabilities * (1.0 - probabilities)
194
+ covariance = np.linalg.pinv(x.T @ (x * weights[:, None]))
195
+ standard_errors = np.sqrt(np.diag(covariance))
196
+ p_values = 2.0 * norm.sf(np.abs(beta / standard_errors))
197
+ return beta, standard_errors, p_values
198
+
199
+
200
+ def validation_auc(x: np.ndarray, y: np.ndarray, seed: int = 20260629) -> Dict[str, object]:
201
+ raw_x = x[:, 1:]
202
+ train_x, test_x, train_y, test_y = train_test_split(
203
+ raw_x, y, test_size=0.2, stratify=y, random_state=seed
204
+ )
205
+ model = make_pipeline(StandardScaler(), LogisticRegression(max_iter=2000))
206
+ model.fit(train_x, train_y)
207
+ holdout_auc = roc_auc_score(test_y, model.predict_proba(test_x)[:, 1])
208
+ folds = StratifiedKFold(n_splits=5, shuffle=True, random_state=seed)
209
+ fold_auc = []
210
+ for train_index, test_index in folds.split(raw_x, y):
211
+ fold_model = make_pipeline(StandardScaler(), LogisticRegression(max_iter=2000))
212
+ fold_model.fit(raw_x[train_index], y[train_index])
213
+ fold_auc.append(roc_auc_score(y[test_index], fold_model.predict_proba(raw_x[test_index])[:, 1]))
214
+ return {
215
+ "holdout_auc": float(holdout_auc),
216
+ "five_fold_auc": [float(value) for value in fold_auc],
217
+ "five_fold_mean_auc": float(np.mean(fold_auc)),
218
+ "five_fold_sd_auc": float(np.std(fold_auc, ddof=1)),
219
+ }
220
+
221
+
222
+ def run_model(rows: Sequence[Dict[str, object]], outcome: str, features: Sequence[Tuple[str, str]]) -> Dict[str, object]:
223
+ names = [name for name, _ in features]
224
+ labels = dict(features)
225
+ completed = complete_rows(rows, names)
226
+ x, stats = design_matrix(completed, names)
227
+ y = np.asarray([int(row[outcome]) for row in completed])
228
+ beta, standard_errors, p_values = fit_inference(x, y)
229
+ probabilities = 1.0 / (1.0 + np.exp(-np.clip(x @ beta, -35, 35)))
230
+ coefficients = []
231
+ for index, feature in enumerate(["Intercept"] + names):
232
+ lower = beta[index] - 1.96 * standard_errors[index]
233
+ upper = beta[index] + 1.96 * standard_errors[index]
234
+ coefficients.append(
235
+ {
236
+ "feature": feature,
237
+ "label": "Intercept" if feature == "Intercept" else labels[feature],
238
+ "coefficient": float(beta[index]),
239
+ "standard_error": float(standard_errors[index]),
240
+ "odds_ratio": float(math.exp(beta[index])),
241
+ "ci_95_lower": float(math.exp(lower)),
242
+ "ci_95_upper": float(math.exp(upper)),
243
+ "p_value": float(p_values[index]),
244
+ }
245
+ )
246
+ return {
247
+ "outcome": outcome,
248
+ "n": len(completed),
249
+ "positive_n": int(y.sum()),
250
+ "positive_rate": float(y.mean()),
251
+ "in_sample_auc": float(roc_auc_score(y, probabilities)),
252
+ "standardization": stats,
253
+ "coefficients": coefficients,
254
+ "validation": validation_auc(x, y),
255
+ }
256
+
257
+
258
+ def write_csv(path: Path, rows: Sequence[Dict[str, object]]) -> None:
259
+ with path.open("w", newline="", encoding="utf-8") as handle:
260
+ writer = csv.DictWriter(handle, fieldnames=list(rows[0].keys()))
261
+ writer.writeheader()
262
+ writer.writerows(rows)
263
+
264
+
265
+ def parse_args() -> argparse.Namespace:
266
+ parser = argparse.ArgumentParser(description="Run leakage-resistant landmark models for the JMIS manuscript.")
267
+ parser.add_argument("--amazon", default="validation_data/amazon_public_history.csv")
268
+ parser.add_argument("--nyt", default="validation_data/nyt_public_weekly_history.csv")
269
+ parser.add_argument("--baseline-cutoff", default="2026-04-30")
270
+ parser.add_argument("--landmark-date", default="2026-05-04")
271
+ parser.add_argument("--outcome-7d-date", default="2026-05-11")
272
+ parser.add_argument("--outcome-14d-date", default="2026-05-18")
273
+ parser.add_argument("--output-dir", default="validation_results")
274
+ return parser.parse_args()
275
+
276
+
277
+ def main() -> int:
278
+ args = parse_args()
279
+ output_dir = Path(args.output_dir)
280
+ output_dir.mkdir(parents=True, exist_ok=True)
281
+ rows = build_landmark_rows(
282
+ read_rows(args.amazon),
283
+ args.nyt,
284
+ day(args.baseline_cutoff),
285
+ day(args.landmark_date),
286
+ day(args.outcome_7d_date),
287
+ day(args.outcome_14d_date),
288
+ )
289
+ feature_names = [name for name, _ in FEATURES]
290
+ common_rows = complete_rows(rows, feature_names)
291
+ models = [run_model(common_rows, outcome, FEATURES) for outcome in ("retained_7d", "retained_14d")]
292
+ nested_specs = [
293
+ ("rank_only", FEATURES[:1]),
294
+ ("platform_visibility", FEATURES[:2]),
295
+ ("platform_plus_signals", FEATURES[:5]),
296
+ ("full", FEATURES),
297
+ ]
298
+ nested = []
299
+ for outcome in ("retained_7d", "retained_14d"):
300
+ for specification, features in nested_specs:
301
+ result = run_model(common_rows, outcome, features)
302
+ nested.append(
303
+ {
304
+ "specification": specification,
305
+ "outcome": outcome,
306
+ "n": result["n"],
307
+ "positive_n": result["positive_n"],
308
+ "in_sample_auc": result["in_sample_auc"],
309
+ "holdout_auc": result["validation"]["holdout_auc"],
310
+ "five_fold_mean_auc": result["validation"]["five_fold_mean_auc"],
311
+ }
312
+ )
313
+ payload = {
314
+ "design": {
315
+ "baseline_cutoff": args.baseline_cutoff,
316
+ "landmark_date": args.landmark_date,
317
+ "outcome_7d_date": args.outcome_7d_date,
318
+ "outcome_14d_date": args.outcome_14d_date,
319
+ "cohort_n": len(rows),
320
+ "complete_case_n": len(common_rows),
321
+ "prior_nyt_matches_complete_cases": sum(int(row["prior_nyt_overlap"]) for row in common_rows),
322
+ },
323
+ "models": models,
324
+ "nested_models": nested,
325
+ }
326
+ write_csv(output_dir / "jmis_landmark_book_level.csv", rows)
327
+ write_csv(output_dir / "jmis_landmark_nested_models.csv", nested)
328
+ (output_dir / "jmis_landmark_summary.json").write_text(json.dumps(payload, indent=2), encoding="utf-8")
329
+ print(json.dumps(payload, indent=2))
330
+ return 0
331
+
332
+
333
+ if __name__ == "__main__":
334
+ raise SystemExit(main())
analysis/capt_plot_nyt_amazon_comparison.py ADDED
@@ -0,0 +1,731 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import argparse
4
+ import csv
5
+ import html
6
+ import re
7
+ from dataclasses import dataclass
8
+ from pathlib import Path
9
+ from typing import Dict, List, Optional, Sequence, Set, Tuple
10
+
11
+ from capt_validation_schema import ensure_directory
12
+
13
+
14
+ NOT_ON_LIST_RANK = 16
15
+ CHART_WIDTH = 1120
16
+ CHART_HEIGHT = 420
17
+ CHART_LEFT = 68
18
+ CHART_TOP = 28
19
+ CHART_RIGHT = 24
20
+ CHART_BOTTOM = 68
21
+ RANK_MAX = 15
22
+ LINE_COLORS = [
23
+ "#163a5f",
24
+ "#9d2c00",
25
+ "#46734b",
26
+ "#6b4f9f",
27
+ "#b26a00",
28
+ "#3d6f8e",
29
+ "#8d3d57",
30
+ "#557a95",
31
+ "#6a7f3a",
32
+ "#9a5d56",
33
+ ]
34
+ SVG_STYLE_BLOCK = """
35
+ <style>
36
+ .chart-bg { fill: #fffdfa; }
37
+ .grid { stroke: #d9d3c9; stroke-width: 1; stroke-dasharray: 3 5; }
38
+ .date-grid { stroke: #ebe5da; stroke-width: 1; }
39
+ .axis-line { stroke: #98918a; stroke-width: 1.2; }
40
+ .axis-label { fill: #615a52; font-size: 12px; font-family: system-ui, sans-serif; }
41
+ .date-label { text-anchor: middle; }
42
+ .rank-label { text-anchor: end; }
43
+ .axis-title { fill: #36312d; font-size: 15px; font-family: system-ui, sans-serif; }
44
+ .band-label { fill: #f3eee7; font-size: 16px; font-family: system-ui, sans-serif; font-weight: 600; text-anchor: middle; }
45
+ .not-on-list-band { fill: #6b6865; opacity: 0.96; }
46
+ .series-line { fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.95; }
47
+ </style>
48
+ """
49
+
50
+
51
+ @dataclass
52
+ class AmazonCandidate:
53
+ title: str
54
+ author: str
55
+
56
+
57
+ @dataclass
58
+ class NytSeries:
59
+ title: str
60
+ author: str
61
+ list_slug: str
62
+ list_title: str
63
+ ranks_by_date: Dict[str, int]
64
+ page_dates: Set[str]
65
+ best_rank: int
66
+ amazon_title: str = ""
67
+ amazon_match_score: float = 0.0
68
+
69
+ @property
70
+ def observed_weeks(self) -> int:
71
+ return len(self.page_dates)
72
+
73
+ @property
74
+ def label(self) -> str:
75
+ return f"{self.title} ({self.list_title})"
76
+
77
+
78
+ def read_rows(path: str | Path) -> List[Dict[str, str]]:
79
+ with Path(path).open("r", newline="", encoding="utf-8") as handle:
80
+ return list(csv.DictReader(handle))
81
+
82
+
83
+ def parse_int(value: str) -> Optional[int]:
84
+ text = str(value).strip().replace(",", "")
85
+ if not text:
86
+ return None
87
+ try:
88
+ return int(float(text))
89
+ except ValueError:
90
+ return None
91
+
92
+
93
+ def normalize_text(value: str) -> str:
94
+ text = str(value or "").lower().replace("&", " and ")
95
+ text = re.sub(r"\bby\b", " ", text)
96
+ text = re.sub(r"[^a-z0-9]+", " ", text)
97
+ return " ".join(text.split())
98
+
99
+
100
+ def title_variants(title: str) -> Set[str]:
101
+ normalized = normalize_text(title)
102
+ variants = {normalized}
103
+ for separator in (":", "(", "["):
104
+ head = title.split(separator, 1)[0]
105
+ normalized_head = normalize_text(head)
106
+ if len(normalized_head.split()) >= 2:
107
+ variants.add(normalized_head)
108
+ return {variant for variant in variants if variant}
109
+
110
+
111
+ def author_tokens(author: str) -> Set[str]:
112
+ normalized = normalize_text(author)
113
+ return {token for token in normalized.split() if len(token) >= 3 and token not in {"with", "and", "the"}}
114
+
115
+
116
+ def overlap_ratio(left: Set[str], right: Set[str]) -> float:
117
+ if not left or not right:
118
+ return 0.0
119
+ return len(left & right) / min(len(left), len(right))
120
+
121
+
122
+ def match_score(nyt_title: str, nyt_author: str, amazon_title: str, amazon_author: str) -> float:
123
+ nyt_variants = title_variants(nyt_title)
124
+ amazon_variants = title_variants(amazon_title)
125
+ if nyt_variants & amazon_variants:
126
+ return 1.0
127
+
128
+ nyt_full = max(nyt_variants, key=len, default="")
129
+ amazon_full = max(amazon_variants, key=len, default="")
130
+ if not nyt_full or not amazon_full:
131
+ return 0.0
132
+
133
+ sequence_ratio = similarity_ratio(nyt_full, amazon_full)
134
+ nyt_tokens = set(nyt_full.split())
135
+ amazon_tokens = set(amazon_full.split())
136
+ token_ratio = overlap_ratio(nyt_tokens, amazon_tokens)
137
+ author_overlap = bool(author_tokens(nyt_author) & author_tokens(amazon_author))
138
+
139
+ if nyt_full in amazon_full and len(nyt_tokens) >= 2:
140
+ return 0.94
141
+ if amazon_full in nyt_full and len(amazon_tokens) >= 2:
142
+ return 0.94
143
+ if token_ratio == 1.0 and sequence_ratio >= 0.7:
144
+ return 0.9
145
+ if author_overlap and sequence_ratio >= 0.72 and token_ratio >= 0.5:
146
+ return 0.84
147
+ if sequence_ratio >= 0.86 and token_ratio >= 0.6:
148
+ return 0.8
149
+ return 0.0
150
+
151
+
152
+ def similarity_ratio(left: str, right: str) -> float:
153
+ if not left or not right:
154
+ return 0.0
155
+ if left == right:
156
+ return 1.0
157
+ left_bigrams = {left[index:index + 2] for index in range(max(len(left) - 1, 1))}
158
+ right_bigrams = {right[index:index + 2] for index in range(max(len(right) - 1, 1))}
159
+ if not left_bigrams or not right_bigrams:
160
+ return 0.0
161
+ return (2 * len(left_bigrams & right_bigrams)) / (len(left_bigrams) + len(right_bigrams))
162
+
163
+
164
+ def load_nyt_series(paths: Sequence[str | Path]) -> Tuple[List[NytSeries], List[str]]:
165
+ dedupe_keys: Set[Tuple[str, str, str, str, str]] = set()
166
+ by_series: Dict[Tuple[str, str], NytSeries] = {}
167
+ all_dates: Set[str] = set()
168
+
169
+ for path in paths:
170
+ for row in read_rows(path):
171
+ page_date = str(row.get("page_date", "")).strip()
172
+ title = str(row.get("title", "")).strip()
173
+ list_slug = str(row.get("list_slug", "")).strip()
174
+ rank = parse_int(row.get("rank", ""))
175
+ if not page_date or not title or not list_slug or rank is None:
176
+ continue
177
+
178
+ dedupe_key = (
179
+ page_date,
180
+ list_slug,
181
+ str(row.get("isbn13", "")).strip(),
182
+ title,
183
+ str(rank),
184
+ )
185
+ if dedupe_key in dedupe_keys:
186
+ continue
187
+ dedupe_keys.add(dedupe_key)
188
+ all_dates.add(page_date)
189
+
190
+ series_key = (title, list_slug)
191
+ if series_key not in by_series:
192
+ by_series[series_key] = NytSeries(
193
+ title=title,
194
+ author=str(row.get("author", "")).strip(),
195
+ list_slug=list_slug,
196
+ list_title=str(row.get("list_title", list_slug)).strip() or list_slug,
197
+ ranks_by_date={},
198
+ page_dates=set(),
199
+ best_rank=rank,
200
+ )
201
+
202
+ series = by_series[series_key]
203
+ existing_rank = series.ranks_by_date.get(page_date)
204
+ if existing_rank is None or rank < existing_rank:
205
+ series.ranks_by_date[page_date] = rank
206
+ series.page_dates.add(page_date)
207
+ series.best_rank = min(series.best_rank, rank)
208
+
209
+ sorted_dates = sorted(all_dates)
210
+ sorted_series = sorted(by_series.values(), key=lambda item: (-item.observed_weeks, item.best_rank, item.title, item.list_slug))
211
+ return sorted_series, sorted_dates
212
+
213
+
214
+ def load_amazon_candidates(path: str | Path) -> List[AmazonCandidate]:
215
+ deduped: Dict[Tuple[str, str], AmazonCandidate] = {}
216
+ for row in read_rows(path):
217
+ title = str(row.get("title", "")).strip()
218
+ author = str(row.get("author", "")).strip()
219
+ if not title:
220
+ continue
221
+ key = (normalize_text(title), normalize_text(author))
222
+ deduped[key] = AmazonCandidate(title=title, author=author)
223
+ return list(deduped.values())
224
+
225
+
226
+ def classify_series(series_list: Sequence[NytSeries], amazon_candidates: Sequence[AmazonCandidate]) -> Tuple[List[NytSeries], List[NytSeries]]:
227
+ matched: List[NytSeries] = []
228
+ unmatched: List[NytSeries] = []
229
+ for series in series_list:
230
+ best_score = 0.0
231
+ best_candidate: Optional[AmazonCandidate] = None
232
+ for candidate in amazon_candidates:
233
+ score = match_score(series.title, series.author, candidate.title, candidate.author)
234
+ if score > best_score:
235
+ best_score = score
236
+ best_candidate = candidate
237
+ if best_candidate and best_score >= 0.8:
238
+ series.amazon_title = best_candidate.title
239
+ series.amazon_match_score = best_score
240
+ matched.append(series)
241
+ else:
242
+ unmatched.append(series)
243
+ return matched, unmatched
244
+
245
+
246
+ def series_values(series: NytSeries, page_dates: Sequence[str]) -> List[int]:
247
+ return [series.ranks_by_date.get(page_date, NOT_ON_LIST_RANK) for page_date in page_dates]
248
+
249
+
250
+ def rank_to_y(rank_value: int) -> float:
251
+ inner_height = CHART_HEIGHT - CHART_TOP - CHART_BOTTOM
252
+ y_min = CHART_TOP
253
+ y_max = CHART_HEIGHT - CHART_BOTTOM
254
+ return y_min + ((rank_value - 1) / (NOT_ON_LIST_RANK - 1)) * inner_height
255
+
256
+
257
+ def step_path(values: Sequence[int]) -> str:
258
+ if not values:
259
+ return ""
260
+ inner_width = CHART_WIDTH - CHART_LEFT - CHART_RIGHT
261
+ x_step = inner_width / max(len(values) - 1, 1)
262
+ commands: List[str] = []
263
+ last_x = CHART_LEFT
264
+ last_y = rank_to_y(values[0])
265
+ commands.append(f"M {last_x:.1f} {last_y:.1f}")
266
+ for index, value in enumerate(values[1:], start=1):
267
+ x_value = CHART_LEFT + (index * x_step)
268
+ current_y = rank_to_y(value)
269
+ commands.append(f"L {x_value:.1f} {last_y:.1f}")
270
+ commands.append(f"L {x_value:.1f} {current_y:.1f}")
271
+ last_x = x_value
272
+ last_y = current_y
273
+ return " ".join(commands)
274
+
275
+
276
+ def build_chart_svg(series_list: Sequence[NytSeries], page_dates: Sequence[str]) -> str:
277
+ chart_bottom_y = CHART_HEIGHT - CHART_BOTTOM
278
+ band_top = rank_to_y(RANK_MAX + 0.2)
279
+ grid_lines = []
280
+ for rank in range(1, RANK_MAX + 1):
281
+ y_value = rank_to_y(rank)
282
+ grid_lines.append(
283
+ f'<line x1="{CHART_LEFT}" y1="{y_value:.1f}" x2="{CHART_WIDTH - CHART_RIGHT}" y2="{y_value:.1f}" class="grid" />'
284
+ f'<text x="{CHART_LEFT - 12}" y="{y_value + 4:.1f}" class="axis-label rank-label">{rank}</text>'
285
+ )
286
+
287
+ inner_width = CHART_WIDTH - CHART_LEFT - CHART_RIGHT
288
+ x_step = inner_width / max(len(page_dates) - 1, 1)
289
+ date_labels = []
290
+ for index, page_date in enumerate(page_dates):
291
+ x_value = CHART_LEFT + (index * x_step)
292
+ date_labels.append(f'<line x1="{x_value:.1f}" y1="{CHART_TOP}" x2="{x_value:.1f}" y2="{chart_bottom_y}" class="date-grid" />')
293
+ date_labels.append(f'<text x="{x_value:.1f}" y="{CHART_HEIGHT - 20}" class="axis-label date-label">{html.escape(page_date)}</text>')
294
+
295
+ paths = []
296
+ for index, series in enumerate(series_list):
297
+ values = series_values(series, page_dates)
298
+ final_x = CHART_LEFT + ((len(page_dates) - 1) * x_step if page_dates else 0)
299
+ final_y = rank_to_y(values[-1]) if values else rank_to_y(NOT_ON_LIST_RANK)
300
+ color = LINE_COLORS[index % len(LINE_COLORS)]
301
+ paths.append(
302
+ f'<path d="{step_path(values)}" class="series-line" style="stroke:{color}" />'
303
+ f'<circle cx="{final_x:.1f}" cy="{final_y:.1f}" r="4" style="fill:{color}" />'
304
+ )
305
+
306
+ return f'''
307
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {CHART_WIDTH} {CHART_HEIGHT}" class="trajectory-chart" role="img" aria-label="NYT rank trajectory chart">
308
+ {SVG_STYLE_BLOCK}
309
+ <rect x="0" y="0" width="{CHART_WIDTH}" height="{CHART_HEIGHT}" class="chart-bg" />
310
+ <rect x="{CHART_LEFT}" y="{band_top:.1f}" width="{CHART_WIDTH - CHART_LEFT - CHART_RIGHT}" height="{chart_bottom_y - band_top:.1f}" class="not-on-list-band" />
311
+ {''.join(grid_lines)}
312
+ {''.join(date_labels)}
313
+ <line x1="{CHART_LEFT}" y1="{chart_bottom_y}" x2="{CHART_WIDTH - CHART_RIGHT}" y2="{chart_bottom_y}" class="axis-line" />
314
+ <text x="20" y="{(CHART_TOP + chart_bottom_y) / 2:.1f}" class="axis-title axis-title-y" transform="rotate(-90, 20, {(CHART_TOP + chart_bottom_y) / 2:.1f})">Position on NYT list</text>
315
+ <text x="{CHART_WIDTH / 2:.1f}" y="{band_top + 28:.1f}" class="band-label">Not on list</text>
316
+ {''.join(paths)}
317
+ </svg>
318
+ '''
319
+
320
+
321
+ def render_series_table(series_list: Sequence[NytSeries], show_amazon_column: bool) -> str:
322
+ header_cells = ["Book", "NYT list", "Observed weeks", "Best rank"]
323
+ if show_amazon_column:
324
+ header_cells.extend(["Matched Amazon title", "Match score"])
325
+
326
+ rows = []
327
+ for series in series_list:
328
+ cells = [
329
+ html.escape(series.title),
330
+ html.escape(series.list_title),
331
+ str(series.observed_weeks),
332
+ str(series.best_rank),
333
+ ]
334
+ if show_amazon_column:
335
+ cells.extend([
336
+ html.escape(series.amazon_title or "Not observed"),
337
+ f"{series.amazon_match_score:.2f}" if series.amazon_match_score else "",
338
+ ])
339
+ rows.append("<tr>" + "".join(f"<td>{cell}</td>" for cell in cells) + "</tr>")
340
+
341
+ return (
342
+ "<table><thead><tr>"
343
+ + "".join(f"<th>{html.escape(cell)}</th>" for cell in header_cells)
344
+ + "</tr></thead><tbody>"
345
+ + "".join(rows)
346
+ + "</tbody></table>"
347
+ )
348
+
349
+
350
+ def render_section(title: str, description: str, series_list: Sequence[NytSeries], page_dates: Sequence[str], show_amazon_column: bool) -> str:
351
+ if not series_list:
352
+ return f"<section class=\"panel\"><h2>{html.escape(title)}</h2><p>{html.escape(description)}</p><p>No series available with the current inputs.</p></section>"
353
+ return f'''
354
+ <section class="panel">
355
+ <div class="panel-header">
356
+ <div>
357
+ <h2>{html.escape(title)}</h2>
358
+ <p>{html.escape(description)}</p>
359
+ </div>
360
+ <div class="panel-metric">
361
+ <span class="metric-value">{len(series_list)}</span>
362
+ <span class="metric-label">charted titles</span>
363
+ </div>
364
+ </div>
365
+ {build_chart_svg(series_list, page_dates)}
366
+ {render_series_table(series_list, show_amazon_column=show_amazon_column)}
367
+ </section>
368
+ '''
369
+
370
+
371
+ def render_book_card(series: NytSeries, page_dates: Sequence[str], card_title: str, include_amazon_note: bool) -> str:
372
+ values = series_values(series, page_dates)
373
+ visible_dates = [page_date for page_date in page_dates if page_date in series.ranks_by_date]
374
+ summary_bits = [
375
+ f"Observed weeks: {series.observed_weeks}",
376
+ f"Best NYT rank: {series.best_rank}",
377
+ f"List: {series.list_title}",
378
+ ]
379
+ if include_amazon_note and series.amazon_title:
380
+ summary_bits.append(f"Amazon match: {series.amazon_title}")
381
+
382
+ return f'''
383
+ <article class="book-card">
384
+ <div class="book-card-header">
385
+ <h3>{html.escape(card_title)}</h3>
386
+ <p>{html.escape(' | '.join(summary_bits))}</p>
387
+ </div>
388
+ {build_chart_svg([series], page_dates)}
389
+ <p class="book-card-dates">Observed NYT page dates: {html.escape(', '.join(visible_dates) if visible_dates else 'None')}</p>
390
+ <div class="book-card-rank-row">{''.join(f'<span class="rank-pill">{html.escape(page_date)}: {value if value < NOT_ON_LIST_RANK else "not on list"}</span>' for page_date, value in zip(page_dates, values))}</div>
391
+ </article>
392
+ '''
393
+
394
+
395
+ def render_book_card_section(title: str, description: str, series_list: Sequence[NytSeries], page_dates: Sequence[str], include_amazon_note: bool) -> str:
396
+ if not series_list:
397
+ return ""
398
+ cards = []
399
+ for series in series_list:
400
+ cards.append(
401
+ render_book_card(
402
+ series,
403
+ page_dates,
404
+ card_title=f"How {series.title} ranked over time",
405
+ include_amazon_note=include_amazon_note,
406
+ )
407
+ )
408
+ return f'''
409
+ <section class="panel panel-cards">
410
+ <div class="panel-header">
411
+ <div>
412
+ <h2>{html.escape(title)}</h2>
413
+ <p>{html.escape(description)}</p>
414
+ </div>
415
+ </div>
416
+ <div class="book-card-list">
417
+ {''.join(cards)}
418
+ </div>
419
+ </section>
420
+ '''
421
+
422
+
423
+ def build_html(
424
+ matched: Sequence[NytSeries],
425
+ unmatched: Sequence[NytSeries],
426
+ page_dates: Sequence[str],
427
+ top_matched: int,
428
+ top_unmatched: int,
429
+ include_matched: bool = True,
430
+ include_unmatched: bool = True,
431
+ include_book_cards: bool = True,
432
+ page_title: str = "NYT vs Amazon Comparison Charts",
433
+ lead_text: str = "",
434
+ ) -> str:
435
+ matched_series = list(matched)[:top_matched] if include_matched else []
436
+ unmatched_series = list(unmatched)[:top_unmatched] if include_unmatched else []
437
+ lead = lead_text or (
438
+ "These comparison charts use the NYT public archive and weekly snapshots you already collected, then split the trajectories into two groups: books also observed in the tracked Amazon bestseller categories and books not observed there. A missing NYT week is shown in the gray band at the bottom as ‘Not on list,’ matching the visual logic of the reference chart."
439
+ )
440
+ return f'''<!doctype html>
441
+ <html lang="en">
442
+ <head>
443
+ <meta charset="utf-8">
444
+ <title>{html.escape(page_title)}</title>
445
+ <style>
446
+ :root {{
447
+ --paper: #f6f0e6;
448
+ --panel: #fffdf9;
449
+ --ink: #171717;
450
+ --muted: #645f58;
451
+ --line: #d7d0c4;
452
+ --grid: #d9d3c9;
453
+ --band: #6b6865;
454
+ --band-text: #f3eee7;
455
+ --shadow: rgba(34, 28, 19, 0.08);
456
+ }}
457
+ * {{ box-sizing: border-box; }}
458
+ body {{ margin: 0; font-family: Georgia, "Times New Roman", serif; background: radial-gradient(circle at top, #fcfaf5 0%, var(--paper) 62%, #ece4d7 100%); color: var(--ink); }}
459
+ main {{ max-width: 1240px; margin: 0 auto; padding: 32px 24px 48px; }}
460
+ h1 {{ font-size: 48px; line-height: 0.95; margin: 0 0 10px; letter-spacing: -0.04em; }}
461
+ .lead {{ max-width: 860px; color: var(--muted); font-size: 17px; line-height: 1.55; margin-bottom: 24px; }}
462
+ .panel {{ background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin-bottom: 22px; box-shadow: 0 18px 45px var(--shadow); }}
463
+ .panel-header {{ display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 14px; }}
464
+ h2 {{ margin: 0 0 6px; font-size: 26px; line-height: 1.05; }}
465
+ p {{ margin: 0; color: var(--muted); line-height: 1.5; }}
466
+ .panel-metric {{ min-width: 120px; padding: 12px 14px; border-radius: 16px; background: #f0eadf; text-align: center; }}
467
+ .metric-value {{ display: block; font-size: 28px; font-weight: bold; color: #163a5f; }}
468
+ .metric-label {{ display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }}
469
+ .trajectory-chart {{ width: 100%; height: auto; display: block; border-radius: 16px; overflow: hidden; margin: 8px 0 18px; }}
470
+ .chart-bg {{ fill: #fffdfa; }}
471
+ .grid {{ stroke: var(--grid); stroke-width: 1; stroke-dasharray: 3 5; }}
472
+ .date-grid {{ stroke: #ebe5da; stroke-width: 1; }}
473
+ .axis-line {{ stroke: #98918a; stroke-width: 1.2; }}
474
+ .axis-label {{ fill: #615a52; font-size: 12px; font-family: system-ui, sans-serif; }}
475
+ .date-label {{ text-anchor: middle; }}
476
+ .rank-label {{ text-anchor: end; }}
477
+ .axis-title {{ fill: #36312d; font-size: 15px; font-family: system-ui, sans-serif; }}
478
+ .band-label {{ fill: var(--band-text); font-size: 16px; font-family: system-ui, sans-serif; font-weight: 600; text-anchor: middle; }}
479
+ .not-on-list-band {{ fill: var(--band); opacity: 0.96; }}
480
+ .series-line {{ fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.95; }}
481
+ table {{ width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: 14px; }}
482
+ th, td {{ text-align: left; padding: 10px 12px; border-top: 1px solid #ece5d9; vertical-align: top; }}
483
+ th {{ font-size: 12px; color: #6f675f; text-transform: uppercase; letter-spacing: 0.05em; }}
484
+ .panel-cards {{ padding-top: 18px; }}
485
+ .book-card-list {{ display: grid; grid-template-columns: 1fr; gap: 18px; }}
486
+ .book-card {{ background: #fcfaf4; border: 1px solid #e5ddcf; border-radius: 18px; padding: 18px; }}
487
+ .book-card-header h3 {{ margin: 0 0 6px; font-size: 24px; line-height: 1.02; letter-spacing: -0.03em; }}
488
+ .book-card-header p {{ margin-bottom: 10px; }}
489
+ .book-card-dates {{ font-family: system-ui, sans-serif; font-size: 13px; color: #6b645d; margin-top: -4px; }}
490
+ .book-card-rank-row {{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }}
491
+ .rank-pill {{ font-family: system-ui, sans-serif; font-size: 12px; color: #48423c; background: #efe7db; border-radius: 999px; padding: 6px 10px; }}
492
+ @media (max-width: 920px) {{
493
+ h1 {{ font-size: 36px; }}
494
+ .panel-header {{ flex-direction: column; align-items: start; }}
495
+ main {{ padding: 22px 14px 36px; }}
496
+ }}
497
+ </style>
498
+ </head>
499
+ <body>
500
+ <main>
501
+ <h1>{html.escape(page_title)}</h1>
502
+ <p class="lead">{html.escape(lead)}</p>
503
+ {render_section(
504
+ title="NYT books also observed in tracked Amazon categories",
505
+ description="Matched conservatively by normalized title, subtitle trimming, and author-aware fuzzy checks. These are the clearest cross-surface overlaps in the current tracked categories.",
506
+ series_list=matched_series,
507
+ page_dates=page_dates,
508
+ show_amazon_column=True,
509
+ ) if include_matched else ''}
510
+ {render_section(
511
+ title="NYT books not observed in tracked Amazon categories",
512
+ description="These books appeared in the NYT inputs but were not found in the Amazon public history you are currently tracking. This is category-limited absence, not global Amazon absence.",
513
+ series_list=unmatched_series,
514
+ page_dates=page_dates,
515
+ show_amazon_column=False,
516
+ ) if include_unmatched else ''}
517
+ {render_book_card_section(
518
+ title="Standalone per-book charts for NYT books also observed on Amazon",
519
+ description="Each card isolates one title so you can inspect the exact weekly NYT trajectory without line overlap.",
520
+ series_list=matched_series,
521
+ page_dates=page_dates,
522
+ include_amazon_note=True,
523
+ ) if include_book_cards and include_matched else ''}
524
+ {render_book_card_section(
525
+ title="Standalone per-book charts for NYT books not observed in tracked Amazon categories",
526
+ description="These cards show the same NYT trajectories for the unmatched group, one book at a time.",
527
+ series_list=unmatched_series,
528
+ page_dates=page_dates,
529
+ include_amazon_note=False,
530
+ ) if include_book_cards and include_unmatched else ''}
531
+ </main>
532
+ </body>
533
+ </html>
534
+ '''
535
+
536
+
537
+ def sibling_output_path(output_path: Path, suffix: str) -> Path:
538
+ return output_path.with_name(f"{output_path.stem}_{suffix}{output_path.suffix}")
539
+
540
+
541
+ def sibling_output_dir(output_path: Path, suffix: str) -> Path:
542
+ return output_path.with_name(f"{output_path.stem}_{suffix}")
543
+
544
+
545
+ def write_html(path: Path, content: str) -> Path:
546
+ ensure_directory(path.parent)
547
+ path.write_text(content, encoding="utf-8")
548
+ return path
549
+
550
+
551
+ def write_text(path: Path, content: str) -> Path:
552
+ ensure_directory(path.parent)
553
+ path.write_text(content, encoding="utf-8")
554
+ return path
555
+
556
+
557
+ def slugify(value: str) -> str:
558
+ slug = normalize_text(value).replace(" ", "_")
559
+ return slug[:80] or "untitled"
560
+
561
+
562
+ def choose_paper_series(series_list: Sequence[NytSeries], explicit_titles: Sequence[str], count: int) -> List[NytSeries]:
563
+ if explicit_titles:
564
+ desired = {normalize_text(title) for title in explicit_titles}
565
+ selected = [series for series in series_list if normalize_text(series.title) in desired]
566
+ return selected[:count] if count > 0 else selected
567
+ return list(series_list)[:count]
568
+
569
+
570
+ def export_svg_figures(
571
+ figure_dir: Path,
572
+ matched_series: Sequence[NytSeries],
573
+ unmatched_series: Sequence[NytSeries],
574
+ page_dates: Sequence[str],
575
+ ) -> List[Path]:
576
+ svg_paths: List[Path] = []
577
+ panels_dir = figure_dir / "panels"
578
+ matched_books_dir = figure_dir / "matched_books"
579
+ unmatched_books_dir = figure_dir / "unmatched_books"
580
+
581
+ panel_specs = [
582
+ (panels_dir / "matched_panel.svg", matched_series),
583
+ (panels_dir / "unmatched_panel.svg", unmatched_series),
584
+ ]
585
+ for path, series_list in panel_specs:
586
+ if not series_list:
587
+ continue
588
+ svg_paths.append(write_text(path, build_chart_svg(series_list, page_dates)))
589
+
590
+ for index, series in enumerate(matched_series, start=1):
591
+ path = matched_books_dir / f"{index:02d}_{slugify(series.title)}.svg"
592
+ svg_paths.append(write_text(path, build_chart_svg([series], page_dates)))
593
+
594
+ for index, series in enumerate(unmatched_series, start=1):
595
+ path = unmatched_books_dir / f"{index:02d}_{slugify(series.title)}.svg"
596
+ svg_paths.append(write_text(path, build_chart_svg([series], page_dates)))
597
+
598
+ return svg_paths
599
+
600
+
601
+ def export_paper_ready_figures(
602
+ figure_dir: Path,
603
+ paper_series: Sequence[NytSeries],
604
+ page_dates: Sequence[str],
605
+ ) -> List[Path]:
606
+ svg_paths: List[Path] = []
607
+ panels_dir = figure_dir / "panels"
608
+ matched_books_dir = figure_dir / "matched_books"
609
+ if paper_series:
610
+ svg_paths.append(write_text(panels_dir / "paper_matched_panel.svg", build_chart_svg(paper_series, page_dates)))
611
+ for index, series in enumerate(paper_series, start=1):
612
+ path = matched_books_dir / f"{index:02d}_{slugify(series.title)}.svg"
613
+ svg_paths.append(write_text(path, build_chart_svg([series], page_dates)))
614
+ return svg_paths
615
+
616
+
617
+ def export_png_figures(svg_paths: Sequence[Path]) -> List[Path]:
618
+ from playwright.sync_api import sync_playwright
619
+
620
+ png_paths: List[Path] = []
621
+ with sync_playwright() as playwright:
622
+ browser = playwright.chromium.launch()
623
+ page = browser.new_page(viewport={"width": CHART_WIDTH + 32, "height": CHART_HEIGHT + 32}, device_scale_factor=2)
624
+ for svg_path in svg_paths:
625
+ page.goto(svg_path.resolve().as_uri())
626
+ page.locator("svg").first.screenshot(path=str(svg_path.with_suffix(".png")))
627
+ png_paths.append(svg_path.with_suffix(".png"))
628
+ browser.close()
629
+ return png_paths
630
+
631
+
632
+ def parse_args() -> argparse.Namespace:
633
+ parser = argparse.ArgumentParser(description="Render NYT-style comparison charts for NYT titles with and without Amazon-category overlap.")
634
+ parser.add_argument(
635
+ "--nyt-inputs",
636
+ nargs="+",
637
+ default=[
638
+ "validation_data/nyt_public_hardcover_nonfiction_archive_2026Q2.csv",
639
+ "validation_data/nyt_public_weekly_history.csv",
640
+ ],
641
+ help="NYT public history CSV inputs.",
642
+ )
643
+ parser.add_argument("--amazon-input", default="validation_data/amazon_public_history.csv", help="Amazon public history CSV input.")
644
+ parser.add_argument("--output", default="validation_results/nyt_amazon_comparison_charts.html", help="Output HTML path.")
645
+ parser.add_argument("--matched-output", default="", help="Optional matched-only HTML path. Defaults beside --output.")
646
+ parser.add_argument("--unmatched-output", default="", help="Optional unmatched-only HTML path. Defaults beside --output.")
647
+ parser.add_argument("--figures-dir", default="", help="Optional directory for standalone SVG and PNG chart exports. Defaults beside --output.")
648
+ parser.add_argument("--paper-html-output", default="", help="Optional paper-ready matched-subset HTML path. Defaults beside --output.")
649
+ parser.add_argument("--paper-figures-dir", default="", help="Optional paper-ready SVG and PNG figure directory. Defaults beside --output.")
650
+ parser.add_argument("--paper-top-matched", type=int, default=6, help="Number of matched titles to include in the paper-ready subset export.")
651
+ parser.add_argument("--paper-titles", nargs="*", default=[], help="Optional explicit matched NYT titles to use for the paper-ready subset export.")
652
+ parser.add_argument("--top-matched", type=int, default=12, help="Number of matched NYT series to include.")
653
+ parser.add_argument("--top-unmatched", type=int, default=12, help="Number of unmatched NYT series to include.")
654
+ return parser.parse_args()
655
+
656
+
657
+ def main() -> int:
658
+ args = parse_args()
659
+ nyt_series, page_dates = load_nyt_series(args.nyt_inputs)
660
+ amazon_candidates = load_amazon_candidates(args.amazon_input)
661
+ matched, unmatched = classify_series(nyt_series, amazon_candidates)
662
+
663
+ output_path = Path(args.output)
664
+ matched_output_path = Path(args.matched_output) if args.matched_output else sibling_output_path(output_path, "matched_only")
665
+ unmatched_output_path = Path(args.unmatched_output) if args.unmatched_output else sibling_output_path(output_path, "unmatched_only")
666
+ figures_dir = Path(args.figures_dir) if args.figures_dir else sibling_output_dir(output_path, "figures")
667
+ paper_html_output_path = Path(args.paper_html_output) if args.paper_html_output else sibling_output_path(output_path, "paper_ready")
668
+ paper_figures_dir = Path(args.paper_figures_dir) if args.paper_figures_dir else sibling_output_dir(output_path, "paper_ready_figures")
669
+
670
+ matched_series = list(matched)[: args.top_matched]
671
+ unmatched_series = list(unmatched)[: args.top_unmatched]
672
+ paper_series = choose_paper_series(matched_series, args.paper_titles, args.paper_top_matched)
673
+
674
+ content = build_html(
675
+ matched_series,
676
+ unmatched_series,
677
+ page_dates,
678
+ top_matched=args.top_matched,
679
+ top_unmatched=args.top_unmatched,
680
+ page_title="NYT Trajectories vs Amazon Presence",
681
+ )
682
+ matched_content = build_html(
683
+ matched_series,
684
+ unmatched_series,
685
+ page_dates,
686
+ top_matched=args.top_matched,
687
+ top_unmatched=args.top_unmatched,
688
+ include_unmatched=False,
689
+ page_title="NYT Titles Also Observed In Tracked Amazon Categories",
690
+ lead_text="This page isolates the NYT titles that also appear in the tracked Amazon bestseller categories, shown first as a multi-line comparison and then as standalone per-book charts.",
691
+ )
692
+ unmatched_content = build_html(
693
+ matched_series,
694
+ unmatched_series,
695
+ page_dates,
696
+ top_matched=args.top_matched,
697
+ top_unmatched=args.top_unmatched,
698
+ include_matched=False,
699
+ page_title="NYT Titles Not Observed In Tracked Amazon Categories",
700
+ lead_text="This page isolates NYT titles that were not observed in the currently tracked Amazon bestseller categories, shown as a multi-line comparison and standalone per-book charts.",
701
+ )
702
+ paper_content = build_html(
703
+ paper_series,
704
+ [],
705
+ page_dates,
706
+ top_matched=len(paper_series),
707
+ top_unmatched=0,
708
+ include_unmatched=False,
709
+ page_title="Paper-Ready Matched NYT Trajectories",
710
+ lead_text="This page narrows the export to a smaller matched subset intended for paper figures and faster review.",
711
+ )
712
+
713
+ write_html(output_path, content)
714
+ write_html(matched_output_path, matched_content)
715
+ write_html(unmatched_output_path, unmatched_content)
716
+ write_html(paper_html_output_path, paper_content)
717
+ svg_paths = export_svg_figures(figures_dir, matched_series, unmatched_series, page_dates)
718
+ png_paths = export_png_figures(svg_paths)
719
+ paper_svg_paths = export_paper_ready_figures(paper_figures_dir, paper_series, page_dates)
720
+ paper_png_paths = export_png_figures(paper_svg_paths)
721
+ print(
722
+ f"Wrote NYT/Amazon comparison charts to {output_path}, {matched_output_path}, and {unmatched_output_path} "
723
+ f"plus paper-ready HTML {paper_html_output_path}, {len(svg_paths)} SVG files and {len(png_paths)} PNG files in {figures_dir}, "
724
+ f"and {len(paper_svg_paths)} paper-ready SVG files and {len(paper_png_paths)} paper-ready PNG files in {paper_figures_dir} "
725
+ f"({len(matched)} matched series, {len(unmatched)} unmatched series, {len(page_dates)} page dates)"
726
+ )
727
+ return 0
728
+
729
+
730
+ if __name__ == "__main__":
731
+ raise SystemExit(main())
analysis/capt_validation_schema.py ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import csv
4
+ from dataclasses import asdict, dataclass, field
5
+ from pathlib import Path
6
+ from typing import Dict, List, Optional
7
+
8
+
9
+ BOOKS_MASTER_FIELDS = [
10
+ "book_id",
11
+ "asin",
12
+ "isbn13",
13
+ "title",
14
+ "author_name",
15
+ "publisher",
16
+ "publisher_tier",
17
+ "publication_date",
18
+ "format",
19
+ "list_price",
20
+ "genre_primary",
21
+ "genre_secondary",
22
+ "sample_group",
23
+ "author_central_present",
24
+ "author_central_links_count",
25
+ "youtube_link_present",
26
+ "goodreads_presence",
27
+ "social_presence_score",
28
+ "author_best_known_bsr",
29
+ "author_prior_top100_title_count",
30
+ "nyt_list_any",
31
+ "nyt_list_count",
32
+ ]
33
+
34
+
35
+ BOOK_OBSERVATION_FIELDS = [
36
+ "book_id",
37
+ "observation_date",
38
+ "source_url",
39
+ "days_since_publication",
40
+ "amazon_bsr_overall",
41
+ "amazon_bsr_primary_category",
42
+ "amazon_bsr_secondary_category",
43
+ "best_visible_category_bsr",
44
+ "primary_category_name",
45
+ "secondary_category_name",
46
+ "category_count",
47
+ "category_top10_count",
48
+ "category_top100_count",
49
+ "category_top1000_count",
50
+ "launch_window_30d_flag",
51
+ "hot_new_releases_flag",
52
+ "hot_new_releases_position",
53
+ "movers_shakers_flag",
54
+ "movers_shakers_position",
55
+ "rating_average",
56
+ "rating_count",
57
+ "review_count",
58
+ "also_bought_visible_flag",
59
+ "also_bought_count",
60
+ "also_bought_bestseller_count",
61
+ "also_bought_shared_category_count",
62
+ "review_velocity_7d",
63
+ "review_velocity_30d",
64
+ "rank_change_24h",
65
+ "top100_flag",
66
+ "threshold_50_reviews_flag",
67
+ "threshold_event_flag",
68
+ "sustained_top100_60d_flag",
69
+ "ar_proxy_score",
70
+ "csd_proxy_score",
71
+ "cpa_proxy_score",
72
+ "arm_observed_score",
73
+ ]
74
+
75
+
76
+ NYT_WEEKLY_FIELDS = [
77
+ "published_date",
78
+ "list_name",
79
+ "list_name_encoded",
80
+ "rank",
81
+ "rank_last_week",
82
+ "weeks_on_list",
83
+ "title",
84
+ "author",
85
+ "publisher",
86
+ "primary_isbn13",
87
+ "primary_isbn10",
88
+ "amazon_product_url",
89
+ "book_image",
90
+ "book_uri",
91
+ ]
92
+
93
+
94
+ NYT_HISTORY_FIELDS = [
95
+ "query_value",
96
+ "query_type",
97
+ "title",
98
+ "author",
99
+ "publisher",
100
+ "description",
101
+ "contributor",
102
+ "contributor_note",
103
+ "price",
104
+ "age_group",
105
+ "primary_isbn13",
106
+ "primary_isbn10",
107
+ "isbn13",
108
+ "isbn10",
109
+ "history_list_name",
110
+ "history_display_name",
111
+ "bestsellers_date",
112
+ "published_date",
113
+ "rank",
114
+ "rank_last_week",
115
+ "weeks_on_list",
116
+ "asterisk",
117
+ "dagger",
118
+ ]
119
+
120
+
121
+ AMAZON_OBSERVATION_INPUT_FIELDS = [
122
+ "book_id",
123
+ "observation_date",
124
+ "source_url",
125
+ "asin",
126
+ "title",
127
+ "author_name",
128
+ "days_since_publication",
129
+ "amazon_bsr_overall",
130
+ "amazon_bsr_primary_category",
131
+ "amazon_bsr_secondary_category",
132
+ "primary_category_name",
133
+ "secondary_category_name",
134
+ "category_count",
135
+ "category_top10_count",
136
+ "category_top100_count",
137
+ "category_top1000_count",
138
+ "hot_new_releases_flag",
139
+ "hot_new_releases_position",
140
+ "movers_shakers_flag",
141
+ "movers_shakers_position",
142
+ "rating_average",
143
+ "rating_count",
144
+ "review_count",
145
+ "also_bought_visible_flag",
146
+ "also_bought_count",
147
+ "also_bought_bestseller_count",
148
+ "also_bought_shared_category_count",
149
+ "notes",
150
+ ]
151
+
152
+
153
+ @dataclass
154
+ class BookMasterRecord:
155
+ book_id: str
156
+ asin: str = ""
157
+ isbn13: str = ""
158
+ title: str = ""
159
+ author_name: str = ""
160
+ publisher: str = ""
161
+ publisher_tier: str = ""
162
+ publication_date: str = ""
163
+ format: str = ""
164
+ list_price: str = ""
165
+ genre_primary: str = ""
166
+ genre_secondary: str = ""
167
+ sample_group: str = ""
168
+ author_central_present: str = ""
169
+ author_central_links_count: str = ""
170
+ youtube_link_present: str = ""
171
+ goodreads_presence: str = ""
172
+ social_presence_score: str = ""
173
+ author_best_known_bsr: str = ""
174
+ author_prior_top100_title_count: str = ""
175
+ nyt_list_any: str = ""
176
+ nyt_list_count: str = ""
177
+
178
+ def to_row(self) -> Dict[str, str]:
179
+ return {field_name: str(asdict(self).get(field_name, "")) for field_name in BOOKS_MASTER_FIELDS}
180
+
181
+
182
+ @dataclass
183
+ class BookObservationRecord:
184
+ book_id: str
185
+ observation_date: str
186
+ source_url: str = ""
187
+ days_since_publication: str = ""
188
+ amazon_bsr_overall: str = ""
189
+ amazon_bsr_primary_category: str = ""
190
+ amazon_bsr_secondary_category: str = ""
191
+ best_visible_category_bsr: str = ""
192
+ primary_category_name: str = ""
193
+ secondary_category_name: str = ""
194
+ category_count: str = ""
195
+ category_top10_count: str = ""
196
+ category_top100_count: str = ""
197
+ category_top1000_count: str = ""
198
+ launch_window_30d_flag: str = ""
199
+ hot_new_releases_flag: str = ""
200
+ hot_new_releases_position: str = ""
201
+ movers_shakers_flag: str = ""
202
+ movers_shakers_position: str = ""
203
+ rating_average: str = ""
204
+ rating_count: str = ""
205
+ review_count: str = ""
206
+ also_bought_visible_flag: str = ""
207
+ also_bought_count: str = ""
208
+ also_bought_bestseller_count: str = ""
209
+ also_bought_shared_category_count: str = ""
210
+ review_velocity_7d: str = ""
211
+ review_velocity_30d: str = ""
212
+ rank_change_24h: str = ""
213
+ top100_flag: str = ""
214
+ threshold_50_reviews_flag: str = ""
215
+ threshold_event_flag: str = ""
216
+ sustained_top100_60d_flag: str = ""
217
+ ar_proxy_score: str = ""
218
+ csd_proxy_score: str = ""
219
+ cpa_proxy_score: str = ""
220
+ arm_observed_score: str = ""
221
+
222
+ def to_row(self) -> Dict[str, str]:
223
+ return {field_name: str(asdict(self).get(field_name, "")) for field_name in BOOK_OBSERVATION_FIELDS}
224
+
225
+
226
+ @dataclass
227
+ class TemplateBundle:
228
+ books_master_path: Path
229
+ observations_path: Path
230
+ nyt_weekly_path: Path
231
+ nyt_history_path: Path
232
+ amazon_input_path: Path
233
+ metadata: Dict[str, str] = field(default_factory=dict)
234
+
235
+
236
+ def ensure_directory(path: str | Path) -> Path:
237
+ directory = Path(path)
238
+ directory.mkdir(parents=True, exist_ok=True)
239
+ return directory
240
+
241
+
242
+ def write_csv_template(path: str | Path, fieldnames: List[str], example_rows: Optional[List[Dict[str, str]]] = None) -> Path:
243
+ target = Path(path)
244
+ ensure_directory(target.parent)
245
+ with target.open("w", newline="", encoding="utf-8") as handle:
246
+ writer = csv.DictWriter(handle, fieldnames=fieldnames)
247
+ writer.writeheader()
248
+ for row in example_rows or []:
249
+ writer.writerow({field_name: row.get(field_name, "") for field_name in fieldnames})
250
+ return target
251
+
252
+
253
+ def create_validation_templates(output_dir: str | Path = "validation_templates") -> TemplateBundle:
254
+ output_path = ensure_directory(output_dir)
255
+
256
+ books_master_example = BookMasterRecord(
257
+ book_id="philo_001",
258
+ asin="B0EXAMPLE01",
259
+ isbn13="9780000000001",
260
+ title="Example Philosophy Title",
261
+ author_name="Example Author",
262
+ publisher="Example Press",
263
+ publisher_tier="mid",
264
+ publication_date="2026-01-15",
265
+ format="hardcover",
266
+ list_price="28.00",
267
+ genre_primary="philosophy",
268
+ genre_secondary="self-help",
269
+ sample_group="candidate",
270
+ author_central_present="1",
271
+ author_central_links_count="2",
272
+ youtube_link_present="1",
273
+ goodreads_presence="1",
274
+ social_presence_score="2",
275
+ author_best_known_bsr="41",
276
+ author_prior_top100_title_count="2",
277
+ nyt_list_any="0",
278
+ nyt_list_count="0",
279
+ ).to_row()
280
+
281
+ observation_example = BookObservationRecord(
282
+ book_id="philo_001",
283
+ observation_date="2026-04-12",
284
+ source_url="https://www.amazon.com/dp/B0EXAMPLE01",
285
+ days_since_publication="88",
286
+ amazon_bsr_overall="154",
287
+ amazon_bsr_primary_category="12",
288
+ amazon_bsr_secondary_category="47",
289
+ best_visible_category_bsr="12",
290
+ primary_category_name="Philosophy",
291
+ secondary_category_name="Ethics & Morality",
292
+ category_count="2",
293
+ category_top10_count="0",
294
+ category_top100_count="2",
295
+ category_top1000_count="2",
296
+ launch_window_30d_flag="0",
297
+ hot_new_releases_flag="0",
298
+ hot_new_releases_position="",
299
+ movers_shakers_flag="1",
300
+ movers_shakers_position="18",
301
+ rating_average="4.6",
302
+ rating_count="73",
303
+ review_count="73",
304
+ also_bought_visible_flag="1",
305
+ also_bought_count="12",
306
+ also_bought_bestseller_count="4",
307
+ also_bought_shared_category_count="7",
308
+ review_velocity_7d="5",
309
+ review_velocity_30d="19",
310
+ rank_change_24h="23",
311
+ top100_flag="0",
312
+ threshold_50_reviews_flag="1",
313
+ threshold_event_flag="0",
314
+ sustained_top100_60d_flag="",
315
+ ar_proxy_score="0.61",
316
+ csd_proxy_score="0.48",
317
+ cpa_proxy_score="0.67",
318
+ arm_observed_score="0.35",
319
+ ).to_row()
320
+
321
+ nyt_example = {
322
+ "published_date": "2026-04-12",
323
+ "list_name": "Hardcover Nonfiction",
324
+ "list_name_encoded": "hardcover-nonfiction",
325
+ "rank": "8",
326
+ "rank_last_week": "0",
327
+ "weeks_on_list": "1",
328
+ "title": "Example Philosophy Title",
329
+ "author": "Example Author",
330
+ "publisher": "Example Press",
331
+ "primary_isbn13": "9780000000001",
332
+ "primary_isbn10": "0000000000",
333
+ "amazon_product_url": "https://www.amazon.com/dp/B0EXAMPLE01",
334
+ "book_image": "https://example.com/cover.jpg",
335
+ "book_uri": "nyt://books/example",
336
+ }
337
+
338
+ nyt_history_example = {
339
+ "query_value": "9780000000001",
340
+ "query_type": "isbn",
341
+ "title": "Example Philosophy Title",
342
+ "author": "Example Author",
343
+ "publisher": "Example Press",
344
+ "description": "Example retrospective history row.",
345
+ "contributor": "by Example Author",
346
+ "contributor_note": "",
347
+ "price": "28.00",
348
+ "age_group": "",
349
+ "primary_isbn13": "9780000000001",
350
+ "primary_isbn10": "0000000000",
351
+ "isbn13": "9780000000001",
352
+ "isbn10": "0000000000",
353
+ "history_list_name": "hardcover-nonfiction",
354
+ "history_display_name": "Hardcover Nonfiction",
355
+ "bestsellers_date": "2026-04-05",
356
+ "published_date": "2026-04-12",
357
+ "rank": "8",
358
+ "rank_last_week": "10",
359
+ "weeks_on_list": "2",
360
+ "asterisk": "0",
361
+ "dagger": "0",
362
+ }
363
+
364
+ amazon_input_example = {
365
+ "book_id": "philo_001",
366
+ "observation_date": "2026-04-12",
367
+ "source_url": "https://www.amazon.com/dp/B0EXAMPLE01",
368
+ "asin": "B0EXAMPLE01",
369
+ "title": "Example Philosophy Title",
370
+ "author_name": "Example Author",
371
+ "days_since_publication": "88",
372
+ "amazon_bsr_overall": "154",
373
+ "amazon_bsr_primary_category": "12",
374
+ "amazon_bsr_secondary_category": "47",
375
+ "primary_category_name": "Philosophy",
376
+ "secondary_category_name": "Ethics & Morality",
377
+ "category_count": "2",
378
+ "category_top10_count": "0",
379
+ "category_top100_count": "2",
380
+ "category_top1000_count": "2",
381
+ "hot_new_releases_flag": "0",
382
+ "hot_new_releases_position": "",
383
+ "movers_shakers_flag": "1",
384
+ "movers_shakers_position": "18",
385
+ "rating_average": "4.6",
386
+ "rating_count": "73",
387
+ "review_count": "73",
388
+ "also_bought_visible_flag": "1",
389
+ "also_bought_count": "12",
390
+ "also_bought_bestseller_count": "4",
391
+ "also_bought_shared_category_count": "7",
392
+ "notes": "Manual observation example row.",
393
+ }
394
+
395
+ books_master_path = write_csv_template(output_path / "books_master_template.csv", BOOKS_MASTER_FIELDS, [books_master_example])
396
+ observations_path = write_csv_template(output_path / "book_observations_template.csv", BOOK_OBSERVATION_FIELDS, [observation_example])
397
+ nyt_weekly_path = write_csv_template(output_path / "nyt_weekly_lists_template.csv", NYT_WEEKLY_FIELDS, [nyt_example])
398
+ nyt_history_path = write_csv_template(output_path / "nyt_bestseller_history_template.csv", NYT_HISTORY_FIELDS, [nyt_history_example])
399
+ amazon_input_path = write_csv_template(output_path / "amazon_observation_input_template.csv", AMAZON_OBSERVATION_INPUT_FIELDS, [amazon_input_example])
400
+
401
+ return TemplateBundle(
402
+ books_master_path=books_master_path,
403
+ observations_path=observations_path,
404
+ nyt_weekly_path=nyt_weekly_path,
405
+ nyt_history_path=nyt_history_path,
406
+ amazon_input_path=amazon_input_path,
407
+ metadata={
408
+ "books_master_fields": str(len(BOOKS_MASTER_FIELDS)),
409
+ "book_observation_fields": str(len(BOOK_OBSERVATION_FIELDS)),
410
+ "nyt_weekly_fields": str(len(NYT_WEEKLY_FIELDS)),
411
+ "nyt_history_fields": str(len(NYT_HISTORY_FIELDS)),
412
+ "amazon_input_fields": str(len(AMAZON_OBSERVATION_INPUT_FIELDS)),
413
+ },
414
+ )
415
+
416
+
417
+ if __name__ == "__main__":
418
+ bundle = create_validation_templates()
419
+ print("Created validation templates:")
420
+ print(f"- books_master: {bundle.books_master_path}")
421
+ print(f"- book_observations: {bundle.observations_path}")
422
+ print(f"- nyt_weekly_lists: {bundle.nyt_weekly_path}")
423
+ print(f"- nyt_bestseller_history: {bundle.nyt_history_path}")
424
+ print(f"- amazon_observation_input: {bundle.amazon_input_path}")
data/amazon_daily_completed.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/nyt_weekly_completed.csv ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ scrape_date,list_slug,list_title,page_date,rank,weeks_on_list_text,title,author,publisher,description,isbn13,book_url,imputed,imputation_source_date,imputation_method
2
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,1,,THE MEANING OF YOUR LIFE,by Arthur C. Brooks,Portfolio,,9780593545423,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM1NDU0MjM=,false,,observed
3
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,1,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733325,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMjU=,false,,observed
4
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,1,,PHASES,by Brandy with Gerrick Kennedy,Hanover Square,The actress and Grammy Award-winning musician shares some of her early struggles and her rise to fame.,9781335013279,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMzUwMTMyNzk=,false,,observed
5
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,2,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
6
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,2,,PHASES,by Brandy with Gerrick Kennedy,Hanover Square,The actress and Grammy Award-winning musician shares some of her early struggles and her rise to fame.,9781335013279,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMzUwMTMyNzk=,false,,observed
7
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
8
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,3,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
9
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,3,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
10
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,3,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
11
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,4,,HOW TO BE OKAY WHEN NOTHING IS OKAY,by Jenny Lawson,Penguin Life,,9780593833216,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MzMyMTY=,false,,observed
12
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,4,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
13
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,4,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
14
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,5,,LET'S GET COOKING,by Remi Cruz Parsons,Simon Element,,9781668066836,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwNjY4MzY=,false,,observed
15
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,5,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
16
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,5,,THE INFINITY MACHINE,by Sebastian Mallaby,Penguin Press,A biography of the British artificial intelligence researcher and entrepreneur Demis Hassabis.,9780593831847,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MzE4NDc=,false,,observed
17
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,6,,THE JESUS DISCOVERIES,by Jeremiah J. Johnston,Bethany House,,9780764243660,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjQyNDM2NjA=,false,,observed
18
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,6,,THE INFINITY MACHINE,by Sebastian Mallaby,Penguin Press,A biography of the British artificial intelligence researcher and entrepreneur Demis Hassabis.,9780593831847,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MzE4NDc=,false,,observed
19
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,6,,APPLE,by David Pogue,Simon & Schuster,The CBS “Sunday Morning” correspondent chronicles the first 50 years of the tech company.,9781982134594,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxMzQ1OTQ=,false,,observed
20
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,7,,OPEN TO WORK,by Ryan Roslansky and Aneesh Raman,Harper Business,,9780063486461,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0ODY0NjE=,false,,observed
21
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,7,,APPLE,by David Pogue,Simon & Schuster,The CBS “Sunday Morning” correspondent chronicles the first 50 years of the tech company.,9781982134594,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxMzQ1OTQ=,false,,observed
22
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,7,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
23
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,8,,TRUMP'S TEN COMMANDMENTS,by Jeffrey Sonnenfeld with Steven Tian,Worth,,9781637635568,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Mzc2MzU1Njg=,false,,observed
24
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,8,,A WALK IN THE PARK,by Kevin Fedarko,Scribner,The author of “The Emerald Mile” goes with a friend on a journey to hike the Grand Canyon from end to end.,9781501183065,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1MDExODMwNjU=,false,,observed
25
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,8,,POEMS & PRAYERS,by Matthew McConaughey,Crown,The actor and author of “Greenlights” explores elements of belief and reason that make up our lives.,9781984862105,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4NjIxMDU=,false,,observed
26
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,9,,PSYCHEDELIC THERAPY,by Will Van Derveer and Keith Kurlander,Shambhala,,9781645476047,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NDU0NzYwNDc=,false,,observed
27
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,9,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
28
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,9,,STAND,by Cory Booker,St. Martin's,"The Democratic senator from New Jersey overviews our nation's struggles and divisions past and present, and shares his views on potential remedies.",9781250436733,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0MzY3MzM=,false,,observed
29
+ 2026-04-14,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-19,10,,NOTHING IS IMPOSSIBLE WITH GOD,by Shannon Bream,Fox News,,9780063487659,https://www.nytimes.com/books/best-sellers/2026/04/19/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0ODc2NTk=,false,,observed
30
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,10,,POEMS & PRAYERS,by Matthew McConaughey,Crown,The actor and author of “Greenlights” explores elements of belief and reason that make up our lives.,9781984862105,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4NjIxMDU=,false,,observed
31
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,10,,ARSENIO,by Arsenio Hall with Alan Eisenstock,Atria/Black Privilege,The comedian and former late-night TV host details his career and his decision to walk away from it.,9781982191368,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxOTEzNjg=,false,,observed
32
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,11,,STAND,by Cory Booker,St. Martin's,"The Democratic senator from New Jersey overviews our nation's struggles and divisions past and present, and shares his views on potential remedies.",9781250436733,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0MzY3MzM=,false,,observed
33
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,11,,METROPOLITANS,by A.M. Gittlitz,Astra House,A co-host of the “This Wreckage” podcast depicts the history of the New York Mets franchise within the context of political and cultural changes.,9781662603006,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjI2MDMwMDY=,false,,observed
34
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,12,,ARSENIO,by Arsenio Hall with Alan Eisenstock,Atria/Black Privilege,The comedian and former late-night TV host details his career and his decision to walk away from it.,9781982191368,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxOTEzNjg=,false,,observed
35
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,12,,"KIDS, WAIT TILL YOU HEAR THIS!","by Liza Minnelli, as told to Michael Feinstein, with Josh Getlin and Heidi Evans",Grand Central,The EGOT icon shares some of the highs and lows of her life and career.,9781538773666,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1Mzg3NzM2NjY=,false,,observed
36
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,13,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
37
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,13,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
38
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,14,,ON TYRANNY,by Timothy Snyder,Crown,Twenty lessons from the 20th century about the course of tyranny.,9780804190114,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA4MDQxOTAxMTQ=,false,,observed
39
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,14,,WHEN THE FOREST BREATHES,by Suzanne Simard,Knopf,"The author of ""Finding the Mother Tree"" looks at the impact human interventions have on the growth and longevity of forests.",9780593318683,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMzMTg2ODM=,false,,observed
40
+ 2026-04-14,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-19,15,,RAISING HARE,by Chloe Dalton,Vintage,A political adviser and foreign policy specialist tells the story of taking care of a wild hare during the pandemic lockdown.,9780593689004,https://www.nytimes.com/books/best-sellers/2026/04/19/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2ODkwMDQ=,false,,observed
41
+ 2026-04-14,hardcover-nonfiction,Hardcover Nonfiction,2026-04-19,15,,EVERYTHING IS TUBERCULOSIS,by John Green,Crash Course,The author of “The Anthropocene Reviewed” chronicles the fight against the deadly infectious disease tuberculosis.,9780525556572,https://www.nytimes.com/books/best-sellers/2026/04/19/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1MjU1NTY1NzI=,false,,observed
42
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,1,,18 DAYS IN HEAVEN,by Gabe Poirot,Harrison House,,9781667512549,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Njc1MTI1NDk=,false,,observed
43
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,1,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733325,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMjU=,false,,observed
44
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,1,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
45
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,2,,THE NEW PERIMENOPAUSE,by Mary Claire Haver,Rodale,,9780593736616,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzY2MTY=,false,,observed
46
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,2,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
47
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
48
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,3,,THE JESUS DISCOVERIES,by Jeremiah J. Johnston,Bethany House,,9780764243660,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjQyNDM2NjA=,false,,observed
49
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,3,,PLANET MONEY,by Alex Mayyasi and the hosts of NPR’s “Planet Money”,Norton,Stories illustrating global economic forces at work and how they impact decisions we make.,9781324078777,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMjQwNzg3Nzc=,false,,observed
50
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,3,,PLANET MONEY,by Alex Mayyasi and the hosts of NPR’s “Planet Money”,Norton,Stories illustrating global economic forces at work and how they impact decisions we make.,9781324078777,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMjQwNzg3Nzc=,false,,observed
51
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,4,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
52
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,4,,HERE WHERE WE LIVE IS OUR COUNTRY,by Molly Crabapple,One World,"A portrayal of the Jewish Labor Bund, and the ways its development and dissolution resonate today.",9780593229453,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMyMjk0NTM=,false,,observed
53
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,4,,HERE WHERE WE LIVE IS OUR COUNTRY,by Molly Crabapple,One World,"A portrayal of the Jewish Labor Bund, and the ways its development and dissolution resonate today.",9780593229453,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMyMjk0NTM=,false,,observed
54
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,5,,"JOYFUL, ANYWAY",by Kate Bowler,Dial,,9780593734193,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzQxOTM=,false,,observed
55
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,5,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
56
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,5,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
57
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,6,,KING ARTHUR BAKING COMPANY'S BOOK OF PIZZA,"by Martin Philip and David Tamarkin with Jessica Battilana, Yekaterina Boytsova and Ryan Salerno",Simon Element,,9781668054451,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwNTQ0NTE=,false,,observed
58
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,6,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
59
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,6,,RORY,by Alan Shipnuck,Avid Reader,The many facets and contradictions of the life and career of the professional golfer Rory McIlroy.,9781668068809,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwNjg4MDk=,false,,observed
60
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,7,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
61
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,7,,RORY,by Alan Shipnuck,Avid Reader,The many facets and contradictions of the life and career of the professional golfer Rory McIlroy.,9781668068809,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwNjg4MDk=,false,,observed
62
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,7,,CONCRETE BOTANY,by Joey Santore,Cool Springs,The host of the YouTube show and podcast “Crime Pays but Botany Doesn’t” explains how humans depend on plants to survive.,9780760391884,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjAzOTE4ODQ=,false,,observed
63
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,8,,THE MEANING OF YOUR LIFE,by Arthur C. Brooks,Portfolio,,9780593545423,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM1NDU0MjM=,false,,observed
64
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,8,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
65
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,8,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
66
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,9,,WHAT TO MAKE OF A LIFE,by Jim Collins,Harper Edge,,9780063488809,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0ODg4MDk=,false,,observed
67
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,9,,CONCRETE BOTANY,by Joey Santore,Cool Springs,The host of the YouTube show and podcast “Crime Pays but Botany Doesn’t” explains how humans depend on plants to survive.,9780760391884,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjAzOTE4ODQ=,false,,observed
68
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,9,,HOMESICK NOMAD,by Brianna Madia,HarperOne,The author of “Never Leave the Dogs Behind” navigates life decisions as she splits her time between the wild desert and suburbia.,9780063440135,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDAxMzU=,false,,observed
69
+ 2026-04-20,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-04-26,10,,KEEP IT SIMPLE Y'ALL: EVERY DAY,by Matthew Bounds with Lukas Volger,Clarkson Potter,,9798217034178,https://www.nytimes.com/books/best-sellers/2026/04/26/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwMzQxNzg=,false,,observed
70
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,10,,PHASES,by Brandy with Gerrick Kennedy,Hanover Square,The actress and Grammy Award-winning musician shares some of her early struggles and her rise to fame.,9781335013279,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMzUwMTMyNzk=,false,,observed
71
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,10,,PHASES,by Brandy with Gerrick Kennedy,Hanover Square,The actress and Grammy Award-winning musician shares some of her early struggles and her rise to fame.,9781335013279,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEzMzUwMTMyNzk=,false,,observed
72
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,11,,HOMESICK NOMAD,by Brianna Madia,HarperOne,The author of “Never Leave the Dogs Behind” navigates life decisions as she splits her time between the wild desert and suburbia.,9780063440135,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDAxMzU=,false,,observed
73
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,11,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
74
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,12,,A WALK IN THE PARK,by Kevin Fedarko,Scribner,The author of “The Emerald Mile” goes with a friend on a journey to hike the Grand Canyon from end to end.,9781501183065,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1MDExODMwNjU=,false,,observed
75
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,12,,THIS LAND IS YOUR LAND,by Beverly Gage,Simon & Schuster,The Pulitzer Prize–winning historian describes a road trip she took that evoked America’s past.,9781668033104,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwMzMxMDQ=,false,,observed
76
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,13,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
77
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,13,,APPLE,by David Pogue,Simon & Schuster,The CBS “Sunday Morning” correspondent chronicles the first 50 years of the tech company.,9781982134594,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxMzQ1OTQ=,false,,observed
78
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,14,,THIS LAND IS YOUR LAND,by Beverly Gage,Simon & Schuster,The Pulitzer Prize–winning historian describes a road trip she took that evoked America’s past.,9781668033104,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwMzMxMDQ=,false,,observed
79
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,14,,"THANK YOU, TEACHERS",by James Patterson and Matt Eversmann with Chris Mooney,"Little, Brown",Stories about teachers working today.,9780316569446,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1Njk0NDY=,false,,observed
80
+ 2026-04-20,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-04-26,15,,APPLE,by David Pogue,Simon & Schuster,The CBS “Sunday Morning” correspondent chronicles the first 50 years of the tech company.,9781982134594,https://www.nytimes.com/books/best-sellers/2026/04/26/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxMzQ1OTQ=,false,,observed
81
+ 2026-04-20,hardcover-nonfiction,Hardcover Nonfiction,2026-04-26,15,,1929,by Andrew Ross Sorkin,Viking,The New York Times journalist and CNBC host looks at the fight between Washington and Wall Street that fueled a historic crash of the stock market.,9780593296967,https://www.nytimes.com/books/best-sellers/2026/04/26/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMyOTY5Njc=,false,,observed
82
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,1,,THROUGH MOM'S EYES,by Sheinelle Jones,Putnam,,9780593719336,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTkzMzY=,false,,observed
83
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,1,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
84
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,1,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
85
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,2,,START WITH YOURSELF,by Emma Grede,Avid Reader,,9781668085486,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODU0ODY=,false,,observed
86
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
87
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
88
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,3,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
89
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,3,,POISONED IVIES,by Elise Stefanik,Threshold Editions,The Republican congresswoman from New York shares her perspective on higher education in America.,9781668087534,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODc1MzQ=,false,,observed
90
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,3,,POISONED IVIES,by Elise Stefanik,Threshold Editions,The Republican congresswoman from New York shares her perspective on higher education in America.,9781668087534,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODc1MzQ=,false,,observed
91
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,4,,DROWNPROOF,by Andy Stumpf,St. Martin's,,9781250379610,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTAzNzk2MTA=,false,,observed
92
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,4,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
93
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,4,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
94
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,5,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
95
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,5,,THE FUTURE IS PEACE,by Aziz Abu Sarah and Maoz Inon,Crown,A Palestinian and an Israeli share reflections from the journey they took together over the course of a week.,9798217086511,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODY1MTE=,false,,observed
96
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,5,,LAST BRANCH STANDING,by Sarah Isgur,Crown,The editor of SCOTUSblog gives insights into how the current Supreme Court functions.,9780593800928,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MDA5Mjg=,false,,observed
97
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,6,,THE MANBOOK,by Nick Freitas,Broadside,,9780063434080,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0MzQwODA=,false,,observed
98
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,6,,LAST BRANCH STANDING,by Sarah Isgur,Crown,The editor of SCOTUSblog gives insights into how the current Supreme Court functions.,9780593800928,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MDA5Mjg=,false,,observed
99
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,6,,THE FUTURE IS PEACE,by Aziz Abu Sarah and Maoz Inon,Crown,A Palestinian and an Israeli share reflections from the journey they took together over the course of a week.,9798217086511,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODY1MTE=,false,,observed
100
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,7,,I CHOOSE ME,by Jennie Garth,Park Row,,9780778305637,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NzgzMDU2Mzc=,false,,observed
101
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,7,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
102
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,7,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
103
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,8,,THE MEANING OF YOUR LIFE,by Arthur C. Brooks,Portfolio,,9780593545423,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM1NDU0MjM=,false,,observed
104
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,8,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
105
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,8,,GHOSTS OF SICILY,by Mark Harmon and Leon Carroll Jr,Harper Select,The authors of “Ghosts of Honolulu” describe an alliance between the Office of Naval Intelligence and the mob during World War II.,9781400252985,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDAyNTI5ODU=,false,,observed
106
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,9,,TAKE IT PERSONAL,by David Grutman,Zando,,9781638933496,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Mzg5MzM0OTY=,false,,observed
107
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,9,,INTO THE WOOD CHIPPER,by Nicholas Enrich,Summit,An account of the impact Elon Musk’s Department of Government Efficiency had on the United States Agency for International Development.,9781668226957,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgyMjY5NTc=,false,,observed
108
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,9,,THE STORY OF US,by Olivia Levin,Simon & Schuster,A Taylor Swift superfan looks at the loyalty of Swifties as they followed the pop and country icon through different eras.,9781668092927,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwOTI5Mjc=,false,,observed
109
+ 2026-04-27,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-03,10,,18 DAYS IN HEAVEN,by Gabe Poirot,Harrison House,,9781667512549,https://www.nytimes.com/books/best-sellers/2026/05/03/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Njc1MTI1NDk=,false,,observed
110
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,10,,GHOSTS OF SICILY,by Mark Harmon and Leon Carroll Jr,Harper Select,The authors of “Ghosts of Honolulu” describe an alliance between the Office of Naval Intelligence and the mob during World War II.,9781400252985,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDAyNTI5ODU=,false,,observed
111
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,10,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
112
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,11,,THE STORY OF US,by Olivia Levin,Simon & Schuster,A Taylor Swift superfan looks at the loyalty of Swifties as they followed the pop and country icon through different eras.,9781668092927,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwOTI5Mjc=,false,,observed
113
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,11,,INTO THE WOOD CHIPPER,by Nicholas Enrich,Summit,An account of the impact Elon Musk’s Department of Government Efficiency had on the United States Agency for International Development.,9781668226957,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgyMjY5NTc=,false,,observed
114
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,12,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
115
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,12,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
116
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,13,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
117
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,13,,1929,by Andrew Ross Sorkin,Viking,The New York Times journalist and CNBC host looks at the fight between Washington and Wall Street that fueled a historic crash of the stock market.,9780593296967,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMyOTY5Njc=,false,,observed
118
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,14,,A WALK IN THE PARK,by Kevin Fedarko,Scribner,The author of “The Emerald Mile” goes with a friend on a journey to hike the Grand Canyon from end to end.,9781501183065,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1MDExODMwNjU=,false,,observed
119
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,14,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
120
+ 2026-04-27,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-03,15,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/05/03/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
121
+ 2026-04-27,hardcover-nonfiction,Hardcover Nonfiction,2026-05-03,15,,RORY,by Alan Shipnuck,Avid Reader,The many facets and contradictions of the life and career of the professional golfer Rory McIlroy.,9781668068809,https://www.nytimes.com/books/best-sellers/2026/05/03/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwNjg4MDk=,false,,observed
122
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,1,,THE JESUS DISCOVERIES,by Jeremiah J. Johnston,Bethany House,,9780764243660,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjQyNDM2NjA=,false,,observed
123
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,1,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
124
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,1,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
125
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,2,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
126
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,2,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
127
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
128
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,3,,START WITH YOURSELF,by Emma Grede,Avid Reader,,9781668085486,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODU0ODY=,false,,observed
129
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,3,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
130
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,3,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
131
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,4,,COME EAT,by Melissa Ben-Ishay,Harper Influence,,9780063451636,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NTE2MzY=,false,,observed
132
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,4,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
133
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,4,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
134
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,5,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
135
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,5,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
136
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,5,,THE FUTURE IS PEACE,by Aziz Abu Sarah and Maoz Inon,Crown,A Palestinian and an Israeli share reflections from the journey they took together over the course of a week.,9798217086511,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODY1MTE=,false,,observed
137
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,6,,"DUTY, HONOR, COUNTRY & LIFE",by William H. McRaven,Grand Central,,9781538780947,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE1Mzg3ODA5NDc=,false,,observed
138
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,6,,THIS VAST ENTERPRISE,by Craig Fehrman,Avid Reader,A revisionist history of the Lewis and Clark expedition viewed from the perspectives of 10 people connected to it.,9781982174248,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxNzQyNDg=,false,,observed
139
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,6,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
140
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,7,,THE WELL-EDUCATED CHILD,by Deborah Kenny,Get Lifted,,9781638933328,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Mzg5MzMzMjg=,false,,observed
141
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,7,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
142
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,7,,THIS VAST ENTERPRISE,by Craig Fehrman,Avid Reader,A revisionist history of the Lewis and Clark expedition viewed from the perspectives of 10 people connected to it.,9781982174248,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxNzQyNDg=,false,,observed
143
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,8,,HOW TO START,by Jodi Kantor,"Little, Brown",,9780316609555,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY2MDk1NTU=,false,,observed
144
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,8,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
145
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,8,,YOU WITH THE SAD EYES,by Christina Applegate,"Little, Brown","The Emmy Award-winning actress, who received a multiple sclerosis diagnosis in 2021, shares personal stories.",9780316594929,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTQ5Mjk=,false,,observed
146
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,9,,THROUGH MOM'S EYES,by Sheinelle Jones,Putnam,,9780593719336,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTkzMzY=,false,,observed
147
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,9,,ALITO,by Mollie Hemingway,Basic Liberty,The editor in chief of The Federalist depicts Justice Samuel Alito’s judicial career and his impact on the Supreme Court.,9781541607132,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1NDE2MDcxMzI=,false,,observed
148
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,9,,FOR THE LOVE OF THE GRIND,by Sara Hall,St. Martin's,The professional runner describes overcoming obstacles she encountered and becoming a mother through adoption.,9781250404282,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0MDQyODI=,false,,observed
149
+ 2026-05-04,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-10,10,,CAPABLE,by Sissy Goff and David Thomas,Bethany House,,9780764245329,https://www.nytimes.com/books/best-sellers/2026/05/10/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjQyNDUzMjk=,false,,observed
150
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,10,,THE ROLLING STONES,by Bob Spitz,Penguin Press,A biography of the rock band that delves into the relationships of its musicians and their output over more than six decades.,9780593489093,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM0ODkwOTM=,false,,observed
151
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,10,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
152
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,11,,A WALK IN THE PARK,by Kevin Fedarko,Scribner,The author of “The Emerald Mile” goes with a friend on a journey to hike the Grand Canyon from end to end.,9781501183065,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1MDExODMwNjU=,false,,observed
153
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,11,,A WORLD APPEARS,by Michael Pollan,Penguin Press,The author of “This Is Your Mind on Plants” explores several perspectives on consciousness.,9781984881991,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODQ4ODE5OTE=,false,,observed
154
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,12,,THE FUTURE IS PEACE,by Aziz Abu Sarah and Maoz Inon,Crown,A Palestinian and an Israeli share reflections from the journey they took together over the course of a week.,9798217086511,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODY1MTE=,false,,observed
155
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,12,,ALITO,by Mollie Hemingway,Basic Liberty,The editor in chief of The Federalist depicts Justice Samuel Alito’s judicial career and his impact on the Supreme Court.,9781541607132,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1NDE2MDcxMzI=,false,,observed
156
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,13,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
157
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,13,,THE ROLLING STONES,by Bob Spitz,Penguin Press,A biography of the rock band that delves into the relationships of its musicians and their output over more than six decades.,9780593489093,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM0ODkwOTM=,false,,observed
158
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,14,,FOR THE LOVE OF THE GRIND,by Sara Hall,St. Martin's,The professional runner describes overcoming obstacles she encountered and becoming a mother through adoption.,9781250404282,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0MDQyODI=,false,,observed
159
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,14,,LAST BRANCH STANDING,by Sarah Isgur,Crown,The editor of SCOTUSblog gives insights into how the current Supreme Court functions.,9780593800928,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM4MDA5Mjg=,false,,observed
160
+ 2026-05-04,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-10,15,,ON THE HIPPIE TRAIL,by Rick Steves,Avalon Travel,The travel writer and TV host recounts his journey from Istanbul to Kathmandu in the 1970s.,9781641717458,https://www.nytimes.com/books/best-sellers/2026/05/10/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NDE3MTc0NTg=,false,,observed
161
+ 2026-05-04,hardcover-nonfiction,Hardcover Nonfiction,2026-05-10,15,,NOBODY'S GIRL,by Virginia Roberts Giuffre,Knopf,The late activist and advocate for sex-trafficking survivors describes her time with Jeffrey Epstein and Ghislaine Maxwell.,9780593493120,https://www.nytimes.com/books/best-sellers/2026/05/10/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM0OTMxMjA=,false,,observed
162
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,1,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
163
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,1,,"DOGS, BOYS, AND OTHER THINGS I'VE CRIED ABOUT",by Isabel Klee,Morrow,Klee helps foster dogs overcome challenges while she faces her own complications.,9780063451070,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NTEwNzA=,false,,observed
164
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,1,,"DOGS, BOYS, AND OTHER THINGS I'VE CRIED ABOUT",by Isabel Klee,Morrow,Klee helps foster dogs overcome challenges while she faces her own complications.,9780063451070,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NTEwNzA=,false,,observed
165
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,2,,UNREASONABLE HOSPITALITY: THE FIELD GUIDE,by Will Guidara,Optimism,,9798217045235,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwNDUyMzU=,false,,observed
166
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
167
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
168
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,3,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
169
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,3,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
170
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,3,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
171
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,4,,THROUGH MOM'S EYES,by Sheinelle Jones,Putnam,,9780593719336,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTkzMzY=,false,,observed
172
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,4,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
173
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,4,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
174
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,5,,INVINCIBLE,by Florence Comite,"Little, Brown Spark",,9780316595551,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY1OTU1NTE=,false,,observed
175
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,5,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
176
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,5,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
177
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,6,,REWIRED,"by Nick Ortner, Jessica Ortner and Alex Ortner",Hay House,,9798318602597,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3OTgzMTg2MDI1OTc=,false,,observed
178
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,6,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
179
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,6,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
180
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,7,,START WITH YOURSELF,by Emma Grede,Avid Reader,,9781668085486,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODU0ODY=,false,,observed
181
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,7,,BROKEN PLEA,by Christopher Whitcomb,Harper Select,"A re-examination of the story of the murder of four University of Idaho students in their off-campus home on Nov. 13, 2022.",9781400257140,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDAyNTcxNDA=,false,,observed
182
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,7,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
183
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,8,,HOW TO START,by Jodi Kantor,"Little, Brown",,9780316609555,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY2MDk1NTU=,false,,observed
184
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,8,,THIS IS NOT ABOUT RUNNING,by Mary Cain,Mariner,"The elite runner describes the toll that training and injuries took on her, and the pervasiveness of abuse in youth sports.",9780063441880,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDE4ODA=,false,,observed
185
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,8,,BROKEN PLEA,by Christopher Whitcomb,Harper Select,"A re-examination of the story of the murder of four University of Idaho students in their off-campus home on Nov. 13, 2022.",9781400257140,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDAyNTcxNDA=,false,,observed
186
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,9,,ZARIZ,by Adeena Sussman,Avery,,9780593719015,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTkwMTU=,false,,observed
187
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,9,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
188
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,9,,DRIVEN,by Susie Wolff,Holt,The managing director of F1 Academy and former professional racing driver chronicles her time in the sport.,9781250448125,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0NDgxMjU=,false,,observed
189
+ 2026-05-11,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-17,10,,ONE SCAN SAVED MY LIFE,by Shira Kupperman Boehler,Skyhorse,,9781510788022,https://www.nytimes.com/books/best-sellers/2026/05/17/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE1MTA3ODgwMjI=,false,,observed
190
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,10,,THE ANXIOUS GENERATION,by Jonathan Haidt,Penguin Press,A co-author of “The Coddling of the American Mind” looks at the mental health impacts that a phone-based life has on children.,9780593655030,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM2NTUwMzA=,false,,observed
191
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,10,,THE STORY OF BIRDS,by Steve Brusatte,Mariner,The paleontologist gives an evolutionary history of birds that explains how they began to fly and survived millenniums.,9780063349711,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjMzNDk3MTE=,false,,observed
192
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,11,,THIS VAST ENTERPRISE,by Craig Fehrman,Avid Reader,A revisionist history of the Lewis and Clark expedition viewed from the perspectives of 10 people connected to it.,9781982174248,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxNzQyNDg=,false,,observed
193
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,11,,WHEN THE WORLD SLEEPS,by Francesca Albanese,Other,"A look at the past, present and future of Palestine told through the stories of 10 people; translated by Gregory Conti.",9781635426038,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2MzU0MjYwMzg=,false,,observed
194
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,12,,DRIVEN,by Susie Wolff,Holt,The managing director of F1 Academy and former professional racing driver chronicles her time in the sport.,9781250448125,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODEyNTA0NDgxMjU=,false,,observed
195
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,12,,ISRAEL ON TRIAL,by Roy K. Altman,Advantage,A judge for the U.S. District Court for the Southern District of Florida presents arguments regarding Israel.,9798891886360,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTg4OTE4ODYzNjA=,false,,observed
196
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,13,,THE STORY OF BIRDS,by Steve Brusatte,Mariner,The paleontologist gives an evolutionary history of birds that explains how they began to fly and survived millenniums.,9780063349711,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjMzNDk3MTE=,false,,observed
197
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,13,,THIS IS NOT ABOUT RUNNING,by Mary Cain,Mariner,"The elite runner describes the toll that training and injuries took on her, and the pervasiveness of abuse in youth sports.",9780063441880,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDE4ODA=,false,,observed
198
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,14,,WHEN THE WORLD SLEEPS,by Francesca Albanese,Other,"A look at the past, present and future of Palestine told through the stories of 10 people; translated by Gregory Conti.",9781635426038,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2MzU0MjYwMzg=,false,,observed
199
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,14,,TRUMP 2.0,by Sean Spicer,Regnery,The former communications director of the Republican National Committee and White House press secretary assesses Trump’s second term.,9781510786202,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1MTA3ODYyMDI=,false,,observed
200
+ 2026-05-11,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-17,15,,ISRAEL ON TRIAL,by Roy K. Altman,Advantage,A judge for the U.S. District Court for the Southern District of Florida presents arguments regarding Israel.,9798891886360,https://www.nytimes.com/books/best-sellers/2026/05/17/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTg4OTE4ODYzNjA=,false,,observed
201
+ 2026-05-11,hardcover-nonfiction,Hardcover Nonfiction,2026-05-17,15,,THE FUTURE IS PEACE,by Aziz Abu Sarah and Maoz Inon,Crown,A Palestinian and an Israeli share reflections from the journey they took together over the course of a week.,9798217086511,https://www.nytimes.com/books/best-sellers/2026/05/17/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODY1MTE=,false,,observed
202
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,1,,BIRTH VIBES,by Jen Hamilton,Grand Central,,9781538771471,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE1Mzg3NzE0NzE=,false,,observed
203
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,1,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733325,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMjU=,false,,observed
204
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,1,,THE CASE FOR AMERICA,by Bret Baier,Mariner,The chief political anchor for Fox News shares his perspectives on our national character during divisive times.,9780063360808,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjMzNjA4MDg=,false,,observed
205
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,2,,THE LET THEM THEORY,by Mel Robbins,Hay House,,9781401971366,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE0MDE5NzEzNjY=,false,,observed
206
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,2,,THE CASE FOR AMERICA,by Bret Baier,Mariner,The chief political anchor for Fox News shares his perspectives on our national character during divisive times.,9780063360808,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjMzNjA4MDg=,false,,observed
207
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,2,,STRANGERS,by Belle Burden,Dial,Burden retraces her marriage of 20 years in search of clues to help shape her understanding about its demise and to find a way forward.,9780593733318,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MzMzMTg=,false,,observed
208
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,3,,THERE ARE MOMS WAY WORSE THAN YOU,by Glenn Boozan. Illustrated by Priscilla Witte,Workman,,9781523515646,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE1MjM1MTU2NDY=,false,,observed
209
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,3,,THE U.S. CONSTITUTION,by Melissa Murray,37 Ink,The co-author of “The Trump Indictments” gives historical context for each of the amendments in the Constitution.,9781668221938,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgyMjE5Mzg=,false,,observed
210
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,3,,THE U.S. CONSTITUTION,by Melissa Murray,37 Ink,The co-author of “The Trump Indictments” gives historical context for each of the amendments in the Constitution.,9781668221938,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgyMjE5Mzg=,false,,observed
211
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,4,,THE JESUS DISCOVERIES,by Jeremiah J. Johnston,Bethany House,,9780764243660,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3NjQyNDM2NjA=,false,,observed
212
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,4,,TRUE CRIME,by Patricia Cornwell,Grand Central,"The author, known for her Kay Scarpetta thrillers, shares moments from her life that shaped her writing career.",9781538778449,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1Mzg3Nzg0NDk=,false,,observed
213
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,4,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
214
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,5,,ATOMIC HABITS,by James Clear,Avery,,9780735211292,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA3MzUyMTEyOTI=,false,,observed
215
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,5,,FAMESICK,by Lena Dunham,Random House,The author of “Not That Kind of Girl” evaluates the effects that pursuing her creative endeavors had on her.,9780593129326,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTMxMjkzMjY=,false,,observed
216
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,5,,TRUE CRIME,by Patricia Cornwell,Grand Central,"The author, known for her Kay Scarpetta thrillers, shares moments from her life that shaped her writing career.",9781538778449,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE1Mzg3Nzg0NDk=,false,,observed
217
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,6,,THROUGH MOM'S EYES,by Sheinelle Jones,Putnam,,9780593719336,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTkzMzY=,false,,observed
218
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,6,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
219
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,6,,"DOGS, BOYS, AND OTHER THINGS I'VE CRIED ABOUT",by Isabel Klee,Morrow,Klee helps foster dogs overcome challenges while she faces her own complications.,9780063451070,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NTEwNzA=,false,,observed
220
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,7,,THE MEANING OF YOUR LIFE,by Arthur C. Brooks,Portfolio,,9780593545423,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM1NDU0MjM=,false,,observed
221
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,7,,"DOGS, BOYS, AND OTHER THINGS I'VE CRIED ABOUT",by Isabel Klee,Morrow,Klee helps foster dogs overcome challenges while she faces her own complications.,9780063451070,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NTEwNzA=,false,,observed
222
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,7,,LONDON FALLING,by Patrick Radden Keefe,Doubleday,The author of “Say Nothing” details the efforts by the parents of a 19-year-old Londoner to uncover the truth about his mysterious death and secret life.,9780385548533,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzODU1NDg1MzM=,false,,observed
223
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,8,,THE POWER OF BELIEFS,by Shawn Achor,Crown Currency,,9798217087808,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcwODc4MDg=,false,,observed
224
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,8,,INSIDE THE BOX,by David Epstein,Riverhead,The author of “Range” evaluates the benefits of limitations and constraints.,9780593715710,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTU3MTA=,false,,observed
225
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,8,,INSIDE THE BOX,by David Epstein,Riverhead,The author of “Range” evaluates the benefits of limitations and constraints.,9780593715710,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODA1OTM3MTU3MTA=,false,,observed
226
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,9,,BECOMING A PRINCIPLE-DRIVEN LEADER,by Charles Koch and Chase Koch,StoryBrand,,9781637635247,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2Mzc2MzUyNDc=,false,,observed
227
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,9,,THE BODY KEEPS THE SCORE,by Bessel van der Kolk,Penguin,"How trauma affects the body and mind, and innovative treatments for recovery.",9780143127741,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAxNDMxMjc3NDE=,false,,observed
228
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,9,,MAKE BELIEVE,by Mac Barnett,"Little, Brown",The children’s book author considers the impact of children’s literature and how it provides a lens into the lives of children.,9780316601122,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY2MDExMjI=,false,,observed
229
+ 2026-05-18,advice-how-to-and-miscellaneous,Advice How To And Miscellaneous,2026-05-24,10,,THE TRIBE AND I HAVE SPOKEN,by Rob Cesternino with Alex Kavutskiy. Illustrated by Sam Bond,Atria,,9781668087473,https://www.nytimes.com/books/best-sellers/2026/05/24/advice-how-to-and-miscellaneous#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwODc0NzM=,false,,observed
230
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,10,,MAKE BELIEVE,by Mac Barnett,"Little, Brown",The children’s book author considers the impact of children’s literature and how it provides a lens into the lives of children.,9780316601122,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAzMTY2MDExMjI=,false,,observed
231
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,10,,ROOKIE,by Joshua Taylor Bassett,Authors Equity,The singer and actor details moments from his life in verse.,9798893311846,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTg4OTMzMTE4NDY=,false,,observed
232
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,11,,ROOKIE,by Joshua Taylor Bassett,Authors Equity,The singer and actor details moments from his life in verse.,9798893311846,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTg4OTMzMTE4NDY=,false,,observed
233
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,11,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
234
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,12,,WHEN WE SEE YOU AGAIN,by Rachel Goldberg-Polin,Random House,"A mother recounts the capture of her son, Hersh, from the Nova Music Festival and his subsequent execution.",9798217198009,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3OTgyMTcxOTgwMDk=,false,,observed
235
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,12,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
236
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,13,,THIS VAST ENTERPRISE,by Craig Fehrman,Avid Reader,A revisionist history of the Lewis and Clark expedition viewed from the perspectives of 10 people connected to it.,9781982174248,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxNzQyNDg=,false,,observed
237
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,13,,A COURSE CALLED HOME,by Tom Coyne,Avid Reader,The author of “A Course Called America” recounts restoring and reviving a golf course in upstate New York.,9781668030554,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE2NjgwMzA1NTQ=,false,,observed
238
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,14,,BACKTALKER,by Kimberlé Williams Crenshaw,Simon & Schuster,A memoir by the scholar and writer who advanced the ideas of intersectionality and critical race theory.,9781982181000,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxODEwMDA=,false,,observed
239
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,14,,BACKTALKER,by Kimberlé Williams Crenshaw,Simon & Schuster,A memoir by the scholar and writer who advanced the ideas of intersectionality and critical race theory.,9781982181000,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxODEwMDA=,false,,observed
240
+ 2026-05-18,combined-print-and-e-book-nonfiction,Combined Print And E Book Nonfiction,2026-05-24,15,,STRIPPED DOWN,by Bunnie Xo,Dey Street,The host of the “Dumb Blonde Podcast” shares how redemption was an important part of her journey toward reaching her goals.,9780063445192,https://www.nytimes.com/books/best-sellers/2026/05/24/combined-print-and-e-book-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODAwNjM0NDUxOTI=,false,,observed
241
+ 2026-05-18,hardcover-nonfiction,Hardcover Nonfiction,2026-05-24,15,,THIS VAST ENTERPRISE,by Craig Fehrman,Avid Reader,A revisionist history of the Lewis and Clark expedition viewed from the perspectives of 10 people connected to it.,9781982174248,https://www.nytimes.com/books/best-sellers/2026/05/24/hardcover-nonfiction#QmVzdFNlbGxlckJvb2s6LTk3ODE5ODIxNzQyNDg=,false,,observed
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ numpy==2.4.6
2
+ scipy==1.17.1
3
+ scikit-learn==1.9.0
results/jmis_landmark_book_level.csv ADDED
The diff for this file is too large to render. See raw diff
 
results/jmis_landmark_nested_models.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ specification,outcome,n,positive_n,in_sample_auc,holdout_auc,five_fold_mean_auc
2
+ rank_only,retained_7d,1106,346,0.7537933526011561,0.7765463673392061,0.7530269968399259
3
+ platform_visibility,retained_7d,1106,346,0.7628118344995436,0.7807615799943165,0.760510106788711
4
+ platform_plus_signals,retained_7d,1106,346,0.7965165804685124,0.7959647627166809,0.791709164214885
5
+ full,retained_7d,1106,346,0.796535594767265,0.7957753149569007,0.7902296502124877
6
+ rank_only,retained_14d,1106,322,0.7332203067562428,0.8011758941695247,0.731992012305431
7
+ platform_visibility,retained_14d,1106,322,0.7348919381417164,0.8010289073983342,0.7329323507518939
8
+ platform_plus_signals,retained_14d,1106,322,0.7770352706299911,0.8243998040176385,0.7745030323873416
9
+ full,retained_14d,1106,322,0.7770352706299912,0.824203821656051,0.7735101885702081
results/jmis_landmark_summary.json ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "design": {
3
+ "baseline_cutoff": "2026-04-30",
4
+ "landmark_date": "2026-05-04",
5
+ "outcome_7d_date": "2026-05-11",
6
+ "outcome_14d_date": "2026-05-18",
7
+ "cohort_n": 1433,
8
+ "complete_case_n": 1106,
9
+ "prior_nyt_matches_complete_cases": 31
10
+ },
11
+ "models": [
12
+ {
13
+ "outcome": "retained_7d",
14
+ "n": 1106,
15
+ "positive_n": 346,
16
+ "positive_rate": 0.3128390596745027,
17
+ "in_sample_auc": 0.796535594767265,
18
+ "standardization": {
19
+ "baseline_best_rank_strength": [
20
+ 59.09493670886076,
21
+ 24.3191270020284
22
+ ],
23
+ "baseline_category_breadth": [
24
+ 1.4945750452079567,
25
+ 0.8457867098840663
26
+ ],
27
+ "log_baseline_rating_count": [
28
+ 7.214717320302623,
29
+ 2.7914356889671
30
+ ],
31
+ "log_baseline_rating_growth_rate": [
32
+ 0.9534649259434652,
33
+ 1.0703213843333619
34
+ ],
35
+ "baseline_rating_average": [
36
+ 4.495298372513561,
37
+ 0.3794680147808149
38
+ ]
39
+ },
40
+ "coefficients": [
41
+ {
42
+ "feature": "Intercept",
43
+ "label": "Intercept",
44
+ "coefficient": -0.9680973397108079,
45
+ "standard_error": 0.07870636607917864,
46
+ "odds_ratio": 0.3798049909440086,
47
+ "ci_95_lower": 0.3255100906914016,
48
+ "ci_95_upper": 0.4431562500553501,
49
+ "p_value": 9.044548054947687e-35
50
+ },
51
+ {
52
+ "feature": "baseline_best_rank_strength",
53
+ "label": "Baseline best-rank strength",
54
+ "coefficient": 0.630119454106051,
55
+ "standard_error": 0.09287387621090383,
56
+ "odds_ratio": 1.8778348809542131,
57
+ "ci_95_lower": 1.5653143348022842,
58
+ "ci_95_upper": 2.252751260067984,
59
+ "p_value": 1.1634475984388304e-11
60
+ },
61
+ {
62
+ "feature": "baseline_category_breadth",
63
+ "label": "Baseline category breadth",
64
+ "coefficient": 0.3644339330326232,
65
+ "standard_error": 0.08674079417091908,
66
+ "odds_ratio": 1.4396988115028748,
67
+ "ci_95_lower": 1.2146087111136323,
68
+ "ci_95_upper": 1.7065023895163522,
69
+ "p_value": 2.6525373997204697e-05
70
+ },
71
+ {
72
+ "feature": "log_baseline_rating_count",
73
+ "label": "Log baseline rating count",
74
+ "coefficient": 0.21378663152127972,
75
+ "standard_error": 0.08554601119470151,
76
+ "odds_ratio": 1.2383583999547196,
77
+ "ci_95_lower": 1.0471963494316752,
78
+ "ci_95_upper": 1.4644164177717744,
79
+ "p_value": 0.012451494207379498
80
+ },
81
+ {
82
+ "feature": "log_baseline_rating_growth_rate",
83
+ "label": "Log baseline rating-growth rate",
84
+ "coefficient": 0.5367754557294223,
85
+ "standard_error": 0.09255409517820878,
86
+ "odds_ratio": 1.710482433757916,
87
+ "ci_95_lower": 1.4267076243643826,
88
+ "ci_95_upper": 2.0507005823970874,
89
+ "p_value": 6.647874801536629e-09
90
+ },
91
+ {
92
+ "feature": "baseline_rating_average",
93
+ "label": "Baseline rating average",
94
+ "coefficient": 0.11690343939275338,
95
+ "standard_error": 0.0888372461602217,
96
+ "odds_ratio": 1.1240108892762366,
97
+ "ci_95_lower": 0.9443885829241744,
98
+ "ci_95_upper": 1.3377972818133865,
99
+ "p_value": 0.18819813527539297
100
+ },
101
+ {
102
+ "feature": "prior_nyt_overlap",
103
+ "label": "Prior NYT overlap",
104
+ "coefficient": 0.06981815428750128,
105
+ "standard_error": 0.45998885768564507,
106
+ "odds_ratio": 1.0723131679715376,
107
+ "ci_95_lower": 0.4352825115850791,
108
+ "ci_95_upper": 2.6416304344917556,
109
+ "p_value": 0.8793586643740081
110
+ }
111
+ ],
112
+ "validation": {
113
+ "holdout_auc": 0.7957753149569007,
114
+ "five_fold_auc": [
115
+ 0.824718045112782,
116
+ 0.7632532418001525,
117
+ 0.8321891685736079,
118
+ 0.7736460717009916,
119
+ 0.7573417238749046
120
+ ],
121
+ "five_fold_mean_auc": 0.7902296502124877,
122
+ "five_fold_sd_auc": 0.03547678096219478
123
+ }
124
+ },
125
+ {
126
+ "outcome": "retained_14d",
127
+ "n": 1106,
128
+ "positive_n": 322,
129
+ "positive_rate": 0.2911392405063291,
130
+ "in_sample_auc": 0.7770352706299912,
131
+ "standardization": {
132
+ "baseline_best_rank_strength": [
133
+ 59.09493670886076,
134
+ 24.3191270020284
135
+ ],
136
+ "baseline_category_breadth": [
137
+ 1.4945750452079567,
138
+ 0.8457867098840663
139
+ ],
140
+ "log_baseline_rating_count": [
141
+ 7.214717320302623,
142
+ 2.7914356889671
143
+ ],
144
+ "log_baseline_rating_growth_rate": [
145
+ 0.9534649259434652,
146
+ 1.0703213843333619
147
+ ],
148
+ "baseline_rating_average": [
149
+ 4.495298372513561,
150
+ 0.3794680147808149
151
+ ]
152
+ },
153
+ "coefficients": [
154
+ {
155
+ "feature": "Intercept",
156
+ "label": "Intercept",
157
+ "coefficient": -1.0810118365374428,
158
+ "standard_error": 0.07982680062883053,
159
+ "odds_ratio": 0.3392520842667086,
160
+ "ci_95_lower": 0.2901166006017646,
161
+ "ci_95_upper": 0.3967093797479369,
162
+ "p_value": 8.839091535364494e-42
163
+ },
164
+ {
165
+ "feature": "baseline_best_rank_strength",
166
+ "label": "Baseline best-rank strength",
167
+ "coefficient": 0.5701766061864929,
168
+ "standard_error": 0.0938556719138213,
169
+ "odds_ratio": 1.7685793659119127,
170
+ "ci_95_lower": 1.471407593502084,
171
+ "ci_95_upper": 2.125769220807649,
172
+ "p_value": 1.2395973991923348e-09
173
+ },
174
+ {
175
+ "feature": "baseline_category_breadth",
176
+ "label": "Baseline category breadth",
177
+ "coefficient": 0.2625657023418613,
178
+ "standard_error": 0.08393635314215382,
179
+ "odds_ratio": 1.3002618956136436,
180
+ "ci_95_lower": 1.1030184311867888,
181
+ "ci_95_upper": 1.532776741877018,
182
+ "p_value": 0.001759089602056011
183
+ },
184
+ {
185
+ "feature": "log_baseline_rating_count",
186
+ "label": "Log baseline rating count",
187
+ "coefficient": 0.24487947201187935,
188
+ "standard_error": 0.08651463391090819,
189
+ "odds_ratio": 1.2774673333580528,
190
+ "ci_95_lower": 1.0782191980729487,
191
+ "ci_95_upper": 1.513535272524914,
192
+ "p_value": 0.004647564582437901
193
+ },
194
+ {
195
+ "feature": "log_baseline_rating_growth_rate",
196
+ "label": "Log baseline rating-growth rate",
197
+ "coefficient": 0.5776343958301482,
198
+ "standard_error": 0.09288498419843004,
199
+ "odds_ratio": 1.7818183642622025,
200
+ "ci_95_lower": 1.485245126230688,
201
+ "ci_95_upper": 2.137611244871986,
202
+ "p_value": 5.009281997522571e-10
203
+ },
204
+ {
205
+ "feature": "baseline_rating_average",
206
+ "label": "Baseline rating average",
207
+ "coefficient": 0.12294740888415799,
208
+ "standard_error": 0.09392538848212056,
209
+ "odds_ratio": 1.1308249480377903,
210
+ "ci_95_lower": 0.9406855579797125,
211
+ "ci_95_upper": 1.3593969337118814,
212
+ "p_value": 0.19053768541643723
213
+ },
214
+ {
215
+ "feature": "prior_nyt_overlap",
216
+ "label": "Prior NYT overlap",
217
+ "coefficient": -0.03624098089981712,
218
+ "standard_error": 0.4493914289562939,
219
+ "odds_ratio": 0.964407861604146,
220
+ "ci_95_lower": 0.39969713480506863,
221
+ "ci_95_upper": 2.326968203005711,
222
+ "p_value": 0.9357246157202062
223
+ }
224
+ ],
225
+ "validation": {
226
+ "holdout_auc": 0.824203821656051,
227
+ "five_fold_auc": [
228
+ 0.8348848603625674,
229
+ 0.7583826429980276,
230
+ 0.7674164012738853,
231
+ 0.7380573248407644,
232
+ 0.7688097133757963
233
+ ],
234
+ "five_fold_mean_auc": 0.7735101885702081,
235
+ "five_fold_sd_auc": 0.036441141687462375
236
+ }
237
+ }
238
+ ],
239
+ "nested_models": [
240
+ {
241
+ "specification": "rank_only",
242
+ "outcome": "retained_7d",
243
+ "n": 1106,
244
+ "positive_n": 346,
245
+ "in_sample_auc": 0.7537933526011561,
246
+ "holdout_auc": 0.7765463673392061,
247
+ "five_fold_mean_auc": 0.7530269968399259
248
+ },
249
+ {
250
+ "specification": "platform_visibility",
251
+ "outcome": "retained_7d",
252
+ "n": 1106,
253
+ "positive_n": 346,
254
+ "in_sample_auc": 0.7628118344995436,
255
+ "holdout_auc": 0.7807615799943165,
256
+ "five_fold_mean_auc": 0.760510106788711
257
+ },
258
+ {
259
+ "specification": "platform_plus_signals",
260
+ "outcome": "retained_7d",
261
+ "n": 1106,
262
+ "positive_n": 346,
263
+ "in_sample_auc": 0.7965165804685124,
264
+ "holdout_auc": 0.7959647627166809,
265
+ "five_fold_mean_auc": 0.791709164214885
266
+ },
267
+ {
268
+ "specification": "full",
269
+ "outcome": "retained_7d",
270
+ "n": 1106,
271
+ "positive_n": 346,
272
+ "in_sample_auc": 0.796535594767265,
273
+ "holdout_auc": 0.7957753149569007,
274
+ "five_fold_mean_auc": 0.7902296502124877
275
+ },
276
+ {
277
+ "specification": "rank_only",
278
+ "outcome": "retained_14d",
279
+ "n": 1106,
280
+ "positive_n": 322,
281
+ "in_sample_auc": 0.7332203067562428,
282
+ "holdout_auc": 0.8011758941695247,
283
+ "five_fold_mean_auc": 0.731992012305431
284
+ },
285
+ {
286
+ "specification": "platform_visibility",
287
+ "outcome": "retained_14d",
288
+ "n": 1106,
289
+ "positive_n": 322,
290
+ "in_sample_auc": 0.7348919381417164,
291
+ "holdout_auc": 0.8010289073983342,
292
+ "five_fold_mean_auc": 0.7329323507518939
293
+ },
294
+ {
295
+ "specification": "platform_plus_signals",
296
+ "outcome": "retained_14d",
297
+ "n": 1106,
298
+ "positive_n": 322,
299
+ "in_sample_auc": 0.7770352706299911,
300
+ "holdout_auc": 0.8243998040176385,
301
+ "five_fold_mean_auc": 0.7745030323873416
302
+ },
303
+ {
304
+ "specification": "full",
305
+ "outcome": "retained_14d",
306
+ "n": 1106,
307
+ "positive_n": 322,
308
+ "in_sample_auc": 0.7770352706299912,
309
+ "holdout_auc": 0.824203821656051,
310
+ "five_fold_mean_auc": 0.7735101885702081
311
+ }
312
+ ]
313
+ }