Nothing
test_that("translate_turns works", {
example_sample <- example_task()$get_samples()[1, , drop = FALSE]
timestamps <- list(started_at = Sys.time(), completed_at = Sys.time())
chat_translated <- translate_to_events(
example_sample,
timestamps = list(solve = timestamps, score = timestamps)
)
inspect_log <- example_inspect_log()
inspect_log_first_events <- inspect_log$samples[[1]]$events
expect_contains(
names(inspect_log_first_events[[1]]),
names(chat_translated[[1]])
)
expect_contains(
names(inspect_log_first_events[[2]]),
names(chat_translated[[2]])
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.