Data engineering & quality
Diagnose Training–Serving Skew Before Changing the Model
Execute scoring and logging reads around a real local feature refresh, then repair fidelity by sharing the scorer’s captured receipt.
Source case: Pinterest. The article separates the published design from the data, methods and observations in this local experiment.
A faithful log must preserve the input, not fetch a better one
A model scores a request using a cached feature vector. Logging happens later, after new responses reach the feature service. If the logger fetches again, its values may be correct at that later moment while no longer describing what the model saw. Replaying a checkpoint against that log creates a plausible score with the wrong historical identity.
Pinterest’s 18 January 2024 article separates ordinary model/business-metric differences from pipeline failures. Its examples include asynchronous serving/logging reads, delayed feature availability, backfill leakage and preprocessing differences. It describes serving logs, validation and checkpoint replay, with work toward a unified serving/logging path. The relevant idea here is to establish input identity before interpreting a changed score.
Study reconstruction of the diagnostic boundary. The connected experiment below now generates the paired captures through actual local reads rather than supplying a prefilled incorrect logged vector.
Design reference: Pinterest Engineering, 18 January 2024
Carry one model and one event history through the investigation
The payment study begins with 5,400 synthetic issuer-response events. The Faire stage adds explicit arrival times and actually fits two models. This stage uses its available-history model, including its fitted scaler, rather than training another classifier.
Its model digest points to that fitted artifact. The underlying request, event-window cutoff and newly arriving responses come from the same source stream. The experiment selects the first final-window request whose card-history rate changes after one hour of additional response availability. The event window stays fixed: the new information is an earlier response arriving late, not a future transaction being added to the historical window.
This selection rule is disclosed because it intentionally finds a diagnostic case. The magnitude is not an estimate of incident prevalence or average skew. There are no outcome labels or case names instructing the comparison function to declare an error; it compares the vectors actually captured by the two paths.
The scorer and logger run in separate Python threads. Events impose a repeatable interleaving around a real mutable feature store. This tests the data-flow mechanism in process, not a production RPC or queueing system.
Execute the two lookups, then change the capture path
The local store records each read with a monotonically increasing read ID and store version. A read returns a copied receipt containing the vector and its source cutoffs. The experiment executes three conditions:
- Stable control: the scoring thread reads; the logging thread reads later without a store update. Two read IDs return the same vector.
- Updated, separate reads: after scoring finishes its read, the main thread publishes the newly available history. The logging thread waits for that update and then performs a second store read.
- Updated, shared capture: the same update occurs, but the logger receives the scorer’s copied receipt instead of performing that second lookup.
The new store state is computed from stored response rows and their availability times. The mismatched logged vector is not typed into a fixture. The recorder retains both read receipts, publication step, model fingerprint and scores, so the observed sequence can be inspected.
For the selected request, event 4342, response 4332 becomes available during the refresh interval and changes the card history. The separate-read condition records version 0 for scoring and version 1 for logging. The fixed condition still updates the store to version 1, but preserves the original version-0 receipt in the log. It does not suppress the data update to make the comparison pass.
Repair fidelity at the collection boundary
The executed repair is small: logging consumes the same captured receipt that supplied the scorer. Copying that receipt prevents a later mutation of the store from changing the logged evidence.
def logging_capture(store, scored_receipt, share_capture):
"""The repaired logger consumes the scored receipt instead of reading again."""
return copy.deepcopy(scored_receipt) if share_capture else store.read("logging")The race condition changes the score replay from 0.02729750 to 0.02700242, an absolute difference of 0.00029508—about 0.03 percentage points. The effect is numerically small. That does not make the log a faithful account of the original request: it represents a different input.
With shared capture, the replayed score is 0.02729750 again and the paired input difference is zero. Store reads decrease from two to one; the logged receipt retains the original read ID. These observations show that the implemented capture change removes this scheduled discrepancy. No threshold-based customer action or improvement in authorization outcomes is inferred.
| Executed condition | Store reads | Scoring/logging versions | Absolute score difference |
|---|---|---|---|
| Stable, separate reads | 2 | 0 / 0 | 0 |
| Update between separate reads | 2 | 0 / 1 | 0.00029508 |
| Same update, shared receipt | 1 | 0 / 0 | 0 |
This is stronger evidence than merely accepting a prefilled row labelled “logging race.” It identifies the two actual reads and changes the producer path while holding the request, model and source update fixed. The scheduling is still deliberate; it does not prove that a deployed system experiences the same frequency or timing.
Keep fidelity, freshness and prediction quality separate
A later lookup may be fresher and still be the wrong record for historical replay. Conversely, an original capture can be faithful while using a stale feature that the application should not have allowed. The first is a collection problem; the second is a serving-data policy problem. The Faire stage defines the availability boundary, while this stage preserves the result of that boundary.
Neither case is automatically a model-quality problem. With identical coefficients and scaling, the feature change explains the numerical score change. For logistic regression, a contribution to log-odds is weight × feature_delta / scale; those contributions do not add as probability-point effects because the sigmoid is nonlinear.
Population drift is also different from paired skew. Two disjoint request groups can have different score means without any broken lookup. A healthy comparison must report which requests matched and which were absent or incompatible, rather than interpreting every unpaired record as zero difference.
The previous mechanism experiment remains useful here: it contains an explicit pair of opposite score changes whose signed mean cancels, alongside unmatched captures and version mismatches. It is now supporting diagnostic evidence, not the primary demonstration of how logging values are produced.
Make the capture useful to the next training job
A proposed deployed receipt would carry request identity, feature definition and snapshot versions, model identity, and the exact values scored. Logging would transmit that receipt rather than independently reconstructing it. Delayed labels could then join the same request identity to form training examples.
The local repair does not make delivery durable. A production design must decide what happens when logs are dropped, duplicated or sampled, and whether the retained sample represents the future training population. Full vectors can also create storage and sensitive-data obligations; a retention and access policy belongs with the capture design.
The resulting learning chain is concrete: diagnose the original policy without changing its threshold, compute available-time features and fit comparable models, then preserve the exact input of the selected model through the logging boundary. Retraining becomes a sensible response when the remaining evidence points to the model, rather than being the default reaction to an unexplained score discrepancy.
Inspect actual captures and retain the earlier paired-diagnosis fixture
What the experiment actually shows
Connected study 06: actual scoring and logging threads read a mutable local feature store; a shared capture removes the second lookup.
Data and comparison boundary
Methods compared
- Separate lookups
- The scorer reads first; an Event orders a real store update; the logging thread then reads again.
- Shared captured receipt
- The same update occurs, but the logger receives the scorer's captured input rather than refetching from the store.
Recorded findings
- Separate-read score discrepancy
- 0.00029508
Computed with the same available-history model trained in study 05.
- Shared-capture score discrepancy
- 0.00000000
The store still updates; the logged receipt preserves the original read ID and vector.
- Store reads: separate → shared
- 2 → 1
Observed read receipts and integer trace steps are recorded. No throughput or incident-prevalence claim.
Inspect a recorded example
Same source update, different capture path
{ "event_id": 4342, "day": 72, "card": "C073", "issuer": 1, "request_at": 6253200 }
Baseline output
{ "serving": { "read_id": 1, "store_version": 0, "snapshot": { "features": [ 4.546056921495585, 0, 0, 1, 0, 0.037037037037037035, 0.03484320557491289 ], "counts": [ 7, 267 ], "event_ids": [ [ 3959, 3960, 4001, 4117, 4137, 4155, 4298 ], [ 3499, 3501, 3503, 3505, 3506, 3508, 3512, 3522, 3526, 3529, 3531, 3533, 3536, 3538, 3541, 3542, 3543, 3549, 3550, 3553, 3556, 3560, 3563, 3566, 3573, 3577, 3578, 3583, 3584, 3586, 3588, 3591, 3596, 3597, 3598, 3599, 3612, 3622, 3624, 3625, 3628, 3633, 3637, 3639, 3640, 3643, 3644, 3646, 3650, 3652, 3655, 3666, 3673, 3680, 3686, 3687, 3688, 3689, 3690, 3698, 3701, 3702, 3705, 3707, 3708, 3711, 3712, 3716, 3718, 3721, 3722, 3723, 3724, 3729, 3735, 3740, 3743, 3746, 3747, 3751, 3758, 3763, 3767, 3768, 3769, 3770, 3771, 3772, 3778, 3780, 3782, 3783, 3786, 3788, 3789, 3790, 3795, 3797, 3798, 3802, 3807, 3808, 3810, 3815, 3816, 3824, 3825, 3827, 3828, 3830, 3833, 3834, 3835, 3836, 3846, 3847, 3853, 3856, 3858, 3860, 3865, 3866, 3867, 3870, 3872, 3882, 3885, 3887, 3888, 3890, 3893, 3895, 3897, 3905, 3909, 3915, 3918, 3919, 3924, 3928, 3932, 3936, 3940, 3945, 3946, 3951, 3958, 3959, 3960, 3961, 3963, 3965, 3968, 3972, 3977, 3978, 3990, 3991, 3995, 3996, 3997, 3999, 4001, 4006, 4009, 4012, 4014, 4017, 4023, 4024, 4027, 4031, 4034, 4040, 4041, 4043, 4045, 4046, 4052, 4053, 4055, 4056, 4057, 4058, 4061, 4064, 4069, 4073, 4078, 4082, 4083, 4088, 4090, 4091, 4093, 4095, 4097, 4101, 4104, 4105, 4111, 4117, 4121, 4124, 4128, 4132, 4133, 4135, 4137, 4142, 4143, 4144, 4147, 4153, 4155, 4160, 4167, 4172, 4175, 4177, 4183, 4185, 4186, 4187, 4188, 4190, 4193, 4195, 4196, 4202, 4205, 4207, 4213, 4214, 4216, 4223, 4229, 4234, 4236, 4237, 4244, 4245, 4246, 4253, 4256, 4258, 4262, 4269, 4271, 4272, 4275, 4280, 4287, 4291, 4294, 4295, 4298, 4300, 4308, 4310, 4313, 4314, 4315, 4321, 4324, 4327, 4330 ] ], "request_id": 4342, "event_cutoff": 6253200, "available_cutoff": 6253200 } }, "logged": { "read_id": 2, "store_version": 1, "snapshot": { "features": [ 4.546056921495585, 0, 0, 1, 0, 0.03571428571428571, 0.03460207612456748 ], "counts": [ 8, 269 ], "event_ids": [ [ 3959, 3960, 4001, 4117, 4137, 4155, 4298, 4332 ], [ 3499, 3501, 3503, 3505, 3506, 3508, 3512, 3522, 3526, 3529, 3531, 3533, 3536, 3538, 3541, 3542, 3543, 3549, 3550, 3553, 3556, 3560, 3563, 3566, 3573, 3577, 3578, 3583, 3584, 3586, 3588, 3591, 3596, 3597, 3598, 3599, 3612, 3622, 3624, 3625, 3628, 3633, 3637, 3639, 3640, 3643, 3644, 3646, 3650, 3652, 3655, 3666, 3673, 3680, 3686, 3687, 3688, 3689, 3690, 3698, 3701, 3702, 3705, 3707, 3708, 3711, 3712, 3716, 3718, 3721, 3722, 3723, 3724, 3729, 3735, 3740, 3743, 3746, 3747, 3751, 3758, 3763, 3767, 3768, 3769, 3770, 3771, 3772, 3778, 3780, 3782, 3783, 3786, 3788, 3789, 3790, 3795, 3797, 3798, 3802, 3807, 3808, 3810, 3815, 3816, 3824, 3825, 3827, 3828, 3830, 3833, 3834, 3835, 3836, 3846, 3847, 3853, 3856, 3858, 3860, 3865, 3866, 3867, 3870, 3872, 3882, 3885, 3887, 3888, 3890, 3893, 3895, 3897, 3905, 3909, 3915, 3918, 3919, 3924, 3928, 3932, 3936, 3940, 3945, 3946, 3951, 3958, 3959, 3960, 3961, 3963, 3965, 3968, 3972, 3977, 3978, 3990, 3991, 3995, 3996, 3997, 3999, 4001, 4006, 4009, 4012, 4014, 4017, 4023, 4024, 4027, 4031, 4034, 4040, 4041, 4043, 4045, 4046, 4052, 4053, 4055, 4056, 4057, 4058, 4061, 4064, 4069, 4073, 4078, 4082, 4083, 4088, 4090, 4091, 4093, 4095, 4097, 4101, 4104, 4105, 4111, 4117, 4121, 4124, 4128, 4132, 4133, 4135, 4137, 4142, 4143, 4144, 4147, 4153, 4155, 4160, 4167, 4172, 4175, 4177, 4183, 4185, 4186, 4187, 4188, 4190, 4193, 4195, 4196, 4202, 4205, 4207, 4213, 4214, 4216, 4223, 4229, 4234, 4236, 4237, 4244, 4245, 4246, 4253, 4256, 4258, 4262, 4269, 4271, 4272, 4275, 4280, 4287, 4291, 4294, 4295, 4298, 4300, 4308, 4310, 4313, 4314, 4315, 4321, 4324, 4327, 4330, 4331, 4332 ] ], "request_id": 4342, "event_cutoff": 6253200, "available_cutoff": 6256800 } }, "serving_score": 0.027297498441722332, "logged_replay_score": 0.02700241629064065, "paired_input_match": false, "absolute_score_difference": 0.00029508215108168395, "read_count": 2, "final_store_version": 1, "trace": [ { "step": 1, "operation": "read", "role": "scoring", "read_id": 1, "store_version": 0 }, { "step": 2, "operation": "publish_arrived_history", "store_version": 1 }, { "step": 3, "operation": "read", "role": "logging", "read_id": 2, "store_version": 1 } ], "execution": "Two real Python threads and Events impose an explicit update between captures; no latency measurement or naturally occurring incident is claimed." }
Candidate output
{ "serving": { "read_id": 1, "store_version": 0, "snapshot": { "features": [ 4.546056921495585, 0, 0, 1, 0, 0.037037037037037035, 0.03484320557491289 ], "counts": [ 7, 267 ], "event_ids": [ [ 3959, 3960, 4001, 4117, 4137, 4155, 4298 ], [ 3499, 3501, 3503, 3505, 3506, 3508, 3512, 3522, 3526, 3529, 3531, 3533, 3536, 3538, 3541, 3542, 3543, 3549, 3550, 3553, 3556, 3560, 3563, 3566, 3573, 3577, 3578, 3583, 3584, 3586, 3588, 3591, 3596, 3597, 3598, 3599, 3612, 3622, 3624, 3625, 3628, 3633, 3637, 3639, 3640, 3643, 3644, 3646, 3650, 3652, 3655, 3666, 3673, 3680, 3686, 3687, 3688, 3689, 3690, 3698, 3701, 3702, 3705, 3707, 3708, 3711, 3712, 3716, 3718, 3721, 3722, 3723, 3724, 3729, 3735, 3740, 3743, 3746, 3747, 3751, 3758, 3763, 3767, 3768, 3769, 3770, 3771, 3772, 3778, 3780, 3782, 3783, 3786, 3788, 3789, 3790, 3795, 3797, 3798, 3802, 3807, 3808, 3810, 3815, 3816, 3824, 3825, 3827, 3828, 3830, 3833, 3834, 3835, 3836, 3846, 3847, 3853, 3856, 3858, 3860, 3865, 3866, 3867, 3870, 3872, 3882, 3885, 3887, 3888, 3890, 3893, 3895, 3897, 3905, 3909, 3915, 3918, 3919, 3924, 3928, 3932, 3936, 3940, 3945, 3946, 3951, 3958, 3959, 3960, 3961, 3963, 3965, 3968, 3972, 3977, 3978, 3990, 3991, 3995, 3996, 3997, 3999, 4001, 4006, 4009, 4012, 4014, 4017, 4023, 4024, 4027, 4031, 4034, 4040, 4041, 4043, 4045, 4046, 4052, 4053, 4055, 4056, 4057, 4058, 4061, 4064, 4069, 4073, 4078, 4082, 4083, 4088, 4090, 4091, 4093, 4095, 4097, 4101, 4104, 4105, 4111, 4117, 4121, 4124, 4128, 4132, 4133, 4135, 4137, 4142, 4143, 4144, 4147, 4153, 4155, 4160, 4167, 4172, 4175, 4177, 4183, 4185, 4186, 4187, 4188, 4190, 4193, 4195, 4196, 4202, 4205, 4207, 4213, 4214, 4216, 4223, 4229, 4234, 4236, 4237, 4244, 4245, 4246, 4253, 4256, 4258, 4262, 4269, 4271, 4272, 4275, 4280, 4287, 4291, 4294, 4295, 4298, 4300, 4308, 4310, 4313, 4314, 4315, 4321, 4324, 4327, 4330 ] ], "request_id": 4342, "event_cutoff": 6253200, "available_cutoff": 6253200 } }, "logged": { "read_id": 1, "store_version": 0, "snapshot": { "features": [ 4.546056921495585, 0, 0, 1, 0, 0.037037037037037035, 0.03484320557491289 ], "counts": [ 7, 267 ], "event_ids": [ [ 3959, 3960, 4001, 4117, 4137, 4155, 4298 ], [ 3499, 3501, 3503, 3505, 3506, 3508, 3512, 3522, 3526, 3529, 3531, 3533, 3536, 3538, 3541, 3542, 3543, 3549, 3550, 3553, 3556, 3560, 3563, 3566, 3573, 3577, 3578, 3583, 3584, 3586, 3588, 3591, 3596, 3597, 3598, 3599, 3612, 3622, 3624, 3625, 3628, 3633, 3637, 3639, 3640, 3643, 3644, 3646, 3650, 3652, 3655, 3666, 3673, 3680, 3686, 3687, 3688, 3689, 3690, 3698, 3701, 3702, 3705, 3707, 3708, 3711, 3712, 3716, 3718, 3721, 3722, 3723, 3724, 3729, 3735, 3740, 3743, 3746, 3747, 3751, 3758, 3763, 3767, 3768, 3769, 3770, 3771, 3772, 3778, 3780, 3782, 3783, 3786, 3788, 3789, 3790, 3795, 3797, 3798, 3802, 3807, 3808, 3810, 3815, 3816, 3824, 3825, 3827, 3828, 3830, 3833, 3834, 3835, 3836, 3846, 3847, 3853, 3856, 3858, 3860, 3865, 3866, 3867, 3870, 3872, 3882, 3885, 3887, 3888, 3890, 3893, 3895, 3897, 3905, 3909, 3915, 3918, 3919, 3924, 3928, 3932, 3936, 3940, 3945, 3946, 3951, 3958, 3959, 3960, 3961, 3963, 3965, 3968, 3972, 3977, 3978, 3990, 3991, 3995, 3996, 3997, 3999, 4001, 4006, 4009, 4012, 4014, 4017, 4023, 4024, 4027, 4031, 4034, 4040, 4041, 4043, 4045, 4046, 4052, 4053, 4055, 4056, 4057, 4058, 4061, 4064, 4069, 4073, 4078, 4082, 4083, 4088, 4090, 4091, 4093, 4095, 4097, 4101, 4104, 4105, 4111, 4117, 4121, 4124, 4128, 4132, 4133, 4135, 4137, 4142, 4143, 4144, 4147, 4153, 4155, 4160, 4167, 4172, 4175, 4177, 4183, 4185, 4186, 4187, 4188, 4190, 4193, 4195, 4196, 4202, 4205, 4207, 4213, 4214, 4216, 4223, 4229, 4234, 4236, 4237, 4244, 4245, 4246, 4253, 4256, 4258, 4262, 4269, 4271, 4272, 4275, 4280, 4287, 4291, 4294, 4295, 4298, 4300, 4308, 4310, 4313, 4314, 4315, 4321, 4324, 4327, 4330 ] ], "request_id": 4342, "event_cutoff": 6253200, "available_cutoff": 6253200 } }, "serving_score": 0.027297498441722332, "logged_replay_score": 0.027297498441722332, "paired_input_match": true, "absolute_score_difference": 0.0, "read_count": 1, "final_store_version": 1, "trace": [ { "step": 1, "operation": "read", "role": "scoring", "read_id": 1, "store_version": 0 }, { "step": 2, "operation": "publish_arrived_history", "store_version": 1 } ], "execution": "Two real Python threads and Events impose an explicit update between captures; no latency measurement or naturally occurring incident is claimed." }
These are saved results. Switching examples runs no model or external service.
Limits of this experiment
- This is a scheduled local concurrency example, not an observed production incident.
- Capture preservation does not authenticate upstream values or remove sampling bias.
- No broker, durable telemetry, RPC, live traffic or production latency is measured.
Inspect the recorded provenance
{
"lineage": {
"parents": {
"engineering-lab/paypal/study.py": "20366589609101ef48e6920b35d760762869e5c24d3a07a7678adba6b7467a24",
"engineering-lab/paypal/events.csv": "5b5829abf4bd3d92aa5b748a7339b7ca5f59c0e6063cf4bed6afb5ca50a388b4",
"engineering-lab/paypal/results.json": "f9c9fd30f11c897cb7801a5d22bf91122026cd3fef5934a929f87cad2db2dd59"
},
"model_selector": "/provenance/fitted_model",
"original_threshold": 0.1,
"feature_names": [
"log_amount",
"night",
"weekend",
"issuer_1",
"issuer_2",
"prior_card_decline_rate",
"prior_issuer_decline_rate"
],
"boundary": "The original model/events remain unchanged. Oracle probabilities are recovered only for diagnosis, never passed to fitting or inference. New delayed-arrival features and two new fits are separate artifacts.",
"original_model_slice_sha256": "ed55b7a21697107f3f8305652b03933088de1f0322bc430e7146f2cbc7122f5d"
},
"configuration": {
"data_kind": "Fully synthetic teaching process, not PayPal or public payment data",
"seed": 680,
"days": 90,
"events_per_day": 60,
"cards": 80,
"train_before_day": 54,
"validation_before_day": 72,
"epochs": 240,
"learning_rate": 0.15,
"l2": 0.01,
"false_flag_cost_units": 1,
"missed_decline_cost_units": 6,
"generator_note": "Issuer response is sampled from an authored process with latent card stress, amount, issuer, hour and past response effects. Issuer group 1 has a declared log-odds shift of +0.8 from day 72. This is a teaching distribution shift, not an observed banking phenomenon.",
"decision_note": "A positive model flag is an offline review label, not a decision to decline, retry or authenticate a real payment. Costs are arbitrary error units, not euros or revenue.",
"simulation_paths": 200,
"simulation_seed": 20261201,
"response_delay": {
"ordinary_seconds": 60,
"issuer_1_seconds": 10800,
"every_5th_seconds": 1800,
"every_11th_seconds": 129600
},
"capture_refresh_seconds": 3600
},
"frozen_files": {
"core.py": "89322a65b8653f94ff75e7267396f36de292a634578c9038833bef4fd1c2b681",
"generator.py": "f8c792da18196efdd35fa40ab6b135df608d287ec57e3a5aebb4ae92b0628739",
"model_math.py": "9f861dc4a95f7a77156470299488bdb1700935f8241b4bcd16bda6d807bad907",
"payment.py": "6ae540f3a7d59699b40f34e8d8de2f10d9e848761ff034919cd2526754f89510",
"features.py": "7fd0f54fa7f3047ac0eb2d04c0be3f0be59ec108037264573d9d60a3ec2c4480",
"capture.py": "f0688fc49b8396190dd8d3e30c2325da30e3e72cebdf5db284c6c3a3c9273abe",
"run.py": "7b0d22dd65893d652a525c47d5c6b0055dcb2949503edfc8f32e92365e3b0adb",
"verify.py": "4c6dd9cadc8b071303e8c68484e451e5d8b4cf4fa77e058209d4daf0381e89b2",
"config.json": "15a90fb85fd2208e59a1b9d40cdc350fef565c33b16eab085f1ac5d0ffae7d20",
"lineage.json": "920831837f2cf112b4acef66ca51c787686d3c6de0aa5f246621077462ac2bbc",
"sources.json": "981a1730e67f6de647613927cffe98ed9bf1bc76cb0c36fd7a55358f74d15011",
"source-events.csv": "5b5829abf4bd3d92aa5b748a7339b7ca5f59c0e6063cf4bed6afb5ca50a388b4",
"original-model.json": "79fbfef4d60f37c270af0bae1b12949a2baed6ca18e9216251b5f0073ae428bc"
},
"observation": {
"selection": "First test-window request whose card-history rate changes after one hour of additional response availability, holding the event window fixed.",
"request": {
"event_id": 4342,
"day": 72,
"card": "C073",
"issuer": 1,
"request_at": 6253200
},
"arrived_card_response_ids": [
4332
],
"trained_model_sha256": "2558102134ffcf39a3257ffc079518c6297f6e600452847c271cce48404d0fc7",
"model_origin": "feature-learning.json /provenance/observation/models/available",
"runs": {
"stable_reread": {
"serving": {
"read_id": 1,
"store_version": 0,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.037037037037037035,
0.03484320557491289
],
"counts": [
7,
267
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6253200
}
},
"logged": {
"read_id": 2,
"store_version": 0,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.037037037037037035,
0.03484320557491289
],
"counts": [
7,
267
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6253200
}
},
"serving_score": 0.027297498441722332,
"logged_replay_score": 0.027297498441722332,
"paired_input_match": true,
"absolute_score_difference": 0,
"read_count": 2,
"final_store_version": 0,
"trace": [
{
"step": 1,
"operation": "read",
"role": "scoring",
"read_id": 1,
"store_version": 0
},
{
"step": 2,
"operation": "read",
"role": "logging",
"read_id": 2,
"store_version": 0
}
],
"execution": "Two real Python threads and Events impose an explicit update between captures; no latency measurement or naturally occurring incident is claimed."
},
"updated_reread": {
"serving": {
"read_id": 1,
"store_version": 0,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.037037037037037035,
0.03484320557491289
],
"counts": [
7,
267
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6253200
}
},
"logged": {
"read_id": 2,
"store_version": 1,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.03571428571428571,
0.03460207612456748
],
"counts": [
8,
269
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298,
4332
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330,
4331,
4332
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6256800
}
},
"serving_score": 0.027297498441722332,
"logged_replay_score": 0.02700241629064065,
"paired_input_match": false,
"absolute_score_difference": 0.00029508215108168395,
"read_count": 2,
"final_store_version": 1,
"trace": [
{
"step": 1,
"operation": "read",
"role": "scoring",
"read_id": 1,
"store_version": 0
},
{
"step": 2,
"operation": "publish_arrived_history",
"store_version": 1
},
{
"step": 3,
"operation": "read",
"role": "logging",
"read_id": 2,
"store_version": 1
}
],
"execution": "Two real Python threads and Events impose an explicit update between captures; no latency measurement or naturally occurring incident is claimed."
},
"updated_shared_capture": {
"serving": {
"read_id": 1,
"store_version": 0,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.037037037037037035,
0.03484320557491289
],
"counts": [
7,
267
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6253200
}
},
"logged": {
"read_id": 1,
"store_version": 0,
"snapshot": {
"features": [
4.546056921495585,
0,
0,
1,
0,
0.037037037037037035,
0.03484320557491289
],
"counts": [
7,
267
],
"event_ids": [
[
3959,
3960,
4001,
4117,
4137,
4155,
4298
],
[
3499,
3501,
3503,
3505,
3506,
3508,
3512,
3522,
3526,
3529,
3531,
3533,
3536,
3538,
3541,
3542,
3543,
3549,
3550,
3553,
3556,
3560,
3563,
3566,
3573,
3577,
3578,
3583,
3584,
3586,
3588,
3591,
3596,
3597,
3598,
3599,
3612,
3622,
3624,
3625,
3628,
3633,
3637,
3639,
3640,
3643,
3644,
3646,
3650,
3652,
3655,
3666,
3673,
3680,
3686,
3687,
3688,
3689,
3690,
3698,
3701,
3702,
3705,
3707,
3708,
3711,
3712,
3716,
3718,
3721,
3722,
3723,
3724,
3729,
3735,
3740,
3743,
3746,
3747,
3751,
3758,
3763,
3767,
3768,
3769,
3770,
3771,
3772,
3778,
3780,
3782,
3783,
3786,
3788,
3789,
3790,
3795,
3797,
3798,
3802,
3807,
3808,
3810,
3815,
3816,
3824,
3825,
3827,
3828,
3830,
3833,
3834,
3835,
3836,
3846,
3847,
3853,
3856,
3858,
3860,
3865,
3866,
3867,
3870,
3872,
3882,
3885,
3887,
3888,
3890,
3893,
3895,
3897,
3905,
3909,
3915,
3918,
3919,
3924,
3928,
3932,
3936,
3940,
3945,
3946,
3951,
3958,
3959,
3960,
3961,
3963,
3965,
3968,
3972,
3977,
3978,
3990,
3991,
3995,
3996,
3997,
3999,
4001,
4006,
4009,
4012,
4014,
4017,
4023,
4024,
4027,
4031,
4034,
4040,
4041,
4043,
4045,
4046,
4052,
4053,
4055,
4056,
4057,
4058,
4061,
4064,
4069,
4073,
4078,
4082,
4083,
4088,
4090,
4091,
4093,
4095,
4097,
4101,
4104,
4105,
4111,
4117,
4121,
4124,
4128,
4132,
4133,
4135,
4137,
4142,
4143,
4144,
4147,
4153,
4155,
4160,
4167,
4172,
4175,
4177,
4183,
4185,
4186,
4187,
4188,
4190,
4193,
4195,
4196,
4202,
4205,
4207,
4213,
4214,
4216,
4223,
4229,
4234,
4236,
4237,
4244,
4245,
4246,
4253,
4256,
4258,
4262,
4269,
4271,
4272,
4275,
4280,
4287,
4291,
4294,
4295,
4298,
4300,
4308,
4310,
4313,
4314,
4315,
4321,
4324,
4327,
4330
]
],
"request_id": 4342,
"event_cutoff": 6253200,
"available_cutoff": 6253200
}
},
"serving_score": 0.027297498441722332,
"logged_replay_score": 0.027297498441722332,
"paired_input_match": true,
"absolute_score_difference": 0,
"read_count": 1,
"final_store_version": 1,
"trace": [
{
"step": 1,
"operation": "read",
"role": "scoring",
"read_id": 1,
"store_version": 0
},
{
"step": 2,
"operation": "publish_arrived_history",
"store_version": 1
}
],
"execution": "Two real Python threads and Events impose an explicit update between captures; no latency measurement or naturally occurring incident is claimed."
}
},
"boundary": "Only the live local feature-store snapshot and collection path change. No incorrect logged vector is prefilled; it is captured from the second actual read. Integer trace steps are replayable; no nondeterministic clock values enter equality checks."
}
}The earlier eight-request diagnostic fixture remains below. It is separate from the new actual read executions and its original files are unchanged.
What the experiment actually shows
Fixed-model feature diagnosis on eight authored request pairs and two distinct synthetic populations. No Pinterest data, model training, A/B test or payment action.
Data and comparison boundary
Methods compared
- Numeric-only baseline
- Compares vectors without identity, version or time checks.
- Paired as-of comparison
- SQLite joins request/entity/as-of, then checks model and extraction version, value differences and feature clocks.
- Fixed-artifact score analysis
- Uses the unchanged logistic artifact; records per-feature logit contributions and score movement separately.
Recorded findings
- Requests retained
- 8
Missing and incompatible captures remain in the denominator.
- Comparable logged captures
- 6
The wrong request key and preprocessing mismatch do not become zero score impact.
- Cancelling-pair mean signed delta
- 0.0
Two opposite per-request changes disappear in the aggregate mean.
- Cancelling-pair mean absolute delta
- 0.012685803732
Retains the magnitude hidden by signed averaging; no business-outcome claim.
Inspect a recorded example
Same captured input
Request REQ-SAME | Entity FICTIONAL-SAME | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged SAME-logged: request=REQ-SAME; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04] rebuilt SAME-rebuilt: request=REQ-SAME; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04]
Baseline output
{ "value_only_check": { "logged": "same numeric vector", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: exact_replay; score delta=0.0 Score scope: same_model_input_comparison Logging fidelity: matches_scored_input rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
A later, legitimately materialized snapshot
Request REQ-CACHE | Entity FICTIONAL-CACHE | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged CACHE-logged: request=REQ-CACHE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04] rebuilt CACHE-rebuilt: request=REQ-CACHE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.08, 0.04] rebuilt prior_card_decline_rate: last event 2026-03-01T09:55:00Z; available 2026-03-01T10:05:00Z
Baseline output
{ "value_only_check": { "logged": "same numeric vector", "rebuilt": "numeric vectors differ" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: exact_replay; score delta=0.0 Score scope: same_model_input_comparison Logging fidelity: matches_scored_input rebuilt: later_materialization; score delta=0.00907626474 Score scope: counterfactual_not_request_replay prior_card_decline_rate: value delta 0.04; logit contribution 0.318425229095
Backfill includes a future response
Request REQ-FUTURE | Entity FICTIONAL-FUTURE | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged FUTURE-logged: request=REQ-FUTURE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04] rebuilt FUTURE-rebuilt: request=REQ-FUTURE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.2, 0.04] rebuilt prior_card_decline_rate: last event 2026-03-01T11:00:00Z; available 2026-03-01T11:05:00Z
Baseline output
{ "value_only_check": { "logged": "same numeric vector", "rebuilt": "numeric vectors differ" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: exact_replay; score delta=0.0 Score scope: same_model_input_comparison Logging fidelity: matches_scored_input rebuilt: future_evidence; score delta=0.059081517514 Score scope: counterfactual_not_request_replay prior_card_decline_rate: value delta 0.16; logit contribution 1.27370091638
Amount extraction version differs
Request REQ-PREPROCESS | Entity FICTIONAL-PREPROCESS | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged PREPROCESS-logged: request=REQ-PREPROCESS; extraction=raw-amount-v0; vector=[54.598150033144236, 0, 0, 1, 0, 0.04, 0.04] rebuilt PREPROCESS-rebuilt: request=REQ-PREPROCESS; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04]
Baseline output
{ "value_only_check": { "logged": "numeric vectors differ", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: not_comparable; score delta=None Logging fidelity: not_assessed Issues: preprocess_version_mismatch rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
Logging reads a newer snapshot
Request REQ-LOG_RACE | Entity FICTIONAL-LOG_RACE | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged LOG_RACE-logged: request=REQ-LOG_RACE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.08, 0.04] logged prior_card_decline_rate: last event 2026-03-01T09:55:00Z; available 2026-03-01T10:05:00Z rebuilt LOG_RACE-rebuilt: request=REQ-LOG_RACE; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04]
Baseline output
{ "value_only_check": { "logged": "numeric vectors differ", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: later_materialization; score delta=0.00907626474 Score scope: counterfactual_not_request_replay prior_card_decline_rate: value delta 0.04; logit contribution 0.318425229095 Logging fidelity: differs_from_scored_input rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
A log exists under the wrong request key
Request REQ-NO_MATCH | Entity FICTIONAL-NO_MATCH | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.04, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged NO_MATCH-logged: request=REQ-NOT-THE-SCORED-REQUEST; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04] rebuilt NO_MATCH-rebuilt: request=REQ-NO_MATCH; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.04, 0.04]
Baseline output
{ "value_only_check": { "logged": "same numeric vector", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: missing_capture; score delta=None Logging fidelity: not_assessed rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
First half of a cancelling pair
Request REQ-SWAP_A | Entity FICTIONAL-SWAP_A | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.02, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged SWAP_A-logged: request=REQ-SWAP_A; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.08, 0.04] rebuilt SWAP_A-rebuilt: request=REQ-SWAP_A; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.02, 0.04]
Baseline output
{ "value_only_check": { "logged": "numeric vectors differ", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: paired_value_mismatch; score delta=0.012685803732 Score scope: same_model_input_comparison prior_card_decline_rate: value delta 0.06; logit contribution 0.477637843642 Logging fidelity: differs_from_scored_input rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
Second half of a cancelling pair
Request REQ-SWAP_B | Entity FICTIONAL-SWAP_B | As of 2026-03-01T10:00:00Z Feature order: log_amount, night, weekend, issuer_1, issuer_2, prior_card_decline_rate, prior_issuer_decline_rate Served vector: [4.0, 0, 0, 1, 0, 0.08, 0.04] Served cache snapshot: 2026-03-01T09:30:00Z logged SWAP_B-logged: request=REQ-SWAP_B; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.02, 0.04] rebuilt SWAP_B-rebuilt: request=REQ-SWAP_B; extraction=raw-feature-contract-v1; vector=[4.0, 0, 0, 1, 0, 0.08, 0.04]
Baseline output
{ "value_only_check": { "logged": "numeric vectors differ", "rebuilt": "same numeric vector" }, "boundary": "Examines values, without proving identity, preprocessing or availability." }
Candidate output
logged: paired_value_mismatch; score delta=-0.012685803732 Score scope: same_model_input_comparison prior_card_decline_rate: value delta -0.06; logit contribution -0.477637843642 Logging fidelity: differs_from_scored_input rebuilt: exact_replay; score delta=0.0 Score scope: same_model_input_comparison
These are saved results. Switching examples runs no model or external service.
Limits of this experiment
- Captures, timing metadata and one-hour TTL policy are authored; this does not authenticate real production logs.
- The frozen artifact was fitted on synthetic payment events in another study. It is not a Pinterest or PayPal production model.
- No outcome labels or experiment assignment are supplied, so score differences cannot establish calibration, fraud performance, authorization uplift or A/B impact.
- A materialization gap can explain a newer offline value without proving an upstream defect. Matching recorded inputs does not establish complete log coverage or metric alignment.
Inspect the recorded provenance
{
"basis_sha256": {
"core.py": "6b75cfad603d62c073732da6c1e225e6141cb1e6597cafb57a1bf05645cd670a",
"fixtures.json": "5adb93bd11fcbf6181ac073d1aa0d2f8f2dd689eea91650178c83d888018f02b",
"model.json": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"run.py": "d8ae1fc9436abe5ac9a1b1fe29468ed68de5a6a1c46d51ba5b6550e808ec1539",
"smoke.py": "d33be27b8906ec4382695a78f6bdfe91a69a4e9cf1fc334430c7494b151bec9e",
"sources.json": "4ee78922834564e33399d76fe336cce53adb511739af063f5c645ab46933bf7f",
"verify.py": "fb12359b3a5747b477fb91f59c41e0e5e84cc2ae0b5bd4cf45c8af0c6d4f68bf"
},
"diagnosis": {
"cases": [
{
"comparisons": {
"logged": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"logging_fidelity": "matches_scored_input",
"matching_capture_ids": [
"SAME-logged"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
},
"rebuilt": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"SAME-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "SAME",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-SAME",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "SAME-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-SAME"
},
"title": "Same captured input"
},
{
"comparisons": {
"logged": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"logging_fidelity": "matches_scored_input",
"matching_capture_ids": [
"CACHE-logged"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
},
"rebuilt": {
"capture_score": 0.034137707225,
"capture_time_flags": [
{
"code": "not_yet_available",
"feature": "prior_card_decline_rate"
}
],
"feature_deltas": [
{
"delta": 0.04,
"feature": "prior_card_decline_rate",
"logit_contribution": 0.318425229095
}
],
"issues": [],
"matching_capture_ids": [
"CACHE-rebuilt"
],
"score_delta": 0.00907626474,
"score_scope": "counterfactual_not_request_replay",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "later_materialization"
}
},
"id": "CACHE",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-CACHE",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "CACHE-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-CACHE"
},
"title": "A later, legitimately materialized snapshot"
},
{
"comparisons": {
"logged": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"logging_fidelity": "matches_scored_input",
"matching_capture_ids": [
"FUTURE-logged"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
},
"rebuilt": {
"capture_score": 0.08414296,
"capture_time_flags": [
{
"code": "future_event",
"feature": "prior_card_decline_rate"
},
{
"code": "not_yet_available",
"feature": "prior_card_decline_rate"
}
],
"feature_deltas": [
{
"delta": 0.16,
"feature": "prior_card_decline_rate",
"logit_contribution": 1.27370091638
}
],
"issues": [],
"matching_capture_ids": [
"FUTURE-rebuilt"
],
"score_delta": 0.059081517514,
"score_scope": "counterfactual_not_request_replay",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "future_evidence"
}
},
"id": "FUTURE",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-FUTURE",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "FUTURE-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-FUTURE"
},
"title": "Backfill includes a future response"
},
{
"comparisons": {
"logged": {
"issues": [
"preprocess_version_mismatch"
],
"logging_fidelity": "not_assessed",
"matching_capture_ids": [
"PREPROCESS-logged"
],
"score_delta": null,
"status": "not_comparable"
},
"rebuilt": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"PREPROCESS-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "PREPROCESS",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-PREPROCESS",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "PREPROCESS-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-PREPROCESS"
},
"title": "Amount extraction version differs"
},
{
"comparisons": {
"logged": {
"capture_score": 0.034137707225,
"capture_time_flags": [
{
"code": "not_yet_available",
"feature": "prior_card_decline_rate"
}
],
"feature_deltas": [
{
"delta": 0.04,
"feature": "prior_card_decline_rate",
"logit_contribution": 0.318425229095
}
],
"issues": [],
"logging_fidelity": "differs_from_scored_input",
"matching_capture_ids": [
"LOG_RACE-logged"
],
"score_delta": 0.00907626474,
"score_scope": "counterfactual_not_request_replay",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "later_materialization"
},
"rebuilt": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"LOG_RACE-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "LOG_RACE",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-LOG_RACE",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "LOG_RACE-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-LOG_RACE"
},
"title": "Logging reads a newer snapshot"
},
{
"comparisons": {
"logged": {
"logging_fidelity": "not_assessed",
"matching_capture_ids": [],
"score_delta": null,
"status": "missing_capture"
},
"rebuilt": {
"capture_score": 0.025061442485,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"NO_MATCH-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.025061442485,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "NO_MATCH",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-NO_MATCH",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.04,
0.04
],
"id": "NO_MATCH-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-NO_MATCH"
},
"title": "A log exists under the wrong request key"
},
{
"comparisons": {
"logged": {
"capture_score": 0.034137707225,
"capture_time_flags": [],
"feature_deltas": [
{
"delta": 0.06,
"feature": "prior_card_decline_rate",
"logit_contribution": 0.477637843642
}
],
"issues": [],
"logging_fidelity": "differs_from_scored_input",
"matching_capture_ids": [
"SWAP_A-logged"
],
"score_delta": 0.012685803732,
"score_scope": "same_model_input_comparison",
"served_score": 0.021451903493,
"serving_time_flags": [],
"status": "paired_value_mismatch"
},
"rebuilt": {
"capture_score": 0.021451903493,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"SWAP_A-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.021451903493,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "SWAP_A",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-SWAP_A",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.02,
0.04
],
"id": "SWAP_A-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-SWAP_A"
},
"title": "First half of a cancelling pair"
},
{
"comparisons": {
"logged": {
"capture_score": 0.021451903493,
"capture_time_flags": [],
"feature_deltas": [
{
"delta": -0.06,
"feature": "prior_card_decline_rate",
"logit_contribution": -0.477637843642
}
],
"issues": [],
"logging_fidelity": "differs_from_scored_input",
"matching_capture_ids": [
"SWAP_B-logged"
],
"score_delta": -0.012685803732,
"score_scope": "same_model_input_comparison",
"served_score": 0.034137707225,
"serving_time_flags": [],
"status": "paired_value_mismatch"
},
"rebuilt": {
"capture_score": 0.034137707225,
"capture_time_flags": [],
"feature_deltas": [],
"issues": [],
"matching_capture_ids": [
"SWAP_B-rebuilt"
],
"score_delta": 0,
"score_scope": "same_model_input_comparison",
"served_score": 0.034137707225,
"serving_time_flags": [],
"status": "exact_replay"
}
},
"id": "SWAP_B",
"serving": {
"as_of": "2026-03-01T10:00:00Z",
"cache_snapshot_at": "2026-03-01T09:30:00Z",
"captured_at": "2026-03-01T10:00:00Z",
"entity_id": "FICTIONAL-SWAP_B",
"feature_clocks": {
"issuer_1": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"issuer_2": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"log_amount": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"night": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_card_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"prior_issuer_decline_rate": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
},
"weekend": {
"available_at": "2026-03-01T09:05:00Z",
"event_max_at": "2026-03-01T09:00:00Z"
}
},
"features": [
4,
0,
0,
1,
0,
0.08,
0.04
],
"id": "SWAP_B-served",
"model_sha256": "e365c12cc37d5c3576addfdc953c6a976734ebad708453d4c23f9ae22618fb70",
"preprocess_version": "raw-feature-contract-v1",
"request_id": "REQ-SWAP_B"
},
"title": "Second half of a cancelling pair"
}
],
"unmatched_capture_ids": [
"NO_MATCH-logged"
]
},
"execution": "Python standard library; SQLite in-memory exact join; no network, inference service or fitting.",
"model_origin": {
"file": "engineering-lab/paypal/results.json",
"json_path": "provenance.fitted_model",
"note": "Exact fitted parameter copy from the independent synthetic PayPal-inspired study. No refit; not a Pinterest or PayPal production model.",
"sha256": "f9c9fd30f11c897cb7801a5d22bf91122026cd3fef5934a929f87cad2db2dd59"
},
"source": {
"csv": {
"logical_row_including_header": 378,
"title": "Handling Online-Offline Discrepancy in Pinterest Ads Ranking System",
"url": "https://medium.com/pinterest-engineering/handling-online-offline-discrepancy-in-pinterest-ads-ranking-system-8fd662da4c2d"
},
"data_rights": "Fixtures and model-training process are authored synthetic work. No Pinterest source text, customer data or model weights are bundled.",
"primary": {
"boundary": "Pinterest ads-conversion engineering account; proposed unification work is not represented as fully deployed. This lab uses independent synthetic payment features and no Pinterest infrastructure.",
"checked": "2026-12-01",
"mechanisms": [
"Separate metric/population explanations from pipeline defects",
"Compare actual serving and asynchronously logged feature snapshots",
"Check feature backfill availability and preprocessing identity"
],
"published": "2024-01-18"
}
},
"summary": {
"aggregate_demo": {
"case_ids": [
"SWAP_A",
"SWAP_B"
],
"count": 2,
"mean_absolute_delta": 0.012685803732,
"mean_signed_delta": 0
},
"comparable_logged_count": 6,
"logged_status_counts": {
"exact_replay": 3,
"later_materialization": 1,
"missing_capture": 1,
"not_comparable": 1,
"paired_value_mismatch": 2
},
"mean_absolute_score_delta": 0.005741312034,
"mean_signed_score_delta": 0.00151271079,
"population_note": "Different request sets; a mean-score change alone does not establish a feature pipeline defect.",
"request_count": 8,
"unpaired_populations": {
"earlier_requests": {
"count": 3,
"mean_score": 0.021844064616
},
"later_requests": {
"count": 3,
"mean_score": 0.124478368981
}
}
}
}Run python3 run.py and python3 verify.py from engineering-lab/payment-pipeline. Integer trace steps and Event-ordered operations are reproducible; nondeterministic wall-clock timings are not included. The package binds the event source, arrival policy and newly fitted available-history artifact. It uses only Python’s standard library.