Repository navigation
Conversation
|
No actionable comments were generated in the recent review.
|
Change mapObserved failure: prediction export truncates timestamp fractions and can collapse distinct anchors. Pandas output converts timestamps through Python datetimes; Arrow output and link chunks explicitly cast to microseconds. This change preserves typed values and rejects timestamp schema conversions that would lose precision. Verification covers exact Parquet round-trips and existing output consumers. Scope ends at artifact serialization; native temporal resolution is a separate concern.
|
Change mapObserved failure: prediction export truncates timestamp fractions and can collapse distinct anchors. Pandas output converts timestamps through Python datetimes; Arrow output and link chunks explicitly cast to microseconds. This change preserves typed values and rejects timestamp schema conversions that would lose precision. Verification covers exact Parquet round-trips and existing output consumers. Scope ends at artifact serialization; native temporal resolution is a separate concern.
|
✅ Action performed
|
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: NVIDIA/kumo-engine
- Branch: main
- File: .coderabbit.yaml
- Commit: 3961984
- Layers: Repository YAML
- Review profile: QUIET
- Plan: Enterprise
- Run ID:
02b86603-9ecc-43f4-a589-b38535b565c4
Files selected for processing: 4-
packages/kumo-core/src/kumo_core/train/diskgraph_nested_trainer.pypackages/kumo-core/src/kumo_core/train/io.pypackages/kumo-core/src/kumo_core/train/output.pypackages/kumo-core/tests/test_train_output.py
Files with no reviewable changes: 1-
- packages/kumo-core/src/kumo_core/train/output.py
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.
-
|
Superseded by #123, which includes these commits and keeps prediction parquet in µs for warehouse compatibility. |
Summary
Prediction artifacts silently truncate timestamps finer than one microsecond. Distinct anchors such as
01:02:03.123456001and01:02:03.123456999become identical after export.Preserve typed timestamp columns through pandas and Arrow output, including link-prediction chunk construction. Require lossless timestamp conversion when later batches differ from the stream's fixed schema; abort publication if that conversion would discard precision.
Change map
File-by-file change map.
Testing Done
git diff --checkpassed.Compatibility
Prediction Parquet files can now retain nanosecond timestamps and source time zones. Readers must support those timestamp types. Microsecond inputs retain their values. Native table generation and sampling still use whole-second timestamps; this change preserves the values supplied to the output writer and does not add native subsecond sampling support.
Checklist