nmarshall commited on
Commit
6a5d1d8
·
1 Parent(s): 008aa5c

gameplay: port per-entity event expiry

Browse files
crates/urt-gameplay/src/bin/urt-location-feedback.rs CHANGED
@@ -27,6 +27,7 @@ fn main() {
27
  "nearest" => println!("{}", nearest(&w)),
28
  "text" => println!("{}", text(&w)),
29
  "radio" => println!("{}", radio(&w)),
 
30
  "release" => println!("{}", release(&w)),
31
  "allocation" => println!("{}", allocation(&w)),
32
  "allocated" => println!("{}", allocated(&w)),
@@ -275,3 +276,34 @@ fn release(w: &[u32]) -> String {
275
  list(&asked)
276
  )
277
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  "nearest" => println!("{}", nearest(&w)),
28
  "text" => println!("{}", text(&w)),
29
  "radio" => println!("{}", radio(&w)),
30
+ "expire" => println!("{}", expire(&w)),
31
  "release" => println!("{}", release(&w)),
32
  "allocation" => println!("{}", allocation(&w)),
33
  "allocated" => println!("{}", allocated(&w)),
 
276
  list(&asked)
277
  )
278
  }
279
+
280
+ fn expire(w: &[u32]) -> String {
281
+ let mut slot = EntitySlot { words: [0; 220] };
282
+ let fields = [180, 520, 532, 536, 540, 548, 564, 568, 572, 576];
283
+ for (offset, value) in fields.into_iter().zip(w[1..].iter().copied()) {
284
+ slot.words[offset / 4] = value;
285
+ }
286
+ let has_client = slot.words[520 / 4] != 0;
287
+ let mut client_event = 88;
288
+ let outcome = expire_entity_event(
289
+ &mut slot,
290
+ w[0],
291
+ has_client.then_some(&mut client_event),
292
+ |_| panic!("expiry fixture has no attached object"),
293
+ )
294
+ .unwrap();
295
+ let requests = outcome
296
+ .releases
297
+ .iter()
298
+ .map(|release| match release {
299
+ EntityRelease::Unlink => "-32",
300
+ _ => panic!("expiry fixture has no attached resources"),
301
+ })
302
+ .collect::<Vec<_>>()
303
+ .join(",");
304
+ format!(
305
+ r#"{{"record":{},"client_event":{client_event},"dispatch":{},"requests":[{requests}]}}"#,
306
+ record(&slot.words, &fields),
307
+ outcome.dispatch
308
+ )
309
+ }
crates/urt-gameplay/src/location_feedback.rs CHANGED
@@ -420,6 +420,52 @@ pub fn release_entity(
420
  Ok(requests)
421
  }
422
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
423
  #[derive(Clone, Debug, PartialEq, Eq)]
424
  pub struct AllocationOutcome {
425
  pub selected: Option<usize>,
 
420
  Ok(requests)
421
  }
422
 
423
+ #[derive(Clone, Debug, PartialEq, Eq)]
424
+ pub struct EntityEventFrame {
425
+ pub dispatch: bool,
426
+ pub releases: Vec<EntityRelease>,
427
+ }
428
+
429
+ /// Apply the per-entity event aging slice of the server frame. A false
430
+ /// dispatch result means the caller should advance to the next entity.
431
+ pub fn expire_entity_event(
432
+ record: &mut EntitySlot,
433
+ tick: u32,
434
+ client_event: Option<&mut u32>,
435
+ object_child: impl FnOnce(u32) -> Option<u32>,
436
+ ) -> Result<EntityEventFrame, Error> {
437
+ let live = record.words[532 / 4] != 0;
438
+ let temporary = record.words[572 / 4] != 0;
439
+ let dispatch = live && !temporary;
440
+ let age = tick.wrapping_sub(record.words[568 / 4]) as i32;
441
+ if !live || age <= 300 {
442
+ return Ok(EntityEventFrame {
443
+ dispatch,
444
+ releases: Vec::new(),
445
+ });
446
+ }
447
+
448
+ let mut next = record.clone();
449
+ let clear_client = next.words[180 / 4] != 0 && next.words[520 / 4] != 0;
450
+ if clear_client && client_event.is_none() {
451
+ return Err(Error::InvalidInput);
452
+ }
453
+ next.words[180 / 4] = 0;
454
+ let releases = if temporary {
455
+ release_entity(Some(&mut next), tick, object_child)?
456
+ } else if next.words[576 / 4] != 0 {
457
+ next.words[576 / 4] = 0;
458
+ vec![EntityRelease::Unlink]
459
+ } else {
460
+ Vec::new()
461
+ };
462
+ if let Some(client_event) = client_event.filter(|_| clear_client) {
463
+ *client_event = 0;
464
+ }
465
+ *record = next;
466
+ Ok(EntityEventFrame { dispatch, releases })
467
+ }
468
+
469
  #[derive(Clone, Debug, PartialEq, Eq)]
