You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Model time features drop sub-second precision #148
On an index with a sub-second clock (graph.snapshot(timestamp_unit="milliseconds"), #123), two events 300 ms apart are visible, ordered and windowed correctly, but the model still sees them at the same moment.
Cause
The encoders turn every timestamp into whole seconds before building features:
So relative-time and timestamp features are identical for events within the same second.
Proposed fix
Keep the sub-second part when computing time features, for example by dividing as floats or carrying the remainder. On a seconds index every timestamp is a whole second, so the model's inputs stay exactly as today.
Acceptance
On a millisecond index, two events 300 ms apart get different time features.
On a seconds index, encoder outputs are bit-identical to today's.
Activity