Dataset Viewer
Auto-converted to Parquet Duplicate
problem_id
int64
0
99
trajectory_id
int64
0
15
question
stringclasses
100 values
messages
stringlengths
12k
192k
num_turns
int64
2
20
final_reward
float64
0
1
terminated
bool
2 classes
truncated
bool
2 classes
interactions
stringlengths
2
3.54M
tests
stringclasses
100 values
is_successful
bool
2 classes
interaction_timeout_count
int64
0
17
eval_timeout_count
int64
0
15
turn_wise_finish_reason
listlengths
2
20
turn_wise_truncated_by_token_limit
listlengths
2
20
num_assistant_messages_truncated
int64
0
6
num_assistant_messages_not_truncated
int64
0
20
rendered
stringlengths
11k
3.64M
0
0
Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable. Of course, she makes her living by predicting others' future. While doing divination, Kaavi believes that magic spells can provide great power for her to see the future. [Image]  Kaavi has a string $T$ of length $m$ an...
[{"role": "system", "content": "[Harmony format] Reasoning effort: medium"}, {"role": "developer", "content": "You are a helpful coding assistant.\n\nYou have access to a Python interpreter.\nTo execute code, wrap it inside <interact></interact>. I will run it and return stdout/stderr in a subsequent turn.\n\nIMPORTANT...
4
0
true
false
[{"code": "def count_bruteforce(S, T):\n n = len(S)\n MOD = 998244353\n from itertools import product\n ans = 0\n # each operation: choose 0=front,1=back, and we can stop after any k\n # we can simulate all sequences up to n\n def rec(i, A):\n nonlocal ans\n # check prefix condition\n...
{"inputs": ["abab\nba\n", "defineintlonglong\nsignedmain\n", "rotator\nrotator\n", "cacdcdbbbb\nbdcaccdbbb\n", "f\np\n", "baabbaaaaa\nababa\n", "cbaabccadacadbaacbadddcdabcacdbbabccbbcbbcbbaadcabadcbdcadddccbbbbdacdbcbaddacaadbcddadbabbdbbacabdd\ncccdacdabbacbbcacdca\n", "tqlrrtidhfpgevosrsya\nysrsvgphitrrqtldfeoa\n", ...
false
0
0
[ "length", "stop", "length", "length" ]
[ true, false, true, true ]
3
1
================================================================================ Question: Kaavi, the mysterious fortune teller, deeply belie... Reward: 0.00 | Turns: 4 | Terminated: True | Truncated: False ================================================================================ [SYSTEM] [Harmony format] Reaso...
0
1
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
6
0.2
true
false
"[{\"code\": \"def count_subseq(S,T):\\n n=len(S); m=len(T)\\n dp=[0]*(m+1)\\n dp[0]=1\\n (...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
true
0
0
[ "length", "length", "stop", "stop", "stop", "stop" ]
[ true, true, false, false, false, false ]
2
4
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
2
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
7
0
true
false
"[{\"code\": \"def count_sequences(S, T):\\n MOD = 998244353\\n n = len(S)\\n m = len(T)\\n(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
[ "length", "stop", "stop", "stop", "stop", "length", "length" ]
[ true, false, false, false, false, true, true ]
3
4
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
3
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
7
0
true
false
"[{\"code\": \"# Hypothesis: The DP implementation (with front and back transition tables built via (...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
[ "length", "stop", "stop", "length", "stop", "length", "length" ]
[ true, false, false, true, false, true, true ]
4
3
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
4
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
8
0
true
false
"[{\"code\": \"def count_brutal(S,T):\\n n=len(S); m=len(T)\\n MOD=998244353\\n ans=0\\n (...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
[ "length", "stop", "stop", "stop", "length", "length", "length", "length" ]
[ true, false, false, false, true, true, true, true ]
5
3
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
5
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
9
0
true
false
"[{\"code\": \"def count_bruteforce(S, T):\\n n = len(S)\\n m = len(T)\\n MOD = 998244353\\(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
[ "length", "stop", "stop", "stop", "stop", "stop", "stop", "length", "length" ]
[ true, false, false, false, false, false, false, true, true ]
3
6
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
6
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
9
0.333333
true
false
"[{\"code\": \"def count_bruteforce(S,T):\\n from itertools import product\\n n=len(S)\\n a(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
true
0
0
[ "length", "length", "stop", "stop", "stop", "stop", "stop", "length", "stop" ]
[ true, true, false, false, false, false, false, true, false ]
3
6
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
7
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0.2
true
false
"[{\"code\": \"def count_dp(S,T):\\n MOD=998244353\\n n=len(S); m=len(T)\\n revT=T[::-1]\\n(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
true
0
0
[ "length", "stop", "stop", "stop", "stop", "stop", "stop", "length", "stop", "stop" ]
[ true, false, false, false, false, false, false, true, false, false ]
2
8
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
8
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
10
0.2
true
false
"[{\"code\": \"def count_dp(S,T):\\n n=len(S); m=len(T)\\n MOD=998244353\\n dp=[[0]*(m+1) f(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
true
0
0
[ "length", "stop", "stop", "length", "length", "stop", "stop", "stop", "stop", "stop" ]
[ true, false, false, true, true, false, false, false, false, false ]
3
7
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
0
9
"Kaavi, the mysterious fortune teller, deeply believes that one's fate is inevitable and unavoidable(...TRUNCATED)
"[{\"role\": \"system\", \"content\": \"[Harmony format] Reasoning effort: medium\"}, {\"role\": \"d(...TRUNCATED)
12
0
true
false
"[{\"code\": \"def brute(S, T):\\n n=len(S)\\n MOD=998244353\\n from itertools import produ(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
[ "length", "stop", "length", "stop", "stop", "stop", "length", "stop", "length", "length", "stop", "length" ]
[ true, false, true, false, false, false, true, false, true, true, false, true ]
6
6
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
5