Dataset Viewer
Auto-converted to Parquet Duplicate
problem_id
int64
0
99
trajectory_id
int64
0
63
question
stringclasses
100 values
messages
stringlengths
9.97k
95.3k
num_turns
int64
2
5
final_reward
float64
0
1
terminated
bool
2 classes
truncated
bool
2 classes
interactions
stringlengths
2
8M
tests
stringclasses
100 values
is_successful
bool
2 classes
interaction_timeout_count
int64
0
4
eval_timeout_count
int64
0
15
rendered
stringlengths
8.71k
8.03M
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...
3
0
true
false
[{"code": "def count_dp(S, T):\n MOD=998244353\n n=len(S); m=len(T)\n ans=0\n for x in range(m+1):\n L_target = T[:x][::-1] # reversed prefix\n R_target = T[x:] # suffix\n lenL=x\n lenR=m-x\n # dp[a][b]\n dp = [[0]*(lenR+1) for _ in range(lenL+1)]\n d...
{"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
================================================================================ Question: Kaavi, the mysterious fortune teller, deeply belie... Reward: 0.00 | Turns: 3 | 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)
3
0
true
false
"[{\"code\": \"def count_bruteforce(S, T):\\n n = len(S)\\n MOD = 998244353\\n from collect(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
4
0
true
false
"[{\"code\": \"# Let's brute force for small strings to see counts.\\nimport itertools\\n\\ndef coun(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
4
0
true
false
"[{\"code\": \"def brute(S,T):\\n n=len(S)\\n m=len(T)\\n MOD=998244353\\n ans=0\\n f(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
4
0
true
false
"[{\"code\": \"# Hypothesis: The answer can be computed solely by considering sequences where the nu(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
4
0
true
false
"[{\"code\": \"# Hypothesis: For small n,m we can brute force to see counts and maybe infer DP.\\nde(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
4
0
true
false
"[{\"code\": \"def compute_answer(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
"================================================================================\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)
4
0
true
false
"[{\"code\": \"def count_brutal(S, T):\\n n=len(S)\\n m=len(T)\\n from collections import d(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\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)
5
0.2
true
false
"[{\"code\": \"# brute force enumeration for sample\\nfrom itertools import product\\n\\ndef count_s(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
true
0
0
"================================================================================\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)
5
0
false
true
"[{\"code\": \"def count_brutal(S,T):\\n n=len(S)\\n MOD=998244353\\n from collections impo(...TRUNCATED)
"{\"inputs\": [\"abab\\nba\\n\", \"defineintlonglong\\nsignedmain\\n\", \"rotator\\nrotator\\n\", \"(...TRUNCATED)
false
0
0
"================================================================================\nQuestion: Kaavi, (...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6