470
  pub struct AllocationOutcome {
471
  pub selected: Option<usize>,
docs/FINDINGS.md CHANGED
@@ -2047,3 +2047,5 @@ RE-1034–1043 batch validation passed:2,018 Python tests,339 Rust tests,146 det
2047
  - The Rust fixed-pool release path preserves the source unlink and resource request order and recovers the full record reset. [Entity release parity](research/RUST_ENTITY_RELEASE.md).
2048
 
2049
  - Temporary entities free after their signed event age exceeds 300. At the threshold they remain allocated and skip ordinary entity dispatch. [QVM frame expiry](research/QVM_ENTITY_EVENT_EXPIRY.md).
 
 
 
2047
  - The Rust fixed-pool release path preserves the source unlink and resource request order and recovers the full record reset. [Entity release parity](research/RUST_ENTITY_RELEASE.md).
2048
 
2049
  - Temporary entities free after their signed event age exceeds 300. At the threshold they remain allocated and skip ordinary entity dispatch. [QVM frame expiry](research/QVM_ENTITY_EVENT_EXPIRY.md).
2050
+
2051
+ - Rust can advance the temporary-event lifetime independently of entity dispatch and expose the resulting free and unlink plans. [Rust frame expiry](research/RUST_ENTITY_EVENT_EXPIRY.md).
docs/PROVISIONAL_TODO.md CHANGED
@@ -2109,3 +2109,5 @@ RE-974–983 completed routing, command rewrite, inactivity, movement-parameter
2109
  - [x] RE-1050 Port entity free and its ordered engine requests to the Rust fixed pool ([evidence](research/RUST_ENTITY_RELEASE.md)).
2110
 
2111
  - [x] RE-1051 Trace the per-entity frame event expiry, free and unlink branches ([evidence](research/QVM_ENTITY_EVENT_EXPIRY.md)).
 
 
 
2109
  - [x] RE-1050 Port entity free and its ordered engine requests to the Rust fixed pool ([evidence](research/RUST_ENTITY_RELEASE.md)).
2110
 
2111
  - [x] RE-1051 Trace the per-entity frame event expiry, free and unlink branches ([evidence](research/QVM_ENTITY_EVENT_EXPIRY.md)).
2112
+
2113
+ - [x] RE-1052 Port the per-entity frame event expiry gate to Rust ([evidence](research/RUST_ENTITY_EVENT_EXPIRY.md)).
docs/RESEARCH_LEDGER.md CHANGED
@@ -2879,3 +2879,7 @@ Rust matches all 49 recovered free cases, including complete resets, protected r
2879
  ## 2026-11-25 — RE-1051 Trace the per-entity frame event expiry, free and unlink branches
2880
 
2881
  Thirty cases recover the signed wrapped difference, the strict 300-time cutoff, client-event clearing and the precedence of temporary free over standalone unlink. See [frame expiry findings](research/QVM_ENTITY_EVENT_EXPIRY.md).
 
 
 
 
 
2879
  ## 2026-11-25 — RE-1051 Trace the per-entity frame event expiry, free and unlink branches
2880
 
2881
  Thirty cases recover the signed wrapped difference, the strict 300-time cutoff, client-event clearing and the precedence of temporary free over standalone unlink. See [frame expiry findings](research/QVM_ENTITY_EVENT_EXPIRY.md).
2882
+
2883
+ ## 2026-11-25 — RE-1052 Port the per-entity frame event expiry gate to Rust
2884
+
2885
+ Rust applies event expiration, dispatch suppression and release or unlink ordering using the fixed-pool record. The implementation matches all 30 source cases. See [expiry parity](research/RUST_ENTITY_EVENT_EXPIRY.md).
docs/research/QVM_LOCATION_ALLOCATION_BATCH.md CHANGED
@@ -83,3 +83,5 @@ RE-1049 matches all 48 source fixtures in [the Rust located callback](RUST_DEFUS
83
  RE-1050 ports [entity free](RUST_ENTITY_RELEASE.md) into the Rust pool and verifies every final record and ordered request. This exposes the known reset and timestamp behavior needed for longer callback lifecycles.
84
 
85
  RE-1051 traces [the frame-level event expiry gate](QVM_ENTITY_EVENT_EXPIRY.md). The source retains temporary records through age 300, frees them at age 301 and gives free precedence over the standalone unlink flag.
 
 
 
83
  RE-1050 ports [entity free](RUST_ENTITY_RELEASE.md) into the Rust pool and verifies every final record and ordered request. This exposes the known reset and timestamp behavior needed for longer callback lifecycles.
84
 
85
  RE-1051 traces [the frame-level event expiry gate](QVM_ENTITY_EVENT_EXPIRY.md). The source retains temporary records through age 300, frees them at age 301 and gives free precedence over the standalone unlink flag.
86
+
87
+ RE-1052 matches the 30 traced frame cases in [the Rust expiry gate](RUST_ENTITY_EVENT_EXPIRY.md), reusing the ported entity free routine for temporary events.
docs/research/README.md CHANGED
@@ -1675,3 +1675,5 @@ The extension collector adds five focused tests for native tail calls, command-r
1675
  - [Entity release in the Rust fixed pool](RUST_ENTITY_RELEASE.md)
1676
 
1677
  - [Per-entity event expiry in the QVM frame loop](QVM_ENTITY_EVENT_EXPIRY.md)
 
 
 
1675
  - [Entity release in the Rust fixed pool](RUST_ENTITY_RELEASE.md)
1676
 
1677
  - [Per-entity event expiry in the QVM frame loop](QVM_ENTITY_EVENT_EXPIRY.md)
1678
+
1679
+ - [Entity event expiry in Rust](RUST_ENTITY_EVENT_EXPIRY.md)
docs/research/RUST_ENTITY_EVENT_EXPIRY.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Entity event expiry in Rust
2
+
3
+ `expire_entity_event` applies the event-age slice to a fixed-pool record and its optional client event word. It clears expired events, delegates temporary records to the entity release routine and emits standalone unlink requests when the corresponding flag is set. Its dispatch result tells the caller whether to continue with this entity. Typed missing-client or unresolved-object errors leave both records untouched.
4
+
5
+ The [parity report](rust-entity-event-expiry.json) checks all 30 source cases, including the exact threshold, signed clock wrapping, free before unlink, protected records and zero-event behavior. The focused check also reruns the underlying entity release parity. The caller supplies frame timing and carries out engine requests.
docs/research/rust-entity-event-expiry.json ADDED
@@ -0,0 +1,1405 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "limits": "Per-entity expiry and dispatch plans; no engine scheduler or native unlink executes.",
3
+ "probes": [
4
+ {
5
+ "input": {
6
+ "event": 77,
7
+ "event_time": 701,
8
+ "has_client": 1,
9
+ "kind": "temporary",
10
+ "live": 1,
11
+ "protected": 0,
12
+ "tick": 1000
13
+ },
14
+ "rust": {
15
+ "client_event": 88,
16
+ "dispatch": false,
17
+ "record": {
18
+ "180": 77,
19
+ "520": 2014404608,
20
+ "532": 1,
21
+ "536": 0,
22
+ "540": 0,
23
+ "548": 0,
24
+ "564": 0,
25
+ "568": 701,
26
+ "572": 1,
27
+ "576": 1
28
+ },
29
+ "requests": []
30
+ },
31
+ "source": {
32
+ "client_event": 88,
33
+ "dispatch": false,
34
+ "record": {
35
+ "180": 77,
36
+ "520": 2014404608,
37
+ "532": 1,
38
+ "536": 0,
39
+ "540": 0,
40
+ "548": 0,
41
+ "564": 0,
42
+ "568": 701,
43
+ "572": 1,
44
+ "576": 1
45
+ },
46
+ "requests": []
47
+ }
48
+ },
49
+ {
50
+ "input": {
51
+ "event": 77,
52
+ "event_time": 701,
53
+ "has_client": 1,
54
+ "kind": "unlink",
55
+ "live": 1,
56
+ "protected": 0,
57
+ "tick": 1000
58
+ },
59
+ "rust": {
60
+ "client_event": 88,
61
+ "dispatch": true,
62
+ "record": {
63
+ "180": 77,
64
+ "520": 2014404608,
65
+ "532": 1,
66
+ "536": 0,
67
+ "540": 0,
68
+ "548": 0,
69
+ "564": 0,
70
+ "568": 701,
71
+ "572": 0,
72
+ "576": 1
73
+ },
74
+ "requests": []
75
+ },
76
+ "source": {
77
+ "client_event": 88,
78
+ "dispatch": true,
79
+ "record": {
80
+ "180": 77,
81
+ "520": 2014404608,
82
+ "532": 1,
83
+ "536": 0,
84
+ "540": 0,
85
+ "548": 0,
86
+ "564": 0,
87
+ "568": 701,
88
+ "572": 0,
89
+ "576": 1
90
+ },
91
+ "requests": []
92
+ }
93
+ },
94
+ {
95
+ "input": {
96
+ "event": 77,
97
+ "event_time": 701,
98
+ "has_client": 1,
99
+ "kind": "persistent",
100
+ "live": 1,
101
+ "protected": 0,
102
+ "tick": 1000
103
+ },
104
+ "rust": {
105
+ "client_event": 88,
106
+ "dispatch": true,
107
+ "record": {
108
+ "180": 77,
109
+ "520": 2014404608,
110
+ "532": 1,
111
+ "536": 0,
112
+ "540": 0,
113
+ "548": 0,
114
+ "564": 0,
115
+ "568": 701,
116
+ "572": 0,
117
+ "576": 0
118
+ },
119
+ "requests": []
120
+ },
121
+ "source": {
122
+ "client_event": 88,
123
+ "dispatch": true,
124
+ "record": {
125
+ "180": 77,
126
+ "520": 2014404608,
127
+ "532": 1,
128
+ "536": 0,
129
+ "540": 0,
130
+ "548": 0,
131
+ "564": 0,
132
+ "568": 701,
133
+ "572": 0,
134
+ "576": 0
135
+ },
136
+ "requests": []
137
+ }
138
+ },
139
+ {
140
+ "input": {
141
+ "event": 77,
142
+ "event_time": 700,
143
+ "has_client": 1,
144
+ "kind": "temporary",
145
+ "live": 1,
146
+ "protected": 0,
147
+ "tick": 1000
148
+ },
149
+ "rust": {
150
+ "client_event": 88,
151
+ "dispatch": false,
152
+ "record": {
153
+ "180": 77,
154
+ "520": 2014404608,
155
+ "532": 1,
156
+ "536": 0,
157
+ "540": 0,
158
+ "548": 0,
159
+ "564": 0,
160
+ "568": 700,
161
+ "572": 1,
162
+ "576": 1
163
+ },
164
+ "requests": []
165
+ },
166
+ "source": {
167
+ "client_event": 88,
168
+ "dispatch": false,
169
+ "record": {
170
+ "180": 77,
171
+ "520": 2014404608,
172
+ "532": 1,
173
+ "536": 0,
174
+ "540": 0,
175
+ "548": 0,
176
+ "564": 0,
177
+ "568": 700,
178
+ "572": 1,
179
+ "576": 1
180
+ },
181
+ "requests": []
182
+ }
183
+ },
184
+ {
185
+ "input": {
186
+ "event": 77,
187
+ "event_time": 700,
188
+ "has_client": 1,
189
+ "kind": "unlink",
190
+ "live": 1,
191
+ "protected": 0,
192
+ "tick": 1000
193
+ },
194
+ "rust": {
195
+ "client_event": 88,
196
+ "dispatch": true,
197
+ "record": {
198
+ "180": 77,
199
+ "520": 2014404608,
200
+ "532": 1,
201
+ "536": 0,
202
+ "540": 0,
203
+ "548": 0,
204
+ "564": 0,
205
+ "568": 700,
206
+ "572": 0,
207
+ "576": 1
208
+ },
209
+ "requests": []
210
+ },
211
+ "source": {
212
+ "client_event": 88,
213
+ "dispatch": true,
214
+ "record": {
215
+ "180": 77,
216
+ "520": 2014404608,
217
+ "532": 1,
218
+ "536": 0,
219
+ "540": 0,
220
+ "548": 0,
221
+ "564": 0,
222
+ "568": 700,
223
+ "572": 0,
224
+ "576": 1
225
+ },
226
+ "requests": []
227
+ }
228
+ },
229
+ {
230
+ "input": {
231
+ "event": 77,
232
+ "event_time": 700,
233
+ "has_client": 1,
234
+ "kind": "persistent",
235
+ "live": 1,
236
+ "protected": 0,
237
+ "tick": 1000
238
+ },
239
+ "rust": {
240
+ "client_event": 88,
241
+ "dispatch": true,
242
+ "record": {
243
+ "180": 77,
244
+ "520": 2014404608,
245
+ "532": 1,
246
+ "536": 0,
247
+ "540": 0,
248
+ "548": 0,
249
+ "564": 0,
250
+ "568": 700,
251
+ "572": 0,
252
+ "576": 0
253
+ },
254
+ "requests": []
255
+ },
256
+ "source": {
257
+ "client_event": 88,
258
+ "dispatch": true,
259
+ "record": {
260
+ "180": 77,
261
+ "520": 2014404608,
262
+ "532": 1,
263
+ "536": 0,
264
+ "540": 0,
265
+ "548": 0,
266
+ "564": 0,
267
+ "568": 700,
268
+ "572": 0,
269
+ "576": 0
270
+ },
271
+ "requests": []
272
+ }
273
+ },
274
+ {
275
+ "input": {
276
+ "event": 77,
277
+ "event_time": 699,
278
+ "has_client": 1,
279
+ "kind": "temporary",
280
+ "live": 1,
281
+ "protected": 0,
282
+ "tick": 1000
283
+ },
284
+ "rust": {
285
+ "client_event": 0,
286
+ "dispatch": false,
287
+ "record": {
288
+ "180": 0,
289
+ "520": 0,
290
+ "532": 0,
291
+ "536": 97202,
292
+ "540": 155463540,
293
+ "548": 0,
294
+ "564": 1000,
295
+ "568": 0,
296
+ "572": 0,
297
+ "576": 0
298
+ },
299
+ "requests": [
300
+ -32
301
+ ]
302
+ },
303
+ "source": {
304
+ "client_event": 0,
305
+ "dispatch": false,
306
+ "record": {
307
+ "180": 0,
308
+ "520": 0,
309
+ "532": 0,
310
+ "536": 97202,
311
+ "540": 155463540,
312
+ "548": 0,
313
+ "564": 1000,
314
+ "568": 0,
315
+ "572": 0,
316
+ "576": 0
317
+ },
318
+ "requests": [
319
+ -32
320
+ ]
321
+ }
322
+ },
323
+ {
324
+ "input": {
325
+ "event": 77,
326
+ "event_time": 699,
327
+ "has_client": 1,
328
+ "kind": "unlink",
329
+ "live": 1,
330
+ "protected": 0,
331
+ "tick": 1000
332
+ },
333
+ "rust": {
334
+ "client_event": 0,
335
+ "dispatch": true,
336
+ "record": {
337
+ "180": 0,
338
+ "520": 2014404608,
339
+ "532": 1,
340
+ "536": 0,
341
+ "540": 0,
342
+ "548": 0,
343
+ "564": 0,
344
+ "568": 699,
345
+ "572": 0,
346
+ "576": 0
347
+ },
348
+ "requests": [
349
+ -32
350
+ ]
351
+ },
352
+ "source": {
353
+ "client_event": 0,
354
+ "dispatch": true,
355
+ "record": {
356
+ "180": 0,
357
+ "520": 2014404608,
358
+ "532": 1,
359
+ "536": 0,
360
+ "540": 0,
361
+ "548": 0,
362
+ "564": 0,
363
+ "568": 699,
364
+ "572": 0,
365
+ "576": 0
366
+ },
367
+ "requests": [
368
+ -32
369
+ ]
370
+ }
371
+ },
372
+ {
373
+ "input": {
374
+ "event": 77,
375
+ "event_time": 699,
376
+ "has_client": 1,
377
+ "kind": "persistent",
378
+ "live": 1,
379
+ "protected": 0,
380
+ "tick": 1000
381
+ },
382
+ "rust": {
383
+ "client_event": 0,
384
+ "dispatch": true,
385
+ "record": {
386
+ "180": 0,
387
+ "520": 2014404608,
388
+ "532": 1,
389
+ "536": 0,
390
+ "540": 0,
391
+ "548": 0,
392
+ "564": 0,
393
+ "568": 699,
394
+ "572": 0,
395
+ "576": 0
396
+ },
397
+ "requests": []
398
+ },
399
+ "source": {
400
+ "client_event": 0,
401
+ "dispatch": true,
402
+ "record": {
403
+ "180": 0,
404
+ "520": 2014404608,
405
+ "532": 1,
406
+ "536": 0,
407
+ "540": 0,
408
+ "548": 0,
409
+ "564": 0,
410
+ "568": 699,
411
+ "572": 0,
412
+ "576": 0
413
+ },
414
+ "requests": []
415
+ }
416
+ },
417
+ {
418
+ "input": {
419
+ "event": 77,
420
+ "event_time": 1001,
421
+ "has_client": 1,
422
+ "kind": "temporary",
423
+ "live": 1,
424
+ "protected": 0,
425
+ "tick": 1000
426
+ },
427
+ "rust": {
428
+ "client_event": 88,
429
+ "dispatch": false,
430
+ "record": {
431
+ "180": 77,
432
+ "520": 2014404608,
433
+ "532": 1,
434
+ "536": 0,
435
+ "540": 0,
436
+ "548": 0,
437
+ "564": 0,
438
+ "568": 1001,
439
+ "572": 1,
440
+ "576": 1
441
+ },
442
+ "requests": []
443
+ },
444
+ "source": {
445
+ "client_event": 88,
446
+ "dispatch": false,
447
+ "record": {
448
+ "180": 77,
449
+ "520": 2014404608,
450
+ "532": 1,
451
+ "536": 0,
452
+ "540": 0,
453
+ "548": 0,
454
+ "564": 0,
455
+ "568": 1001,
456
+ "572": 1,
457
+ "576": 1
458
+ },
459
+ "requests": []
460
+ }
461
+ },
462
+ {
463
+ "input": {
464
+ "event": 77,
465
+ "event_time": 1001,
466
+ "has_client": 1,
467
+ "kind": "unlink",
468
+ "live": 1,
469
+ "protected": 0,
470
+ "tick": 1000
471
+ },
472
+ "rust": {
473
+ "client_event": 88,
474
+ "dispatch": true,
475
+ "record": {
476
+ "180": 77,
477
+ "520": 2014404608,
478
+ "532": 1,
479
+ "536": 0,
480
+ "540": 0,
481
+ "548": 0,
482
+ "564": 0,
483
+ "568": 1001,
484
+ "572": 0,
485
+ "576": 1
486
+ },
487
+ "requests": []
488
+ },
489
+ "source": {
490
+ "client_event": 88,
491
+ "dispatch": true,
492
+ "record": {
493
+ "180": 77,
494
+ "520": 2014404608,
495
+ "532": 1,
496
+ "536": 0,
497
+ "540": 0,
498
+ "548": 0,
499
+ "564": 0,
500
+ "568": 1001,
501
+ "572": 0,
502
+ "576": 1
503
+ },
504
+ "requests": []
505
+ }
506
+ },
507
+ {
508
+ "input": {
509
+ "event": 77,
510
+ "event_time": 1001,
511
+ "has_client": 1,
512
+ "kind": "persistent",
513
+ "live": 1,
514
+ "protected": 0,
515
+ "tick": 1000
516
+ },
517
+ "rust": {
518
+ "client_event": 88,
519
+ "dispatch": true,
520
+ "record": {
521
+ "180": 77,
522
+ "520": 2014404608,
523
+ "532": 1,
524
+ "536": 0,
525
+ "540": 0,
526
+ "548": 0,
527
+ "564": 0,
528
+ "568": 1001,
529
+ "572": 0,
530
+ "576": 0
531
+ },
532
+ "requests": []
533
+ },
534
+ "source": {
535
+ "client_event": 88,
536
+ "dispatch": true,
537
+ "record": {
538
+ "180": 77,
539
+ "520": 2014404608,
540
+ "532": 1,
541
+ "536": 0,
542
+ "540": 0,
543
+ "548": 0,
544
+ "564": 0,
545
+ "568": 1001,
546
+ "572": 0,
547
+ "576": 0
548
+ },
549
+ "requests": []
550
+ }
551
+ },
552
+ {
553
+ "input": {
554
+ "event": 77,
555
+ "event_time": 4294967000,
556
+ "has_client": 1,
557
+ "kind": "temporary",
558
+ "live": 1,
559
+ "protected": 0,
560
+ "tick": 5
561
+ },
562
+ "rust": {
563
+ "client_event": 0,
564
+ "dispatch": false,
565
+ "record": {
566
+ "180": 0,
567
+ "520": 0,
568
+ "532": 0,
569
+ "536": 97202,
570
+ "540": 155463540,
571
+ "548": 0,
572
+ "564": 5,
573
+ "568": 0,
574
+ "572": 0,
575
+ "576": 0
576
+ },
577
+ "requests": [
578
+ -32
579
+ ]
580
+ },
581
+ "source": {
582
+ "client_event": 0,
583
+ "dispatch": false,
584
+ "record": {
585
+ "180": 0,
586
+ "520": 0,
587
+ "532": 0,
588
+ "536": 97202,
589
+ "540": 155463540,
590
+ "548": 0,
591
+ "564": 5,
592
+ "568": 0,
593
+ "572": 0,
594
+ "576": 0
595
+ },
596
+ "requests": [
597
+ -32
598
+ ]
599
+ }
600
+ },
601
+ {
602
+ "input": {
603
+ "event": 77,
604
+ "event_time": 4294967000,
605
+ "has_client": 1,
606
+ "kind": "unlink",
607
+ "live": 1,
608
+ "protected": 0,
609
+ "tick": 5
610
+ },
611
+ "rust": {
612
+ "client_event": 0,
613
+ "dispatch": true,
614
+ "record": {
615
+ "180": 0,
616
+ "520": 2014404608,
617
+ "532": 1,
618
+ "536": 0,
619
+ "540": 0,
620
+ "548": 0,
621
+ "564": 0,
622
+ "568": 4294967000,
623
+ "572": 0,
624
+ "576": 0
625
+ },
626
+ "requests": [
627
+ -32
628
+ ]
629
+ },
630
+ "source": {
631
+ "client_event": 0,
632
+ "dispatch": true,
633
+ "record": {
634
+ "180": 0,
635
+ "520": 2014404608,
636
+ "532": 1,
637
+ "536": 0,
638
+ "540": 0,
639
+ "548": 0,
640
+ "564": 0,
641
+ "568": 4294967000,
642
+ "572": 0,
643
+ "576": 0
644
+ },
645
+ "requests": [
646
+ -32
647
+ ]
648
+ }
649
+ },
650
+ {
651
+ "input": {
652
+ "event": 77,
653
+ "event_time": 4294967000,
654
+ "has_client": 1,
655
+ "kind": "persistent",
656
+ "live": 1,
657
+ "protected": 0,
658
+ "tick": 5
659
+ },
660
+ "rust": {
661
+ "client_event": 0,
662
+ "dispatch": true,
663
+ "record": {
664
+ "180": 0,
665
+ "520": 2014404608,
666
+ "532": 1,
667
+ "536": 0,
668
+ "540": 0,
669
+ "548": 0,
670
+ "564": 0,
671
+ "568": 4294967000,
672
+ "572": 0,
673
+ "576": 0
674
+ },
675
+ "requests": []
676
+ },
677
+ "source": {
678
+ "client_event": 0,
679
+ "dispatch": true,
680
+ "record": {
681
+ "180": 0,
682
+ "520": 2014404608,
683
+ "532": 1,
684
+ "536": 0,
685
+ "540": 0,
686
+ "548": 0,
687
+ "564": 0,
688
+ "568": 4294967000,
689
+ "572": 0,
690
+ "576": 0
691
+ },
692
+ "requests": []
693
+ }
694
+ },
695
+ {
696
+ "input": {
697
+ "event": 77,
698
+ "event_time": 4294967001,
699
+ "has_client": 1,
700
+ "kind": "temporary",
701
+ "live": 1,
702
+ "protected": 0,
703
+ "tick": 5
704
+ },
705
+ "rust": {
706
+ "client_event": 88,
707
+ "dispatch": false,
708
+ "record": {
709
+ "180": 77,
710
+ "520": 2014404608,
711
+ "532": 1,
712
+ "536": 0,
713
+ "540": 0,
714
+ "548": 0,
715
+ "564": 0,
716
+ "568": 4294967001,
717
+ "572": 1,
718
+ "576": 1
719
+ },
720
+ "requests": []
721
+ },
722
+ "source": {
723
+ "client_event": 88,
724
+ "dispatch": false,
725
+ "record": {
726
+ "180": 77,
727
+ "520": 2014404608,
728
+ "532": 1,
729
+ "536": 0,
730
+ "540": 0,
731
+ "548": 0,
732
+ "564": 0,
733
+ "568": 4294967001,
734
+ "572": 1,
735
+ "576": 1
736
+ },
737
+ "requests": []
738
+ }
739
+ },
740
+ {
741
+ "input": {
742
+ "event": 77,
743
+ "event_time": 4294967001,
744
+ "has_client": 1,
745
+ "kind": "unlink",
746
+ "live": 1,
747
+ "protected": 0,
748
+ "tick": 5
749
+ },
750
+ "rust": {
751
+ "client_event": 88,
752
+ "dispatch": true,
753
+ "record": {
754
+ "180": 77,
755
+ "520": 2014404608,
756
+ "532": 1,
757
+ "536": 0,
758
+ "540": 0,
759
+ "548": 0,
760
+ "564": 0,
761
+ "568": 4294967001,
762
+ "572": 0,
763
+ "576": 1
764
+ },
765
+ "requests": []
766
+ },
767
+ "source": {
768
+ "client_event": 88,
769
+ "dispatch": true,
770
+ "record": {
771
+ "180": 77,
772
+ "520": 2014404608,
773
+ "532": 1,
774
+ "536": 0,
775
+ "540": 0,
776
+ "548": 0,
777
+ "564": 0,
778
+ "568": 4294967001,
779
+ "572": 0,
780
+ "576": 1
781
+ },
782
+ "requests": []
783
+ }
784
+ },
785
+ {
786
+ "input": {
787
+ "event": 77,
788
+ "event_time": 4294967001,
789
+ "has_client": 1,
790
+ "kind": "persistent",
791
+ "live": 1,
792
+ "protected": 0,
793
+ "tick": 5
794
+ },
795
+ "rust": {
796
+ "client_event": 88,
797
+ "dispatch": true,
798
+ "record": {
799
+ "180": 77,
800
+ "520": 2014404608,
801
+ "532": 1,
802
+ "536": 0,
803
+ "540": 0,
804
+ "548": 0,
805
+ "564": 0,
806
+ "568": 4294967001,
807
+ "572": 0,
808
+ "576": 0
809
+ },
810
+ "requests": []
811
+ },
812
+ "source": {
813
+ "client_event": 88,
814
+ "dispatch": true,
815
+ "record": {
816
+ "180": 77,
817
+ "520": 2014404608,
818
+ "532": 1,
819
+ "536": 0,
820
+ "540": 0,
821
+ "548": 0,
822
+ "564": 0,
823
+ "568": 4294967001,
824
+ "572": 0,
825
+ "576": 0
826
+ },
827
+ "requests": []
828
+ }
829
+ },
830
+ {
831
+ "input": {
832
+ "event": 77,
833
+ "event_time": 2147483653,
834
+ "has_client": 1,
835
+ "kind": "temporary",
836
+ "live": 1,
837
+ "protected": 0,
838
+ "tick": 5
839
+ },
840
+ "rust": {
841
+ "client_event": 88,
842
+ "dispatch": false,
843
+ "record": {
844
+ "180": 77,
845
+ "520": 2014404608,
846
+ "532": 1,
847
+ "536": 0,
848
+ "540": 0,
849
+ "548": 0,
850
+ "564": 0,
851
+ "568": 2147483653,
852
+ "572": 1,
853
+ "576": 1
854
+ },
855
+ "requests": []
856
+ },
857
+ "source": {
858
+ "client_event": 88,
859
+ "dispatch": false,
860
+ "record": {
861
+ "180": 77,
862
+ "520": 2014404608,
863
+ "532": 1,
864
+ "536": 0,
865
+ "540": 0,
866
+ "548": 0,
867
+ "564": 0,
868
+ "568": 2147483653,
869
+ "572": 1,
870
+ "576": 1
871
+ },
872
+ "requests": []
873
+ }
874
+ },
875
+ {
876
+ "input": {
877
+ "event": 77,
878
+ "event_time": 2147483653,
879
+ "has_client": 1,
880
+ "kind": "unlink",
881
+ "live": 1,
882
+ "protected": 0,
883
+ "tick": 5
884
+ },
885
+ "rust": {
886
+ "client_event": 88,
887
+ "dispatch": true,
888
+ "record": {
889
+ "180": 77,
890
+ "520": 2014404608,
891
+ "532": 1,
892
+ "536": 0,
893
+ "540": 0,
894
+ "548": 0,
895
+ "564": 0,
896
+ "568": 2147483653,
897
+ "572": 0,
898
+ "576": 1
899
+ },
900
+ "requests": []
901
+ },
902
+ "source": {
903
+ "client_event": 88,
904
+ "dispatch": true,
905
+ "record": {
906
+ "180": 77,
907
+ "520": 2014404608,
908
+ "532": 1,
909
+ "536": 0,
910
+ "540": 0,
911
+ "548": 0,
912
+ "564": 0,
913
+ "568": 2147483653,
914
+ "572": 0,
915
+ "576": 1
916
+ },
917
+ "requests": []
918
+ }
919
+ },
920
+ {
921
+ "input": {
922
+ "event": 77,
923
+ "event_time": 2147483653,
924
+ "has_client": 1,
925
+ "kind": "persistent",
926
+ "live": 1,
927
+ "protected": 0,
928
+ "tick": 5
929
+ },
930
+ "rust": {
931
+ "client_event": 88,
932
+ "dispatch": true,
933
+ "record": {
934
+ "180": 77,
935
+ "520": 2014404608,
936
+ "532": 1,
937
+ "536": 0,
938
+ "540": 0,
939
+ "548": 0,
940
+ "564": 0,
941
+ "568": 2147483653,
942
+ "572": 0,
943
+ "576": 0
944
+ },
945
+ "requests": []
946
+ },
947
+ "source": {
948
+ "client_event": 88,
949
+ "dispatch": true,
950
+ "record": {
951
+ "180": 77,
952
+ "520": 2014404608,
953
+ "532": 1,
954
+ "536": 0,
955
+ "540": 0,
956
+ "548": 0,
957
+ "564": 0,
958
+ "568": 2147483653,
959
+ "572": 0,
960
+ "576": 0
961
+ },
962
+ "requests": []
963
+ }
964
+ },
965
+ {
966
+ "input": {
967
+ "event": 0,
968
+ "event_time": 699,
969
+ "has_client": 0,
970
+ "kind": "temporary",
971
+ "live": 1,
972
+ "protected": 1,
973
+ "tick": 1000
974
+ },
975
+ "rust": {
976
+ "client_event": 88,
977
+ "dispatch": false,
978
+ "record": {
979
+ "180": 0,
980
+ "520": 0,
981
+ "532": 1,
982
+ "536": 0,
983
+ "540": 0,
984
+ "548": 1,
985
+ "564": 0,
986
+ "568": 699,
987
+ "572": 1,
988
+ "576": 1
989
+ },
990
+ "requests": [
991
+ -32
992
+ ]
993
+ },
994
+ "source": {
995
+ "client_event": 88,
996
+ "dispatch": false,
997
+ "record": {
998
+ "180": 0,
999
+ "520": 0,
1000
+ "532": 1,
1001
+ "536": 0,
1002
+ "540": 0,
1003
+ "548": 1,
1004
+ "564": 0,
1005
+ "568": 699,
1006
+ "572": 1,
1007
+ "576": 1
1008
+ },
1009
+ "requests": [
1010
+ -32
1011
+ ]
1012
+ }
1013
+ },
1014
+ {
1015
+ "input": {
1016
+ "event": 0,
1017
+ "event_time": 699,
1018
+ "has_client": 1,
1019
+ "kind": "temporary",
1020
+ "live": 1,
1021
+ "protected": 1,
1022
+ "tick": 1000
1023
+ },
1024
+ "rust": {
1025
+ "client_event": 88,
1026
+ "dispatch": false,
1027
+ "record": {
1028
+ "180": 0,
1029
+ "520": 2014404608,
1030
+ "532": 1,
1031
+ "536": 0,
1032
+ "540": 0,
1033
+ "548": 1,
1034
+ "564": 0,
1035
+ "568": 699,
1036
+ "572": 1,
1037
+ "576": 1
1038
+ },
1039
+ "requests": [
1040
+ -32
1041
+ ]
1042
+ },
1043
+ "source": {
1044
+ "client_event": 88,
1045
+ "dispatch": false,
1046
+ "record": {
1047
+ "180": 0,
1048
+ "520": 2014404608,
1049
+ "532": 1,
1050
+ "536": 0,
1051
+ "540": 0,
1052
+ "548": 1,
1053
+ "564": 0,
1054
+ "568": 699,
1055
+ "572": 1,
1056
+ "576": 1
1057
+ },
1058
+ "requests": [
1059
+ -32
1060
+ ]
1061
+ }
1062
+ },
1063
+ {
1064
+ "input": {
1065
+ "event": 77,
1066
+ "event_time": 699,
1067
+ "has_client": 0,
1068
+ "kind": "temporary",
1069
+ "live": 1,
1070
+ "protected": 1,
1071
+ "tick": 1000
1072
+ },
1073
+ "rust": {
1074
+ "client_event": 88,
1075
+ "dispatch": false,
1076
+ "record": {
1077
+ "180": 0,
1078
+ "520": 0,
1079
+ "532": 1,
1080
+ "536": 0,
1081
+ "540": 0,
1082
+ "548": 1,
1083
+ "564": 0,
1084
+ "568": 699,
1085
+ "572": 1,
1086
+ "576": 1
1087
+ },
1088
+ "requests": [
1089
+ -32
1090
+ ]
1091
+ },
1092
+ "source": {
1093
+ "client_event": 88,
1094
+ "dispatch": false,
1095
+ "record": {
1096
+ "180": 0,
1097
+ "520": 0,
1098
+ "532": 1,
1099
+ "536": 0,
1100
+ "540": 0,
1101
+ "548": 1,
1102
+ "564": 0,
1103
+ "568": 699,
1104
+ "572": 1,
1105
+ "576": 1
1106
+ },
1107
+ "requests": [
1108
+ -32
1109
+ ]
1110
+ }
1111
+ },
1112
+ {
1113
+ "input": {
1114
+ "event": 77,
1115
+ "event_time": 699,
1116
+ "has_client": 1,
1117
+ "kind": "temporary",
1118
+ "live": 1,
1119
+ "protected": 1,
1120
+ "tick": 1000
1121
+ },
1122
+ "rust": {
1123
+ "client_event": 0,
1124
+ "dispatch": false,
1125
+ "record": {
1126
+ "180": 0,
1127
+ "520": 2014404608,
1128
+ "532": 1,
1129
+ "536": 0,
1130
+ "540": 0,
1131
+ "548": 1,
1132
+ "564": 0,
1133
+ "568": 699,
1134
+ "572": 1,
1135
+ "576": 1
1136
+ },
1137
+ "requests": [
1138
+ -32
1139
+ ]
1140
+ },
1141
+ "source": {
1142
+ "client_event": 0,
1143
+ "dispatch": false,
1144
+ "record": {
1145
+ "180": 0,
1146
+ "520": 2014404608,
1147
+ "532": 1,
1148
+ "536": 0,
1149
+ "540": 0,
1150
+ "548": 1,
1151
+ "564": 0,
1152
+ "568": 699,
1153
+ "572": 1,
1154
+ "576": 1
1155
+ },
1156
+ "requests": [
1157
+ -32
1158
+ ]
1159
+ }
1160
+ },
1161
+ {
1162
+ "input": {
1163
+ "event": 0,
1164
+ "event_time": 699,
1165
+ "has_client": 0,
1166
+ "kind": "unlink",
1167
+ "live": 1,
1168
+ "protected": 0,
1169
+ "tick": 1000
1170
+ },
1171
+ "rust": {
1172
+ "client_event": 88,
1173
+ "dispatch": true,
1174
+ "record": {
1175
+ "180": 0,
1176
+ "520": 0,
1177
+ "532": 1,
1178
+ "536": 0,
1179
+ "540": 0,
1180
+ "548": 0,
1181
+ "564": 0,
1182
+ "568": 699,
1183
+ "572": 0,
1184
+ "576": 0
1185
+ },
1186
+ "requests": [
1187
+ -32
1188
+ ]
1189
+ },
1190
+ "source": {
1191
+ "client_event": 88,
1192
+ "dispatch": true,
1193
+ "record": {
1194
+ "180": 0,
1195
+ "520": 0,
1196
+ "532": 1,
1197
+ "536": 0,
1198
+ "540": 0,
1199
+ "548": 0,
1200
+ "564": 0,
1201
+ "568": 699,
1202
+ "572": 0,
1203
+ "576": 0
1204
+ },
1205
+ "requests": [
1206
+ -32
1207
+ ]
1208
+ }
1209
+ },
1210
+ {
1211
+ "input": {
1212
+ "event": 0,
1213
+ "event_time": 699,
1214
+ "has_client": 1,
1215
+ "kind": "unlink",
1216
+ "live": 1,
1217
+ "protected": 0,
1218
+ "tick": 1000
1219
+ },
1220
+ "rust": {
1221
+ "client_event": 88,
1222
+ "dispatch": true,
1223
+ "record": {
1224
+ "180": 0,
1225
+ "520": 2014404608,
1226
+ "532": 1,
1227
+ "536": 0,
1228
+ "540": 0,
1229
+ "548": 0,
1230
+ "564": 0,
1231
+ "568": 699,
1232
+ "572": 0,
1233
+ "576": 0
1234
+ },
1235
+ "requests": [
1236
+ -32
1237
+ ]
1238
+ },
1239
+ "source": {
1240
+ "client_event": 88,
1241
+ "dispatch": true,
1242
+ "record": {
1243
+ "180": 0,
1244
+ "520": 2014404608,
1245
+ "532": 1,
1246
+ "536": 0,
1247
+ "540": 0,
1248
+ "548": 0,
1249
+ "564": 0,
1250
+ "568": 699,
1251
+ "572": 0,
1252
+ "576": 0
1253
+ },
1254
+ "requests": [
1255
+ -32
1256
+ ]
1257
+ }
1258
+ },
1259
+ {
1260
+ "input": {
1261
+ "event": 77,
1262
+ "event_time": 699,
1263
+ "has_client": 0,
1264
+ "kind": "unlink",
1265
+ "live": 1,
1266
+ "protected": 0,
1267
+ "tick": 1000
1268
+ },
1269
+ "rust": {
1270
+ "client_event": 88,
1271
+ "dispatch": true,
1272
+ "record": {
1273
+ "180": 0,
1274
+ "520": 0,
1275
+ "532": 1,
1276
+ "536": 0,
1277
+ "540": 0,
1278
+ "548": 0,
1279
+ "564": 0,
1280
+ "568": 699,
1281
+ "572": 0,
1282
+ "576": 0
1283
+ },
1284
+ "requests": [
1285
+ -32
1286
+ ]
1287
+ },
1288
+ "source": {
1289
+ "client_event": 88,
1290
+ "dispatch": true,
1291
+ "record": {
1292
+ "180": 0,
1293
+ "520": 0,
1294
+ "532": 1,
1295
+ "536": 0,
1296
+ "540": 0,
1297
+ "548": 0,
1298
+ "564": 0,
1299
+ "568": 699,
1300
+ "572": 0,
1301
+ "576": 0
1302
+ },
1303
+ "requests": [
1304
+ -32
1305
+ ]
1306
+ }
1307
+ },
1308
+ {
1309
+ "input": {
1310
+ "event": 77,
1311
+ "event_time": 699,
1312
+ "has_client": 1,
1313
+ "kind": "unlink",
1314
+ "live": 1,
1315
+ "protected": 0,
1316
+ "tick": 1000
1317
+ },
1318
+ "rust": {
1319
+ "client_event": 0,
1320
+ "dispatch": true,
1321
+ "record": {
1322
+ "180": 0,
1323
+ "520": 2014404608,
1324
+ "532": 1,
1325
+ "536": 0,
1326
+ "540": 0,
1327
+ "548": 0,
1328
+ "564": 0,
1329
+ "568": 699,
1330
+ "572": 0,
1331
+ "576": 0
1332
+ },
1333
+ "requests": [
1334
+ -32
1335
+ ]
1336
+ },
1337
+ "source": {
1338
+ "client_event": 0,
1339
+ "dispatch": true,
1340
+ "record": {
1341
+ "180": 0,
1342
+ "520": 2014404608,
1343
+ "532": 1,
1344
+ "536": 0,
1345
+ "540": 0,
1346
+ "548": 0,
1347
+ "564": 0,
1348
+ "568": 699,
1349
+ "572": 0,
1350
+ "576": 0
1351
+ },
1352
+ "requests": [
1353
+ -32
1354
+ ]
1355
+ }
1356
+ },
1357
+ {
1358
+ "input": {
1359
+ "event": 77,
1360
+ "event_time": 699,
1361
+ "has_client": 1,
1362
+ "kind": "temporary",
1363
+ "live": 0,
1364
+ "protected": 0,
1365
+ "tick": 1000
1366
+ },
1367
+ "rust": {
1368
+ "client_event": 88,
1369
+ "dispatch": false,
1370
+ "record": {
1371
+ "180": 77,
1372
+ "520": 2014404608,
1373
+ "532": 0,
1374
+ "536": 0,
1375
+ "540": 0,
1376
+ "548": 0,
1377
+ "564": 0,
1378
+ "568": 699,
1379
+ "572": 1,
1380
+ "576": 1
1381
+ },
1382
+ "requests": []
1383
+ },
1384
+ "source": {
1385
+ "client_event": 88,
1386
+ "dispatch": false,
1387
+ "record": {
1388
+ "180": 77,
1389
+ "520": 2014404608,
1390
+ "532": 0,
1391
+ "536": 0,
1392
+ "540": 0,
1393
+ "548": 0,
1394
+ "564": 0,
1395
+ "568": 699,
1396
+ "572": 1,
1397
+ "576": 1
1398
+ },
1399
+ "requests": []
1400
+ }
1401
+ }
1402
+ ],
1403
+ "source_report": "docs/research/qvm-entity-event-expiry.json",
1404
+ "source_report_sha256": "5c48f142fb846d46bf84ca8af20e9faf4af0f13c45b1418a3a57cf15f8efc9b0"
1405
+ }
scripts/analyze_rust_entity_event_expiry.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Compare Rust entity-frame expiry with the actual source slice."""
2
+ import hashlib
3
+ import json
4
+ import os
5
+ import subprocess
6
+ from pathlib import Path
7
+
8
+ from analyze_qvm import write_json
9
+ from analyze_qvm_entity_event_expiry import CLIENT, FIELDS_IN_REPORT
10
+ from rust_lifecycle_support import result
11
+
12
+
13
+ def main():
14
+ subprocess.run(['cargo', 'build', '--offline', '-p', 'urt-gameplay',
15
+ '--bin', 'urt-location-feedback'], check=True)
16
+ binary = Path(os.environ.get('CARGO_TARGET_DIR', 'target')) / 'debug' / 'urt-location-feedback'
17
+ path = Path('docs/research/qvm-entity-event-expiry.json')
18
+ data = path.read_bytes()
19
+ probes = []
20
+ for row in json.loads(data)['probes']:
21
+ a = row['input']
22
+ initial = {180: a['event'], 520: CLIENT if a['has_client'] else 0,
23
+ 532: a['live'], 548: a['protected'], 568: a['event_time'],
24
+ 572: int(a['kind'] == 'temporary'), 576: int(a['kind'] != 'persistent')}
25
+ args = [a['tick'], *(initial.get(offset, 0) for offset in FIELDS_IN_REPORT)]
26
+ expected = {key: row[key] for key in ('record', 'client_event', 'requests')}
27
+ expected['dispatch'] = row['execution']['stop'] == 15509
28
+ probes.append(dict(input=a, source=expected, rust=result(binary, 'expire', args)))
29
+ write_json(Path('docs/research/rust-entity-event-expiry.json'), {
30
+ 'source_report': str(path), 'source_report_sha256': hashlib.sha256(data).hexdigest(),
31
+ 'probes': probes, 'limits': 'Per-entity expiry and dispatch plans; no engine scheduler or native unlink executes.',
32
+ })
33
+
34
+
35
+ if __name__ == '__main__':
36
+ main()
scripts/test_rust_entity_event_expiry.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import hashlib
2
+ import json
3
+ import unittest
4
+ from pathlib import Path
5
+
6
+
7
+ class EntityEventExpiryParity(unittest.TestCase):
8
+ def test_event_expiry(self):
9
+ report = json.loads(Path('docs/research/rust-entity-event-expiry.json').read_text())
10
+ digest = hashlib.sha256(Path(report['source_report']).read_bytes()).hexdigest()
11
+ self.assertEqual(report['source_report_sha256'], digest)
12
+ self.assertEqual(len(report['probes']), 30)
13
+ for row in report['probes']:
14
+ with self.subTest(input=row['input']):
15
+ self.assertEqual(row['source'], row['rust'])
16
+
17
+
18
+ if __name__ == '__main__':
19
+ unittest.main()
xtask/checks.tsv CHANGED
@@ -4813,3 +4813,11 @@ report scripts/analyze_qvm_entity_event_expiry.py docs/research/qvm-entity-event
4813
  edge docs/research/qvm-entity-event-expiry.json scripts/test_qvm_entity_event_expiry.py
4814
  group qvm-entity-event-expiry scripts/analyze_qvm_entity_event_expiry.py
4815
  edge scripts/analyze_qvm_entity_event_expiry.py scripts/analyze_qvm_resumer_audit.py
 
 
 
 
 
 
 
 
 
4813
  edge docs/research/qvm-entity-event-expiry.json scripts/test_qvm_entity_event_expiry.py
4814
  group qvm-entity-event-expiry scripts/analyze_qvm_entity_event_expiry.py
4815
  edge scripts/analyze_qvm_entity_event_expiry.py scripts/analyze_qvm_resumer_audit.py
4816
+ report scripts/analyze_rust_entity_event_expiry.py docs/research/rust-entity-event-expiry.json
4817
+ edge docs/research/rust-entity-event-expiry.json scripts/test_rust_entity_event_expiry.py
4818
+ group rust-entity-event-expiry scripts/analyze_rust_entity_event_expiry.py
4819
+ group rust-entity-event-expiry scripts/analyze_rust_entity_release.py
4820
+ group gameplay scripts/analyze_rust_entity_event_expiry.py
4821
+ edge docs/research/qvm-entity-event-expiry.json scripts/analyze_rust_entity_event_expiry.py
4822
+ edge crates/urt-gameplay/src/location_feedback.rs scripts/analyze_rust_entity_event_expiry.py
4823
+ edge crates/urt-gameplay/src/bin/urt-location-feedback.rs scripts/analyze_rust_entity_event_expiry.py