Simulates users from three latent profiles (frustrated, efficient, casual) with session metrics and a short feedback text whose wording depends on the profile. Frustrated users have longer sessions and more errors; feature requests are added at random, independent of profile, so they should show no real effect. Useful for trying the package without an API key.
Value
A tibble with user_id, profile (the hidden ground truth),
session_duration_sec, errors_encountered and transcript_feedback.
Examples
mock_mixed_data(5, seed = 1)
#> # A tibble: 5 × 5
#> user_id profile session_duration_sec errors_encountered transcript_feedback
#> <chr> <chr> <dbl> <int> <chr>
#> 1 USR-1001 frustrat… 594 7 This interface is …
#> 2 USR-1002 casual 291 4 Standard performan…
#> 3 USR-1003 frustrat… 402 7 Why is the checkou…
#> 4 USR-1004 efficient 111 0 The feature works …
#> 5 USR-1005 frustrat… 433 9 This interface is …
