Skip to content

Instantly share code, notes, and snippets.

@hiiamboris
Created December 23, 2021 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiiamboris/35aee289cdf2a77760a33997e0edf975 to your computer and use it in GitHub Desktop.
Save hiiamboris/35aee289cdf2a77760a33997e0edf975 to your computer and use it in GitHub Desktop.
practice-split-2021-12-17-17-20-35.red
[[
id: #01
desc: ""
input: "a,b,c"
goal: ["a" "b" "c"]
hint: ""
dial-status: correct
dial-solution: {","}
dial-tries: [23-Dec-2021/19:00:43+03:00 {","}]
ref-status: correct
ref-tries: [16-Dec-2021/18:21:41+03:00 {["1" []]} 16-Dec-2021/18:22:55+03:00 {["1" []]} 16-Dec-2021/18:23:30+03:00 {[["1" 2] []]} 16-Dec-2021/18:23:37+03:00 "[none []]" 16-Dec-2021/18:23:40+03:00 "[none []]" 16-Dec-2021/18:23:58+03:00 "[none []]" 16-Dec-2021/18:33:17+03:00 "[none []]" 16-Dec-2021/19:31:39+03:00 "[none []]" 16-Dec-2021/20:00:48+03:00 "[none []]" 16-Dec-2021/20:03:32+03:00 "[none []]" 17-Dec-2021/17:10:19+03:00 "[none []]" 17-Dec-2021/17:10:23+03:00 "[none []]" 17-Dec-2021/17:10:28+03:00 "[none []]" 17-Dec-2021/17:10:31+03:00 "[none []]" 17-Dec-2021/17:20:35+03:00 "[none []]" 17-Dec-2021/17:20:35+03:00 "[none []]" 23-Dec-2021/17:53:55+03:00 "[none []]" 23-Dec-2021/17:53:55+03:00 "[none []]" 23-Dec-2021/19:00:35+03:00 "[none []]" 23-Dec-2021/19:00:40+03:00 {["," []]}]
ref-solution: {","}
refinements: []
notes: ""
difficulty: 0
importance: 10
dialected-rating: 0
refinement-rating: 0
category: "Simple split"
] [
id: #02
desc: ""
input: "abc,de,fghi,jk"
goal: ["abc" "de" "fghi" "jk"]
hint: ""
dial-status: correct
dial-solution: {","}
dial-tries: [23-Dec-2021/19:00:24+03:00 {","}]
ref-status: correct
ref-tries: [23-Dec-2021/19:00:27+03:00 {["," []]}]
ref-solution: {","}
refinements: []
notes: ""
difficulty: 0
importance: 10
dialected-rating: 0
refinement-rating: 0
category: "Simple split"
] [
id: #03
desc: ""
input: "abc<br>de<br>fghi<br>jk"
goal: ["abc" "de" "fghi" "jk"]
hint: ""
dial-status: correct
dial-solution: "<br>"
dial-tries: [23-Dec-2021/18:59:46+03:00 {charset ".,"} 23-Dec-2021/18:59:48+03:00 "<br>"]
ref-status: correct
ref-tries: [23-Dec-2021/18:59:41+03:00 "[<br> []]"]
ref-solution: "<br>"
refinements: []
notes: ""
difficulty: 0
importance: 6
dialected-rating: 0
refinement-rating: 0
] [
id: #04
desc: ""
input: "1.2,3."
goal: ["1" "2" "3" ""]
hint: ""
dial-status: correct
dial-solution: {charset ".,"}
dial-tries: [23-Dec-2021/18:59:29+03:00 {charset ".,"}]
ref-status: correct
ref-tries: [23-Dec-2021/18:59:25+03:00 {[[charset ".,"] []]}]
ref-solution: {charset ".,"}
refinements: []
notes: ""
difficulty: 0
importance: 0
dialected-rating: 0
refinement-rating: 0
] [
id: #05
desc: ""
input: "-aa-aa'a"
goal: ["-" "-" "'a"]
hint: ""
dial-status: correct
dial-solution: {"aa"}
dial-tries: [23-Dec-2021/18:58:48+03:00 {"aa"} 23-Dec-2021/18:59:02+03:00 {"aa"}]
ref-status: correct
ref-tries: [23-Dec-2021/18:58:53+03:00 {["aa" []]} 23-Dec-2021/18:59:02+03:00 {["aa" []]}]
ref-solution: {"aa"}
refinements: []
notes: "looks made up"
difficulty: 0
importance: 0
dialected-rating: 0
refinement-rating: 0
] [
id: #06
desc: ""
input: "abc|de/fghi:jk"
goal: ["abc" "de" "fghi" "jk"]
hint: ""
dial-status: correct
dial-solution: {charset "/:|"}
dial-tries: [23-Dec-2021/18:58:19+03:00 {charset "/:|"}]
ref-status: correct
ref-tries: [23-Dec-2021/18:58:15+03:00 {[[charset "/:|"] []]}]
ref-solution: {charset "/:|"}
refinements: []
notes: ""
difficulty: 10
importance: 10
dialected-rating: 10
refinement-rating: 10
] [
id: #07
desc: ""
input: "aabbbccccddd"
goal: ["aa" "bbb" "cccc" "ddd"]
hint: ""
dial-status: incorrect
dial-solution: ""
dial-tries: [23-Dec-2021/18:56:34+03:00 "[p: if (p/-1 <> p/1)]" 23-Dec-2021/18:56:41+03:00 "[before [p: if (p/-1 <> p/1)]]" 23-Dec-2021/18:56:43+03:00 "[before p: if (p/-1 <> p/1)]"]
ref-status: correct
ref-tries: [23-Dec-2021/18:55:12+03:00 "[:<> []]"]
ref-solution: ":<>"
refinements: []
notes: "???"
difficulty: 1
importance: 5
dialected-rating: 0
refinement-rating: 0
] [
id: #08
desc: ""
input: "PascalCaseName"
goal: ["Pascal" "Case" "Name"]
hint: ""
dial-status: correct
dial-solution: {reduce ['before charset "CN"]}
dial-tries: [23-Dec-2021/18:52:29+03:00 {reduce ['before charset "CN"]} 23-Dec-2021/18:52:40+03:00 {reduce ['before charset "CN"]} 23-Dec-2021/18:52:59+03:00 {reduce ['before charset "CN"]}]
ref-status: correct
ref-tries: [23-Dec-2021/18:52:18+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:52:40+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:52:59+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:54:20+03:00 {[[func [x] [x = first uppercase form x]] [before]]}]
ref-solution: "func [x][x = first uppercase form x]"
refinements: [before]
notes: ""
difficulty: 8
importance: 7
dialected-rating: 3
refinement-rating: 10
] [
id: #09
desc: ""
input: "camelCaseName"
goal: ["camel" "Case" "Name"]
hint: ""
dial-status: correct
dial-solution: {reduce ['before charset "CN"]}
dial-tries: [23-Dec-2021/18:50:41+03:00 {before charset "CN"} 23-Dec-2021/18:50:47+03:00 {[before charset "CN"]} 23-Dec-2021/18:51:00+03:00 {[before ["C" | "N"]]} 23-Dec-2021/18:51:13+03:00 {reduce ['before charset "CN"]} 23-Dec-2021/18:52:09+03:00 {reduce ['before charset "CN"]} 23-Dec-2021/18:52:38+03:00 {reduce ['before charset "CN"]} 23-Dec-2021/18:52:58+03:00 {reduce ['before charset "CN"]}]
ref-status: correct
ref-tries: [23-Dec-2021/18:51:33+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:52:09+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:52:38+03:00 {[[charset "CN"] [before]]} 23-Dec-2021/18:52:58+03:00 {[[charset "CN"] [before]]}]
ref-solution: {charset "CN"}
refinements: [before]
notes: ""
difficulty: 8
importance: 7
dialected-rating: 3
refinement-rating: 10
] [
id: #10
desc: ""
input: [0 1 1 3 2 5 4 2 1 6 9]
goal: [[0 1] [1 3] [2 5] [4] [2] [1 6 9]]
hint: ""
dial-status: correct
dial-solution: "[2 2 2 1 1 3]"
dial-tries: [23-Dec-2021/18:43:47+03:00 ":>=" 23-Dec-2021/18:44:03+03:00 "func[x y][x >= y]" 23-Dec-2021/18:44:07+03:00 "func[x y][x < y]" 23-Dec-2021/18:44:21+03:00 "func[x][?? x x < y]" 23-Dec-2021/18:44:33+03:00 "func[x y][?? y x < y]" 23-Dec-2021/18:44:45+03:00 "func[][?? y x < y]" 23-Dec-2021/18:44:48+03:00 "func[x][?? y x < y]" 23-Dec-2021/18:44:49+03:00 "func[y][?? y x < y]" 23-Dec-2021/18:45:25+03:00 "func[y][also x < y x: y]" 23-Dec-2021/18:45:31+03:00 "func[y][also x > y x: y]" 23-Dec-2021/18:45:32+03:00 "func[y][also x >= y x: y]" 23-Dec-2021/18:49:46+03:00 "[2 2 2 1 1 3]" 23-Dec-2021/18:52:07+03:00 "[2 2 2 1 1 3]"]
ref-status: correct
ref-tries: [23-Dec-2021/18:43:40+03:00 "[:>= []]" 23-Dec-2021/18:52:07+03:00 "[:>= []]"]
ref-solution: ":>="
refinements: []
notes: {is this even possible in dialected split? without fixing the offsets}
difficulty: 1
importance: 8
dialected-rating: 0
refinement-rating: 0
] [
id: #11
desc: ""
input: [0 1 1 3 2 5 4 2 1 6 9]
goal: [[0] [1 1] [3 2] [5 4 2 1] [6] [9]]
hint: ""
dial-status: incorrect
dial-solution: ""
dial-tries: [23-Dec-2021/18:38:24+03:00 ":<" 23-Dec-2021/18:38:29+03:00 "[:<]" 23-Dec-2021/18:38:34+03:00 "[<]" 23-Dec-2021/18:38:38+03:00 "[by :<]" 23-Dec-2021/18:38:42+03:00 "[as-delim :<]" 23-Dec-2021/18:38:52+03:00 ":<" 23-Dec-2021/18:39:01+03:00 ":>" 23-Dec-2021/18:39:02+03:00 ":>=" 23-Dec-2021/18:39:19+03:00 "[p: (p/1 > p/2)]" 23-Dec-2021/18:39:21+03:00 "[p: (p/1 < p/2)]" 23-Dec-2021/18:39:26+03:00 "[p: (p/1 < p/2) skip]" 23-Dec-2021/18:39:31+03:00 "[before p: (p/1 < p/2)]" 23-Dec-2021/18:39:37+03:00 "[before p: if (p/1 < p/2)]" 23-Dec-2021/18:39:41+03:00 "[before [p: if (p/1 < p/2)]]" 23-Dec-2021/18:39:49+03:00 "[after [p: if (p/1 < p/2)]]" 23-Dec-2021/18:39:53+03:00 "[p: if (p/1 < p/2)]" 23-Dec-2021/18:39:56+03:00 "[p: if (p/1 > p/2)]" 23-Dec-2021/18:40:00+03:00 "[p: if (p/1 >= p/2)]" 23-Dec-2021/18:41:02+03:00 "before [p: if (p/1 >= p/2)]" 23-Dec-2021/18:41:03+03:00 "[p: if (p/1 >= p/2)]"]
ref-status: correct
ref-tries: [23-Dec-2021/18:38:13+03:00 "[:> []]" 23-Dec-2021/18:38:17+03:00 "[:< []]" 23-Dec-2021/18:41:40+03:00 "[[func [x y] [x < y]] []]"]
ref-solution: "func [x y] [x < y]"
refinements: []
notes: ""
difficulty: 1
importance: 7
dialected-rating: 0
refinement-rating: 10
] [
id: #12
desc: ""
input: "A split sentence.And another."
goal: [["A" "split" "sentence"] ["And" "another"]]
hint: ""
dial-status: incorrect
dial-solution: ""
dial-tries: [23-Dec-2021/18:33:46+03:00 {"."} 23-Dec-2021/18:34:15+03:00 {[remove ["." end] | "."]} 23-Dec-2021/18:34:38+03:00 {["."]} 23-Dec-2021/18:34:46+03:00 {["." then " "]} 23-Dec-2021/18:34:48+03:00 {["." then by " "]} 23-Dec-2021/18:34:50+03:00 {[by "." then by " "]} 23-Dec-2021/18:35:02+03:00 {[by ["." not end] then by " "]} 23-Dec-2021/18:35:10+03:00 {[by [remove "." not end] then by " "]} 23-Dec-2021/18:35:25+03:00 {[by [remove ["." end] | "."] then by " "]} 23-Dec-2021/18:35:37+03:00 {[by [remove ["." end | "."]] then by " "]} 23-Dec-2021/18:35:49+03:00 {[by remove ["." end | "."] then by " "]} 23-Dec-2021/18:35:57+03:00 {[by ["." end | "."] then by " "]} 23-Dec-2021/18:36:21+03:00 {[by "." then by " "]} 23-Dec-2021/18:36:25+03:00 {[by "." then by " " times 2]} 23-Dec-2021/18:36:37+03:00 {[by "." 2 times then by " "]} 23-Dec-2021/18:36:40+03:00 {[by "." 1 times then by " "]} 23-Dec-2021/18:36:46+03:00 {[by "." then by " "]}]
ref-status: correct
ref-tries: [23-Dec-2021/18:18:12+03:00 {["." []]} 23-Dec-2021/18:19:45+03:00 {[["." " "] [group]]} 23-Dec-2021/18:19:51+03:00 {[[" " "."] [group]]} 23-Dec-2021/18:19:59+03:00 {[[" " "."] []]} 23-Dec-2021/18:20:04+03:00 {[[" " "."] [parts]]} 23-Dec-2021/18:20:08+03:00 {[[" " "."] [group]]} 23-Dec-2021/18:20:34+03:00 {["." [group]]} 23-Dec-2021/18:22:56+03:00 {[["." "."] [group]]} 23-Dec-2021/18:27:06+03:00 {["." [group]]} 23-Dec-2021/18:27:55+03:00 {[["." "."] [group]]} 23-Dec-2021/18:28:01+03:00 {["." [group]]} 23-Dec-2021/18:32:16+03:00 {["." [group]]} 23-Dec-2021/18:32:28+03:00 {[["" "."] [group]]} 23-Dec-2021/18:32:34+03:00 {[["." ""] [group]]} 23-Dec-2021/18:32:36+03:00 {[["." none] [group]]} 23-Dec-2021/18:32:55+03:00 {[["." "."] [group rule]]} 23-Dec-2021/18:33:05+03:00 {[["." "."] [group]]} 23-Dec-2021/18:33:08+03:00 {[["." " "] [group]]} 23-Dec-2021/18:33:11+03:00 {[[" " "."] [group]]}]
ref-solution: {[" " "."]}
refinements: [group]
notes: "is it solvable even?^/"
difficulty: 1
importance: 5
dialected-rating: 4
refinement-rating: 8
] [
id: #13
desc: ""
input: "YYYYMMDD/HHMMSS"
goal: ["YYYY" "MM" "DD" "HH" "MM" "SS"]
hint: ""
dial-status: correct
dial-solution: "[4 2 2 -1 2 2 2]"
dial-tries: [16-Dec-2021/19:38:39+03:00 "[4 2 2 -1 2 2 2]" 16-Dec-2021/20:00:52+03:00 "[4 2 2 -1 2 2 2]" 16-Dec-2021/20:01:03+03:00 "[4 2 2 -1 2 2 2]" 16-Dec-2021/20:03:34+03:00 "[4 2 2 -1 2 2 2]" 17-Dec-2021/17:11:59+03:00 "[4 2 2 -1 2 2 2]" 17-Dec-2021/17:12:28+03:00 "[4 2 2 -1 2 2 2]" 17-Dec-2021/17:13:01+03:00 "[4 2 2 -1 2 2 2]" 17-Dec-2021/17:20:38+03:00 "[4 2 2 -1 2 2 2]" 23-Dec-2021/17:54:10+03:00 "[4 2 2 -1 2 2 2]" 23-Dec-2021/18:09:43+03:00 "[4 2 2 -1 2 2 2]" 23-Dec-2021/18:16:45+03:00 {[opt remove #"/" set x skip any x]} 23-Dec-2021/18:16:58+03:00 {[as-delim opt remove #"/" set x skip any x]} 23-Dec-2021/18:17:09+03:00 "[4 2 2 -1 2 2 2]"]
ref-status: correct
ref-tries: [16-Dec-2021/19:36:59+03:00 {[["/" | p: if (p/1 <> p/2)] []]} 16-Dec-2021/19:37:03+03:00 {[["/" | p: if (p/1 <> p/2)] [rule]]} 16-Dec-2021/19:37:10+03:00 {[["/" | p: if (p/-1 <> p/1)] [rule]]} 16-Dec-2021/19:42:19+03:00 {[[func [s [series]] [any [s/1 = "/" s/-1 <> s/1]]] [rule]]} 16-Dec-2021/19:42:28+03:00 {[[func [s [series]] [if any [s/1 = "/" s/-1 <> s/1] [s]]] [rule]]} 16-Dec-2021/19:42:31+03:00 {[[func [s [series]] [if any [s/1 = "/" s/-1 <> s/1] [next s]]] [rule]]} 16-Dec-2021/19:42:57+03:00 "[none [rule]]" 16-Dec-2021/19:43:00+03:00 {[[func [s [series]] [any [if s/1 = "/" [next s] if s/-1 <> s/1 [s]]]] [rule]]} 16-Dec-2021/19:43:09+03:00 {[[func [s [series]] [alert mold s any [if s/1 = "/" [next s] if s/-1 <> s/1 [s]]]] [rule]]} 16-Dec-2021/19:43:15+03:00 "[[func [s [series]] [alert mold s]] [rule]]" 16-Dec-2021/19:43:36+03:00 "[[func [s [series]] [?? s]] [rule]]" 16-Dec-2021/19:43:38+03:00 "[[func [s [series]] [?? s]] [rule]]" 16-Dec-2021/19:43:47+03:00 "[[func [s [series]] [write %123 mold s]] [rule]]" 16-Dec-2021/19:45:11+03:00 {[[func [s [series!]] [any [if s/1 = #"/" [next s] if s/1 <> s/-1 [s]]]] []]} 16-Dec-2021/19:45:31+03:00 "[none []]" 16-Dec-2021/19:45:36+03:00 {[[func [s [series!]] [if s/1 <> s/-1 [next s]]] []]} 16-Dec-2021/19:46:01+03:00 {[[func [s [series!]] [find s negate charset form s/1]] []]} 16-Dec-2021/19:46:19+03:00 {[[func [s [series!]] [find s negate charset form s/1]] [before]]} 16-Dec-2021/19:46:42+03:00 {[[func [s [series!]] [find s negate charset form s/1]] [after]]} 16-Dec-2021/19:47:56+03:00 "[[func [s [series!]] [s]] []]" 16-Dec-2021/19:48:19+03:00 "[[func [s [series!]] [next s]] []]" 16-Dec-2021/19:48:23+03:00 "[[func [s [series!]] [s]] []]" 16-Dec-2021/19:49:53+03:00 "[[func [x y] [x <> y]] []]" 16-Dec-2021/19:51:45+03:00 {[[remove "" | set x skip any x] [rule before]]} 16-Dec-2021/19:51:51+03:00 {[[remove "" | set x skip any x] [rule after]]} 16-Dec-2021/19:52:07+03:00 "[[set x skip any x] [rule after]]" 16-Dec-2021/19:52:17+03:00 {[[remove "" | set x skip any x] [rule after]]} 16-Dec-2021/19:52:33+03:00 {[[remove "" | set x skip any x] [rule after]]} 16-Dec-2021/19:52:55+03:00 "[[set x skip any x] [rule after]]" 16-Dec-2021/19:52:59+03:00 {[[remove "" | set x skip any x] [rule after]]} 16-Dec-2021/20:00:52+03:00 {[[remove "" | set x skip any x] []]} 16-Dec-2021/20:01:03+03:00 {[[remove "" | set x skip any x] []]} 16-Dec-2021/20:01:16+03:00 {[[remove "" | set x skip any x] [rule before]]} 16-Dec-2021/20:01:24+03:00 {[[remove "" skip | set x skip any x] [rule before]]} 16-Dec-2021/20:01:28+03:00 {[[remove "" | set x skip any x] [rule before]]} 16-Dec-2021/20:01:33+03:00 {[[remove "" skip | set x skip any x] [rule before]]} 16-Dec-2021/20:01:45+03:00 {[[remove "" skip | set x skip any x] [rule before]]} 16-Dec-2021/20:01:52+03:00 "[[set x skip any x] [rule before]]" 16-Dec-2021/20:02:03+03:00 "[[set x skip any x] [rule after]]" 16-Dec-2021/20:02:37+03:00 {[[remove "" skip | set x skip any x] [rule after]]} 16-Dec-2021/20:03:34+03:00 {[[remove "" skip | set x skip any x] []]} 17-Dec-2021/17:11:59+03:00 {[[remove "" skip | set x skip any x] []]} 17-Dec-2021/17:12:28+03:00 {[[remove "" skip | set x skip any x] []]} 17-Dec-2021/17:13:01+03:00 {[[remove "" skip | set x skip any x] []]} 17-Dec-2021/17:13:08+03:00 {[[remove "/" skip | set x skip any x] []]} 17-Dec-2021/17:13:12+03:00 {[[remove "/" | set x skip any x] []]} 17-Dec-2021/17:13:47+03:00 {[[remove "123" | set x skip any x] []]} 17-Dec-2021/17:13:51+03:00 {[[remove "/" | set x skip any x] []]} 17-Dec-2021/17:14:09+03:00 {[[remove "" | set x skip any x] []]} 17-Dec-2021/17:14:11+03:00 {[[remove "1" | set x skip any x] []]} 17-Dec-2021/17:14:13+03:00 {[[remove "12" | set x skip any x] []]} 17-Dec-2021/17:14:15+03:00 {[[remove "123" | set x skip any x] []]} 17-Dec-2021/17:20:38+03:00 {[[remove "123" | set x skip any x] []]} 23-Dec-2021/17:54:10+03:00 {[[remove "123" | set x skip any x] []]} 23-Dec-2021/18:09:43+03:00 {[[remove "123" | set x skip any x] []]} 23-Dec-2021/18:10:09+03:00 {[[remove "/" | set x skip any x] []]} 23-Dec-2021/18:10:17+03:00 {[[remove "/" | set x skip any x] [before]]} 23-Dec-2021/18:10:24+03:00 {[[remove "/" | set x skip any x] [after]]} 23-Dec-2021/18:10:33+03:00 {[[remove #"/" | set x skip any x] []]} 23-Dec-2021/18:12:01+03:00 {[[remove #"/" | set x skip any x] [rule]]} 23-Dec-2021/18:12:07+03:00 {[[remove #"/" | set x skip any x] [rule before]]} 23-Dec-2021/18:12:11+03:00 {[[remove #"/" | set x skip any x] [rule after]]} 23-Dec-2021/18:12:17+03:00 {[[remove #"/" | set x skip any x] [rule before]]} 23-Dec-2021/18:12:29+03:00 {[[opt remove #"/" set x skip any x] [rule after]]}]
ref-solution: {[opt remove #"/" set x skip any x]}
refinements: [rule after]
notes: {no idea how to write it dialected way without fixing the widths}
difficulty: 2
importance: 5
dialected-rating: 4
refinement-rating: 6
] [
id: #14
desc: ""
input: "Mon, 24 Nov 1997"
goal: ["Mon" "24" "Nov" "1997"]
hint: ""
dial-status: correct
dial-solution: {[", " | " "]}
dial-tries: [16-Dec-2021/19:35:35+03:00 {[", " | " "]} 16-Dec-2021/20:01:01+03:00 {[", " | " "]} 17-Dec-2021/17:11:52+03:00 {[", " | " "]} 17-Dec-2021/17:12:26+03:00 {[", " | " "]} 17-Dec-2021/17:12:58+03:00 {[", " | " "]} 23-Dec-2021/18:09:31+03:00 {[", " | " "]}]
ref-status: correct
ref-tries: [16-Dec-2021/19:35:29+03:00 {[[", " | " "] [rule]]} 16-Dec-2021/20:01:01+03:00 {[[", " | " "] [rule]]} 17-Dec-2021/17:11:52+03:00 {[[", " | " "] [rule]]} 17-Dec-2021/17:12:26+03:00 {[[", " | " "] [rule]]} 17-Dec-2021/17:12:58+03:00 {[[", " | " "] [rule]]} 23-Dec-2021/18:09:31+03:00 {[[", " | " "] [rule]]}]
ref-solution: {[", " | " "]}
refinements: [rule]
notes: ""
difficulty: 6
importance: 5
dialected-rating: 10
refinement-rating: 10
] [
id: #15
desc: ""
input: "a,b,c,d,e,f,g"
goal: ["a" "b" "c" "d,e,f,g"]
hint: ""
dial-status: correct
dial-solution: {["," 3 times]}
dial-tries: [16-Dec-2021/18:42:05+03:00 {[3 times ","]} 16-Dec-2021/18:42:08+03:00 {[3 times by ","]} 16-Dec-2021/18:42:23+03:00 {["," times 3]} 16-Dec-2021/18:42:26+03:00 {["," 3 times]} 17-Dec-2021/17:11:45+03:00 {["," 3 times]} 17-Dec-2021/17:12:57+03:00 {["," 3 times]} 23-Dec-2021/18:08:27+03:00 {["," 3 times]}]
ref-status: correct
ref-tries: [16-Dec-2021/18:41:49+03:00 {["," [limit 3]]} 17-Dec-2021/17:11:45+03:00 {["," [limit 3]]} 17-Dec-2021/17:12:57+03:00 {["," [limit 3]]} 23-Dec-2021/18:08:27+03:00 {["," [limit 3]]}]
ref-solution: {","}
refinements: [limit 3]
notes: ""
difficulty: 8
importance: 3
dialected-rating: 4
refinement-rating: 10
] [
id: #16
desc: ""
input: "a,b,c,d,e,f,g"
goal: ["a,b,c,d,e,f" "g"]
hint: ""
dial-status: correct
dial-solution: {[last ","]}
dial-tries: [16-Dec-2021/18:40:49+03:00 {[last ","]} 17-Dec-2021/17:11:43+03:00 {[last ","]} 17-Dec-2021/17:12:23+03:00 {[last ","]} 17-Dec-2021/17:12:56+03:00 {[last ","]} 23-Dec-2021/18:06:50+03:00 {[last ","]}]
ref-status: correct
ref-tries: [16-Dec-2021/18:40:40+03:00 {["," [last]]} 17-Dec-2021/17:11:43+03:00 {["," [last]]} 17-Dec-2021/17:12:23+03:00 {["," [last]]} 17-Dec-2021/17:12:56+03:00 {["," [last]]} 23-Dec-2021/18:06:50+03:00 {["," [last]]}]
ref-solution: {","}
refinements: [last]
notes: ""
difficulty: 10
importance: 5
dialected-rating: 8
refinement-rating: 10
] [
id: #17
desc: ""
input: [1 2 [3] 4 5 6 [3] 7 8 9]
goal: [[1 2] [4 5 6] [7 8 9]]
hint: ""
dial-status: correct
dial-solution: "as-delim [3]"
dial-tries: [16-Dec-2021/18:39:14+03:00 "[[3]]" 16-Dec-2021/18:39:20+03:00 "[as-delim [3]]" 17-Dec-2021/17:11:39+03:00 "[as-delim [3]]" 17-Dec-2021/17:12:22+03:00 "[as-delim [3]]" 23-Dec-2021/18:01:03+03:00 "[as-delim [3]]" 23-Dec-2021/18:01:36+03:00 "([as-delim [3]])" 23-Dec-2021/18:01:42+03:00 "[as-delim [3]]" 23-Dec-2021/18:01:45+03:00 "([as-delim [3]])" 23-Dec-2021/18:01:48+03:00 "[as-delim [3]]" 23-Dec-2021/18:02:02+03:00 "[(? 1) as-delim [3]]" 23-Dec-2021/18:02:20+03:00 "[(x: [3]) as-delim x]" 23-Dec-2021/18:02:31+03:00 "[as-delim x] x: [3]" 23-Dec-2021/18:02:46+03:00 "(x: [3]) as-delim x" 23-Dec-2021/18:03:15+03:00 "reduce [all [x: [3] [as-delim x]]" 23-Dec-2021/18:03:31+03:00 "reduce [all [x: [3] [as-delim x]]]" 23-Dec-2021/18:03:42+03:00 "reduce [all [x: [3] [as-delim [3]]]]" 23-Dec-2021/18:03:58+03:00 "as-delim x" 23-Dec-2021/18:04:04+03:00 "as-delim :x" 23-Dec-2021/18:04:11+03:00 "as-delim (:x)" 23-Dec-2021/18:04:21+03:00 "as-delim (? x)" 23-Dec-2021/18:04:32+03:00 "(? x) as-delim x" 23-Dec-2021/18:04:41+03:00 "as-delim x" 23-Dec-2021/18:04:52+03:00 "as-delim [3]"]
ref-status: correct
ref-tries: [16-Dec-2021/18:36:03+03:00 "[[3] []]" 16-Dec-2021/18:36:07+03:00 "[[3] [value]]" 16-Dec-2021/18:36:40+03:00 "[[3] [value]]" 16-Dec-2021/18:37:10+03:00 "[[[3]] [value]]" 16-Dec-2021/18:37:23+03:00 "[[[3]] []]" 16-Dec-2021/18:37:54+03:00 "[[3] [value]]" 16-Dec-2021/18:38:05+03:00 "[[3] []]" 16-Dec-2021/18:38:19+03:00 "[[3] [value]]" 16-Dec-2021/18:38:59+03:00 "[[[3]] [value]]" 17-Dec-2021/17:11:39+03:00 "[[[3]] [value]]" 17-Dec-2021/17:12:22+03:00 "[[[3]] [value]]" 23-Dec-2021/18:01:03+03:00 "[[[3]] [value]]" 23-Dec-2021/18:05:59+03:00 "[[3] [value]]" 23-Dec-2021/18:06:11+03:00 "[[[3]] [value]]"]
ref-solution: "[[3]]"
refinements: [value]
notes: {what really kills both solutions here is the need for `reduce`: what if we get delimiter from a word?}
difficulty: 6
importance: 6
dialected-rating: 4
refinement-rating: 4
] [
id: #18
desc: ""
input: [1 2 3 4 5 6]
goal: [[1 2 3] [4 5 6]]
hint: ""
dial-status: correct
dial-solution: "3"
dial-tries: [16-Dec-2021/18:35:22+03:00 "3" 17-Dec-2021/17:11:37+03:00 "3" 17-Dec-2021/17:12:21+03:00 "3" 17-Dec-2021/17:12:54+03:00 "3" 23-Dec-2021/18:00:32+03:00 "3" 23-Dec-2021/18:00:50+03:00 "3" 23-Dec-2021/18:01:02+03:00 "3"]
ref-status: correct
ref-tries: [16-Dec-2021/18:34:46+03:00 "[none [parts]]" 16-Dec-2021/18:34:47+03:00 "[3 [parts]]" 16-Dec-2021/18:35:02+03:00 "[3 [group]]" 17-Dec-2021/17:11:37+03:00 "[3 [group]]" 17-Dec-2021/17:12:21+03:00 "[3 [group]]" 17-Dec-2021/17:12:54+03:00 "[3 [group]]" 23-Dec-2021/18:00:32+03:00 "[3 [group]]" 23-Dec-2021/18:00:50+03:00 "[3 [group]]" 23-Dec-2021/18:01:02+03:00 "[3 [group]]"]
ref-solution: "3"
refinements: [group]
notes: ""
difficulty: 9
importance: 9
dialected-rating: 10
refinement-rating: 10
] [
id: #19
desc: ""
input: [1 2 3 4 5 6]
goal: [[1 2] [3] [4 5 6]]
hint: ""
dial-status: correct
dial-solution: "[2 1 3]"
dial-tries: [16-Dec-2021/18:29:59+03:00 "[before 3 | after 3]" 16-Dec-2021/18:30:23+03:00 "[before quote 3 | after quote 3]" 16-Dec-2021/18:30:29+03:00 "[before [quote 3] | after quote 3]" 16-Dec-2021/18:30:33+03:00 "[before [quote 3] | after [quote 3]]" 16-Dec-2021/18:30:47+03:00 "[3]" 16-Dec-2021/18:30:54+03:00 "[before [3]]" 16-Dec-2021/18:30:58+03:00 "[before 3]" 16-Dec-2021/18:31:02+03:00 "[before as-delim 3]" 16-Dec-2021/18:31:09+03:00 "[before as-delim 3 | after as-delim 3]" 16-Dec-2021/18:31:14+03:00 "[before as-delim 3 or after as-delim 3]" 16-Dec-2021/18:31:22+03:00 "[before [quote 3]]" 16-Dec-2021/18:31:38+03:00 "[before [as-delim 3]]" 16-Dec-2021/18:32:34+03:00 "" 16-Dec-2021/19:32:29+03:00 "[before as-delim 3 | before as-delim 4]" 16-Dec-2021/19:34:11+03:00 "[at as-delim 3]" 16-Dec-2021/19:34:18+03:00 "[around as-delim 3]" 16-Dec-2021/19:34:27+03:00 "[2 1 3]" 17-Dec-2021/17:11:35+03:00 "[2 1 3]" 17-Dec-2021/17:12:19+03:00 "[2 1 3]" 23-Dec-2021/17:54:15+03:00 "[2 1 3]" 23-Dec-2021/17:55:24+03:00 "[quote 3]" 23-Dec-2021/17:55:30+03:00 "[by quote 3]" 23-Dec-2021/17:55:34+03:00 "[by (quote 3)]" 23-Dec-2021/17:55:38+03:00 "[as-delim 3]" 23-Dec-2021/17:55:55+03:00 "[before as-delim 3]" 23-Dec-2021/17:56:03+03:00 "[before as-delim 3 | after as-delim 3]" 23-Dec-2021/17:56:06+03:00 "[before as-delim 3 after as-delim 3]" 23-Dec-2021/17:56:09+03:00 "[ after as-delim 3]" 23-Dec-2021/18:00:49+03:00 "[2 1 3]"]
ref-status: correct
ref-tries: [16-Dec-2021/18:27:10+03:00 "[3 [value]]" 16-Dec-2021/18:27:19+03:00 "[3 [value before after]]" 16-Dec-2021/18:27:51+03:00 "[3 [value before after]]" 16-Dec-2021/19:32:41+03:00 "[[[3]] [value]]" 16-Dec-2021/19:32:46+03:00 "[[3] [value]]" 16-Dec-2021/19:32:52+03:00 "[[[3]] [value]]" 16-Dec-2021/19:32:57+03:00 "[[3] [value]]" 16-Dec-2021/19:33:02+03:00 "[[3] [value before after]]" 16-Dec-2021/19:33:09+03:00 "[[3 4] [value before after]]" 16-Dec-2021/19:33:19+03:00 "[[3] [value before after]]" 16-Dec-2021/19:33:25+03:00 "[[3] [value]]" 16-Dec-2021/19:33:30+03:00 "[[3] [value after]]" 16-Dec-2021/19:33:41+03:00 "[[3] [value after before]]" 16-Dec-2021/19:33:52+03:00 "[3 [value after before]]" 17-Dec-2021/17:11:35+03:00 "[3 [before after value]]" 17-Dec-2021/17:12:19+03:00 "[3 [before after value]]" 23-Dec-2021/17:54:15+03:00 "[3 [before after value]]" 23-Dec-2021/18:00:49+03:00 "[3 [before after value]]"]
ref-solution: "3"
refinements: [before after value]
notes: {I have no idea how to solve this in dialected split if we think of `3` as a delimiter, not as a thing at fixed index 3.}
difficulty: 3
importance: 7
dialected-rating: 6
refinement-rating: 7
] [
id: #20
desc: ""
input: [a 1 2 b 4 c 3 6 1]
goal: [[a 1 2] [b 4] [c 3 6 1]]
hint: ""
dial-status: correct
dial-solution: "reduce ['before word!]"
dial-tries: [16-Dec-2021/19:32:16+03:00 "[reduce ['before integer!]]" 16-Dec-2021/19:32:18+03:00 "[reduce ['before integer!]]" 16-Dec-2021/19:32:25+03:00 "[reduce ['before word!]]" 17-Dec-2021/17:11:33+03:00 "[reduce ['before word!]]" 17-Dec-2021/17:12:18+03:00 "[reduce ['before word!]]" 17-Dec-2021/17:12:53+03:00 "[reduce ['before word!]]" 23-Dec-2021/17:54:14+03:00 "reduce ['before word!]" 23-Dec-2021/18:00:52+03:00 "reduce ['before word!]"]
ref-status: correct
ref-tries: [16-Dec-2021/18:26:34+03:00 "[word! [before]]" 16-Dec-2021/19:31:44+03:00 "[word! [before]]" 16-Dec-2021/19:32:10+03:00 "[word! [before]]" 17-Dec-2021/17:11:33+03:00 "[word! [before]]" 17-Dec-2021/17:12:18+03:00 "[word! [before]]" 17-Dec-2021/17:12:53+03:00 "[word! [before]]" 23-Dec-2021/17:54:14+03:00 "[word! [before]]" 23-Dec-2021/18:00:52+03:00 "[word! [before]]"]
ref-solution: "word!"
refinements: [before]
notes: ""
difficulty: 8
importance: 8
dialected-rating: 4
refinement-rating: 10
] [
id: #21
desc: ""
input: [a b 1 c 2 d e f 3]
goal: [[a b 1] [c 2] [d e f 3]]
hint: ""
dial-status: correct
dial-solution: "reduce ['after integer!]"
dial-tries: [16-Dec-2021/18:25:29+03:00 "[after integer!]" 16-Dec-2021/18:25:33+03:00 "[after integer!]" 16-Dec-2021/18:25:35+03:00 "[after integer!]" 16-Dec-2021/18:25:35+03:00 "[after integer!]" 16-Dec-2021/18:25:44+03:00 "[reduce ['after integer!]]" 16-Dec-2021/19:32:06+03:00 "[reduce ['after integer!]]" 17-Dec-2021/17:11:32+03:00 "[reduce ['after integer!]]" 17-Dec-2021/17:12:17+03:00 "[reduce ['after integer!]]" 23-Dec-2021/17:54:13+03:00 "reduce ['after integer!]" 23-Dec-2021/18:00:55+03:00 "reduce ['after integer!]"]
ref-status: correct
ref-tries: [16-Dec-2021/18:25:14+03:00 "[integer! [after]]" 16-Dec-2021/19:32:06+03:00 "[integer! [after]]" 17-Dec-2021/17:11:32+03:00 "[integer! [after]]" 17-Dec-2021/17:12:17+03:00 "[integer! [after]]" 23-Dec-2021/17:54:13+03:00 "[integer! [after]]" 23-Dec-2021/18:00:55+03:00 "[integer! [after]]"]
ref-solution: "integer!"
refinements: [after]
notes: ""
difficulty: 8
importance: 8
dialected-rating: 4
refinement-rating: 10
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment