dynamo_data_gen/lib.rs
1// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Shared schemas and primitives for Dynamo data generation.
5//!
6//! The crate hosts the Mooncake replay JSONL schema and helpers, plus the
7//! Dynamo request-trace loader and transient lowering used to build mocker
8//! replay models in memory. Direct Dynamo request-trace replay does not write
9//! an intermediate Mooncake file; the opt-in `dynamo-bench` exporter writes
10//! one when needed. Shared row types keep trace producers and consumers in
11//! lockstep.
12
13pub mod mooncake;
14pub mod request_trace;
15pub mod satf;
16
17pub use mooncake::{
18 AgenticMooncakeRow, AgenticToolEvent, MooncakeJsonlWriter, MooncakeRow, RollingHashIdMapper,
19 WriterStats, hash_token_blocks, ids_for_sequence_hashes, require_positive,
20 sequence_hashes_for_tokens, try_hash_token_blocks, write_empty_files,
21};