(rng: &mut Rng)
| 606 | } |
| 607 | |
| 608 | fn gen_step_outcome(rng: &mut Rng) -> StepOutcome { |
| 609 | StepOutcome { |
| 610 | task_id: rng.string(), |
| 611 | session_id: rng.string(), |
| 612 | agent: rng.string(), |
| 613 | output: rng.string(), |
| 614 | success: rng.boolean(), |
| 615 | structured: if rng.boolean() { |
| 616 | Some(rng.json_value_non_null(2)) |
| 617 | } else { |
| 618 | None |
| 619 | }, |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | fn gen_workflow_checkpoint(rng: &mut Rng) -> WorkflowCheckpoint { |
| 624 | let n = rng.below(4); |
no test coverage detected