Repository navigation
docs: add a browser trial for decision-time invoice revisions - #16
Merged
Merged
Conversation
dev-belly
marked this pull request as ready for review
October 18, 2026 14:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The existing first trial requires cloning a repository and setting up a local environment. Add a Colab-compatible notebook that installs a pinned dev-belly/PITBridge source snapshot, compares a deliberately unsafe event-date join with real availability-aware selections, and lets the reader change decision/ingestion timestamps. Keep fixed three-decision expectations separate from the editable scenario and preserve independent Python replay.
Link the same notebook from the English/Chinese READMEs, examples guide and sharing note. Installation uses the complete owner/commit URL, so a package name alone cannot select another project. The notebook uses ordinary Python and the package's existing comparator; no selection rules or CLI features change.
Add a standard-library notebook checker. CI skips only the explicitly tagged installation cell and executes the examples against the package under test on Linux and Windows, avoiding replacement of the current package with the pinned snapshot. --run-install is restricted to a new virtual environment without PITBridge.
Validation: in a new Python 3.12.14 environment outside the checkout, the exact source-archive install and all four code cells completed; direct_url.json and the import path confirmed the intended source and environment. CI mode executed three example cells. Moving the decision to April 4 or correction ingestion to April 1 selected the corrected record without breaking fixed-fixture assertions. Independent review checked seven editable time scenarios, including publication cutoffs, missing history, unavailable/stale values, offset timestamps and exact availability. Saved format 4.5, unique cell IDs, cleared outputs, and checker lint/format checks passed. All PR CI checks passed, including Linux/Windows notebook execution, existing contracts, optional pandas and installed distributions. Hosted Colab has not been executed in a signed-in Google session.
PR preview: https://colab.research.google.com/github/dev-belly/PITBridge/blob/4b262de009a229c2eacfc189ef892f46acfec227/examples/decision_time.ipynb
The main-branch Colab links will resolve after merging. Inputs remain explicitly synthetic; the demonstration makes no predictive-performance or external-adoption claim.