From 8c054b066e4959a5d0aa16d0b695d0aa963190ee Mon Sep 17 00:00:00 2001 From: Esther-MacMini Date: Sat, 5 Dec 2026 04:24:24 -0500 Subject: [PATCH] Connect the R decision-time replay to timestamped NBA samples in Python --- tutorials/point-in-time/compare-books.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorials/point-in-time/compare-books.md b/tutorials/point-in-time/compare-books.md index c3d7b3c..23c4d93 100644 --- a/tutorials/point-in-time/compare-books.md +++ b/tutorials/point-in-time/compare-books.md @@ -28,3 +28,9 @@ Supply the [nine-column moneyline CSV](log-guide.md#supply-your-observations) wi Run `Rscript test_compare_books.R` from the extracted directory to check the cutoff and source-age boundaries, duplicate-timestamp conflict, withdrawal, tie and separate scopes. The maintainer’s [NBA preview](https://parlay-api.com/try?utm_source=github&utm_medium=r_tutorial&utm_campaign=decision_log_replay&utm_content=two_book_cutoff) lets you inspect a small current sample without a key. To replay a real decision you also need a history of when your collector received each observation. + +### Bring one NBA snapshot from Python + +[Record one public NBA preview and its receipt time](https://github.com/JacobiusMakes/parlay-api-python/blob/nba-csv-report-v1.2/examples/nba-csv-report/README.md#record-a-board-for-a-deadline-replay) if your collector runs in Python. The report lists the event and bookmaker IDs. Once you select the same team at two books, the Python converter writes the nine columns used by this R example. Keep its `nba_preview_unspecified` period when choosing the replay scope. + +A single capture lets you ask which price your collector had **by that receipt time**. Observing a change over time takes additional captures. Use your own source-age limit and inspect each book’s market timestamp.