servicesToptal commited on
Commit
17f4e7f
·
verified ·
1 Parent(s): 7d28c64

Update dataset (part 2)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. harbor/sources/go-mysql-v9/Dockerfile.hud +379 -0
  2. harbor/sources/go-mysql-v9/coding/__init__.py +5 -0
  3. harbor/sources/go-mysql-v9/coding/github.py +158 -0
  4. harbor/sources/go-mysql-v9/coding/repo.py +172 -0
  5. harbor/sources/go-mysql-v9/coding/swe_bench_pro.py +149 -0
  6. harbor/sources/go-mysql-v9/env.py +468 -0
  7. harbor/sources/go-mysql-v9/pyproject.toml +31 -0
  8. harbor/sources/go-mysql-v9/task/gold.diff +747 -0
  9. harbor/sources/go-mysql-v9/task/grader/README.md +162 -0
  10. harbor/sources/go-mysql-v9/task/grader/data/baseline/_event_types.json +7 -0
  11. harbor/sources/go-mysql-v9/task/grader/data/baseline/mdb118-nested-plain.json +681 -0
  12. harbor/sources/go-mysql-v9/task/grader/data/baseline/mdb118-plain.json +562 -0
  13. harbor/sources/go-mysql-v9/task/grader/data/baseline/mysql80-types.json +1176 -0
  14. harbor/sources/go-mysql-v9/task/grader/data/baseline/mysql84-types.json +1176 -0
  15. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb1011-vmx.binlog +0 -0
  16. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb106-vmx.binlog +0 -0
  17. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb114-vmx.binlog +0 -0
  18. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-adj.binlog +0 -0
  19. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-big.binlog +0 -0
  20. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-core.binlog +0 -0
  21. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-dml.binlog +0 -0
  22. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-minimal.binlog +0 -0
  23. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-nested-plain.binlog +0 -0
  24. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-nested.binlog +0 -0
  25. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-noblob.binlog +0 -0
  26. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-plain.binlog +0 -0
  27. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-thr0.binlog +0 -0
  28. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-widths.binlog +0 -0
  29. harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-wrapon.binlog +0 -0
  30. harbor/sources/go-mysql-v9/task/grader/data/corpus/mysql80-types.binlog +0 -0
  31. harbor/sources/go-mysql-v9/task/grader/data/corpus/mysql84-types.binlog +0 -0
  32. harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-fill-118.binlog +0 -0
  33. harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-rowimg-min-118.binlog +0 -0
  34. harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-103.binlog +0 -0
  35. harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-104.binlog +0 -0
  36. harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-105.binlog +0 -0
  37. harbor/sources/go-mysql-v9/task/grader/data/corpus_manifest.json +423 -0
  38. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb1011-vmx.json +347 -0
  39. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb106-vmx.json +346 -0
  40. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb114-vmx.json +346 -0
  41. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-adj.json +613 -0
  42. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-big.json +100 -0
  43. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-core.json +943 -0
  44. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-dml.json +500 -0
  45. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-minimal.json +179 -0
  46. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-nested-plain.json +24 -0
  47. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-nested.json +333 -0
  48. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-noblob.json +296 -0
  49. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-plain.json +20 -0
  50. harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-thr0.json +231 -0
harbor/sources/go-mysql-v9/Dockerfile.hud ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # go_mysql_mariadb_compressed_columns on the coding-template.
2
+ #
3
+ # Substrate: go-mysql-org/go-mysql at the pinned base SHA (history vaulted at
4
+ # task setup by coding/repo.py), Go toolchain, hud serve. Everything answer-key-
5
+ # shaped lives under /hud (root, mode 700): the vault, the hidden grader, the
6
+ # frozen corpus, the pristine base checkout and gold.diff. Agent shells drop to
7
+ # uid 1000 (setpriv), so /hud is unreadable from the agent side.
8
+ #
9
+ # The network exists only while this image builds. After that grading is
10
+ # hermetic: no network, no clock, no RNG, no LLM, and -- the point of this task
11
+ # -- no database server. The corpus is NOT captured here: tools/build_corpus.py
12
+ # needs real MariaDB and MySQL servers, so it ran on the workstation and its
13
+ # output (task/grader/data/{corpus,expected,repro,corpus_manifest.json}) is
14
+ # baked into the build context. The oracle is therefore bytes real servers
15
+ # wrote, frozen here and unreachable from /workspace, plus -- for the control
16
+ # logs -- the untouched base build's own parse, recorded in step 7.
17
+
18
+ FROM python:3.12-slim-bookworm
19
+
20
+ ARG REPO_URL=https://github.com/go-mysql-org/go-mysql
21
+ ARG BASE_SHA=8c39e2d302695a4f17769fc009797cd1476056d9
22
+ # go.mod says `go 1.25.0`; 1.27.0 is the toolchain the grader was calibrated
23
+ # against on the workstation, so the image pins the same one. GOTOOLCHAIN=local
24
+ # below keeps go from fetching a different one at build or grading time.
25
+ ARG GO_VERSION=1.27.0
26
+
27
+ # util-linux: setpriv, the privilege wall for agent shells.
28
+ # build-essential: go-mysql itself is pure Go, but CGO_ENABLED=1 is the default
29
+ # an agent's shell inherits and a missing gcc would turn an unrelated `go build`
30
+ # flag into a task-killing error.
31
+ # bubblewrap: the workspace's sandbox, and the whole point of v4. env.py serves
32
+ # the agent's shell with network=False, and hud only gets a network namespace of
33
+ # its own where bwrap can sandbox — without this package the "no egress"
34
+ # statement would be silently untrue (v2/v3 shipped no bwrap: the agents had a
35
+ # live route out, see FREEZE «v4 — офлайн-среда»).
36
+ # procps: `ps`/`pkill` are absent from python:slim; an agent that cannot list
37
+ # processes spends steps discovering that.
38
+ RUN apt-get update && apt-get install -y --no-install-recommends \
39
+ git curl ca-certificates util-linux patch build-essential \
40
+ bubblewrap procps \
41
+ && rm -rf /var/lib/apt/lists/* \
42
+ && command -v bwrap && command -v ps && command -v pkill
43
+
44
+ # hud pin: 0.6.15 (E-3). In 0.6.13 `hud/environment/namespace.py::_spawn` hands
45
+ # the asyncssh channel the transports of an asyncio subprocess; when a client
46
+ # drops a channel while its command still runs — which the agent harness does on
47
+ # its own tool timeout — the env process' connection to the namespace host is
48
+ # torn down for good and every later command answers "SSH command ended without
49
+ # an exit status" (measured on piscina v4, job 4f30cc06). 0.6.15 spawns through
50
+ # raw os.pipe() and survives the same abort. The version and the API this file
51
+ # and env.py depend on are asserted in the same layer.
52
+ RUN python -m venv /opt/hudvenv \
53
+ && /opt/hudvenv/bin/pip install --no-cache-dir "hud==0.6.15" \
54
+ && /opt/hudvenv/bin/python -c "import importlib.metadata as m, sys; \
55
+ v = m.version('hud'); print('hud', v); sys.exit(0 if v == '0.6.15' else 1)" \
56
+ && /opt/hudvenv/bin/python -c "from hud.environment import DEFAULT_SYSTEM_MOUNTS, Environment, Mount, Workspace; \
57
+ from hud.environment.workspace import usable_bwrap; print('hud API ok; bwrap usable:', usable_bwrap() is not None)"
58
+ ENV PATH="/opt/hudvenv/bin:${PATH}"
59
+
60
+ # ── Go toolchain ────────────────────────────────────────────────────────────
61
+ RUN set -eux; \
62
+ arch="$(dpkg --print-architecture)"; \
63
+ curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${arch}.tar.gz" -o /tmp/go.tgz; \
64
+ tar -C /usr/local -xzf /tmp/go.tgz; \
65
+ rm /tmp/go.tgz
66
+
67
+ # GOPATH is shared and root-owned; the agent gets read-only access to the
68
+ # module cache in step 5 and writes only to its own GOCACHE (see env.py,
69
+ # AGENT_GO_ENV). GOCACHE lives inside /hud so the warm build cache the grader
70
+ # uses cannot be touched from /workspace.
71
+ #
72
+ # GOPROXY is deliberately NOT set: the build needs the network, and every
73
+ # grading path forces GOPROXY=off itself (run_grading.sh). Setting it here
74
+ # would either break the build or, worse, survive as a live proxy setting into
75
+ # a rollout that has no network.
76
+ #
77
+ # GOWORK=off: nothing in the image ships a go.work, but the factory tree does,
78
+ # and an inherited workspace would make every `go` command fail with
79
+ # "directory not contained in workspace".
80
+ ENV PATH=/usr/local/go/bin:$PATH \
81
+ GOTOOLCHAIN=local \
82
+ CGO_ENABLED=1 \
83
+ GOWORK=off \
84
+ GOFLAGS=-mod=mod \
85
+ GOPATH=/go \
86
+ GOMODCACHE=/go/pkg/mod \
87
+ GOCACHE=/hud/gocache
88
+
89
+ # ENV PATH is not enough, and this is measured, not assumed. Both shells that
90
+ # matter here are LOGIN shells -- hud's BashGrader runs `/bin/bash -lc`, and an
91
+ # agent session is `env -i ... bash -l` -- and Debian's /etc/profile assigns
92
+ # PATH unconditionally, so the image's PATH is thrown away the moment either
93
+ # one starts:
94
+ #
95
+ # $ docker run --rm IMG bash -c 'echo $PATH' -> /usr/local/go/bin:... go found
96
+ # $ docker run --rm IMG bash -lc 'echo $PATH' -> /usr/local/sbin:... NO GO
97
+ #
98
+ # The grader survives it because run_grading.sh re-exports PATH itself. The
99
+ # agent would not: a rollout that cannot run `go` cannot do the task at all,
100
+ # every run would sit on the floor, and nothing in the grader would say why.
101
+ # So the toolchain goes on PATH where a login shell cannot lose it. The Go
102
+ # variables below are defaults for the dropped uid only -- env.py declares the
103
+ # same set on the workspace (AGENT_GO_ENV) and those come through `env -i`
104
+ # ahead of this file; this is the second lock on the same door, not the first.
105
+ # Nothing here is answer-key-shaped: the file is world-readable by design.
106
+ RUN set -eux; \
107
+ printf '%s\n' \
108
+ 'case ":$PATH:" in' \
109
+ ' *:/usr/local/go/bin:*) ;;' \
110
+ ' *) PATH="/usr/local/go/bin:$PATH" ;;' \
111
+ 'esac' \
112
+ 'export PATH' \
113
+ 'if [ "$(id -u)" != "0" ]; then' \
114
+ ' : "${GOPATH:=/go}"' \
115
+ ' : "${GOMODCACHE:=/go/pkg/mod}"' \
116
+ ' : "${GOCACHE:=$HOME/.cache/go-build}"' \
117
+ ' : "${GOFLAGS:=-mod=mod}"' \
118
+ ' : "${GOPROXY:=off}"' \
119
+ ' : "${GOTOOLCHAIN:=local}"' \
120
+ ' : "${GOWORK:=off}"' \
121
+ ' : "${CGO_ENABLED:=1}"' \
122
+ ' export GOPATH GOMODCACHE GOCACHE GOFLAGS GOPROXY GOTOOLCHAIN GOWORK CGO_ENABLED' \
123
+ 'fi' \
124
+ > /etc/profile.d/10-go-toolchain.sh; \
125
+ chmod 0644 /etc/profile.d/10-go-toolchain.sh; \
126
+ bash -lc 'command -v go' | grep -q '^/usr/local/go/bin/go$'
127
+
128
+ # ── 1. substrate repo at the pinned base commit ────────────────────────────
129
+ # History is truncated here and additionally vaulted at task setup
130
+ # (coding/repo.py).
131
+ RUN mkdir -p /workspace /hud/gocache \
132
+ && git init -q /workspace/repo \
133
+ && cd /workspace/repo \
134
+ && git remote add origin ${REPO_URL} \
135
+ && git fetch --depth 1 origin ${BASE_SHA} \
136
+ && git checkout -q FETCH_HEAD \
137
+ && git checkout -q -b main \
138
+ && test "$(git rev-parse HEAD)" = "${BASE_SHA}" \
139
+ && git config --system user.email "dev@localhost" \
140
+ && git config --system user.name "dev" \
141
+ && git config --system --add safe.directory /workspace/repo \
142
+ && git remote remove origin \
143
+ && test -z "$(git remote)"
144
+
145
+ # ── 1b. the RH-1 door: provenance on the workspace is not a back channel ───
146
+ # The module path in go.mod is the library's identity — every import in the
147
+ # tree reads it, so it stays. What does NOT have to stay is a pointer at the
148
+ # upstream checkout the agent is meant to reason without: the `origin` remote
149
+ # is removed above (and its absence asserted), and the CHANGELOG is stubbed to
150
+ # the base tag only, so the release notes cannot be mined for "what landed
151
+ # after this commit". Nothing in the repo, the grader or the ticket reads
152
+ # either. Egress itself is cut at the workspace (env.py: network=False), not
153
+ # with a flag an agent can unset. Verified on the base tree: no markdown file
154
+ # mentions compressed columns at all.
155
+ RUN set -eux; \
156
+ cd /workspace/repo; \
157
+ ! grep -riE "compressed column|column compress" --include="*.md" . ; \
158
+ head -1 CHANGELOG.md > /tmp/changelog.head; \
159
+ { cat /tmp/changelog.head; \
160
+ printf '\n(Release notes for later versions are not part of this checkout.)\n'; \
161
+ } > CHANGELOG.md; \
162
+ rm -f /tmp/changelog.head; \
163
+ test "$(grep -c '' CHANGELOG.md)" -le 3; \
164
+ grep -q '^### Tag ' CHANGELOG.md; \
165
+ git add -A; \
166
+ git commit -q --amend --no-edit; \
167
+ test -z "$(git status --porcelain)"; \
168
+ test -z "$(git remote)"
169
+
170
+ # ── 2. warm the module cache and the build cache ───────────────────────────
171
+ # `go mod download all` covers the test dependencies too, so the offline
172
+ # rollout never reaches for the network. The -run XXXNONE pass compiles every
173
+ # test binary criterion 1 will run into GOCACHE, which is what keeps that
174
+ # criterion inside its timeout at grading time.
175
+ RUN set -eux; \
176
+ cd /workspace/repo; \
177
+ go mod download all; \
178
+ go build ./...; \
179
+ go test -count=1 -run XXXNONE \
180
+ ./replication/... ./mysql/... ./serialization/... \
181
+ ./compress/... ./packet/... ./utils/... >/dev/null; \
182
+ # `go mod download all` writes the test dependencies' hashes into go.sum, so
183
+ # the worktree the agent inherits would start DIRTY (v2/v3 shipped it that
184
+ # way: `M go.sum` before the first command). Folded into the base commit
185
+ # here, so `git diff` means the agent's own work and nothing else. /hud/base
186
+ # and /hud/base_sha are taken from this state, one step below.
187
+ git add -A; \
188
+ git commit -q --amend --no-edit; \
189
+ test -z "$(git status --porcelain)"
190
+
191
+ # ── 3. the pristine base checkout, kept out of the workspace ───────────────
192
+ # /hud/base is the task's base commit; /workspace/repo is the agent's copy.
193
+ # Everything frozen below is computed from /hud/base, never from the agent's.
194
+ RUN set -eux; \
195
+ cp -a /workspace/repo /hud/base; \
196
+ rm -rf /hud/base/.git; \
197
+ git -C /workspace/repo rev-parse HEAD > /hud/base_sha
198
+
199
+ # ── 4. the capture the ticket points the agent at ──────────────────────────
200
+ # Outside /workspace/repo on purpose: it is evidence, not a file the agent is
201
+ # meant to edit, and nothing about it can land in the captured diff. It is the
202
+ # ONLY corpus file the agent can see; the other 17 stay under /hud.
203
+ #
204
+ # SOURCE OF TRUTH: task/shared/. This one fixture is the only file BOTH sides
205
+ # need -- the agent reads it at /workspace/repro, the grader keeps it beside its
206
+ # own oracles at /hud/grader/data/repro -- so it is not stored inside either
207
+ # side's tree. It lives in task/shared/repro/ and is copied OUT to both (here,
208
+ # and once more after step 6's `COPY task/grader/`). Nothing is copied out of
209
+ # the hidden grader tree into the workspace, and there is exactly one copy of
210
+ # these bytes in the build context.
211
+ COPY task/shared/repro/mariadb-11.8-minimal.binlog /workspace/repro/mariadb-11.8-minimal.binlog
212
+ RUN chmod 0755 /workspace/repro && chmod 0444 /workspace/repro/mariadb-11.8-minimal.binlog
213
+
214
+ # ── 5. hand the workspace to the agent, and prove the agent can build ──────
215
+ # The module cache is readable but not writable from uid 1000: the grader
216
+ # compiles its own dumper against the agent's tree with GOPROXY=off, and a
217
+ # module cache the agent could rewrite would be a way to change what that
218
+ # dumper compiles. cache/lock is the one file Go opens read-write on every
219
+ # module operation, so it -- and only it -- is world-writable.
220
+ #
221
+ # The setpriv run is not a nicety, and it is not an idealised environment. hud
222
+ # does not pass the serving process's environment to a uid-dropped shell
223
+ # (Workspace._session_env builds a minimal one from scratch: PATH, HOME, TERM,
224
+ # plus the workspace env), and the shell it starts is a LOGIN shell, which
225
+ # re-assigns PATH from /etc/profile. So this step reproduces that exactly --
226
+ # `env -i` with the same variables env.py declares, a PATH that deliberately
227
+ # does NOT contain the toolchain, uid 1000, `bash -lc`, GOPROXY=off -- and
228
+ # builds the repo, vets it and compiles the offline tests. If an agent could
229
+ # not do that offline, the image does not exist. It also warms the agent's own
230
+ # GOCACHE, the only Go directory it needs to write, and proves the published
231
+ # capture is readable from the agent side.
232
+ #
233
+ # What v4 adds to the same step, all of it inside the bwrap sandbox env.py now
234
+ # really creates (E-2/E-3, measured on piscina v4 and tarn v5):
235
+ # * HOME moves to /home/agent. DEFAULT_SYSTEM_MOUNTS lay a fresh tmpfs over
236
+ # /tmp inside the sandbox, so a HOME staged at /tmp/agent-home comes up
237
+ # EMPTY — including the pre-warmed GOCACHE. The old path is still created
238
+ # below (nothing is taken away), but the agent's HOME is a real directory.
239
+ # * /workspace and /home are 0755: env.py mounts both PARENTS, and uid 1000
240
+ # needs `x` on the parent of its repo and of its HOME. Where a parent is
241
+ # missing bwrap invents it as `drwx------ root root` and every command dies
242
+ # with "Permission denied".
243
+ # * uid 1000 has a passwd entry, so `whoami` answers `agent`.
244
+ # * /agent-tmp (mode 1777) is what env.py binds over /tmp: under bwrap the
245
+ # tmpfs /tmp arrives 0755 owned by the sandbox root, and `go build` needs a
246
+ # writable TMPDIR.
247
+ RUN set -eux; \
248
+ chmod -R a+rX /go; \
249
+ [ -f /go/pkg/mod/cache/lock ] && chmod 0666 /go/pkg/mod/cache/lock || true; \
250
+ # The one other place `go build` writes inside a read-only module cache: the
251
+ # stat cache for the MAIN module's own pseudo-version (the workspace is a
252
+ # git repo). It holds a single .info file and no dependency source, so
253
+ # opening it costs nothing and spares every rollout the line
254
+ # "go: writing stat cache: ... permission denied" on its first build
255
+ # (measured on the v4 gate, probe_v4 [build]).
256
+ mkdir -p /go/pkg/mod/cache/download/github.com/go-mysql-org; \
257
+ chmod -R a+rwX /go/pkg/mod/cache/download/github.com/go-mysql-org; \
258
+ groupadd -g 1000 agent; \
259
+ useradd -u 1000 -g 1000 -M -d /home/agent -s /bin/bash agent; \
260
+ mkdir -p /home/agent/.cache/go-build /tmp/agent-home/.cache/go-build; \
261
+ mkdir -m 1777 -p /agent-tmp; \
262
+ chmod 755 /workspace /home; \
263
+ chown -R 1000:1000 /workspace/repo /home/agent /tmp/agent-home; \
264
+ setpriv --reuid 1000 --regid 1000 --clear-groups \
265
+ env -i PATH=/usr/local/bin:/usr/bin:/bin \
266
+ HOME=/home/agent TERM=xterm \
267
+ GOPATH=/go GOMODCACHE=/go/pkg/mod \
268
+ GOCACHE=/home/agent/.cache/go-build \
269
+ GOFLAGS=-mod=mod GOPROXY=off GOTOOLCHAIN=local GOWORK=off CGO_ENABLED=1 \
270
+ bash -lc 'set -eux; cd /workspace/repo; go version; id -un; go build ./...; \
271
+ go vet ./replication/... ./mysql/...; \
272
+ go test -count=1 -run XXXNONE ./replication/... ./mysql/... >/dev/null; \
273
+ head -c 4 /workspace/repro/mariadb-11.8-minimal.binlog >/dev/null'; \
274
+ chown -R 1000:1000 /home/agent /tmp/agent-home; \
275
+ test "$(stat -c %a /workspace)" = 755; \
276
+ test "$(stat -c %a /home)" = 755; \
277
+ test "$(stat -c %a /agent-tmp)" = 1777; \
278
+ test "$(stat -c %U /home/agent)" = agent
279
+
280
+ # ── 6. /hud: everything the agent must never read ──────────────────────────
281
+ COPY task/grader/ /hud/grader/
282
+ # The shared fixture, second and last copy out of task/shared (see step 4).
283
+ # task/grader/data/repro/ ships only the oracles (*.json) and the unpublished
284
+ # wrapon capture; the published binlog arrives here from the shared source, so
285
+ # the two copies inside the image cannot drift. Mode is irrelevant on this side
286
+ # -- step 9 puts all of /hud at 700 root:root, exactly as before.
287
+ COPY task/shared/repro/mariadb-11.8-minimal.binlog /hud/grader/data/repro/mariadb-11.8-minimal.binlog
288
+ COPY task/gold.diff /hud/gold.diff
289
+ # calibrate.py reads GRADERS / FRACTIONAL / BLOCKER_CAP / PRISTINE_GREEN out of
290
+ # tasks.py by AST -- that file is the one and only place the scoreboard is
291
+ # written down -- so it has to sit in the grader tree as well as at the project
292
+ # root. This COPY is what keeps the copy hud serves and the copy calibrate.py
293
+ # reads byte-identical.
294
+ COPY tasks.py /hud/grader/tasks.py
295
+
296
+ # Two interpreters (CLAUDE.md §12.2): PATH puts the hudvenv python first for
297
+ # build steps, while run_grading.sh re-front-loads /usr/local/bin and grades
298
+ # with the python it finds THERE. The grader's only dependency is the standard
299
+ # library, so what has to be proved is that both of them can load the harness.
300
+ # A mismatch here is invisible until it is a wrong reward, so the image refuses
301
+ # to exist. Everything below therefore runs the GRADING interpreter explicitly,
302
+ # so the calibration in step 8 is the run the platform will perform.
303
+ RUN set -eux; \
304
+ for py in /usr/local/bin/python3 /opt/hudvenv/bin/python3; do \
305
+ GRADER_DIR=/hud/grader PYTHONPATH=/hud/grader/lib "$py" -c \
306
+ "import harness, json, hashlib, subprocess; print('ok', harness.GRADER)"; \
307
+ done
308
+
309
+ # ── 7. record what the untouched build makes of the control logs ───────────
310
+ # The reference side of criterion 2 is the BASE build's own parse, not the
311
+ # gold's: no run is ever charged for a difference the base already had. This
312
+ # also freezes the MariaDB compressed-rows-event type names the base reports,
313
+ # the literal criterion 5 holds a candidate to.
314
+ RUN set -eux; \
315
+ cd /hud/grader; \
316
+ /usr/local/bin/python3 tools/record_baseline.py --base /hud/base
317
+
318
+ # ── 8. prove the grader on the gold before anyone runs it ──────────────────
319
+ # Apply the vaulted gold diff to a scratch copy and run every criterion over
320
+ # the gold, the untouched tree, and a cosmetic no-op patch. calibrate.py
321
+ # asserts the invariants itself -- gold 1.00 with every criterion green; base
322
+ # and noop 0.00 with the two pristine-green gates green and every other
323
+ # criterion flat red, weighted or not (a zero-weight blocker still has to
324
+ # measure something); blockers no more than 0.60 of the weight and the cap no
325
+ # lower than 0.60 -- and exits non-zero if any of them breaks, so `set -e`
326
+ # fails the build.
327
+ #
328
+ # The base is graded criterion by criterion here, not short-circuited as an
329
+ # empty diff: a zero that rests on the short circuit proves nothing about the
330
+ # grader. The noop tree is the same point made with a non-empty diff -- it
331
+ # takes the FULL grading path, cosmetic change and all, and still has to score
332
+ # 0.00. An unbuildable image is better than an uncalibrated one.
333
+ #
334
+ # gold.diff carries GIT binary patch hunks (three binlog fixtures), so `git
335
+ # apply` is the only applier that can take it; `patch -p1` would silently drop
336
+ # them. git apply works outside a repository, which /hud/base is.
337
+ RUN set -eux; \
338
+ cp -a /hud/base /tmp/goldtree; \
339
+ cd /tmp/goldtree && git apply --verbose /hud/gold.diff; \
340
+ cp -a /hud/base /tmp/nooptree; \
341
+ printf '\n// (cosmetic no-op change; calibration control)\n' \
342
+ >> /tmp/nooptree/replication/row_event.go; \
343
+ cd /hud/grader; \
344
+ # no `| tee`: the default shell is dash, which has no pipefail, and the
345
+ # exit code of calibrate.py is the whole point of this step
346
+ { /usr/local/bin/python3 tools/calibrate.py --base /hud/base \
347
+ gold=/tmp/goldtree base=/hud/base noop=/tmp/nooptree \
348
+ > /hud/grader/data/calibration.txt 2>&1 \
349
+ || { cat /hud/grader/data/calibration.txt; exit 1; }; }; \
350
+ cat /hud/grader/data/calibration.txt; \
351
+ grep -q '^CALIBRATION OK' /hud/grader/data/calibration.txt; \
352
+ grep -q '\*\*1.00\*\* | \*\*0.00\*\* | \*\*0.00\*\*' /hud/grader/data/calibration.txt; \
353
+ rm -rf /tmp/goldtree /tmp/nooptree /hud/grader/.calib /hud/grader/__pycache__
354
+
355
+ # ── 9. lock it down ────────────────────────────────────────────────────────
356
+ RUN mkdir -p /hud/vault /hud/logs \
357
+ && chown -R root:root /hud \
358
+ && chmod -R 700 /hud
359
+
360
+ # Template runtime layout
361
+ ENV REPO_DIR=/workspace/repo \
362
+ AGENT_HOME=/home/agent \
363
+ AGENT_TMP=/agent-tmp \
364
+ VAULT_DIR=/hud/vault \
365
+ GRADING_LOGS_DIR=/hud/logs \
366
+ GOLD_DIFF=/hud/gold.diff \
367
+ GRADER_DIR=/hud/grader \
368
+ BASE_REPO=/hud/base
369
+
370
+ WORKDIR /app
371
+ COPY coding/ /app/coding/
372
+ COPY env.py tasks.py /app/
373
+ COPY task/prompt.md /app/task/prompt.md
374
+ RUN chmod 600 /app/tasks.py
375
+
376
+ # CMD is NOT inherited: without this the container starts a bare python and
377
+ # DockerRuntime hangs on `docker port` with an unhelpful timeout. Symptom ->
378
+ # check `docker inspect --format '{{json .Config.Cmd}}'`.
379
+ CMD ["hud", "serve", "tasks.py", "--host", "0.0.0.0"]
harbor/sources/go-mysql-v9/coding/__init__.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ """The coding environment's core: repo-lifecycle primitives and task flavors."""
2
+
3
+ from . import repo, swe_bench_pro
4
+
5
+ __all__ = ["repo", "swe_bench_pro"]
harbor/sources/go-mysql-v9/coding/github.py ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A minimal mock GitHub for SDLC tasks.
2
+
3
+ One in-process store holds issues (seeded per task) and the pull requests and
4
+ comments the agent creates; :func:`serve` publishes it as ``github_*`` MCP
5
+ tools over an ``mcp`` capability. The remote itself is a bare git repo on
6
+ disk (see :func:`coding.repo.create_remote`) — the agent pushes branches with
7
+ plain git and references them from pull requests here.
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import asyncio
13
+ import json
14
+ import socket
15
+ from dataclasses import asdict, dataclass, field
16
+ from typing import Any
17
+
18
+ from fastmcp import FastMCP
19
+ from hud.capabilities import Capability
20
+
21
+
22
+ @dataclass
23
+ class Issue:
24
+ number: int
25
+ title: str
26
+ body: str
27
+ labels: list[str] = field(default_factory=list)
28
+ state: str = "open"
29
+ comments: list[str] = field(default_factory=list)
30
+
31
+
32
+ @dataclass
33
+ class PullRequest:
34
+ number: int
35
+ title: str
36
+ body: str
37
+ head: str
38
+ base: str
39
+ state: str = "open"
40
+ comments: list[str] = field(default_factory=list)
41
+
42
+
43
+ class MockGitHub:
44
+ """Issue/PR store with an action log (for rubric grading)."""
45
+
46
+ def __init__(self) -> None:
47
+ self.issues: dict[int, Issue] = {}
48
+ self.pull_requests: dict[int, PullRequest] = {}
49
+ self.actions: list[dict[str, Any]] = []
50
+
51
+ def seed(self, issues: list[dict[str, Any]]) -> None:
52
+ """Reset the store to the task's fixtures."""
53
+ self.issues = {
54
+ int(entry["number"]): Issue(
55
+ number=int(entry["number"]),
56
+ title=str(entry["title"]),
57
+ body=str(entry.get("body", "")),
58
+ labels=[str(label) for label in entry.get("labels", [])],
59
+ )
60
+ for entry in issues
61
+ }
62
+ self.pull_requests = {}
63
+ self.actions = []
64
+
65
+ def _record(self, action: str, **details: Any) -> None:
66
+ self.actions.append({"action": action, **details})
67
+
68
+ # ─── operations (the tool surface) ────────────────────────────────
69
+
70
+ def list_issues(self) -> list[dict[str, Any]]:
71
+ return [asdict(issue) for issue in self.issues.values()]
72
+
73
+ def get_issue(self, number: int) -> dict[str, Any]:
74
+ return asdict(self._issue(number))
75
+
76
+ def close_issue(self, number: int) -> dict[str, Any]:
77
+ issue = self._issue(number)
78
+ issue.state = "closed"
79
+ self._record("close_issue", number=number)
80
+ return asdict(issue)
81
+
82
+ def comment_on_issue(self, number: int, body: str) -> dict[str, Any]:
83
+ issue = self._issue(number)
84
+ issue.comments.append(body)
85
+ self._record("comment_on_issue", number=number, body=body)
86
+ return asdict(issue)
87
+
88
+ def create_pull_request(self, title: str, body: str, head: str, base: str) -> dict[str, Any]:
89
+ number = len(self.pull_requests) + 1
90
+ pr = PullRequest(number=number, title=title, body=body, head=head, base=base)
91
+ self.pull_requests[number] = pr
92
+ self._record("create_pull_request", number=number, title=title, head=head)
93
+ return asdict(pr)
94
+
95
+ def list_pull_requests(self) -> list[dict[str, Any]]:
96
+ return [asdict(pr) for pr in self.pull_requests.values()]
97
+
98
+ def _issue(self, number: int) -> Issue:
99
+ if number not in self.issues:
100
+ raise ValueError(f"no such issue: #{number}")
101
+ return self.issues[number]
102
+
103
+ # ─── grading views ────────────────────────────────────────────────
104
+
105
+ def latest_pull_request(self) -> PullRequest | None:
106
+ return next(reversed(self.pull_requests.values()), None)
107
+
108
+ def transcript(self) -> str:
109
+ """Everything the agent did here, for rubric judging."""
110
+ return json.dumps(
111
+ {
112
+ "issues": [asdict(issue) for issue in self.issues.values()],
113
+ "pull_requests": [asdict(pr) for pr in self.pull_requests.values()],
114
+ "actions": self.actions,
115
+ },
116
+ indent=2,
117
+ )
118
+
119
+
120
+ def serve(github: MockGitHub) -> tuple[asyncio.Task[None], Capability]:
121
+ """Serve *github* as ``github_*`` MCP tools; returns the server task + capability."""
122
+ server: FastMCP = FastMCP(name="github")
123
+
124
+ @server.tool
125
+ def github_list_issues() -> list[dict[str, Any]]:
126
+ """List all issues in the repository."""
127
+ return github.list_issues()
128
+
129
+ @server.tool
130
+ def github_get_issue(number: int) -> dict[str, Any]:
131
+ """Get one issue by number."""
132
+ return github.get_issue(number)
133
+
134
+ @server.tool
135
+ def github_close_issue(number: int) -> dict[str, Any]:
136
+ """Close an issue."""
137
+ return github.close_issue(number)
138
+
139
+ @server.tool
140
+ def github_comment_on_issue(number: int, body: str) -> dict[str, Any]:
141
+ """Add a comment to an issue."""
142
+ return github.comment_on_issue(number, body)
143
+
144
+ @server.tool
145
+ def github_create_pull_request(title: str, body: str, head: str, base: str = "main") -> dict[str, Any]:
146
+ """Open a pull request from branch *head* (already pushed to the remote) into *base*."""
147
+ return github.create_pull_request(title, body, head, base)
148
+
149
+ @server.tool
150
+ def github_list_pull_requests() -> list[dict[str, Any]]:
151
+ """List all pull requests."""
152
+ return github.list_pull_requests()
153
+
154
+ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
155
+ sock.bind(("127.0.0.1", 0))
156
+ port = int(sock.getsockname()[1])
157
+ task = asyncio.create_task(server.run_async(transport="http", host="127.0.0.1", port=port, show_banner=False))
158
+ return task, Capability.mcp(name="github", url=f"http://127.0.0.1:{port}/mcp")
harbor/sources/go-mysql-v9/coding/repo.py ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Git-history vaulting and diff-based grading primitives.
2
+
3
+ The repo's real ``.git`` may contain the answer key — solution branches, the
4
+ fix commit, the hidden tests. Every task flavor shares this lifecycle:
5
+
6
+ - setup (:func:`vault_history`): snapshot the pre-agent worktree into the
7
+ real history, move ``.git`` into a vault outside the workspace, and leave a
8
+ fresh single-commit repo — git works normally for the agent, but there is
9
+ no history, no refs, and no remotes.
10
+ - grading (:func:`restore_history` → :func:`capture_agent_diff` →
11
+ :func:`reset_worktree` → :func:`apply_diff`): discard the agent's ``.git``
12
+ (hooks and history included), restore the vaulted history, capture the
13
+ agent's changes as a diff against the setup snapshot, reset the worktree to
14
+ that snapshot, and re-apply the diff. Hidden tests come from vaulted refs
15
+ and land after the agent's diff.
16
+
17
+ The snapshot covers the whole worktree, so installed dependencies and build
18
+ artifacts survive into grading.
19
+ """
20
+
21
+ from __future__ import annotations
22
+
23
+ import asyncio
24
+ import os
25
+ import shutil
26
+ from pathlib import Path
27
+
28
+ _GIT_ID = ("-c", "user.name=hud-grader", "-c", "user.email=grader@hud.ai")
29
+ _SETUP_COMMIT = "setup_commit"
30
+
31
+
32
+ async def run(
33
+ *argv: str,
34
+ cwd: Path,
35
+ timeout: float = 600.0,
36
+ check: bool = True,
37
+ ) -> tuple[int, str, str]:
38
+ """Run a command, returning ``(returncode, stdout, stderr)``. Kills on timeout."""
39
+ proc = await asyncio.create_subprocess_exec(
40
+ *argv,
41
+ cwd=str(cwd),
42
+ stdout=asyncio.subprocess.PIPE,
43
+ stderr=asyncio.subprocess.PIPE,
44
+ )
45
+ try:
46
+ out_bytes, err_bytes = await asyncio.wait_for(proc.communicate(), timeout=timeout)
47
+ except TimeoutError:
48
+ proc.kill()
49
+ await proc.wait()
50
+ raise TimeoutError(f"{' '.join(argv[:4])} timed out after {timeout:.0f}s") from None
51
+ out = out_bytes.decode("utf-8", "replace")
52
+ err = err_bytes.decode("utf-8", "replace")
53
+ if check and proc.returncode != 0:
54
+ detail = (err.strip() or out.strip())[:2000]
55
+ raise RuntimeError(f"{' '.join(argv)} failed ({proc.returncode}): {detail}")
56
+ return proc.returncode if proc.returncode is not None else 1, out, err
57
+
58
+
59
+ async def git(repo: Path, *args: str, timeout: float = 600.0, check: bool = True) -> tuple[int, str, str]:
60
+ return await run("git", *_GIT_ID, *args, cwd=repo, timeout=timeout, check=check)
61
+
62
+
63
+ def _append_git_exclude(git_dir: Path) -> None:
64
+ """Keep the workspace's SSH credential dir out of snapshots and diffs."""
65
+ exclude = git_dir / "info" / "exclude"
66
+ exclude.parent.mkdir(parents=True, exist_ok=True)
67
+ with exclude.open("a", encoding="utf-8") as fh:
68
+ fh.write("\n.hud/\n")
69
+
70
+
71
+ async def vault_history(repo: Path, vault: Path) -> None:
72
+ """Snapshot the pre-agent state, then hide the repo's history in *vault*."""
73
+ if (vault / "git").exists():
74
+ raise RuntimeError(f"vault {vault} already holds a history: one task per substrate")
75
+
76
+ if hasattr(os, "geteuid") and os.geteuid() == 0:
77
+ # Grade-time git runs as root on the (chowned) agent-owned repo; git
78
+ # honors safe.directory only from system/global config, never from -c.
79
+ await run("git", "config", "--global", "--add", "safe.directory", str(repo), cwd=Path("/"))
80
+
81
+ _append_git_exclude(repo / ".git")
82
+ await git(repo, "add", "-A")
83
+ await git(repo, "commit", "-q", "--allow-empty", "-m", "hud: pre-agent snapshot")
84
+ _, sha, _ = await git(repo, "rev-parse", "HEAD")
85
+
86
+ vault.mkdir(parents=True, exist_ok=True)
87
+ (vault / _SETUP_COMMIT).write_text(sha.strip(), "utf-8")
88
+ shutil.move(str(repo / ".git"), str(vault / "git"))
89
+
90
+ await git(repo, "init", "-q", ".")
91
+ _append_git_exclude(repo / ".git")
92
+ await git(repo, "add", "-A")
93
+ await git(repo, "commit", "-q", "--allow-empty", "-m", "baseline")
94
+
95
+
96
+ async def create_remote(repo: Path, remote: Path, ref: str, *, branch: str = "main") -> None:
97
+ """A bare "GitHub" remote holding *ref*'s history as *branch*.
98
+
99
+ Pushing a single ref publishes only its ancestry — sibling answer-key
100
+ branches (hidden tests, golden fix) stay unreachable, while the agent
101
+ still gets realistic past history to work with.
102
+ """
103
+ remote.parent.mkdir(parents=True, exist_ok=True)
104
+ await git(remote.parent, "init", "-q", "--bare", "-b", branch, str(remote))
105
+ await git(repo, "push", "-q", str(remote), f"{ref}:refs/heads/{branch}")
106
+
107
+
108
+ async def attach_to_remote(repo: Path, remote: Path, *, branch: str = "main") -> None:
109
+ """Point the agent's fresh repo at the remote, sharing its (sanitized) history.
110
+
111
+ Called after :func:`vault_history`: the throwaway single-commit repo is
112
+ replaced by the remote's clone state — same worktree, but with ``origin``
113
+ configured and history the agent can branch from and push back to.
114
+ """
115
+ shutil.rmtree(repo / ".git")
116
+ await git(repo, "init", "-q", "-b", branch, ".")
117
+ _append_git_exclude(repo / ".git")
118
+ await git(repo, "remote", "add", "origin", str(remote))
119
+ await git(repo, "fetch", "-q", "origin")
120
+ # Adopt the remote's history without a checkout: the worktree already
121
+ # matches (plus untracked build artifacts a checkout would refuse to
122
+ # cross), so point the branch at origin and sync only the index.
123
+ await git(repo, "update-ref", f"refs/heads/{branch}", f"refs/remotes/origin/{branch}")
124
+ await git(repo, "reset", "-q")
125
+ await git(repo, "branch", "-q", f"--set-upstream-to=origin/{branch}", branch)
126
+
127
+
128
+ async def restore_history(repo: Path, vault: Path) -> str:
129
+ """Swap the agent's throwaway ``.git`` for the vaulted real history.
130
+
131
+ Returns the setup-snapshot commit sha recorded by :func:`vault_history`.
132
+ """
133
+ agent_git = repo / ".git"
134
+ if agent_git.exists():
135
+ shutil.rmtree(agent_git)
136
+ shutil.move(str(vault / "git"), str(agent_git))
137
+ return (vault / _SETUP_COMMIT).read_text("utf-8").strip()
138
+
139
+
140
+ async def capture_agent_diff(repo: Path, setup_commit: str) -> str:
141
+ """The agent's changes: setup snapshot -> final worktree state.
142
+
143
+ Runs on the restored real history: the final worktree (including files the
144
+ agent added) is committed and diffed against the snapshot.
145
+ """
146
+ await git(repo, "add", "-A")
147
+ await git(repo, "commit", "-q", "--allow-empty", "-m", "hud: final snapshot")
148
+ _, final, _ = await git(repo, "rev-parse", "HEAD")
149
+ # --binary is mandatory: without it git emits "Binary files ... differ" for
150
+ # any binary file the agent added, and `git apply` then rejects the ENTIRE
151
+ # patch — scoring a real solution 0.0. Verified end to end.
152
+ _, diff, _ = await git(
153
+ repo, "diff", "--binary", setup_commit, final.strip(), timeout=1200.0
154
+ )
155
+ return diff
156
+
157
+
158
+ async def reset_worktree(repo: Path, setup_commit: str) -> None:
159
+ await git(repo, "reset", "--hard", setup_commit)
160
+ await git(repo, "clean", "-fd")
161
+
162
+
163
+ async def apply_diff(repo: Path, diff: str, patch_path: Path) -> str | None:
164
+ """Apply *diff* to the worktree; returns git's error output on failure."""
165
+ if not diff.strip():
166
+ return None
167
+ patch_path.parent.mkdir(parents=True, exist_ok=True)
168
+ patch_path.write_text(diff, "utf-8")
169
+ code, out, err = await git(repo, "apply", "-v", str(patch_path), check=False)
170
+ if code != 0:
171
+ return (err.strip() or out.strip())[-4000:]
172
+ return None
harbor/sources/go-mysql-v9/coding/swe_bench_pro.py ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """The SWE-bench Pro task flavor: dataset-row parsing and the official grading pipeline.
2
+
3
+ An instance directory (baked into the instance image by ``swe_tasks.py``)
4
+ holds the dataset row (``instance.json``) plus the official per-instance
5
+ ``run_script.sh`` and ``parser.py`` from scaleapi/SWE-bench_Pro-os. Grading
6
+ replays the official evaluator's entryscript on the repo-lifecycle primitives
7
+ in :mod:`coding.repo`: reset to the pre-agent snapshot, apply the (agent or
8
+ golden) patch, check out the hidden test files, run the script, parse, and
9
+ resolve iff every ``fail_to_pass`` and ``pass_to_pass`` test passes.
10
+ """
11
+
12
+ from __future__ import annotations
13
+
14
+ import ast
15
+ import json
16
+ import re
17
+ import sys
18
+ from pathlib import Path
19
+ from typing import Any
20
+
21
+ from hud.graders import EvaluationResult, SubScore
22
+
23
+ from . import repo as repo_lib
24
+
25
+
26
+ def load_instance(instance_dir: Path) -> dict[str, Any]:
27
+ return json.loads((instance_dir / "instance.json").read_text("utf-8"))
28
+
29
+
30
+ def str_list(field: str) -> list[str]:
31
+ """Parse the dataset's list-shaped string fields.
32
+
33
+ The rows store lists as Python reprs (single quotes; the official
34
+ evaluator uses ``eval``), so ``ast.literal_eval`` is the safe equivalent.
35
+ """
36
+ value = ast.literal_eval(field)
37
+ if not isinstance(value, list):
38
+ raise ValueError(f"expected a list, got {type(value).__name__}")
39
+ return [str(item) for item in value]
40
+
41
+
42
+ def strip_binary_hunks(patch: str) -> str:
43
+ """Drop binary diff sections, exactly like the official evaluator."""
44
+ if not patch:
45
+ return patch
46
+ sections = re.split(r"(?=^diff --git )", patch, flags=re.MULTILINE)
47
+ kept = [
48
+ section
49
+ for section in sections
50
+ if section.strip()
51
+ and not re.search(r"^Binary files .* differ$", section, re.MULTILINE)
52
+ and not re.search(r"^GIT binary patch$", section, re.MULTILINE)
53
+ ]
54
+ return "".join(kept)
55
+
56
+
57
+ def score(instance: dict[str, Any], tests: list[dict[str, Any]]) -> EvaluationResult:
58
+ """The official resolution criterion: every required test passes."""
59
+ passed = {t["name"] for t in tests if t.get("status") == "PASSED"}
60
+ fail_to_pass = set(str_list(instance["fail_to_pass"]))
61
+ pass_to_pass = set(str_list(instance["pass_to_pass"]))
62
+ required = fail_to_pass | pass_to_pass
63
+ resolved = required <= passed
64
+
65
+ def fraction(subset: set[str]) -> float:
66
+ return len(subset & passed) / len(subset) if subset else 1.0
67
+
68
+ missing = sorted(required - passed)
69
+ return EvaluationResult(
70
+ reward=1.0 if resolved else 0.0,
71
+ content="resolved" if resolved else f"unresolved: {len(missing)} required test(s) not passing",
72
+ subscores=[
73
+ SubScore(name="resolved", value=1.0 if resolved else 0.0, weight=1.0),
74
+ SubScore(name="fail_to_pass", value=fraction(fail_to_pass), weight=0.0),
75
+ SubScore(name="pass_to_pass", value=fraction(pass_to_pass), weight=0.0),
76
+ ],
77
+ info={"tests_reported": len(tests), "missing": missing[:20]},
78
+ )
79
+
80
+
81
+ def build_prompt(instance: dict[str, Any], repo_dir: Path) -> str:
82
+ sections = [
83
+ f"You are working in {repo_dir}, a checkout of the {instance['repo']} repository. "
84
+ "Resolve the issue described below by modifying the code. Hidden tests grade your "
85
+ "work when you finish; do not modify existing tests.",
86
+ instance["problem_statement"],
87
+ ]
88
+ if instance.get("requirements"):
89
+ sections.append("## Requirements\n\n" + instance["requirements"])
90
+ if instance.get("interface"):
91
+ sections.append("## Interface\n\n" + instance["interface"])
92
+ return "\n\n".join(section.strip() for section in sections if section and section.strip())
93
+
94
+
95
+ async def grade(
96
+ instance: dict[str, Any],
97
+ instance_dir: Path,
98
+ repo_dir: Path,
99
+ vault_dir: Path,
100
+ logs_dir: Path,
101
+ *,
102
+ validate_mode: str | None = None,
103
+ tests_timeout: float = 3600.0,
104
+ ) -> EvaluationResult:
105
+ """Replay the official evaluator's entryscript in place.
106
+
107
+ ``validate_mode="golden"`` grades the dataset's golden patch instead of
108
+ the agent's diff (the official gold-patch sanity check). The hidden test
109
+ files (the last line of ``before_repo_set_cmd``) are checked out *after*
110
+ the patch, so patch edits to them never survive.
111
+ """
112
+ logs_dir.mkdir(parents=True, exist_ok=True)
113
+ setup_commit = await repo_lib.restore_history(repo_dir, vault_dir)
114
+
115
+ if validate_mode == "golden":
116
+ diff = instance["patch"]
117
+ else:
118
+ diff = await repo_lib.capture_agent_diff(repo_dir, setup_commit)
119
+ diff = strip_binary_hunks(diff)
120
+
121
+ await repo_lib.reset_worktree(repo_dir, setup_commit)
122
+ apply_error = await repo_lib.apply_diff(repo_dir, diff, logs_dir / "patch.diff")
123
+ if apply_error is not None:
124
+ return EvaluationResult(reward=0.0, content="patch failed to apply", info={"git_apply": apply_error})
125
+
126
+ test_checkout = instance["before_repo_set_cmd"].strip().splitlines()[-1]
127
+ await repo_lib.run("bash", "-c", test_checkout, cwd=repo_dir)
128
+
129
+ files_csv = ",".join(str_list(instance["selected_test_files_to_run"]))
130
+ _, out, err = await repo_lib.run(
131
+ "bash",
132
+ str(instance_dir / "run_script.sh"),
133
+ files_csv,
134
+ cwd=repo_dir,
135
+ timeout=tests_timeout,
136
+ check=False,
137
+ )
138
+ (logs_dir / "stdout.log").write_text(out, "utf-8")
139
+ (logs_dir / "stderr.log").write_text(err, "utf-8")
140
+ await repo_lib.run(
141
+ sys.executable,
142
+ str(instance_dir / "parser.py"),
143
+ "stdout.log",
144
+ "stderr.log",
145
+ "output.json",
146
+ cwd=logs_dir,
147
+ )
148
+ tests = json.loads((logs_dir / "output.json").read_text("utf-8"))["tests"]
149
+ return score(instance, tests)
harbor/sources/go-mysql-v9/env.py ADDED
@@ -0,0 +1,468 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Coding environment (HUD v6): a repo workspace with diff-based grading.
2
+
3
+ The env publishes one ``ssh`` workspace over a git repo; the agent's harness
4
+ brings its own bash/file tools. Task setup vaults the repo's real history
5
+ (:mod:`coding.repo`) so the agent gets a fresh single-commit repo with working
6
+ git but no answer-key refs; grading captures the agent's changes as a diff,
7
+ resets to the pre-agent snapshot, re-applies, brings in the hidden tests, and
8
+ runs them.
9
+
10
+ Three task templates:
11
+
12
+ - ``coding-task`` — hidden tests live as refs in the repo's vaulted history
13
+ (the ``{task}_baseline`` / ``{task}_test`` / ``{task}_golden`` branch
14
+ convention) and a shell command scores by exit code. Runs locally (clones
15
+ ``REPO_URL`` per process) or from an image that bakes the repo.
16
+ - ``sdlc-task`` — adds workflow: a bare mock-GitHub remote the agent pushes
17
+ to, ``github_*`` issue/PR tools (:mod:`coding.github`), and grading over
18
+ the pushed pull-request branch instead of the worktree.
19
+ - one SWE-bench Pro instance template, registered only when an instance dir
20
+ is baked in (see ``swe_tasks.py``): grading replays the official evaluator
21
+ (:mod:`coding.swe_bench_pro`).
22
+
23
+ Images set ``REPO_DIR``; locally everything lives in per-process temp dirs.
24
+ The image substrate here is go-mysql (Go, ~30 modules), so the agent's Go
25
+ environment is declared explicitly on the workspace — see ``AGENT_GO_ENV``.
26
+ The vault and instance assets sit outside the workspace — under ``/hud``
27
+ (root, mode 700) in images — and agent shells drop to a non-root uid, so only
28
+ the env process can read them.
29
+ """
30
+
31
+ from __future__ import annotations
32
+
33
+ import asyncio
34
+ import logging
35
+ import os
36
+ import shutil
37
+ import tempfile
38
+ from pathlib import Path
39
+ from typing import Any
40
+
41
+ from hud.environment import DEFAULT_SYSTEM_MOUNTS, Environment, Mount, Workspace
42
+ from hud.graders import BashGrader, EvaluationResult, LLMJudgeGrader, SubScore, combine
43
+ from hud.settings import settings
44
+
45
+ from coding import repo as repo_lib
46
+ from coding import swe_bench_pro as swe
47
+ from coding.github import MockGitHub
48
+ from coding.github import serve as serve_github
49
+
50
+ logger = logging.getLogger(__name__)
51
+
52
+ # ─── substrate layout ────────────────────────────────────────────────────
53
+ # Images set REPO_DIR (and ship the repo); locally everything lives in
54
+ # per-process temp dirs and the repo is cloned from REPO_URL at startup.
55
+
56
+ _explicit_repo = os.environ.get("REPO_DIR")
57
+ if _explicit_repo:
58
+ REPO_DIR = Path(_explicit_repo)
59
+ VAULT_DIR = Path(os.environ.get("VAULT_DIR", "/hud/vault"))
60
+ LOGS_DIR = Path(os.environ.get("GRADING_LOGS_DIR", "/hud/logs"))
61
+ _LOCAL_SUBSTRATE = False
62
+ else:
63
+ _LOCAL_ROOT = Path(tempfile.gettempdir()) / "hud-coding"
64
+ REPO_DIR = _LOCAL_ROOT / f"repo-{os.getpid()}"
65
+ VAULT_DIR = _LOCAL_ROOT / f"vault-{os.getpid()}"
66
+ LOGS_DIR = _LOCAL_ROOT / f"logs-{os.getpid()}"
67
+ _LOCAL_SUBSTRATE = True
68
+
69
+ # The SDLC flavor's mock-GitHub remote: a bare repo the agent pushes to. It
70
+ # must be writable by the agent, so it lives outside /hud.
71
+ REMOTE_DIR = (
72
+ Path(os.environ.get("REMOTE_DIR", "/srv/git/project.git"))
73
+ if _explicit_repo
74
+ else _LOCAL_ROOT / f"remote-{os.getpid()}" / "project.git"
75
+ )
76
+
77
+ REPO_URL = os.environ.get("REPO_URL", "https://github.com/go-mysql-org/go-mysql")
78
+ TESTS_TIMEOUT = float(os.environ.get("GRADING_TIMEOUT", "3600"))
79
+
80
+ INSTANCE_DIR = Path(os.environ.get("INSTANCE_DIR", "/hud/instance"))
81
+
82
+ AGENT_UID = 1000
83
+ # HOME must NOT live under /tmp. DEFAULT_SYSTEM_MOUNTS lay a fresh tmpfs over
84
+ # /tmp inside the bwrap sandbox, so the /tmp/agent-home the image stages (with
85
+ # its pre-warmed GOCACHE) is masked and the agent's HOME comes up empty. In
86
+ # images HOME is a real directory the image creates and owns (uid 1000);
87
+ # locally it stays a per-process temp dir.
88
+ AGENT_HOME = (
89
+ Path(os.environ.get("AGENT_HOME", "/home/agent"))
90
+ if _explicit_repo
91
+ else _LOCAL_ROOT / f"home-{os.getpid()}"
92
+ )
93
+ # The image's writable stand-in for /tmp (mode 1777): bound over the sandbox's
94
+ # own tmpfs /tmp, which arrives 0755 owned by the sandbox root. `go build`
95
+ # writes to TMPDIR on every invocation.
96
+ AGENT_TMP = Path(os.environ.get("AGENT_TMP", "/agent-tmp"))
97
+
98
+ env = Environment(name="ec-swe-go-mysql-mariadb-compressed-columns")
99
+
100
+
101
+ # The agent's Go environment, and why it is spelled out here rather than left
102
+ # to the image's ENV.
103
+ #
104
+ # When shell_uid drops privileges, hud does NOT hand the session the serving
105
+ # process's environment: Workspace._session_env() builds a minimal one from
106
+ # scratch (PATH, HOME, TERM) and layers this dict on top, precisely so a
107
+ # secret the env process holds cannot leak into the agent's shell. So every
108
+ # `ENV GO...` line in the Dockerfile reaches the grader and never the agent.
109
+ #
110
+ # That is harmless for a repo with no dependencies. go-mysql has ~30 (pingcap
111
+ # parser, klauspost/compress, zstd, testify, ...) and the rollout is offline:
112
+ # with GOPATH left at its default the agent's
113
+ # module cache would be $HOME/go — empty — and `go build ./...` would fail on
114
+ # the first import with no network to recover from. The task would be
115
+ # impossible for reasons that have nothing to do with the ticket.
116
+ #
117
+ # GOPATH points at the module cache the image pre-populated. It is root-owned
118
+ # and read-only to uid 1000 on purpose: the grader compiles its own harness
119
+ # against the agent's tree with GOPROXY=off, and a module cache the agent
120
+ # could rewrite would be a way to change what that harness compiles. GOCACHE
121
+ # is the one Go directory the agent must be able to write, so it sits in the
122
+ # agent's HOME (pre-warmed at image build).
123
+ AGENT_GO_ENV = {
124
+ "GOPATH": os.environ.get("AGENT_GOPATH", "/go"),
125
+ "GOMODCACHE": os.environ.get("AGENT_GOMODCACHE", "/go/pkg/mod"),
126
+ "GOCACHE": str(AGENT_HOME / ".cache" / "go-build"),
127
+ "TMPDIR": "/tmp",
128
+ "GOFLAGS": "-mod=mod",
129
+ "GOPROXY": "off",
130
+ "GOTOOLCHAIN": "local",
131
+ "GOWORK": "off",
132
+ "CGO_ENABLED": "1",
133
+ }
134
+ # PATH is deliberately NOT in that dict. An agent session is a LOGIN shell
135
+ # (`env -i ... bash -l`), and Debian's /etc/profile assigns PATH
136
+ # unconditionally, so anything set here would be thrown away before the first
137
+ # command runs -- measured, not assumed: `docker run IMG bash -lc 'command -v
138
+ # go'` finds nothing without the fix. The toolchain therefore goes on PATH from
139
+ # inside the image, in /etc/profile.d/10-go-toolchain.sh, where a login shell
140
+ # cannot lose it. That file also repeats the variables above as defaults, so
141
+ # the two mechanisms cover each other.
142
+
143
+
144
+ # shell_uid is the privilege wall: the env process (root, in images) keeps the
145
+ # vault and instance assets under /hud at mode 700; the uid-dropped agent can
146
+ # edit the repo but never read the answer key. No-op off root (local).
147
+ # (Requires hud>=0.6.12.dev0: earlier shell_uid recursively chowned the whole
148
+ # workspace on the serving path, missing the deploy readiness probe.)
149
+ #
150
+ # network=False is the v4 door, and hud's own default. The workspace gets a
151
+ # network namespace of its own with no route out, so the agent's shell cannot
152
+ # reach deb.debian.org or raw.githubusercontent.com — where the MariaDB server
153
+ # sources that spell out the on-the-wire format of a compressed column live.
154
+ # Under v2/v3 that route was open and it was the ONE measured separator between
155
+ # a 1.0 rollout and a 0.0 one (FREEZE «v4 — офлайн-среда», forensics/v2-five).
156
+ # It is cut at the workspace, not with GOPROXY (a variable the agent can unset);
157
+ # the Go knobs above stay as a belt so a stray `go get` fails fast instead of
158
+ # hanging. Grading never needed the network: the image bakes the module cache
159
+ # and run_grading.sh forces GOPROXY=off.
160
+ #
161
+ # system_mounts, and why the defaults are not enough. network=False only bites
162
+ # where bwrap can sandbox, and this image is the first here to ship bubblewrap —
163
+ # so this is the first workspace that really runs in a bwrap namespace. In there
164
+ # the filesystem is NOT the image's: bwrap starts from a private tmpfs and
165
+ # mounts back only DEFAULT_SYSTEM_MOUNTS (/usr, /etc, the lib/bin symlinks,
166
+ # /proc, /dev, tmpfs /tmp) plus `--bind <root> <guest_path>`. Any parent that is
167
+ # missing bwrap invents itself, as uid 0 in the userns under bwrap's umask ->
168
+ # `drwx------ root root`; the session is dropped to uid 1000 AROUND bwrap, so
169
+ # it has no `x` there and every command dies with "Permission denied"
170
+ # (piscina v3, job fd3f8d82, 4/5 rollouts abandoned at 0.0 — and the harness
171
+ # grades outside the sandbox as root, so live gold stayed 1.000 and the gate was
172
+ # blind to it). So both PARENTS are mounted, plus HOME itself, plus the image's
173
+ # 1777 /agent-tmp over the sandbox's /tmp. System mounts are emitted BEFORE the
174
+ # repo bind, so the bind still lands on top and no path the ticket, the prompt
175
+ # or the grader names changes.
176
+ _SYSTEM_MOUNTS = (
177
+ DEFAULT_SYSTEM_MOUNTS
178
+ if _LOCAL_SUBSTRATE
179
+ else (
180
+ *DEFAULT_SYSTEM_MOUNTS,
181
+ Mount("rw", src=str(REPO_DIR.parent), dst=str(REPO_DIR.parent), optional=True),
182
+ Mount("rw", src=str(AGENT_HOME.parent), dst=str(AGENT_HOME.parent), optional=True),
183
+ Mount("rw", src=str(AGENT_HOME), dst=str(AGENT_HOME), optional=True),
184
+ Mount("rw", src=str(AGENT_TMP), dst="/tmp", optional=True),
185
+ # GOPATH/GOMODCACHE. Nothing outside DEFAULT_SYSTEM_MOUNTS exists inside
186
+ # the sandbox, so without this bind /go is simply absent and `go build
187
+ # ./...` dies on the first import with GOPROXY=off and no way to
188
+ # recover — the task would be impossible for reasons that have nothing
189
+ # to do with the ticket (measured on the v4 gate, probe_v4 [build]).
190
+ # The bind is rw only so Go can take its cache/lock (0666); everything
191
+ # else under /go is root-owned and read-only to uid 1000, which is what
192
+ # keeps the module cache out of reach of a candidate that would rather
193
+ # rewrite a dependency than fix the decoder.
194
+ Mount("rw", src=str(Path(AGENT_GO_ENV["GOPATH"])), dst=str(Path(AGENT_GO_ENV["GOPATH"])), optional=True),
195
+ )
196
+ )
197
+
198
+ _ws = Workspace(
199
+ REPO_DIR,
200
+ guest_path=str(REPO_DIR),
201
+ network=False,
202
+ system_mounts=_SYSTEM_MOUNTS,
203
+ env={"HOME": str(AGENT_HOME), **({} if _LOCAL_SUBSTRATE else AGENT_GO_ENV)},
204
+ track_files=settings.file_tracking_enabled,
205
+ shell_uid=AGENT_UID,
206
+ )
207
+
208
+ SDLC_TOOLS = os.environ.get("SDLC_TOOLS", "") not in ("", "0", "false")
209
+
210
+ # RH-2: the sandbox states its own shape. This is workspace provenance, not
211
+ # ticket content — the ticket (task/prompt.md, sha 9f5474138f46) is untouched —
212
+ # and it exists so a rollout does not spend a third of its steps discovering the
213
+ # door is shut, as three v2 rollouts did with pip/apt probes.
214
+ WORKSPACE_NOTE = (
215
+ f"Please make your changes directly in {REPO_DIR}, not in a copy or a "
216
+ "separate worktree. This sandbox is offline: no package registry, no module "
217
+ "proxy, no upstream sources — solve within the repository. The Go module "
218
+ "cache already holds every dependency this repository builds and tests with."
219
+ )
220
+
221
+ _github = MockGitHub()
222
+ _github_server: asyncio.Task[None] | None = None
223
+
224
+
225
+ @env.initialize
226
+ async def _up() -> None:
227
+ global _github_server
228
+ if _LOCAL_SUBSTRATE and not (REPO_DIR / ".git").exists():
229
+ REPO_DIR.parent.mkdir(parents=True, exist_ok=True)
230
+ logger.info("cloning %s into %s", REPO_URL, REPO_DIR)
231
+ await repo_lib.run("git", "clone", "-q", REPO_URL, str(REPO_DIR), cwd=REPO_DIR.parent)
232
+ await _ws.start()
233
+ env.add_capability(_ws.capability("shell"))
234
+ if _ws.tracks_files:
235
+ env.add_capability(_ws.file_tracking_capability())
236
+ # The mock-GitHub tools belong to the SDLC flavor, which seeds issues and
237
+ # wants a pull request. A plain coding task never uses them, and offering
238
+ # them anyway spends agent steps on an empty issue list - every rollout so
239
+ # far called github_list_issues and github_list_pull_requests once.
240
+ if SDLC_TOOLS:
241
+ _github_server, github_capability = serve_github(_github)
242
+ env.add_capability(github_capability)
243
+
244
+
245
+ @env.shutdown
246
+ async def _down() -> None:
247
+ if _github_server is not None:
248
+ _github_server.cancel()
249
+ await _ws.stop()
250
+ if _LOCAL_SUBSTRATE:
251
+ for path in (REPO_DIR, VAULT_DIR, LOGS_DIR, REMOTE_DIR.parent):
252
+ shutil.rmtree(path, ignore_errors=True)
253
+
254
+
255
+ # ─── shared task lifecycle ───────────────────────────────────────────────
256
+
257
+
258
+ async def _setup(base_ref: str | None = None, *, remote: bool = False) -> None:
259
+ """Check out the task's baseline, vault the history, hand the repo to the agent.
260
+
261
+ With ``remote=True`` (the SDLC flavor) a bare "GitHub" remote is created
262
+ from the baseline first, and the agent's repo is attached to it as a
263
+ normal clone would be — realistic history, pushes, and branches, but no
264
+ reachable answer-key refs.
265
+ """
266
+ if base_ref:
267
+ await repo_lib.git(REPO_DIR, "checkout", "-qf", base_ref)
268
+ if remote:
269
+ await repo_lib.create_remote(REPO_DIR, REMOTE_DIR, base_ref or "HEAD")
270
+ await repo_lib.vault_history(REPO_DIR, VAULT_DIR)
271
+ if remote:
272
+ await repo_lib.attach_to_remote(REPO_DIR, REMOTE_DIR)
273
+ if hasattr(os, "geteuid") and os.geteuid() == 0:
274
+ AGENT_HOME.mkdir(parents=True, exist_ok=True)
275
+ uid = f"{AGENT_UID}:{AGENT_UID}"
276
+ paths = [str(REPO_DIR), str(AGENT_HOME)] + ([str(REMOTE_DIR)] if remote else [])
277
+ await repo_lib.run("chown", "-R", uid, *paths, cwd=Path("/"))
278
+ if remote:
279
+ # The grader (root) pushes to and clones from the agent-owned remote.
280
+ await repo_lib.run("git", "config", "--global", "--add", "safe.directory", str(REMOTE_DIR), cwd=Path("/"))
281
+
282
+
283
+ # ─── generic flavor ──────────────────────────────────────────────────────
284
+
285
+
286
+ async def _grade_generic(
287
+ test_command: str,
288
+ base_ref: str | None,
289
+ test_ref: str | None,
290
+ test_files: list[str] | None,
291
+ golden_ref: str | None,
292
+ validate_mode: str | None,
293
+ ) -> EvaluationResult:
294
+ setup_commit = await repo_lib.restore_history(REPO_DIR, VAULT_DIR)
295
+ if validate_mode == "golden":
296
+ if not (base_ref and golden_ref):
297
+ raise ValueError('validate_mode="golden" needs base_ref and golden_ref')
298
+ _, diff, _ = await repo_lib.git(REPO_DIR, "diff", base_ref, golden_ref)
299
+ else:
300
+ diff = await repo_lib.capture_agent_diff(REPO_DIR, setup_commit)
301
+
302
+ await repo_lib.reset_worktree(REPO_DIR, setup_commit)
303
+ apply_error = await repo_lib.apply_diff(REPO_DIR, diff, LOGS_DIR / "patch.diff")
304
+ if apply_error is not None:
305
+ return EvaluationResult(reward=0.0, content="patch failed to apply", info={"git_apply": apply_error})
306
+ if test_ref:
307
+ # Hidden tests come from the vaulted history, after the agent's diff —
308
+ # so agent edits to them never survive into grading.
309
+ await repo_lib.git(REPO_DIR, "checkout", test_ref, "--", *(test_files or ["."]))
310
+
311
+ command = test_command.format(test_files=" ".join(test_files or []))
312
+ return await combine(
313
+ BashGrader.grade(weight=1.0, command=command, cwd=str(REPO_DIR), timeout_seconds=int(TESTS_TIMEOUT))
314
+ )
315
+
316
+
317
+ @env.template(id="coding-task", description="Fix a bug in the repo; hidden tests grade the diff.")
318
+ async def coding_task(
319
+ description: str,
320
+ test_command: str,
321
+ base_ref: str | None = None,
322
+ test_ref: str | None = None,
323
+ test_files: list[str] | None = None,
324
+ golden_ref: str | None = None,
325
+ validate_mode: str | None = None,
326
+ ):
327
+ """Generic coding task.
328
+
329
+ ``base_ref`` is the agent's starting state; ``test_ref`` holds the hidden
330
+ tests (``test_files`` are checked out from it at grade time);
331
+ ``test_command`` scores by exit code, with ``{test_files}`` expanded.
332
+ ``validate_mode="golden"`` grades ``base_ref..golden_ref`` instead of
333
+ agent edits.
334
+ """
335
+ if validate_mode not in (None, "golden"):
336
+ raise ValueError(f"unknown validate_mode: {validate_mode!r}")
337
+ await _setup(base_ref)
338
+ _ = yield (
339
+ f"You are working in a coding repository located at {REPO_DIR}. {WORKSPACE_NOTE}\n\n"
340
+ "Use the tools provided to complete the following task. Hidden tests grade your "
341
+ f"work when you finish; do not modify existing tests.\n\n{description}"
342
+ )
343
+ yield await _grade_generic(test_command, base_ref, test_ref, test_files, golden_ref, validate_mode)
344
+
345
+
346
+ # ─── SDLC flavor: issue-driven fix, graded on the pushed PR branch ───────
347
+
348
+
349
+ async def _fetch_hidden_ref(dest: Path, ref: str) -> None:
350
+ """Fetch an answer-key ref from the vaulted history into *dest*."""
351
+ full = f"refs/remotes/{ref}" if ref.startswith("origin/") else ref
352
+ await repo_lib.git(dest, "fetch", "-q", str(VAULT_DIR / "git"), full)
353
+
354
+
355
+ async def _grade_sdlc(
356
+ test_command: str,
357
+ test_ref: str,
358
+ test_files: list[str],
359
+ golden_ref: str | None,
360
+ pr_rubric: str | None,
361
+ validate_mode: str | None,
362
+ ) -> EvaluationResult:
363
+ if validate_mode == "golden":
364
+ # Simulate the workflow the agent is graded on: push the reference
365
+ # fix as a branch and open a pull request for it.
366
+ if not golden_ref:
367
+ raise ValueError('validate_mode="golden" needs golden_ref')
368
+ await repo_lib.git(VAULT_DIR / "git", "push", "-q", str(REMOTE_DIR), f"{golden_ref}:refs/heads/golden-fix")
369
+ _github.create_pull_request(
370
+ "Fix the reported bug", "Applies the reference fix.", head="golden-fix", base="main"
371
+ )
372
+
373
+ pr = _github.latest_pull_request()
374
+ if pr is None:
375
+ return EvaluationResult(reward=0.0, content="no pull request was opened")
376
+
377
+ # Hermetic checkout of the PR head from the remote (never the worktree).
378
+ grading_dir = LOGS_DIR / "pr-checkout"
379
+ shutil.rmtree(grading_dir, ignore_errors=True)
380
+ LOGS_DIR.mkdir(parents=True, exist_ok=True)
381
+ await repo_lib.run("git", "clone", "-q", str(REMOTE_DIR), str(grading_dir), cwd=LOGS_DIR)
382
+ code, _, err = await repo_lib.git(grading_dir, "checkout", "-q", pr.head, check=False)
383
+ if code != 0:
384
+ return EvaluationResult(
385
+ reward=0.0,
386
+ content=f"pull request head branch {pr.head!r} was never pushed",
387
+ info={"git_checkout": err.strip()[-2000:]},
388
+ )
389
+
390
+ await _fetch_hidden_ref(grading_dir, test_ref)
391
+ await repo_lib.git(grading_dir, "checkout", "FETCH_HEAD", "--", *test_files)
392
+
393
+ command = test_command.format(test_files=" ".join(test_files))
394
+ quality: Any
395
+ if pr_rubric:
396
+ quality = LLMJudgeGrader.grade(weight=0.2, answer=_github.transcript(), criteria=[pr_rubric])
397
+ else:
398
+ opened_well = bool(pr.title.strip() and pr.body.strip())
399
+ quality = SubScore(name="pull_request", value=1.0 if opened_well else 0.0, weight=0.2)
400
+ return await combine(
401
+ BashGrader.grade(weight=0.8, command=command, cwd=str(grading_dir), timeout_seconds=int(TESTS_TIMEOUT)),
402
+ quality,
403
+ )
404
+
405
+
406
+ @env.template(
407
+ id="sdlc-task",
408
+ description="Issue-driven bug fix: fix the code, push a branch, open a pull request.",
409
+ )
410
+ async def sdlc_task(
411
+ description: str,
412
+ test_command: str,
413
+ base_ref: str,
414
+ test_ref: str,
415
+ test_files: list[str],
416
+ issues: list[dict[str, Any]] | None = None,
417
+ golden_ref: str | None = None,
418
+ pr_rubric: str | None = None,
419
+ validate_mode: str | None = None,
420
+ ):
421
+ """The generic flavor plus workflow: the repo has an ``origin`` remote (a
422
+ bare mock-GitHub repo) and ``github_*`` tools seeded with *issues*; the
423
+ deliverable is a pushed branch with a pull request. Grading checks the PR
424
+ head out of the remote, brings in the hidden tests, runs ``test_command``
425
+ (weight 0.8), and scores the PR itself (weight 0.2) — structurally, or
426
+ against ``pr_rubric`` with an LLM judge when provided.
427
+ """
428
+ if validate_mode not in (None, "golden"):
429
+ raise ValueError(f"unknown validate_mode: {validate_mode!r}")
430
+ _github.seed(issues or [])
431
+ await _setup(base_ref, remote=True)
432
+ _ = yield (
433
+ f"You are working in a coding repository located at {REPO_DIR}; its `origin` remote "
434
+ "is the team's shared repository, and the `github_*` tools give you the team's "
435
+ "issue tracker.\n\n"
436
+ "Complete the following task. When you are done, push your work to `origin` as a "
437
+ "new branch and open a pull request for it with `github_create_pull_request`. "
438
+ "Hidden tests grade your work; do not modify existing tests.\n\n"
439
+ f"{description}"
440
+ )
441
+ yield await _grade_sdlc(test_command, test_ref, test_files, golden_ref, pr_rubric, validate_mode)
442
+
443
+
444
+ # ─── SWE-bench Pro flavor (present only in baked instance images) ────────
445
+
446
+ if (INSTANCE_DIR / "instance.json").is_file():
447
+ INSTANCE = swe.load_instance(INSTANCE_DIR)
448
+
449
+ @env.template(
450
+ id=INSTANCE["instance_id"],
451
+ description=f"SWE-bench Pro instance on {INSTANCE['repo']}",
452
+ )
453
+ async def swe_bench_pro_task(validate_mode: str | None = None):
454
+ """One SWE-bench Pro rollout. ``validate_mode="golden"`` grades the
455
+ dataset's golden patch instead of agent edits (gold-patch validation)."""
456
+ if validate_mode not in (None, "golden"):
457
+ raise ValueError(f"unknown validate_mode: {validate_mode!r}")
458
+ await _setup()
459
+ _ = yield swe.build_prompt(INSTANCE, REPO_DIR)
460
+ yield await swe.grade(
461
+ INSTANCE,
462
+ INSTANCE_DIR,
463
+ REPO_DIR,
464
+ VAULT_DIR,
465
+ LOGS_DIR,
466
+ validate_mode=validate_mode,
467
+ tests_timeout=TESTS_TIMEOUT,
468
+ )
harbor/sources/go-mysql-v9/pyproject.toml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "swe-task-go-mysql-mariadb-compressed-columns"
3
+ version = "0.1.0"
4
+ description = "go_mysql_mariadb_compressed_columns on the coding-template: per-criterion execution grading"
5
+ requires-python = ">=3.11,<3.13"
6
+ dependencies = [ "hud>=0.6.13", "httpx>=0.27.0",]
7
+
8
+ [build-system]
9
+ requires = [ "hatchling",]
10
+ build-backend = "hatchling.build"
11
+
12
+ [project.optional-dependencies]
13
+ dev = [ "pytest>=8.0.0", "ruff==0.11.2",]
14
+
15
+ [tool.ruff]
16
+ target-version = "py311"
17
+ line-length = 120
18
+
19
+ [tool.ruff.lint]
20
+ select = [ "E", "F", "B", "I", "C4", "UP",]
21
+ ignore = [ "E501",]
22
+ fixable = [ "ALL",]
23
+ unfixable = []
24
+
25
+ [tool.ruff.format]
26
+ quote-style = "double"
27
+ indent-style = "space"
28
+ line-ending = "auto"
29
+
30
+ [tool.hatch.build.targets.wheel]
31
+ packages = [ ".",]
harbor/sources/go-mysql-v9/task/gold.diff ADDED
@@ -0,0 +1,747 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/mysql/const.go b/mysql/const.go
2
+ index a602ab3..619626e 100644
3
+ --- a/mysql/const.go
4
+ +++ b/mysql/const.go
5
+ @@ -199,6 +199,16 @@ const (
6
+ MYSQL_TYPE_GEOMETRY
7
+ )
8
+
9
+ +// MariaDB-only column types, emitted in row-based binlog events for columns
10
+ +// that use storage-engine-independent column compression (MariaDB 10.3+,
11
+ +// e.g. VARCHAR(...) COMPRESSED). See include/mysql_com.h in the MariaDB
12
+ +// sources: "Compressed types are only used internally for RBR". Note the
13
+ +// BLOB code is the lower one, the reverse of the base enum's order.
14
+ +const (
15
+ + MYSQL_TYPE_BLOB_COMPRESSED byte = 140
16
+ + MYSQL_TYPE_VARCHAR_COMPRESSED byte = 141
17
+ +)
18
+ +
19
+ const (
20
+ NOT_NULL_FLAG = 1
21
+ PRI_KEY_FLAG = 2
22
+ diff --git a/mysql/util.go b/mysql/util.go
23
+ index ccbdcce..3fc39c8 100644
24
+ --- a/mysql/util.go
25
+ +++ b/mysql/util.go
26
+ @@ -3,6 +3,7 @@ package mysql
27
+ import (
28
+ "bytes"
29
+ "cmp"
30
+ + "compress/flate"
31
+ "compress/zlib"
32
+ "crypto/rand"
33
+ "crypto/rsa"
34
+ @@ -299,6 +300,68 @@ func DecompressMariadbData(data []byte) ([]byte, error) {
35
+ return uncompressedData, nil
36
+ }
37
+
38
+ +// DecompressMariadbColumn decodes the binlog value of a column that uses
39
+ +// MariaDB storage-engine-independent column compression
40
+ +// (MYSQL_TYPE_VARCHAR_COMPRESSED / MYSQL_TYPE_BLOB_COMPRESSED). data is the
41
+ +// column value with its VARCHAR/BLOB length prefix already stripped. The
42
+ +// layout, from mariadb sql/field_comp.cc, is:
43
+ +//
44
+ +// byte 0: bits 0-2: how many bytes the original data length takes
45
+ +// bit 3: set when the deflate stream carries no zlib
46
+ +// wrapper (column_compression_zlib_wrap=OFF, which
47
+ +// is the server default)
48
+ +// bits 4-7: compression method: 0 = stored uncompressed,
49
+ +// 8 = zlib
50
+ +// bytes 1..n: original data length, big endian
51
+ +// rest: compressed data
52
+ +//
53
+ +// Values shorter than column_compression_threshold, and values that did not
54
+ +// shrink when compressed, are stored uncompressed under method 0 with just
55
+ +// the header byte. Empty values are stored with no header at all.
56
+ +//
57
+ +// This is not interchangeable with DecompressMariadbData: that helper decodes
58
+ +// the payload of mariadb *_COMPRESSED_EVENT_V1 events, which the server
59
+ +// always writes zlib-wrapped, while column values honor the wrapper bit and
60
+ +// on default settings are raw deflate streams.
61
+ +func DecompressMariadbColumn(data []byte) ([]byte, error) {
62
+ + if len(data) == 0 {
63
+ + return data, nil
64
+ + }
65
+ +
66
+ + switch method := (data[0] & 0xF0) >> 4; method {
67
+ + case 0:
68
+ + // Stored uncompressed: everything after the header byte is the value.
69
+ + return data[1:], nil
70
+ + case 8:
71
+ + // zlib deflate, handled below.
72
+ + default:
73
+ + return nil, errors.Errorf("unknown MariaDB column compression method %d", method)
74
+ + }
75
+ +
76
+ + lenBytes := int(data[0] & 0x07)
77
+ + if len(data) < 1+lenBytes {
78
+ + return nil, errors.Errorf("MariaDB compressed column value too short: %d bytes, %d length bytes", len(data), lenBytes)
79
+ + }
80
+ + uncompressedDataSize := BFixedLengthInt(data[1 : 1+lenBytes])
81
+ +
82
+ + var r io.ReadCloser
83
+ + if data[0]&0x08 != 0 {
84
+ + r = flate.NewReader(bytes.NewReader(data[1+lenBytes:]))
85
+ + } else {
86
+ + var err error
87
+ + if r, err = zlib.NewReader(bytes.NewReader(data[1+lenBytes:])); err != nil {
88
+ + return nil, errors.Trace(err)
89
+ + }
90
+ + }
91
+ + defer r.Close()
92
+ +
93
+ + uncompressedData := make([]byte, uncompressedDataSize)
94
+ + if _, err := io.ReadFull(r, uncompressedData); err != nil {
95
+ + return nil, errors.Trace(err)
96
+ + }
97
+ + return uncompressedData, nil
98
+ +}
99
+ +
100
+ // AppendLengthEncodedInteger: encodes a uint64 value and appends it to the given bytes slice
101
+ func AppendLengthEncodedInteger(b []byte, n uint64) []byte {
102
+ switch {
103
+ diff --git a/mysql/util_test.go b/mysql/util_test.go
104
+ index 4ae9b01..756e06d 100644
105
+ --- a/mysql/util_test.go
106
+ +++ b/mysql/util_test.go
107
+ @@ -1,6 +1,9 @@
108
+ package mysql
109
+
110
+ import (
111
+ + "bytes"
112
+ + "compress/flate"
113
+ + "compress/zlib"
114
+ "testing"
115
+ "time"
116
+
117
+ @@ -132,3 +135,84 @@ func TestToBinaryDateTime(t *testing.T) {
118
+ })
119
+ }
120
+ }
121
+ +
122
+ +func TestDecompressMariadbColumn(t *testing.T) {
123
+ + payload := bytes.Repeat([]byte("compress-me-"), 40)
124
+ +
125
+ + rawDeflate := func(data []byte) []byte {
126
+ + var buf bytes.Buffer
127
+ + w, err := flate.NewWriter(&buf, flate.DefaultCompression)
128
+ + require.NoError(t, err)
129
+ + _, err = w.Write(data)
130
+ + require.NoError(t, err)
131
+ + require.NoError(t, w.Close())
132
+ + return buf.Bytes()
133
+ + }
134
+ + zlibWrapped := func(data []byte) []byte {
135
+ + var buf bytes.Buffer
136
+ + w := zlib.NewWriter(&buf)
137
+ + _, err := w.Write(data)
138
+ + require.NoError(t, err)
139
+ + require.NoError(t, w.Close())
140
+ + return buf.Bytes()
141
+ + }
142
+ +
143
+ + tests := []struct {
144
+ + name string
145
+ + data []byte
146
+ + expect []byte
147
+ + err bool
148
+ + }{
149
+ + {
150
+ + // Empty values are stored with no compression header at all.
151
+ + name: "empty",
152
+ + data: []byte{},
153
+ + expect: []byte{},
154
+ + },
155
+ + {
156
+ + // Values below column_compression_threshold, and values deflate
157
+ + // could not shrink, carry method 0: the value follows the header
158
+ + // byte uncompressed.
159
+ + name: "method 0 stored uncompressed",
160
+ + data: append([]byte{0x00}, []byte("short")...),
161
+ + expect: []byte("short"),
162
+ + },
163
+ + {
164
+ + // column_compression_zlib_wrap=OFF (the default) sets bit 3:
165
+ + // the payload is a raw deflate stream, original length 480 is
166
+ + // big endian over 2 bytes.
167
+ + name: "zlib without wrapper",
168
+ + data: append([]byte{0x8a, 0x01, 0xe0}, rawDeflate(payload)...),
169
+ + expect: payload,
170
+ + },
171
+ + {
172
+ + // column_compression_zlib_wrap=ON clears bit 3: the payload
173
+ + // carries the zlib header and trailer.
174
+ + name: "zlib with wrapper",
175
+ + data: append([]byte{0x82, 0x01, 0xe0}, zlibWrapped(payload)...),
176
+ + expect: payload,
177
+ + },
178
+ + {
179
+ + name: "unknown compression method",
180
+ + data: []byte{0x31, 0x01},
181
+ + err: true,
182
+ + },
183
+ + {
184
+ + name: "length bytes beyond value",
185
+ + data: []byte{0x8a, 0x01},
186
+ + err: true,
187
+ + },
188
+ + }
189
+ +
190
+ + for _, test := range tests {
191
+ + t.Run(test.name, func(t *testing.T) {
192
+ + got, err := DecompressMariadbColumn(test.data)
193
+ + if test.err {
194
+ + require.Error(t, err)
195
+ + return
196
+ + }
197
+ + require.NoError(t, err)
198
+ + require.Equal(t, test.expect, got)
199
+ + })
200
+ + }
201
+ +}
202
+ diff --git a/replication/row_event.go b/replication/row_event.go
203
+ index f436af2..6b35980 100644
204
+ --- a/replication/row_event.go
205
+ +++ b/replication/row_event.go
206
+ @@ -220,7 +220,10 @@ func (e *TableMapEvent) decodeMeta(data []byte) error {
207
+ pos += 2
208
+ case mysql.MYSQL_TYPE_VAR_STRING,
209
+ mysql.MYSQL_TYPE_VARCHAR,
210
+ - mysql.MYSQL_TYPE_BIT:
211
+ + mysql.MYSQL_TYPE_BIT,
212
+ + // mariadb compressed columns log the same metadata as their
213
+ + // plain counterparts: the field length for VARCHAR ...
214
+ + mysql.MYSQL_TYPE_VARCHAR_COMPRESSED:
215
+ e.ColumnMeta[i] = binary.LittleEndian.Uint16(data[pos:])
216
+ pos += 2
217
+ case mysql.MYSQL_TYPE_BLOB,
218
+ @@ -228,7 +231,9 @@ func (e *TableMapEvent) decodeMeta(data []byte) error {
219
+ mysql.MYSQL_TYPE_FLOAT,
220
+ mysql.MYSQL_TYPE_GEOMETRY,
221
+ mysql.MYSQL_TYPE_VECTOR,
222
+ - mysql.MYSQL_TYPE_JSON:
223
+ + mysql.MYSQL_TYPE_JSON,
224
+ + // ... and the packlength for TEXT/BLOB.
225
+ + mysql.MYSQL_TYPE_BLOB_COMPRESSED:
226
+ e.ColumnMeta[i] = uint16(data[pos])
227
+ pos++
228
+ case mysql.MYSQL_TYPE_TIME2,
229
+ @@ -828,6 +833,15 @@ func (e *TableMapEvent) IsCharacterColumn(i int) bool {
230
+ }
231
+ return false
232
+
233
+ + case mysql.MYSQL_TYPE_VARCHAR_COMPRESSED,
234
+ + mysql.MYSQL_TYPE_BLOB_COMPRESSED:
235
+ + // mariadb-only compressed columns keep their charset, and mariadb
236
+ + // selects columns for the charset metadata by "the field has a
237
+ + // charset" (is_character_field in sql/log_event_server.cc) rather
238
+ + // than by the type list above - so compressed columns take part in
239
+ + // DefaultCharset/ColumnCharset just like their plain counterparts.
240
+ + return true
241
+ +
242
+ default:
243
+ return false
244
+ }
245
+ @@ -898,6 +912,8 @@ const RowsEventStmtEndFlag = 0x01
246
+ // - mysql.MYSQL_TYPE_JSON: []byte / *replication.JsonDiff
247
+ // - mysql.MYSQL_TYPE_GEOMETRY: []byte
248
+ // - mysql.MYSQL_TYPE_VECTOR: []byte
249
+ +// - mysql.MYSQL_TYPE_VARCHAR_COMPRESSED: string (decompressed)
250
+ +// - mysql.MYSQL_TYPE_BLOB_COMPRESSED: []byte (decompressed)
251
+ type RowsEvent struct {
252
+ // 0, 1, 2
253
+ Version int
254
+ @@ -1441,6 +1457,22 @@ func (e *RowsEvent) decodeValue(data []byte, tp byte, meta uint16, isPartial boo
255
+ v, n = decodeString(data, length)
256
+ case mysql.MYSQL_TYPE_STRING:
257
+ v, n = decodeString(data, length)
258
+ + case mysql.MYSQL_TYPE_VARCHAR_COMPRESSED:
259
+ + // mariadb column compression: a regular varstring whose payload
260
+ + // starts with a one-byte compression header. meta is the field
261
+ + // length the server recorded - it already counts the header byte
262
+ + // and picks the length prefix width, exactly as for VARCHAR.
263
+ + var raw, decoded []byte
264
+ + raw, n = decodeStringBytes(data, int(meta))
265
+ + if decoded, err = mysql.DecompressMariadbColumn(raw); err == nil {
266
+ + v = utils.ByteSliceToString(decoded)
267
+ + }
268
+ + case mysql.MYSQL_TYPE_BLOB_COMPRESSED:
269
+ + // Same for TEXT/BLOB ... COMPRESSED; meta is the blob packlength.
270
+ + var raw []byte
271
+ + if raw, n, err = decodeBlob(data, meta); err == nil {
272
+ + v, err = mysql.DecompressMariadbColumn(raw)
273
+ + }
274
+ case mysql.MYSQL_TYPE_JSON:
275
+ // Refer: https://github.com/shyiko/mysql-binlog-connector-java/blob/master/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/AbstractRowsEventDataDeserializer.java#L404
276
+ length = int(mysql.FixedLengthInt(data[0:meta]))
277
+ @@ -1495,15 +1527,20 @@ func (e *RowsEvent) decodeValue(data []byte, tp byte, meta uint16, isPartial boo
278
+ }
279
+
280
+ func decodeString(data []byte, length int) (v string, n int) {
281
+ + b, n := decodeStringBytes(data, length)
282
+ + return utils.ByteSliceToString(b), n
283
+ +}
284
+ +
285
+ +func decodeStringBytes(data []byte, length int) (v []byte, n int) {
286
+ if length < 256 {
287
+ length = int(data[0])
288
+
289
+ n = length + 1
290
+ - v = utils.ByteSliceToString(data[1:n])
291
+ + v = data[1:n]
292
+ } else {
293
+ length = int(binary.LittleEndian.Uint16(data[0:]))
294
+ n = length + 2
295
+ - v = utils.ByteSliceToString(data[2:n])
296
+ + v = data[2:n]
297
+ }
298
+
299
+ return v, n
300
+ diff --git a/replication/row_event_compressed_columns_test.go b/replication/row_event_compressed_columns_test.go
301
+ new file mode 100644
302
+ index 0000000..3ac7a22
303
+ --- /dev/null
304
+ +++ b/replication/row_event_compressed_columns_test.go
305
+ @@ -0,0 +1,341 @@
306
+ +package replication
307
+ +
308
+ +import (
309
+ + "encoding/hex"
310
+ + "path"
311
+ + "strings"
312
+ + "testing"
313
+ +
314
+ + "github.com/stretchr/testify/require"
315
+ +
316
+ + "github.com/go-mysql-org/go-mysql/mysql"
317
+ +)
318
+ +
319
+ +// The fixtures under testdata/ were captured from real MariaDB servers
320
+ +// (docker images mariadb:11.8 and mariadb:10.11) started with
321
+ +// --log-bin --binlog-format=ROW --binlog-row-metadata=FULL, running the SQL
322
+ +// quoted in each test below. The expected collation ids come from the same
323
+ +// server's information_schema (COLLATIONS and
324
+ +// COLLATION_CHARACTER_SET_APPLICABILITY), not from parser output.
325
+ +
326
+ +// entropyHex is 150 fixed random bytes. deflate cannot shrink them, so even
327
+ +// though they are longer than column_compression_threshold the server falls
328
+ +// back to storing them uncompressed (compression method 0).
329
+ +const entropyHex = "2ff106625aa562c60c4471b7af0ca7883a664c0a3edb17402491586554452ab646ced028b3e6804086e1a7e4b642f8c75225e19df8d5eae9917e143a1ef23f0642944d0671cf325c365324144cd791756894a405f855f334f2dc585c4a6e3d0b9921cb3fd31d09addf213f15795e6ae95b042056429fe0b11c5fc4809c2da1161f94d42de3d71a33f89f4c2c2867bfe06dc2b21b4df7"
330
+ +
331
+ +type binlogFixture struct {
332
+ + // last TableMapEvent seen for each table
333
+ + tableMaps map[string]*TableMapEvent
334
+ + // RowsEvents per table, in binlog order
335
+ + rows map[string][]*RowsEvent
336
+ + // raw event types, in binlog order
337
+ + types []EventType
338
+ +}
339
+ +
340
+ +func parseBinlogFixture(t *testing.T, name string) *binlogFixture {
341
+ + t.Helper()
342
+ +
343
+ + f := &binlogFixture{
344
+ + tableMaps: map[string]*TableMapEvent{},
345
+ + rows: map[string][]*RowsEvent{},
346
+ + }
347
+ + p := NewBinlogParser()
348
+ + p.SetFlavor("mariadb")
349
+ + err := p.ParseFile(path.Join("testdata", name), 0, func(e *BinlogEvent) error {
350
+ + f.types = append(f.types, e.Header.EventType)
351
+ + switch ev := e.Event.(type) {
352
+ + case *TableMapEvent:
353
+ + f.tableMaps[string(ev.Table)] = ev
354
+ + case *RowsEvent:
355
+ + f.rows[string(ev.Table.Table)] = append(f.rows[string(ev.Table.Table)], ev)
356
+ + }
357
+ + return nil
358
+ + })
359
+ + require.NoError(t, err)
360
+ + return f
361
+ +}
362
+ +
363
+ +// TestMariadbCompressedColumnsRowValues checks that columns using MariaDB
364
+ +// storage-engine-independent column compression decode to exactly the same
365
+ +// Go values as plain columns holding the same data. Fixture schema
366
+ +// (mariadb:11.8, default column compression settings):
367
+ +//
368
+ +// CREATE TABLE twin (
369
+ +// id INT PRIMARY KEY,
370
+ +// vp VARCHAR(600) CHARACTER SET utf8mb4,
371
+ +// vc VARCHAR(600) COMPRESSED CHARACTER SET utf8mb4,
372
+ +// tp TEXT CHARACTER SET latin1,
373
+ +// tc TEXT COMPRESSED CHARACTER SET latin1,
374
+ +// bp VARBINARY(400),
375
+ +// bc VARBINARY(400) COMPRESSED
376
+ +// );
377
+ +//
378
+ +// with every row inserting the same value into each plain/COMPRESSED pair:
379
+ +// values long enough to be deflated, values below
380
+ +// column_compression_threshold (100) that are stored uncompressed, empty
381
+ +// strings, NULLs, values of 99/100 bytes right at the threshold, random
382
+ +// bytes that deflate cannot shrink (the server stores them uncompressed
383
+ +// despite their length), and multi-byte text; followed by an UPDATE and a
384
+ +// DELETE.
385
+ +func TestMariadbCompressedColumnsRowValues(t *testing.T) {
386
+ + entropy, err := hex.DecodeString(entropyHex)
387
+ + require.NoError(t, err)
388
+ +
389
+ + longV := strings.Repeat("compress-me-", 40)
390
+ + longT := strings.Repeat("xyz", 300)
391
+ + binLong := strings.Repeat("\xab", 280)
392
+ + x99 := strings.Repeat("x", 99)
393
+ + y100 := strings.Repeat("y", 100)
394
+ + multibyte := strings.Repeat("日本語", 80)
395
+ +
396
+ + f := parseBinlogFixture(t, "mariadb-11.8-compressed-columns.binlog")
397
+ + events := f.rows["twin"]
398
+ + require.Len(t, events, 9) // 7 inserts, 1 update, 1 delete
399
+ +
400
+ + inserts := [][]any{
401
+ + {int32(1), longV, longV, []byte(longT), []byte(longT), binLong, binLong},
402
+ + {int32(2), "short", "short", []byte("tiny"), []byte("tiny"), "\x01", "\x01"},
403
+ + {int32(3), "", "", []byte{}, []byte{}, "", ""},
404
+ + {int32(4), nil, nil, nil, nil, nil, nil},
405
+ + {int32(5), x99, x99, []byte(y100), []byte(y100), nil, nil},
406
+ + {int32(6), nil, nil, nil, nil, string(entropy), string(entropy)},
407
+ + {int32(7), multibyte, multibyte, nil, nil, nil, nil},
408
+ + }
409
+ + for i, expect := range inserts {
410
+ + ev := events[i]
411
+ + require.Equal(t, EnumRowsEventTypeInsert, ev.Type())
412
+ + require.Len(t, ev.Rows, 1)
413
+ + require.Equal(t, expect, ev.Rows[0], "insert row %d", i+1)
414
+ +
415
+ + // twin equivalence: a COMPRESSED column must yield exactly what the
416
+ + // plain column holding the same data yields - same type, same bytes
417
+ + row := ev.Rows[0]
418
+ + require.IsType(t, row[1], row[2], "insert row %d vp/vc", i+1)
419
+ + require.Equal(t, row[1], row[2], "insert row %d vp/vc", i+1)
420
+ + require.IsType(t, row[3], row[4], "insert row %d tp/tc", i+1)
421
+ + require.Equal(t, row[3], row[4], "insert row %d tp/tc", i+1)
422
+ + require.Equal(t, row[5], row[6], "insert row %d bp/bc", i+1)
423
+ + }
424
+ +
425
+ + // UPDATE twin SET vc = CONCAT(vc, '-upd'), vp = CONCAT(vp, '-upd') WHERE id = 2
426
+ + update := events[7]
427
+ + require.Equal(t, EnumRowsEventTypeUpdate, update.Type())
428
+ + require.Len(t, update.Rows, 2)
429
+ + require.Equal(t, inserts[1], update.Rows[0])
430
+ + require.Equal(t,
431
+ + []any{int32(2), "short-upd", "short-upd", []byte("tiny"), []byte("tiny"), "\x01", "\x01"},
432
+ + update.Rows[1])
433
+ +
434
+ + // DELETE FROM twin WHERE id = 3
435
+ + del := events[8]
436
+ + require.Equal(t, EnumRowsEventTypeDelete, del.Type())
437
+ + require.Len(t, del.Rows, 1)
438
+ + require.Equal(t, inserts[2], del.Rows[0])
439
+ +}
440
+ +
441
+ +// TestMariadbCompressedColumnsTableMapMetadata checks that a table map
442
+ +// carrying MYSQL_TYPE_VARCHAR_COMPRESSED/MYSQL_TYPE_BLOB_COMPRESSED columns
443
+ +// reports correct metadata for every column of the table: the compressed
444
+ +// columns must not desynchronize the per-column metadata stream, and they
445
+ +// take part in the charset optional metadata just like their plain
446
+ +// counterparts, so none of the optional-metadata accessors may shift.
447
+ +// Fixture schema (mariadb:11.8) on top of twin from the previous test:
448
+ +//
449
+ +// CREATE TABLE mixed (
450
+ +// id INT UNSIGNED PRIMARY KEY,
451
+ +// a VARCHAR(50) CHARACTER SET latin1 COLLATE latin1_bin,
452
+ +// b VARCHAR(100) COMPRESSED CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
453
+ +// c TEXT COMPRESSED CHARACTER SET latin2,
454
+ +// d VARCHAR(60) CHARACTER SET ascii,
455
+ +// e ENUM('on','off') CHARACTER SET utf8mb3,
456
+ +// f SET('p','q') CHARACTER SET utf8mb3,
457
+ +// g TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
458
+ +// h YEAR,
459
+ +// i BIGINT,
460
+ +// j VARCHAR(20) COMPRESSED CHARACTER SET cp1251
461
+ +// );
462
+ +// CREATE TABLE widths (
463
+ +// id INT PRIMARY KEY,
464
+ +// v254 VARCHAR(254) COMPRESSED CHARACTER SET latin1,
465
+ +// v255 VARCHAR(255) COMPRESSED CHARACTER SET latin1,
466
+ +// tt TINYTEXT COMPRESSED CHARACTER SET latin1,
467
+ +// mt MEDIUMTEXT COMPRESSED CHARACTER SET latin1,
468
+ +// lt LONGTEXT COMPRESSED CHARACTER SET latin1,
469
+ +// bb BLOB COMPRESSED
470
+ +// );
471
+ +func TestMariadbCompressedColumnsTableMapMetadata(t *testing.T) {
472
+ + f := parseBinlogFixture(t, "mariadb-11.8-compressed-columns.binlog")
473
+ +
474
+ + twin := f.tableMaps["twin"]
475
+ + require.NotNil(t, twin)
476
+ + require.Equal(t, []byte{
477
+ + mysql.MYSQL_TYPE_LONG,
478
+ + mysql.MYSQL_TYPE_VARCHAR,
479
+ + mysql.MYSQL_TYPE_VARCHAR_COMPRESSED,
480
+ + mysql.MYSQL_TYPE_BLOB,
481
+ + mysql.MYSQL_TYPE_BLOB_COMPRESSED,
482
+ + mysql.MYSQL_TYPE_VARCHAR, // VARBINARY
483
+ + mysql.MYSQL_TYPE_VARCHAR_COMPRESSED, // VARBINARY COMPRESSED
484
+ + }, twin.ColumnType)
485
+ + // A compressed VARCHAR logs the internal field length, one byte larger
486
+ + // than its plain twin (the byte reserved for the compression header);
487
+ + // a compressed TEXT/BLOB logs the same packlength as its twin.
488
+ + require.Equal(t, []uint16{0, 2400, 2401, 2, 2, 400, 401}, twin.ColumnMeta)
489
+ + // 2304 = utf8mb4_uca1400_ai_ci, 8 = latin1_swedish_ci, 63 = binary
490
+ + require.Equal(t, map[int]uint64{1: 2304, 2: 2304, 3: 8, 4: 8, 5: 63, 6: 63},
491
+ + twin.CollationMap())
492
+ +
493
+ + mixed := f.tableMaps["mixed"]
494
+ + require.NotNil(t, mixed)
495
+ + require.Equal(t, []byte{
496
+ + mysql.MYSQL_TYPE_LONG,
497
+ + mysql.MYSQL_TYPE_VARCHAR,
498
+ + mysql.MYSQL_TYPE_VARCHAR_COMPRESSED,
499
+ + mysql.MYSQL_TYPE_BLOB_COMPRESSED,
500
+ + mysql.MYSQL_TYPE_VARCHAR,
501
+ + mysql.MYSQL_TYPE_STRING, // ENUM
502
+ + mysql.MYSQL_TYPE_STRING, // SET
503
+ + mysql.MYSQL_TYPE_BLOB,
504
+ + mysql.MYSQL_TYPE_YEAR,
505
+ + mysql.MYSQL_TYPE_LONGLONG,
506
+ + mysql.MYSQL_TYPE_VARCHAR_COMPRESSED,
507
+ + }, mixed.ColumnType)
508
+ + require.Equal(t, []uint16{0, 50, 401, 2, 60, 0xf701, 0xf801, 2, 0, 0, 21},
509
+ + mixed.ColumnMeta)
510
+ + // Collation ids from the server's information_schema:
511
+ + // 47 latin1_bin, 46 utf8mb4_bin, 9 latin2_general_ci,
512
+ + // 11 ascii_general_ci, 83 utf8mb3_bin, 51 cp1251_general_ci,
513
+ + // 2048 utf8mb3_uca1400_ai_ci
514
+ + require.Equal(t, map[int]uint64{1: 47, 2: 46, 3: 9, 4: 11, 7: 83, 10: 51},
515
+ + mixed.CollationMap())
516
+ + require.Equal(t, map[int]uint64{5: 2048, 6: 2048}, mixed.EnumSetCollationMap())
517
+ + require.Equal(t, map[int][]string{5: {"on", "off"}}, mixed.EnumStrValueMap())
518
+ + require.Equal(t, map[int][]string{6: {"p", "q"}}, mixed.SetStrValueMap())
519
+ + require.Equal(t, map[int]bool{0: true, 8: true, 9: false}, mixed.UnsignedMap())
520
+ +
521
+ + widths := f.tableMaps["widths"]
522
+ + require.NotNil(t, widths)
523
+ + // v254 logs field length 255 (one length-prefix byte on the wire),
524
+ + // v255 logs 256 (two bytes); TINYTEXT/TEXT-as-BLOB/MEDIUMTEXT/LONGTEXT
525
+ + // log their packlength 1/2/3/4.
526
+ + require.Equal(t, []uint16{0, 255, 256, 1, 3, 4, 2}, widths.ColumnMeta)
527
+ + // All columns of this table share one collation except the last, so the
528
+ + // server wrote the DEFAULT_CHARSET form of the optional metadata; the
529
+ + // (column, collation) override pair must land on the last column, which
530
+ + // it can only do if the compressed columns are counted as character
531
+ + // columns.
532
+ + require.NotEmpty(t, widths.DefaultCharset)
533
+ + require.Equal(t, map[int]uint64{1: 8, 2: 8, 3: 8, 4: 8, 5: 8, 6: 63},
534
+ + widths.CollationMap())
535
+ +}
536
+ +
537
+ +// TestMariadbCompressedColumnsLengthWidths decodes the rows of the widths
538
+ +// table (schema in the previous test): compressed values whose original
539
+ +// lengths need one, two and three big-endian header length bytes, plus the
540
+ +// VARCHAR(254)/VARCHAR(255) boundary where the internal field length (+1 for
541
+ +// the compression header) pushes the wire length prefix from one byte to two.
542
+ +func TestMariadbCompressedColumnsLengthWidths(t *testing.T) {
543
+ + f := parseBinlogFixture(t, "mariadb-11.8-compressed-columns.binlog")
544
+ + events := f.rows["widths"]
545
+ + require.Len(t, events, 1)
546
+ + require.Equal(t, []any{
547
+ + int32(1),
548
+ + strings.Repeat("a", 254),
549
+ + strings.Repeat("b", 255),
550
+ + []byte(strings.Repeat("c", 200)),
551
+ + []byte(strings.Repeat("d", 70000)),
552
+ + []byte(strings.Repeat("e", 70000)),
553
+ + []byte(strings.Repeat("f", 600)),
554
+ + }, events[0].Rows[0])
555
+ +}
556
+ +
557
+ +// TestMariadbCompressedColumnsZlibWrap decodes rows written by a session
558
+ +// running with column_compression_zlib_wrap=ON: the deflate stream then
559
+ +// carries the zlib header and trailer, flagged in the value's compression
560
+ +// header byte. The twin/widths tables in the same fixture cover the OFF
561
+ +// (default) form, so both wrappings must decode. Fixture schema
562
+ +// (mariadb:11.8):
563
+ +//
564
+ +// CREATE TABLE wrapt (
565
+ +// id INT PRIMARY KEY,
566
+ +// vc VARCHAR(600) COMPRESSED CHARACTER SET utf8mb4,
567
+ +// tc TEXT COMPRESSED CHARACTER SET latin1
568
+ +// );
569
+ +// SET SESSION column_compression_zlib_wrap=ON;
570
+ +// INSERT INTO wrapt VALUES (1, REPEAT('compress-me-',40), REPEAT('xyz',300));
571
+ +// INSERT INTO wrapt VALUES (2, 'short', 'tiny');
572
+ +func TestMariadbCompressedColumnsZlibWrap(t *testing.T) {
573
+ + f := parseBinlogFixture(t, "mariadb-11.8-compressed-columns.binlog")
574
+ + events := f.rows["wrapt"]
575
+ + require.Len(t, events, 2)
576
+ + require.Equal(t,
577
+ + []any{int32(1), strings.Repeat("compress-me-", 40), []byte(strings.Repeat("xyz", 300))},
578
+ + events[0].Rows[0])
579
+ + require.Equal(t, []any{int32(2), "short", []byte("tiny")}, events[1].Rows[0])
580
+ +}
581
+ +
582
+ +// TestMariadbCompressedColumnsInsideCompressedEvents parses a binlog written
583
+ +// with log_bin_compress=ON: the rows events themselves arrive as mariadb
584
+ +// *_COMPRESSED_EVENT_V1 (zlib-wrapped whole-event payload), and the columns
585
+ +// inside them use column compression on top. Both layers must decode, and
586
+ +// the existing event-level decompression must not be disturbed. Fixture
587
+ +// schema (mariadb:11.8):
588
+ +//
589
+ +// CREATE TABLE nested (
590
+ +// id INT PRIMARY KEY,
591
+ +// vc VARCHAR(600) COMPRESSED CHARACTER SET utf8mb4,
592
+ +// tc TEXT COMPRESSED CHARACTER SET latin1
593
+ +// );
594
+ +// SET GLOBAL log_bin_compress=ON;
595
+ +// SET GLOBAL log_bin_compress_min_len=10;
596
+ +// INSERT INTO nested VALUES (1, REPEAT('compress-me-',40), REPEAT('xyz',300));
597
+ +// INSERT INTO nested VALUES (2, 'short', 'tiny');
598
+ +func TestMariadbCompressedColumnsInsideCompressedEvents(t *testing.T) {
599
+ + f := parseBinlogFixture(t, "mariadb-11.8-compressed-columns-log-bin-compress.binlog")
600
+ +
601
+ + require.Contains(t, f.types, MARIADB_WRITE_ROWS_COMPRESSED_EVENT_V1)
602
+ +
603
+ + events := f.rows["nested"]
604
+ + require.Len(t, events, 2)
605
+ + require.Equal(t,
606
+ + []any{int32(1), strings.Repeat("compress-me-", 40), []byte(strings.Repeat("xyz", 300))},
607
+ + events[0].Rows[0])
608
+ + require.Equal(t, []any{int32(2), "short", "tiny"}, []any{
609
+ + events[1].Rows[0][0], events[1].Rows[0][1], string(events[1].Rows[0][2].([]byte)),
610
+ + })
611
+ +}
612
+ +
613
+ +// TestMariadbCompressedColumnsMariadb1011 parses the same kind of capture
614
+ +// taken from mariadb:10.11, whose default collations differ from 11.8
615
+ +// (pre-uca1400 ids). Fixture schema:
616
+ +//
617
+ +// CREATE TABLE mixed (
618
+ +// id INT PRIMARY KEY,
619
+ +// a VARCHAR(50) CHARACTER SET latin1 COLLATE latin1_bin,
620
+ +// b VARCHAR(100) COMPRESSED CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
621
+ +// c TEXT COMPRESSED CHARACTER SET latin2,
622
+ +// d VARCHAR(60) CHARACTER SET ascii,
623
+ +// e TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
624
+ +// f VARCHAR(20) CHARACTER SET cp1251
625
+ +// );
626
+ +// INSERT INTO mixed VALUES (1, 'aaa', REPEAT('payload-',9), REPEAT('xyz',300), 'dddd', 'eeee', 'fff');
627
+ +// INSERT INTO mixed VALUES (2, 'b', 's', 't', 'z', 'w', 'q');
628
+ +func TestMariadbCompressedColumnsMariadb1011(t *testing.T) {
629
+ + f := parseBinlogFixture(t, "mariadb-10.11-compressed-columns.binlog")
630
+ +
631
+ + mixed := f.tableMaps["mixed"]
632
+ + require.NotNil(t, mixed)
633
+ + require.Equal(t, []uint16{0, 50, 401, 2, 60, 2, 20}, mixed.ColumnMeta)
634
+ + require.Equal(t, map[int]uint64{1: 47, 2: 46, 3: 9, 4: 11, 5: 83, 6: 51},
635
+ + mixed.CollationMap())
636
+ +
637
+ + events := f.rows["mixed"]
638
+ + require.Len(t, events, 2)
639
+ + require.Equal(t, []any{
640
+ + int32(1), "aaa", strings.Repeat("payload-", 9),
641
+ + []byte(strings.Repeat("xyz", 300)), "dddd", []byte("eeee"), "fff",
642
+ + }, events[0].Rows[0])
643
+ + require.Equal(t, []any{
644
+ + int32(2), "b", "s", []byte("t"), "z", []byte("w"), "q",
645
+ + }, events[1].Rows[0])
646
+ +}
647
+ diff --git a/replication/testdata/mariadb-10.11-compressed-columns.binlog b/replication/testdata/mariadb-10.11-compressed-columns.binlog
648
+ new file mode 100644
649
+ index 0000000000000000000000000000000000000000..24bf4aa16651aec71e5f66e77cd9c36533871668
650
+ GIT binary patch
651
+ literal 1115
652
+ zcmcIjO=uHQ5T3WY+I5?-wFxMqxOi|AyPNK&Vl8-S=^_hSYZ67!%WgN(NNP=!(k6#i
653
+ z(Ua)GOTD%Rq^LKq#gl@dcoP(a9{i(-;Gy897H8g?NGzVzfp6ZtH}mGr%(uJY7cbS9
654
+ z?_5+F0IVZ`43NOKQnsD42h8K%WYHTQGN=5hblN&-mL|?q#Acy1vBOc2p&KNWZh-e7
655
+ z?UFH4mSq7KMNz_QEn{<*|9m3FB#2@;SONRGwD6XSZcxj62)y^Og5JjD3ON_)%s{x@
656
+ zxgD+XTBTeHOq^WGBC)@}`S6Zn?^4JCL<J2woFwi@BH{Aw>gpIpE>L70@r7q~N3u>P
657
+ zr@14!6WVxjCLd_02ala{vRcA6G~M$&-Ow`5s56*L=$E}(X~GLk-55yzI-RN2b)(O+
658
+ z@JJ6(@PeL4p|wyb=*buH$TfO7Mh~7txWoujMZ$npVGDm5Iz;u>O?6#W(r}vzM?i?f
659
+ zEMp*U?M-d#%=SsDPz;#Id^W}cmS+W-!Q#uOhbZ?B$~})*Y0KR)cZD1x_Td6F>;K!e
660
+ z3vP(lA1pn*ztd@4h(~t|AW`EIP}?H*{OQ^JW2&l)9^Z@D;8k^^MPj`^x<>96X$g@?
661
+ z<1t}GleB%AGn`&d+DY`)FcJs&N7B+bbe|?)Ayp-X>}dKlsj{AYbZ?Heaq)^L{3l$j
662
+ z?e7_CanX-uMkFe>nH#yF4w;X-f~c}OgK1VC?T6L2VfFB9KR;XeIJ`VdZi!}TA<l9)
663
+ PSGfEAk4Qgxu6+Ihb_mis
664
+
665
+ literal 0
666
+ HcmV?d00001
667
+
668
+ diff --git a/replication/testdata/mariadb-11.8-compressed-columns-log-bin-compress.binlog b/replication/testdata/mariadb-11.8-compressed-columns-log-bin-compress.binlog
669
+ new file mode 100644
670
+ index 0000000000000000000000000000000000000000..ebb0c38d806a4b4b06526bbdb903968821806cc0
671
+ GIT binary patch
672
+ literal 992
673
+ zcmeyDl$lqyXL=StBLf4&A0TD`F&J1F3=Q=x^elCK6N@qvU7U1FlS++D3`}%$^3y@`
674
+ z*Z{~FVGCXc4hA6x79bE}V0gm7BE<nz%fZ3H1f;mQxF8zg3~c7mRE$NKg@G679H0vr
675
+ zAHBbo3Uc&fke6ja80>e5{mE5FI6#sML1H>U><N|>1hR4~iwkp7bb%qKX8;0*ccsNW
676
+ zL24I)lxP8QF_6Il2}vLi1b76vLDYh+cE3R?7l2eIfkeQ-(=XUHC`7^2FT`IVFSWQN
677
+ zHANxJ(I?b3SV6;3M<K{Hz|}ECLp?b^x1cDsxL7wgRaafd#6S}vRZ&@`u48OqpsD$-
678
+ z^@%gc24Rp5UQqKH7$m_gMh3<b1~!Nd49v{EJ<N%mOl*vd49qNl7&tjtIGHk2n97ow
679
+ zN|HGk8JOnfgMGCOWKuMSNzCkx`W172A3Sm3fWom0M}HjneWx;(S3h=dc6#mlU#FIS
680
+ zik@xAVNhbYeNEiPw5ctxAMpsrNvg3i6wKs%TrufwG02euAfx4hcqS-$FzA8^AULkw
681
+ z+lUgLhk?=@3}7`76|nGBIF#xN4^LO995AkMho_N_f_iaAeo=`!kWrGESE;V~r{TwK
682
+ z8U&d=+&Qqo2L_o4D9DZ+IB?+Dfq*#^<3kReIuI~vW;iE<o;S;{rHch}QG#UyGsp}*
683
+ gs6m!R%Qk|fSwNv?0K^Z#(kxJE^kiwIeKYqx0FtJ}DgXcg
684
+
685
+ literal 0
686
+ HcmV?d00001
687
+
688
+ diff --git a/replication/testdata/mariadb-11.8-compressed-columns.binlog b/replication/testdata/mariadb-11.8-compressed-columns.binlog
689
+ new file mode 100644
690
+ index 0000000000000000000000000000000000000000..8bb4edfd480bb96f6dc408d3905d31066e017e00
691
+ GIT binary patch
692
+ literal 9166
693
+ zcmeHN3vg7`89w*!Cb<cLghwDkz(vtznIztO_ujj^JPd)X74pDBKnfJRkG&F_$0k|w
694
+ za?}jI8iW}^kkRs#S1VXsv^vwNqo9L*iMI8@sI5_y7AUsTc1VFj|NrdWyL%yVbgHT2
695
+ z<R9)iH|IZl&VRr2pa1;l|GB8u)VKU%(~2C15OM(?f-l5P1fe)s94e|*n`+du8AU6#
696
+ zm7>H;MYRpLBfmGoVTK0>6OIfcZlGa=d_>%%Iq1uA91B%eR#yCn_DgT$e5Gyf;chY*
697
+ z!~qGI5C8T~1cly-pF9>H`t9-g^^TW0WbVMWLU?9T=1_R6Yj19>HHrYaVjfBO<Csyi
698
+ zu<zs8WfDBi@WREBgujrobJMXJ+W2D^_S}v=pT!nRv#REW=T>`WRaMXN#9C|WJqt=J
699
+ z=7;BbCJKd~x#3&FrPUL?dP7~bDbn0rR2M1o7D~MDvshUk`*&^a9o|AepW6S*rZ%st
700
+ zc?-p0O0Q&-Z}HT(-$AK|qtp>gW&+EM#1JM%+$c54aOJGMuqJ11)@_+;Cd)p=tYhwC
701
+ z7~;yhKr-PU$CZ@0^Vk}LZHcliIvb0!F`d<-tfq4exxVAZjX23Doa9dwEgU{ENygos
702
+ z$mnKLaTs`y>%%t*hmmA8(_Mb#wW5i$i;CZRwero%agm%U3c1$>YCG_60D%Dn{*MUc
703
+ zlGUzz_x*7H6Zzqt%SQ|@U`al+Z-9D5APX#6{^I95M%?Bio*C-}Jl%5f5W5<l2Q#4{
704
+ zL$CnK%~T&jw(UXu4A>k&rzt^}2XS(+F9&;44?;^YNuM5sSm^OKFK=jyc~f6vHTCV-
705
+ zVAXA2UVuMo<txrxwh3qGztet}{TV5zJ$`!{p`wE`Kx;QadD953!0&)AjJm6($pP#~
706
+ z)W^)RhTOLF=4lRKhYUhsUG|K&YqoG|+IMYWXWRTff%OA?2;mivujAz2+WrMlw8c#U
707
+ zF!dXezw$dffA2tQNH#X-Vga-<|EZ51NCkn-!A&4ZmI_AiJGk3MYJtt}6Dg_CQ#HS$
708
+ z;<HQN3lF|=pnp-j-WENH+C}`{yxfof?m!A|H9+Y5Bds~|z+MMZ8n8J~)+AX-HPw83
709
+ zzl~I<&F&K^IqB24c?(0K6d(WczhV0d4yWF3NMh~V!pk4@FQzKmH%duNyAc_kw0-qt
710
+ zkp7vay&s4pUB<rsyQaalbm#*=aH!)e)Vjq1hJC%^y%vW$ehO@k*f%Hu-%`g#_xyFF
711
+ zt&aQc!=+DkRQlesZC=qd1zu4^Syg34)D>Qrq=29WRFl`$KrrZ66-Cl{)gLi5At3Rh
712
+ z6cXg1BFmB_i>jtbiXJg|F{t??N|2ZMpb`<(KtuwLXa@CwEQ)eO2pMM3kRxg&6cPdv
713
+ zLGr6Y#1#D|54}Q?WbjHr&`rN6>wZP{i;^Hox)FfBvJwnQs>I7?P?k-<Uou5QmxHn{
714
+ zsY=9e@LDJ&3cBVu4ZmRUA=NNUQSh6B90<t~1?H1AUJ`j3=P@I^CJ4H0>Qayo>7t<u
715
+ zf+Cn9$&f??1`7zP-){y(rlgCy7*qlp{6aBwQ4<ACGRy!yTL%F90)Y9(?rA&RzozTf
716
+ zUQE|k+(nO&8$M0f7VXv!XO}fT_f+=Y?@u->vTl5L)bt7K7DlSWlb*fl$m<iIKHfR~
717
+ z{txzk^z4kDSLR;#!IqvkPo7wJ*NDmE&XlCj*if0?_?oyxnKxlX#oOyvF5j>#t!Mr}
718
+ zq%-d=Tr#_U+Mq|r|EA;*V>6$8e|$+^`_dIB7P~zQW^C*JX~D9WJ2w~Y7<u)EH;RtE
719
+ zJ=)*1t)g(^?JsoK9Xc?k^6Vz^H5Kfi6PEtjVX)dp;E^yK3m|cQ7j-agXZLYnb0j0q
720
+ zrKM%C>W=OB&^B1xZGN8yD`20W%T~tBV4Ws;__nYT3Y5xF&Mci74wjaN!iApHK-cH#
721
+ znmkieO`@;y;r~SYS4neiuP%AM_8@Yvv&T2>KE8SXU!K@H@G=0xH$W305XioMhjQnM
722
+ zr$gUcy8p4WwHt(A=by_a$AA9JdWUs+D<3TbH8D`H=<ZmBY}>k!tI)b&8X`fKb-DFa
723
+ zQ_>v**U_T+x0IDuhvRYhdEshLi|(1`nK`FwCPd*|bhz;qt&AF8aLrqyDU7Ji@Z5TH
724
+ zcy8EJV*ppIIK9WyZx$jSPq2=}ccg^Q@9zAZw`tlhGk)8~&xE@)y?Nt%Z@2H<4-YVo
725
+ zwa`Z6^m&#HXBzLj+OZaEfXxva`mnlKYjJeauw&ShhBYLMM@U(?A`EMB)7&|g@dZi2
726
+ z)<1ed-sFD6_A10yv;|9A-%i^iTg(Y}%-QF_q-6|pMq2D+1*`lHOtu4?BQ$DZb+Irx
727
+ zy!79DY)sZ!JV->PB#Y{5+9F13w#cihDtMcTq)}9DuWe8bNEkWplF5{i*8sv0MngT8
728
+ z(ZWWoB0x}!ya)-XBDj@$P1E%H&I><z-Uj?0TcG%t(L7KZ6^IOiM9`X?ix)2p=GG1o
729
+ z$vTFeO3pGp44X$TW-!c)uJjv<GY8G{yGKDbh*24h(HVn@FeY<5vz)16R%E#@5H2l^
730
+ zWui=DI>)jN^{xifge=k0y2of7jb@2<T_M7tOBtjGSIPxAKv*g9{r_uyW!Te=z%ed2
731
+ zL9E)(Uy75P08pz&znkt*fL2T{l2MklZ(VcfkV64>0GlHam$J!HfENp%G;9ShZEoKR
732
+ zfWbb<<3Yp^3mWo+<R2_9tR7T!ZCl|@2!%q09`Kf+$@ggW(L29Rs~WaHG@)2@RndYm
733
+ z8kEiO#F!42Wk{=@a2i?CsO(!<;(+~=aX1n^9H8!qzHr(Bdp?9=IYMJ#*bm5peJYtU
734
+ z#fE)5<zSHtduxpmTi%?y@e(@@cAqFqDS;cztIBdpgANTCxk<^<!VU~zCOM@S?7z#K
735
+ zU=0=M<2xtwRDo!KR<q@c>lfXI>2diWA-i_%8X)cxU<b;|Vmg*}acL#)t6=B3TR>DS
736
+ zWHuIK>tbwejMX&QWs}c(=?rw24YKb=i5aY1EZ23hyrSS&h+@~J^4X(*2X9@!EUy{|
737
+ zxG#bTH#0PP`k;WnKD7P7sci>`ZJllpWlR0VUm9F6xO4PpPA&WLM$ZPnV_|vun6#ap
738
+ z=LmV}+Sfu3ttuOjB7;vsX<6FTEe@@!2R27&ywK{BolBMUp`+)sY^_o)-ep?Vq()=C
739
+ zDOGBI_p;nS<bvYqeP2c8`{Qr|suszRdR+hG*0~iYATHP1H7-cdr(<s3jfr`8Ce6x2
740
+ zN**)u|GMt*t2hu{{Ux@fiGf@h)WQ~!RZMr==3X+j=L()XIFhV#-P^X=ktuqq<43WL
741
+ zM;E<^W7~O<hp)j2=uU+?@X7tBkZn6}&jXvY(<Io{g46tM)oScX9fmSwP;zWi2b_*X
742
+ z2+e!=jL4R39OKJHOisvRnH~T+qX%pjM&zh7WhF3*$JTZ^pxAmX{t}ZzNUh(RUWsfs
743
+ X?in7QBb4n%9?<3g2}SgDEm-(pFOfIb
744
+
745
+ literal 0
746
+ HcmV?d00001
747
+
harbor/sources/go-mysql-v9/task/grader/README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Grader — `go_mysql_mariadb_compressed_columns`
2
+
3
+ Execution- and byte-identity-only grading for the go-mysql MariaDB
4
+ compressed-columns task. No LLM judge anywhere: every verdict is a process exit
5
+ code or a comparison against bytes a real MariaDB/MySQL server wrote.
6
+
7
+ ## Layout
8
+
9
+ ```
10
+ run_grading.sh dispatcher; one shell function per check (two scope
11
+ gates and ten scored criteria, board v2)
12
+ tasks.py the scoreboard: GRADERS (weights, blockers), GATES
13
+ (no weight, cap only), FLAT blocker cap
14
+ lib/harness.py builds the candidate dumper, loads the corpus,
15
+ compares rows and metadata
16
+ tests/check_*.py one hidden check per gate/criterion.
17
+ check_compressed_decode_identity.py is board v1's
18
+ single merged criterion, kept for the record and no
19
+ longer dispatched
20
+ tools/dump_binlog.go the dumper: copied into the agent's tree at grading
21
+ time, built, removed again
22
+ tools/build_corpus.py image-build time: captures the corpus from real
23
+ servers and reads the truth back out of them
24
+ tools/record_baseline.py image-build time: the BASE build's own parse of the
25
+ control logs
26
+ tools/calibrate.py local calibration and the image's own build-time
27
+ gate: asserts gold 1.00 / base 0.00 / noop 0.00 plus
28
+ the two programme rules on weights and the cap
29
+ tools/reviewer_probes_check.py
30
+ calibration-only replay of the gold reviewer's
31
+ independent out-of-corpus probes
32
+ data/corpus/*.binlog 17 hidden captures (MariaDB 10.6/10.11/11.4/11.8,
33
+ MySQL 8.0/8.4)
34
+ data/expected/*.json per capture: every row image as (length, md5, hex)
35
+ and every per-column metadatum, straight out of the
36
+ producing server
37
+ data/baseline/*.json the untouched base build's parse of the four control
38
+ logs, plus the MariaDB compressed-event type names it
39
+ reports
40
+ data/repro/ the oracles for the two repro captures, plus the
41
+ UNPUBLISHED wrapon capture. The published capture's
42
+ bytes live one level up, in task/shared/repro/: it is
43
+ the only file both the agent (/workspace/repro/) and
44
+ the grader (/hud/grader/data/repro/) get, so it is
45
+ copied OUT of a shared source into both, never out of
46
+ this hidden tree into the workspace.
47
+ data/corpus_manifest.json producer of every capture: image, version, flags,
48
+ compression settings
49
+ ```
50
+
51
+ ## The oracle
52
+
53
+ | side | what it is |
54
+ |---|---|
55
+ | reference, semantic criteria | the **server that wrote the log**: `SELECT LENGTH(c), MD5(c), HEX(c)` per column for the values, `information_schema` for collation ids, signedness, enum/set members and visibility. Recorded into `data/expected/` while the image is built. |
56
+ | reference, regression criterion | the **base build's own parse**, recorded into `data/baseline/` while the image is built. |
57
+ | candidate | the agent's tree: `tools/dump_binlog.go` is copied in as a throw-away package, built, removed, and run over the corpus. |
58
+
59
+ Round-trip is impossible by construction — go-mysql cannot *write* binlog
60
+ events — so nothing the agent builds can produce this side of the comparison.
61
+
62
+ ## Criteria
63
+
64
+ | criterion | weight | blocker | what it checks | ticket sentence it rests on |
65
+ |---|---|---|---|---|
66
+ | `offline_suite_green` | 0% | yes | `go build ./...` and `go test` over `replication`, `mysql`, `serialization`, `compress`, `packet`, `utils` | "Validate with the repo's own gates … the offline suite must stay green." |
67
+ | `untouched_paths_regression` | 0% | yes | four control logs (MySQL 8.0, MySQL 8.4, MariaDB 11.8 without compressed columns, MariaDB with `log_bin_compress=ON` and no compressed columns) parse to exactly what the base build produced | "Everything that decodes today must keep decoding to the same bytes: the MySQL flavor and the existing MariaDB paths must not move." |
68
+ | `compressed_decode_identity` | 55% | **yes, all-or-nothing** | 9 captures on MariaDB 10.11 and 11.8, 7 server configurations: every row image byte-for-byte as the server stored it, every per-column metadatum as `information_schema` records it | "Row values must come out byte-for-byte identical …", "… whatever server compression settings produced the log", "… right for every column in the table, not just the compressed ones" |
69
+ | `plain_twin_equivalence` | 15% | no | the twin tables: the same data in a plain and in a COMPRESSED column must decode to the same Go value — same type, same bytes | "a COMPRESSED column must decode to exactly what the same data in a plain column would give" |
70
+ | `nested_event_compression` | 15% | no | a `log_bin_compress=ON` capture carrying compressed columns: values, metadata, and the event layer still arriving as the MariaDB compressed-event types the base build reports | "Some of our servers also run binlog event compression …" |
71
+ | `version_breadth` | 10% | no | the same schema captured on 10.6 and on 11.4, whose default collation ids differ | "across the MariaDB versions we run (10.6 through 11.8)" |
72
+ | `iterator_adjacency` | 5% | no | a wide table (compressed first, enum/set between, invisible compressed column, unsigned numerics, five charsets) and its plain twin of the same layout: every optional-metadata accessor agrees with `information_schema` and with the plain twin | "right for every column … character sets and collations, signedness, enum/set definitions, visibility" |
73
+
74
+ Blocking weight is 0.55 (the program ceiling is 0.60); `BLOCKER_CAP` is a flat
75
+ 0.60 (the program floor is 0.60). Failing any blocker sets the ceiling at 0.60
76
+ and nothing lowers it further.
77
+
78
+ ## Anti-vacuum guards
79
+
80
+ Each check refuses to pass on a corpus that could not have caught anything:
81
+
82
+ * `compressed_decode_identity` fails the run unless the blocker corpus spans
83
+ ≥2 MariaDB majors, ≥2 server configurations and both wrapper forms, and
84
+ unless the compressed cells it compares include ≥3 empty, ≥3 NULL, ≥8 short
85
+ (<100 bytes), ≥20 long and ≥2 over 64 KiB values across ≥15 compressed
86
+ columns;
87
+ * `plain_twin_equivalence` requires ≥6 twin pairs, ≥40 comparisons and ≥20 of
88
+ them non-NULL, and checks that each declared pair really is plain+COMPRESSED;
89
+ * `version_breadth` requires ≥2 server versions and refuses to run unless the
90
+ version captures really do carry different collation ids for the same column;
91
+ * `iterator_adjacency` requires ≥3 compressed columns, ≥4 distinct collations,
92
+ enum and set columns and an invisible column in the adjacency table;
93
+ * `untouched_paths_regression` requires both flavors, refuses a control log the
94
+ base build cannot parse, and refuses one with fewer than 2 row images;
95
+ * `nested_event_compression` refuses to run if the base build reported no
96
+ MariaDB compressed rows-event type at all.
97
+
98
+ ## Deliberate fairness cuts
99
+
100
+ * **Go type of a decoded compressed value.** The blocker accepts either
101
+ `string` or `[]byte` for a character column: the ticket does not name a type.
102
+ Type identity is held only where the ticket does name it — against the plain
103
+ twin, in `plain_twin_equivalence`.
104
+ * **`ColumnType` / `ColumnMeta`.** Never asserted directly. A solver may
105
+ legitimately normalise the compressed type codes away; what is graded is the
106
+ values and the metadata accessors the ticket names.
107
+ * **Behaviour on an unknown compression method.** Not graded: the servers only
108
+ ever write methods 0 and 8, so no corpus file contains anything else, and a
109
+ tree that refuses cleanly is indistinguishable from one that never has to.
110
+ * **`binlog_row_metadata=MINIMAL`.** The MINIMAL capture is held only to the
111
+ metadata MINIMAL actually records (charsets and signedness) — never to column
112
+ names, enum/set members or the primary key, which the server did not write.
113
+ * **`binlog_row_image=NOBLOB`.** The TEXT/BLOB columns the server left out of
114
+ the partial images are expected to be absent, not present.
115
+ * **New identifiers.** Nothing in the grader names anything the agent must
116
+ invent; every literal compared is either an existing repo API name, a server
117
+ fact, or a value quoted in the ticket.
118
+
119
+ ## Building the image
120
+
121
+ `../../Dockerfile.hud` (the project root) holds every step. The corpus is the
122
+ one thing that is *not* built there — `tools/build_corpus.py` needs real
123
+ MariaDB and MySQL servers, so it runs on a workstation with docker and network
124
+ and its output is committed under `data/`:
125
+
126
+ ```bash
127
+ # once, on a workstation with docker: capture the corpus and read the truth
128
+ # out of the servers that wrote it
129
+ python3 tools/build_corpus.py
130
+ ```
131
+
132
+ Everything else happens inside `docker build -f Dockerfile.hud .`, in this
133
+ order: record the untouched base build's parse of the control logs
134
+ (`tools/record_baseline.py`), then prove the grader on the gold
135
+ (`tools/calibrate.py`). The build **fails** unless calibration prints
136
+ `CALIBRATION OK` and the reward row reads `**1.00** | **0.00** | **0.00**`
137
+ (gold / untouched base / cosmetic no-op) — an unbuildable image is better than
138
+ an uncalibrated one.
139
+
140
+ ## Calibrating locally (no Docker)
141
+
142
+ ```bash
143
+ GRADER_GO_TEST_HOST_FLAGS='-port 3399' MYSQL_FLAVOR=mysql \
144
+ python3 tools/calibrate.py --base <base tree> \
145
+ gold=<gold tree> base=<base tree> noop=<cosmetic-patch tree> \
146
+ alt_zlib=<wrong tree> fair_<name>=<honest-refusal tree>
147
+ python3 tools/reviewer_probes_check.py --probes ../review/probes \
148
+ gold=<gold tree> base=<base tree>
149
+ ```
150
+
151
+ `calibrate.py` reads `GRADERS`, `FRACTIONAL`, `BLOCKER_CAP` and
152
+ `PRISTINE_GREEN` straight out of `tasks.py`, so its numbers cannot drift from
153
+ the platform's; it refuses to run if the blocking weight exceeds 0.60, if the
154
+ cap falls below 0.60, or if a pristine-green criterion carries weight. Labels
155
+ are load-bearing: `gold` must score 1.00 with every criterion green, `base` and
156
+ `noop` must score 0.00 with the two gates green and every semantic criterion
157
+ flat red, `alt_*` must never reach 1.00 (and must be bound by the cap whenever
158
+ it drops a blocker), and `fair_*` must score exactly what the gold scores.
159
+
160
+ The environment is passed through unchanged, so the run is the run the platform
161
+ performs. Inside the image nothing listens on 3306; on a workstation that has a
162
+ server running, export the two variables above to reproduce that condition.
harbor/sources/go-mysql-v9/task/grader/data/baseline/_event_types.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "mariadb_compressed_rows_events": [
3
+ "MariadbDeleteRowsCompressedEventV1",
4
+ "MariadbUpdateRowsCompressedEventV1",
5
+ "MariadbWriteRowsCompressedEventV1"
6
+ ]
7
+ }
harbor/sources/go-mysql-v9/task/grader/data/baseline/mdb118-nested-plain.json ADDED
@@ -0,0 +1,681 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "events": [
3
+ {
4
+ "collation_map": null,
5
+ "enum_str_map": null,
6
+ "enumset_collation_map": null,
7
+ "geometry_type_map": null,
8
+ "kind": "other",
9
+ "seq": 0,
10
+ "set_str_map": null,
11
+ "type": "FormatDescriptionEvent",
12
+ "unsigned_map": null,
13
+ "visibility_map": null
14
+ },
15
+ {
16
+ "collation_map": null,
17
+ "enum_str_map": null,
18
+ "enumset_collation_map": null,
19
+ "geometry_type_map": null,
20
+ "kind": "other",
21
+ "seq": 1,
22
+ "set_str_map": null,
23
+ "type": "MariadbGTIDListEvent",
24
+ "unsigned_map": null,
25
+ "visibility_map": null
26
+ },
27
+ {
28
+ "collation_map": null,
29
+ "enum_str_map": null,
30
+ "enumset_collation_map": null,
31
+ "geometry_type_map": null,
32
+ "kind": "other",
33
+ "seq": 2,
34
+ "set_str_map": null,
35
+ "type": "MariadbBinLogCheckPointEvent",
36
+ "unsigned_map": null,
37
+ "visibility_map": null
38
+ },
39
+ {
40
+ "collation_map": null,
41
+ "enum_str_map": null,
42
+ "enumset_collation_map": null,
43
+ "geometry_type_map": null,
44
+ "kind": "other",
45
+ "seq": 3,
46
+ "set_str_map": null,
47
+ "type": "MariadbBinLogCheckPointEvent",
48
+ "unsigned_map": null,
49
+ "visibility_map": null
50
+ },
51
+ {
52
+ "collation_map": null,
53
+ "enum_str_map": null,
54
+ "enumset_collation_map": null,
55
+ "geometry_type_map": null,
56
+ "kind": "other",
57
+ "seq": 4,
58
+ "set_str_map": null,
59
+ "type": "MariadbGTIDEvent",
60
+ "unsigned_map": null,
61
+ "visibility_map": null
62
+ },
63
+ {
64
+ "collation_map": null,
65
+ "enum_str_map": null,
66
+ "enumset_collation_map": null,
67
+ "geometry_type_map": null,
68
+ "kind": "other",
69
+ "seq": 5,
70
+ "set_str_map": null,
71
+ "type": "MariadbQueryCompressedEvent",
72
+ "unsigned_map": null,
73
+ "visibility_map": null
74
+ },
75
+ {
76
+ "collation_map": null,
77
+ "enum_str_map": null,
78
+ "enumset_collation_map": null,
79
+ "geometry_type_map": null,
80
+ "kind": "other",
81
+ "seq": 6,
82
+ "set_str_map": null,
83
+ "type": "MariadbGTIDEvent",
84
+ "unsigned_map": null,
85
+ "visibility_map": null
86
+ },
87
+ {
88
+ "collation_map": null,
89
+ "enum_str_map": null,
90
+ "enumset_collation_map": null,
91
+ "geometry_type_map": null,
92
+ "kind": "other",
93
+ "seq": 7,
94
+ "set_str_map": null,
95
+ "type": "MariadbAnnotateRowsEvent",
96
+ "unsigned_map": null,
97
+ "visibility_map": null
98
+ },
99
+ {
100
+ "collation_map": {
101
+ "1": 2304,
102
+ "2": 8,
103
+ "3": 63
104
+ },
105
+ "column_count": 5,
106
+ "column_meta": [
107
+ 0,
108
+ 800,
109
+ 2,
110
+ 2,
111
+ 63233
112
+ ],
113
+ "column_names": [
114
+ "id",
115
+ "a",
116
+ "b",
117
+ "c",
118
+ "d"
119
+ ],
120
+ "column_type": [
121
+ 3,
122
+ 15,
123
+ 252,
124
+ 252,
125
+ 254
126
+ ],
127
+ "enum_str_map": {
128
+ "4": [
129
+ "x",
130
+ "y"
131
+ ]
132
+ },
133
+ "enumset_collation_map": {
134
+ "4": 9
135
+ },
136
+ "geometry_type_map": null,
137
+ "kind": "tablemap",
138
+ "primary_key": [
139
+ 0
140
+ ],
141
+ "schema": "probe",
142
+ "seq": 8,
143
+ "set_str_map": null,
144
+ "table": "nplain",
145
+ "type": "TableMapEvent",
146
+ "unsigned_map": {
147
+ "0": false
148
+ },
149
+ "visibility_map": null
150
+ },
151
+ {
152
+ "collation_map": null,
153
+ "enum_str_map": null,
154
+ "enumset_collation_map": null,
155
+ "geometry_type_map": null,
156
+ "kind": "rows",
157
+ "rows": [
158
+ [
159
+ {
160
+ "go_type": "int32",
161
+ "kind": "num",
162
+ "len": 0,
163
+ "num": "1"
164
+ },
165
+ {
166
+ "go_type": "string",
167
+ "hex": "706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d",
168
+ "kind": "str",
169
+ "len": 180,
170
+ "md5": "304b3458d496b5fbf1c05c1fed3a0610"
171
+ },
172
+ {
173
+ "go_type": "[]uint8",
174
+ "hex": "747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474",
175
+ "kind": "bytes",
176
+ "len": 900,
177
+ "md5": "f3e87db940ac15e83957afdeb089c53c"
178
+ },
179
+ {
180
+ "go_type": "[]uint8",
181
+ "hex": "cafebabe",
182
+ "kind": "bytes",
183
+ "len": 4,
184
+ "md5": "2d1bbde2acac0afd07646d98154f402e"
185
+ },
186
+ {
187
+ "go_type": "int64",
188
+ "kind": "num",
189
+ "len": 0,
190
+ "num": "2"
191
+ }
192
+ ]
193
+ ],
194
+ "rows_flags": 1,
195
+ "rows_version": 1,
196
+ "schema": "probe",
197
+ "seq": 9,
198
+ "set_str_map": null,
199
+ "table": "nplain",
200
+ "type": "MariadbWriteRowsCompressedEventV1",
201
+ "unsigned_map": null,
202
+ "visibility_map": null
203
+ },
204
+ {
205
+ "collation_map": null,
206
+ "enum_str_map": null,
207
+ "enumset_collation_map": null,
208
+ "geometry_type_map": null,
209
+ "kind": "other",
210
+ "seq": 10,
211
+ "set_str_map": null,
212
+ "type": "XIDEvent",
213
+ "unsigned_map": null,
214
+ "visibility_map": null
215
+ },
216
+ {
217
+ "collation_map": null,
218
+ "enum_str_map": null,
219
+ "enumset_collation_map": null,
220
+ "geometry_type_map": null,
221
+ "kind": "other",
222
+ "seq": 11,
223
+ "set_str_map": null,
224
+ "type": "MariadbGTIDEvent",
225
+ "unsigned_map": null,
226
+ "visibility_map": null
227
+ },
228
+ {
229
+ "collation_map": null,
230
+ "enum_str_map": null,
231
+ "enumset_collation_map": null,
232
+ "geometry_type_map": null,
233
+ "kind": "other",
234
+ "seq": 12,
235
+ "set_str_map": null,
236
+ "type": "MariadbAnnotateRowsEvent",
237
+ "unsigned_map": null,
238
+ "visibility_map": null
239
+ },
240
+ {
241
+ "collation_map": {
242
+ "1": 2304,
243
+ "2": 8,
244
+ "3": 63
245
+ },
246
+ "column_count": 5,
247
+ "column_meta": [
248
+ 0,
249
+ 800,
250
+ 2,
251
+ 2,
252
+ 63233
253
+ ],
254
+ "column_names": [
255
+ "id",
256
+ "a",
257
+ "b",
258
+ "c",
259
+ "d"
260
+ ],
261
+ "column_type": [
262
+ 3,
263
+ 15,
264
+ 252,
265
+ 252,
266
+ 254
267
+ ],
268
+ "enum_str_map": {
269
+ "4": [
270
+ "x",
271
+ "y"
272
+ ]
273
+ },
274
+ "enumset_collation_map": {
275
+ "4": 9
276
+ },
277
+ "geometry_type_map": null,
278
+ "kind": "tablemap",
279
+ "primary_key": [
280
+ 0
281
+ ],
282
+ "schema": "probe",
283
+ "seq": 13,
284
+ "set_str_map": null,
285
+ "table": "nplain",
286
+ "type": "TableMapEvent",
287
+ "unsigned_map": {
288
+ "0": false
289
+ },
290
+ "visibility_map": null
291
+ },
292
+ {
293
+ "collation_map": null,
294
+ "enum_str_map": null,
295
+ "enumset_collation_map": null,
296
+ "geometry_type_map": null,
297
+ "kind": "rows",
298
+ "rows": [
299
+ [
300
+ {
301
+ "go_type": "int32",
302
+ "kind": "num",
303
+ "len": 0,
304
+ "num": "2"
305
+ },
306
+ {
307
+ "go_type": "string",
308
+ "kind": "str",
309
+ "len": 0,
310
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
311
+ },
312
+ {
313
+ "go_type": "[]uint8",
314
+ "kind": "bytes",
315
+ "len": 0,
316
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
317
+ },
318
+ {
319
+ "go_type": "[]uint8",
320
+ "kind": "bytes",
321
+ "len": 0,
322
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
323
+ },
324
+ {
325
+ "go_type": "int64",
326
+ "kind": "num",
327
+ "len": 0,
328
+ "num": "1"
329
+ }
330
+ ]
331
+ ],
332
+ "rows_flags": 1,
333
+ "rows_version": 1,
334
+ "schema": "probe",
335
+ "seq": 14,
336
+ "set_str_map": null,
337
+ "table": "nplain",
338
+ "type": "MariadbWriteRowsCompressedEventV1",
339
+ "unsigned_map": null,
340
+ "visibility_map": null
341
+ },
342
+ {
343
+ "collation_map": null,
344
+ "enum_str_map": null,
345
+ "enumset_collation_map": null,
346
+ "geometry_type_map": null,
347
+ "kind": "other",
348
+ "seq": 15,
349
+ "set_str_map": null,
350
+ "type": "XIDEvent",
351
+ "unsigned_map": null,
352
+ "visibility_map": null
353
+ },
354
+ {
355
+ "collation_map": null,
356
+ "enum_str_map": null,
357
+ "enumset_collation_map": null,
358
+ "geometry_type_map": null,
359
+ "kind": "other",
360
+ "seq": 16,
361
+ "set_str_map": null,
362
+ "type": "MariadbGTIDEvent",
363
+ "unsigned_map": null,
364
+ "visibility_map": null
365
+ },
366
+ {
367
+ "collation_map": null,
368
+ "enum_str_map": null,
369
+ "enumset_collation_map": null,
370
+ "geometry_type_map": null,
371
+ "kind": "other",
372
+ "seq": 17,
373
+ "set_str_map": null,
374
+ "type": "MariadbAnnotateRowsEvent",
375
+ "unsigned_map": null,
376
+ "visibility_map": null
377
+ },
378
+ {
379
+ "collation_map": {
380
+ "1": 2304,
381
+ "2": 8,
382
+ "3": 63
383
+ },
384
+ "column_count": 5,
385
+ "column_meta": [
386
+ 0,
387
+ 800,
388
+ 2,
389
+ 2,
390
+ 63233
391
+ ],
392
+ "column_names": [
393
+ "id",
394
+ "a",
395
+ "b",
396
+ "c",
397
+ "d"
398
+ ],
399
+ "column_type": [
400
+ 3,
401
+ 15,
402
+ 252,
403
+ 252,
404
+ 254
405
+ ],
406
+ "enum_str_map": {
407
+ "4": [
408
+ "x",
409
+ "y"
410
+ ]
411
+ },
412
+ "enumset_collation_map": {
413
+ "4": 9
414
+ },
415
+ "geometry_type_map": null,
416
+ "kind": "tablemap",
417
+ "primary_key": [
418
+ 0
419
+ ],
420
+ "schema": "probe",
421
+ "seq": 18,
422
+ "set_str_map": null,
423
+ "table": "nplain",
424
+ "type": "TableMapEvent",
425
+ "unsigned_map": {
426
+ "0": false
427
+ },
428
+ "visibility_map": null
429
+ },
430
+ {
431
+ "collation_map": null,
432
+ "enum_str_map": null,
433
+ "enumset_collation_map": null,
434
+ "geometry_type_map": null,
435
+ "kind": "rows",
436
+ "rows": [
437
+ [
438
+ {
439
+ "go_type": "int32",
440
+ "kind": "num",
441
+ "len": 0,
442
+ "num": "1"
443
+ },
444
+ {
445
+ "go_type": "string",
446
+ "hex": "706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d706c61696e2d",
447
+ "kind": "str",
448
+ "len": 180,
449
+ "md5": "304b3458d496b5fbf1c05c1fed3a0610"
450
+ },
451
+ {
452
+ "go_type": "[]uint8",
453
+ "hex": "747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474",
454
+ "kind": "bytes",
455
+ "len": 900,
456
+ "md5": "f3e87db940ac15e83957afdeb089c53c"
457
+ },
458
+ {
459
+ "go_type": "[]uint8",
460
+ "hex": "cafebabe",
461
+ "kind": "bytes",
462
+ "len": 4,
463
+ "md5": "2d1bbde2acac0afd07646d98154f402e"
464
+ },
465
+ {
466
+ "go_type": "int64",
467
+ "kind": "num",
468
+ "len": 0,
469
+ "num": "2"
470
+ }
471
+ ],
472
+ [
473
+ {
474
+ "go_type": "int32",
475
+ "kind": "num",
476
+ "len": 0,
477
+ "num": "1"
478
+ },
479
+ {
480
+ "go_type": "string",
481
+ "hex": "6368616e676564",
482
+ "kind": "str",
483
+ "len": 7,
484
+ "md5": "8977dfac2f8e04cb96e66882235f5aba"
485
+ },
486
+ {
487
+ "go_type": "[]uint8",
488
+ "hex": "747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474",
489
+ "kind": "bytes",
490
+ "len": 900,
491
+ "md5": "f3e87db940ac15e83957afdeb089c53c"
492
+ },
493
+ {
494
+ "go_type": "[]uint8",
495
+ "hex": "cafebabe",
496
+ "kind": "bytes",
497
+ "len": 4,
498
+ "md5": "2d1bbde2acac0afd07646d98154f402e"
499
+ },
500
+ {
501
+ "go_type": "int64",
502
+ "kind": "num",
503
+ "len": 0,
504
+ "num": "2"
505
+ }
506
+ ]
507
+ ],
508
+ "rows_flags": 1,
509
+ "rows_version": 1,
510
+ "schema": "probe",
511
+ "seq": 19,
512
+ "set_str_map": null,
513
+ "table": "nplain",
514
+ "type": "MariadbUpdateRowsCompressedEventV1",
515
+ "unsigned_map": null,
516
+ "visibility_map": null
517
+ },
518
+ {
519
+ "collation_map": null,
520
+ "enum_str_map": null,
521
+ "enumset_collation_map": null,
522
+ "geometry_type_map": null,
523
+ "kind": "other",
524
+ "seq": 20,
525
+ "set_str_map": null,
526
+ "type": "XIDEvent",
527
+ "unsigned_map": null,
528
+ "visibility_map": null
529
+ },
530
+ {
531
+ "collation_map": null,
532
+ "enum_str_map": null,
533
+ "enumset_collation_map": null,
534
+ "geometry_type_map": null,
535
+ "kind": "other",
536
+ "seq": 21,
537
+ "set_str_map": null,
538
+ "type": "MariadbGTIDEvent",
539
+ "unsigned_map": null,
540
+ "visibility_map": null
541
+ },
542
+ {
543
+ "collation_map": null,
544
+ "enum_str_map": null,
545
+ "enumset_collation_map": null,
546
+ "geometry_type_map": null,
547
+ "kind": "other",
548
+ "seq": 22,
549
+ "set_str_map": null,
550
+ "type": "MariadbAnnotateRowsEvent",
551
+ "unsigned_map": null,
552
+ "visibility_map": null
553
+ },
554
+ {
555
+ "collation_map": {
556
+ "1": 2304,
557
+ "2": 8,
558
+ "3": 63
559
+ },
560
+ "column_count": 5,
561
+ "column_meta": [
562
+ 0,
563
+ 800,
564
+ 2,
565
+ 2,
566
+ 63233
567
+ ],
568
+ "column_names": [
569
+ "id",
570
+ "a",
571
+ "b",
572
+ "c",
573
+ "d"
574
+ ],
575
+ "column_type": [
576
+ 3,
577
+ 15,
578
+ 252,
579
+ 252,
580
+ 254
581
+ ],
582
+ "enum_str_map": {
583
+ "4": [
584
+ "x",
585
+ "y"
586
+ ]
587
+ },
588
+ "enumset_collation_map": {
589
+ "4": 9
590
+ },
591
+ "geometry_type_map": null,
592
+ "kind": "tablemap",
593
+ "primary_key": [
594
+ 0
595
+ ],
596
+ "schema": "probe",
597
+ "seq": 23,
598
+ "set_str_map": null,
599
+ "table": "nplain",
600
+ "type": "TableMapEvent",
601
+ "unsigned_map": {
602
+ "0": false
603
+ },
604
+ "visibility_map": null
605
+ },
606
+ {
607
+ "collation_map": null,
608
+ "enum_str_map": null,
609
+ "enumset_collation_map": null,
610
+ "geometry_type_map": null,
611
+ "kind": "rows",
612
+ "rows": [
613
+ [
614
+ {
615
+ "go_type": "int32",
616
+ "kind": "num",
617
+ "len": 0,
618
+ "num": "2"
619
+ },
620
+ {
621
+ "go_type": "string",
622
+ "kind": "str",
623
+ "len": 0,
624
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
625
+ },
626
+ {
627
+ "go_type": "[]uint8",
628
+ "kind": "bytes",
629
+ "len": 0,
630
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
631
+ },
632
+ {
633
+ "go_type": "[]uint8",
634
+ "kind": "bytes",
635
+ "len": 0,
636
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
637
+ },
638
+ {
639
+ "go_type": "int64",
640
+ "kind": "num",
641
+ "len": 0,
642
+ "num": "1"
643
+ }
644
+ ]
645
+ ],
646
+ "rows_flags": 1,
647
+ "rows_version": 1,
648
+ "schema": "probe",
649
+ "seq": 24,
650
+ "set_str_map": null,
651
+ "table": "nplain",
652
+ "type": "MariadbDeleteRowsCompressedEventV1",
653
+ "unsigned_map": null,
654
+ "visibility_map": null
655
+ },
656
+ {
657
+ "collation_map": null,
658
+ "enum_str_map": null,
659
+ "enumset_collation_map": null,
660
+ "geometry_type_map": null,
661
+ "kind": "other",
662
+ "seq": 25,
663
+ "set_str_map": null,
664
+ "type": "XIDEvent",
665
+ "unsigned_map": null,
666
+ "visibility_map": null
667
+ },
668
+ {
669
+ "collation_map": null,
670
+ "enum_str_map": null,
671
+ "enumset_collation_map": null,
672
+ "geometry_type_map": null,
673
+ "kind": "other",
674
+ "seq": 26,
675
+ "set_str_map": null,
676
+ "type": "RotateEvent",
677
+ "unsigned_map": null,
678
+ "visibility_map": null
679
+ }
680
+ ]
681
+ }
harbor/sources/go-mysql-v9/task/grader/data/baseline/mdb118-plain.json ADDED
@@ -0,0 +1,562 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "events": [
3
+ {
4
+ "collation_map": null,
5
+ "enum_str_map": null,
6
+ "enumset_collation_map": null,
7
+ "geometry_type_map": null,
8
+ "kind": "other",
9
+ "seq": 0,
10
+ "set_str_map": null,
11
+ "type": "FormatDescriptionEvent",
12
+ "unsigned_map": null,
13
+ "visibility_map": null
14
+ },
15
+ {
16
+ "collation_map": null,
17
+ "enum_str_map": null,
18
+ "enumset_collation_map": null,
19
+ "geometry_type_map": null,
20
+ "kind": "other",
21
+ "seq": 1,
22
+ "set_str_map": null,
23
+ "type": "MariadbGTIDListEvent",
24
+ "unsigned_map": null,
25
+ "visibility_map": null
26
+ },
27
+ {
28
+ "collation_map": null,
29
+ "enum_str_map": null,
30
+ "enumset_collation_map": null,
31
+ "geometry_type_map": null,
32
+ "kind": "other",
33
+ "seq": 2,
34
+ "set_str_map": null,
35
+ "type": "MariadbBinLogCheckPointEvent",
36
+ "unsigned_map": null,
37
+ "visibility_map": null
38
+ },
39
+ {
40
+ "collation_map": null,
41
+ "enum_str_map": null,
42
+ "enumset_collation_map": null,
43
+ "geometry_type_map": null,
44
+ "kind": "other",
45
+ "seq": 3,
46
+ "set_str_map": null,
47
+ "type": "MariadbBinLogCheckPointEvent",
48
+ "unsigned_map": null,
49
+ "visibility_map": null
50
+ },
51
+ {
52
+ "collation_map": null,
53
+ "enum_str_map": null,
54
+ "enumset_collation_map": null,
55
+ "geometry_type_map": null,
56
+ "kind": "other",
57
+ "seq": 4,
58
+ "set_str_map": null,
59
+ "type": "MariadbGTIDEvent",
60
+ "unsigned_map": null,
61
+ "visibility_map": null
62
+ },
63
+ {
64
+ "collation_map": null,
65
+ "enum_str_map": null,
66
+ "enumset_collation_map": null,
67
+ "geometry_type_map": null,
68
+ "kind": "other",
69
+ "seq": 5,
70
+ "set_str_map": null,
71
+ "type": "QueryEvent",
72
+ "unsigned_map": null,
73
+ "visibility_map": null
74
+ },
75
+ {
76
+ "collation_map": null,
77
+ "enum_str_map": null,
78
+ "enumset_collation_map": null,
79
+ "geometry_type_map": null,
80
+ "kind": "other",
81
+ "seq": 6,
82
+ "set_str_map": null,
83
+ "type": "MariadbGTIDEvent",
84
+ "unsigned_map": null,
85
+ "visibility_map": null
86
+ },
87
+ {
88
+ "collation_map": null,
89
+ "enum_str_map": null,
90
+ "enumset_collation_map": null,
91
+ "geometry_type_map": null,
92
+ "kind": "other",
93
+ "seq": 7,
94
+ "set_str_map": null,
95
+ "type": "MariadbAnnotateRowsEvent",
96
+ "unsigned_map": null,
97
+ "visibility_map": null
98
+ },
99
+ {
100
+ "collation_map": {
101
+ "1": 2304,
102
+ "14": 11,
103
+ "2": 8,
104
+ "3": 63
105
+ },
106
+ "column_count": 15,
107
+ "column_meta": [
108
+ 0,
109
+ 800,
110
+ 2,
111
+ 3,
112
+ 63233,
113
+ 63489,
114
+ 5126,
115
+ 8,
116
+ 3,
117
+ 0,
118
+ 6,
119
+ 0,
120
+ 259,
121
+ 0,
122
+ 65029
123
+ ],
124
+ "column_names": [
125
+ "id",
126
+ "a",
127
+ "b",
128
+ "c",
129
+ "d",
130
+ "e",
131
+ "f",
132
+ "g",
133
+ "h",
134
+ "i",
135
+ "j",
136
+ "k",
137
+ "l",
138
+ "m",
139
+ "n"
140
+ ],
141
+ "column_type": [
142
+ 3,
143
+ 15,
144
+ 252,
145
+ 252,
146
+ 254,
147
+ 254,
148
+ 246,
149
+ 5,
150
+ 18,
151
+ 10,
152
+ 19,
153
+ 8,
154
+ 16,
155
+ 1,
156
+ 254
157
+ ],
158
+ "enum_str_map": {
159
+ "4": [
160
+ "x",
161
+ "y"
162
+ ]
163
+ },
164
+ "enumset_collation_map": {
165
+ "4": 9,
166
+ "5": 41
167
+ },
168
+ "geometry_type_map": null,
169
+ "kind": "tablemap",
170
+ "primary_key": [
171
+ 0
172
+ ],
173
+ "schema": "probe",
174
+ "seq": 8,
175
+ "set_str_map": {
176
+ "5": [
177
+ "p",
178
+ "q",
179
+ "r"
180
+ ]
181
+ },
182
+ "table": "plain",
183
+ "type": "TableMapEvent",
184
+ "unsigned_map": {
185
+ "0": false,
186
+ "11": true,
187
+ "13": false,
188
+ "6": false,
189
+ "7": false
190
+ },
191
+ "visibility_map": null
192
+ },
193
+ {
194
+ "collation_map": null,
195
+ "enum_str_map": null,
196
+ "enumset_collation_map": null,
197
+ "geometry_type_map": null,
198
+ "kind": "rows",
199
+ "rows": [
200
+ [
201
+ {
202
+ "go_type": "int32",
203
+ "kind": "num",
204
+ "len": 0,
205
+ "num": "1"
206
+ },
207
+ {
208
+ "go_type": "string",
209
+ "hex": "757466382076616c7565",
210
+ "kind": "str",
211
+ "len": 10,
212
+ "md5": "96df50f06129ece0cb5b1eb4749a7034"
213
+ },
214
+ {
215
+ "go_type": "[]uint8",
216
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
217
+ "kind": "bytes",
218
+ "len": 300,
219
+ "md5": "098d6e32102285e5c967561f279198e1"
220
+ },
221
+ {
222
+ "go_type": "[]uint8",
223
+ "hex": "0011deadbeef",
224
+ "kind": "bytes",
225
+ "len": 6,
226
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
227
+ },
228
+ {
229
+ "go_type": "int64",
230
+ "kind": "num",
231
+ "len": 0,
232
+ "num": "2"
233
+ },
234
+ {
235
+ "go_type": "int64",
236
+ "kind": "num",
237
+ "len": 0,
238
+ "num": "5"
239
+ },
240
+ {
241
+ "go_type": "string",
242
+ "hex": "2d31323334352e363738393031",
243
+ "kind": "str",
244
+ "len": 13,
245
+ "md5": "f7cacee3e9faad99565862e000f54a72"
246
+ },
247
+ {
248
+ "go_type": "float64",
249
+ "kind": "num",
250
+ "len": 0,
251
+ "num": "3.5"
252
+ },
253
+ {
254
+ "go_type": "string",
255
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
256
+ "kind": "str",
257
+ "len": 23,
258
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
259
+ },
260
+ {
261
+ "go_type": "string",
262
+ "hex": "323032302d31322d3331",
263
+ "kind": "str",
264
+ "len": 10,
265
+ "md5": "137ad1bff4c016874cc17a18c1aebb82"
266
+ },
267
+ {
268
+ "go_type": "string",
269
+ "hex": "31303a32303a33302e313233343536",
270
+ "kind": "str",
271
+ "len": 15,
272
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
273
+ },
274
+ {
275
+ "go_type": "uint64",
276
+ "kind": "num",
277
+ "len": 0,
278
+ "num": "18446744073709551615"
279
+ },
280
+ {
281
+ "go_type": "int64",
282
+ "kind": "num",
283
+ "len": 0,
284
+ "num": "1365"
285
+ },
286
+ {
287
+ "go_type": "int8",
288
+ "kind": "num",
289
+ "len": 0,
290
+ "num": "-128"
291
+ },
292
+ {
293
+ "go_type": "string",
294
+ "hex": "6173636969",
295
+ "kind": "str",
296
+ "len": 5,
297
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
298
+ }
299
+ ]
300
+ ],
301
+ "rows_flags": 1,
302
+ "rows_version": 1,
303
+ "schema": "probe",
304
+ "seq": 9,
305
+ "set_str_map": null,
306
+ "table": "plain",
307
+ "type": "WriteRowsEventV1",
308
+ "unsigned_map": null,
309
+ "visibility_map": null
310
+ },
311
+ {
312
+ "collation_map": null,
313
+ "enum_str_map": null,
314
+ "enumset_collation_map": null,
315
+ "geometry_type_map": null,
316
+ "kind": "other",
317
+ "seq": 10,
318
+ "set_str_map": null,
319
+ "type": "XIDEvent",
320
+ "unsigned_map": null,
321
+ "visibility_map": null
322
+ },
323
+ {
324
+ "collation_map": null,
325
+ "enum_str_map": null,
326
+ "enumset_collation_map": null,
327
+ "geometry_type_map": null,
328
+ "kind": "other",
329
+ "seq": 11,
330
+ "set_str_map": null,
331
+ "type": "MariadbGTIDEvent",
332
+ "unsigned_map": null,
333
+ "visibility_map": null
334
+ },
335
+ {
336
+ "collation_map": null,
337
+ "enum_str_map": null,
338
+ "enumset_collation_map": null,
339
+ "geometry_type_map": null,
340
+ "kind": "other",
341
+ "seq": 12,
342
+ "set_str_map": null,
343
+ "type": "MariadbAnnotateRowsEvent",
344
+ "unsigned_map": null,
345
+ "visibility_map": null
346
+ },
347
+ {
348
+ "collation_map": {
349
+ "1": 2304,
350
+ "14": 11,
351
+ "2": 8,
352
+ "3": 63
353
+ },
354
+ "column_count": 15,
355
+ "column_meta": [
356
+ 0,
357
+ 800,
358
+ 2,
359
+ 3,
360
+ 63233,
361
+ 63489,
362
+ 5126,
363
+ 8,
364
+ 3,
365
+ 0,
366
+ 6,
367
+ 0,
368
+ 259,
369
+ 0,
370
+ 65029
371
+ ],
372
+ "column_names": [
373
+ "id",
374
+ "a",
375
+ "b",
376
+ "c",
377
+ "d",
378
+ "e",
379
+ "f",
380
+ "g",
381
+ "h",
382
+ "i",
383
+ "j",
384
+ "k",
385
+ "l",
386
+ "m",
387
+ "n"
388
+ ],
389
+ "column_type": [
390
+ 3,
391
+ 15,
392
+ 252,
393
+ 252,
394
+ 254,
395
+ 254,
396
+ 246,
397
+ 5,
398
+ 18,
399
+ 10,
400
+ 19,
401
+ 8,
402
+ 16,
403
+ 1,
404
+ 254
405
+ ],
406
+ "enum_str_map": {
407
+ "4": [
408
+ "x",
409
+ "y"
410
+ ]
411
+ },
412
+ "enumset_collation_map": {
413
+ "4": 9,
414
+ "5": 41
415
+ },
416
+ "geometry_type_map": null,
417
+ "kind": "tablemap",
418
+ "primary_key": [
419
+ 0
420
+ ],
421
+ "schema": "probe",
422
+ "seq": 13,
423
+ "set_str_map": {
424
+ "5": [
425
+ "p",
426
+ "q",
427
+ "r"
428
+ ]
429
+ },
430
+ "table": "plain",
431
+ "type": "TableMapEvent",
432
+ "unsigned_map": {
433
+ "0": false,
434
+ "11": true,
435
+ "13": false,
436
+ "6": false,
437
+ "7": false
438
+ },
439
+ "visibility_map": null
440
+ },
441
+ {
442
+ "collation_map": null,
443
+ "enum_str_map": null,
444
+ "enumset_collation_map": null,
445
+ "geometry_type_map": null,
446
+ "kind": "rows",
447
+ "rows": [
448
+ [
449
+ {
450
+ "go_type": "int32",
451
+ "kind": "num",
452
+ "len": 0,
453
+ "num": "2"
454
+ },
455
+ {
456
+ "go_type": "nil",
457
+ "kind": "null",
458
+ "len": 0
459
+ },
460
+ {
461
+ "go_type": "nil",
462
+ "kind": "null",
463
+ "len": 0
464
+ },
465
+ {
466
+ "go_type": "nil",
467
+ "kind": "null",
468
+ "len": 0
469
+ },
470
+ {
471
+ "go_type": "nil",
472
+ "kind": "null",
473
+ "len": 0
474
+ },
475
+ {
476
+ "go_type": "nil",
477
+ "kind": "null",
478
+ "len": 0
479
+ },
480
+ {
481
+ "go_type": "nil",
482
+ "kind": "null",
483
+ "len": 0
484
+ },
485
+ {
486
+ "go_type": "nil",
487
+ "kind": "null",
488
+ "len": 0
489
+ },
490
+ {
491
+ "go_type": "nil",
492
+ "kind": "null",
493
+ "len": 0
494
+ },
495
+ {
496
+ "go_type": "nil",
497
+ "kind": "null",
498
+ "len": 0
499
+ },
500
+ {
501
+ "go_type": "nil",
502
+ "kind": "null",
503
+ "len": 0
504
+ },
505
+ {
506
+ "go_type": "nil",
507
+ "kind": "null",
508
+ "len": 0
509
+ },
510
+ {
511
+ "go_type": "nil",
512
+ "kind": "null",
513
+ "len": 0
514
+ },
515
+ {
516
+ "go_type": "nil",
517
+ "kind": "null",
518
+ "len": 0
519
+ },
520
+ {
521
+ "go_type": "nil",
522
+ "kind": "null",
523
+ "len": 0
524
+ }
525
+ ]
526
+ ],
527
+ "rows_flags": 1,
528
+ "rows_version": 1,
529
+ "schema": "probe",
530
+ "seq": 14,
531
+ "set_str_map": null,
532
+ "table": "plain",
533
+ "type": "WriteRowsEventV1",
534
+ "unsigned_map": null,
535
+ "visibility_map": null
536
+ },
537
+ {
538
+ "collation_map": null,
539
+ "enum_str_map": null,
540
+ "enumset_collation_map": null,
541
+ "geometry_type_map": null,
542
+ "kind": "other",
543
+ "seq": 15,
544
+ "set_str_map": null,
545
+ "type": "XIDEvent",
546
+ "unsigned_map": null,
547
+ "visibility_map": null
548
+ },
549
+ {
550
+ "collation_map": null,
551
+ "enum_str_map": null,
552
+ "enumset_collation_map": null,
553
+ "geometry_type_map": null,
554
+ "kind": "other",
555
+ "seq": 16,
556
+ "set_str_map": null,
557
+ "type": "RotateEvent",
558
+ "unsigned_map": null,
559
+ "visibility_map": null
560
+ }
561
+ ]
562
+ }
harbor/sources/go-mysql-v9/task/grader/data/baseline/mysql80-types.json ADDED
@@ -0,0 +1,1176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "events": [
3
+ {
4
+ "collation_map": null,
5
+ "enum_str_map": null,
6
+ "enumset_collation_map": null,
7
+ "geometry_type_map": null,
8
+ "kind": "other",
9
+ "seq": 0,
10
+ "set_str_map": null,
11
+ "type": "FormatDescriptionEvent",
12
+ "unsigned_map": null,
13
+ "visibility_map": null
14
+ },
15
+ {
16
+ "collation_map": null,
17
+ "enum_str_map": null,
18
+ "enumset_collation_map": null,
19
+ "geometry_type_map": null,
20
+ "kind": "other",
21
+ "seq": 1,
22
+ "set_str_map": null,
23
+ "type": "PreviousGTIDsEvent",
24
+ "unsigned_map": null,
25
+ "visibility_map": null
26
+ },
27
+ {
28
+ "collation_map": null,
29
+ "enum_str_map": null,
30
+ "enumset_collation_map": null,
31
+ "geometry_type_map": null,
32
+ "kind": "other",
33
+ "seq": 2,
34
+ "set_str_map": null,
35
+ "type": "AnonymousGTIDEvent",
36
+ "unsigned_map": null,
37
+ "visibility_map": null
38
+ },
39
+ {
40
+ "collation_map": null,
41
+ "enum_str_map": null,
42
+ "enumset_collation_map": null,
43
+ "geometry_type_map": null,
44
+ "kind": "other",
45
+ "seq": 3,
46
+ "set_str_map": null,
47
+ "type": "QueryEvent",
48
+ "unsigned_map": null,
49
+ "visibility_map": null
50
+ },
51
+ {
52
+ "collation_map": null,
53
+ "enum_str_map": null,
54
+ "enumset_collation_map": null,
55
+ "geometry_type_map": null,
56
+ "kind": "other",
57
+ "seq": 4,
58
+ "set_str_map": null,
59
+ "type": "AnonymousGTIDEvent",
60
+ "unsigned_map": null,
61
+ "visibility_map": null
62
+ },
63
+ {
64
+ "collation_map": null,
65
+ "enum_str_map": null,
66
+ "enumset_collation_map": null,
67
+ "geometry_type_map": null,
68
+ "kind": "other",
69
+ "seq": 5,
70
+ "set_str_map": null,
71
+ "type": "QueryEvent",
72
+ "unsigned_map": null,
73
+ "visibility_map": null
74
+ },
75
+ {
76
+ "collation_map": {
77
+ "1": 255,
78
+ "14": 11,
79
+ "2": 8,
80
+ "3": 63
81
+ },
82
+ "column_count": 15,
83
+ "column_meta": [
84
+ 0,
85
+ 800,
86
+ 2,
87
+ 3,
88
+ 63233,
89
+ 63489,
90
+ 5126,
91
+ 8,
92
+ 3,
93
+ 4,
94
+ 6,
95
+ 0,
96
+ 259,
97
+ 0,
98
+ 65029
99
+ ],
100
+ "column_names": [
101
+ "id",
102
+ "a",
103
+ "b",
104
+ "c",
105
+ "d",
106
+ "e",
107
+ "f",
108
+ "g",
109
+ "h",
110
+ "i",
111
+ "j",
112
+ "k",
113
+ "l",
114
+ "m",
115
+ "n"
116
+ ],
117
+ "column_type": [
118
+ 3,
119
+ 15,
120
+ 252,
121
+ 252,
122
+ 254,
123
+ 254,
124
+ 246,
125
+ 5,
126
+ 18,
127
+ 245,
128
+ 19,
129
+ 8,
130
+ 16,
131
+ 1,
132
+ 254
133
+ ],
134
+ "enum_str_map": {
135
+ "4": [
136
+ "x",
137
+ "y"
138
+ ]
139
+ },
140
+ "enumset_collation_map": {
141
+ "4": 8,
142
+ "5": 8
143
+ },
144
+ "geometry_type_map": null,
145
+ "kind": "tablemap",
146
+ "primary_key": [
147
+ 0
148
+ ],
149
+ "schema": "probe",
150
+ "seq": 6,
151
+ "set_str_map": {
152
+ "5": [
153
+ "p",
154
+ "q",
155
+ "r"
156
+ ]
157
+ },
158
+ "table": "mtypes",
159
+ "type": "TableMapEvent",
160
+ "unsigned_map": {
161
+ "0": false,
162
+ "11": true,
163
+ "13": false,
164
+ "6": false,
165
+ "7": false
166
+ },
167
+ "visibility_map": {
168
+ "0": true,
169
+ "1": true,
170
+ "10": true,
171
+ "11": true,
172
+ "12": true,
173
+ "13": true,
174
+ "14": false,
175
+ "2": true,
176
+ "3": true,
177
+ "4": true,
178
+ "5": true,
179
+ "6": true,
180
+ "7": true,
181
+ "8": true,
182
+ "9": true
183
+ }
184
+ },
185
+ {
186
+ "collation_map": null,
187
+ "enum_str_map": null,
188
+ "enumset_collation_map": null,
189
+ "geometry_type_map": null,
190
+ "kind": "rows",
191
+ "rows": [
192
+ [
193
+ {
194
+ "go_type": "int32",
195
+ "kind": "num",
196
+ "len": 0,
197
+ "num": "1"
198
+ },
199
+ {
200
+ "go_type": "string",
201
+ "hex": "757466382076616c7565",
202
+ "kind": "str",
203
+ "len": 10,
204
+ "md5": "96df50f06129ece0cb5b1eb4749a7034"
205
+ },
206
+ {
207
+ "go_type": "[]uint8",
208
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
209
+ "kind": "bytes",
210
+ "len": 300,
211
+ "md5": "098d6e32102285e5c967561f279198e1"
212
+ },
213
+ {
214
+ "go_type": "[]uint8",
215
+ "hex": "0011deadbeef",
216
+ "kind": "bytes",
217
+ "len": 6,
218
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
219
+ },
220
+ {
221
+ "go_type": "int64",
222
+ "kind": "num",
223
+ "len": 0,
224
+ "num": "2"
225
+ },
226
+ {
227
+ "go_type": "int64",
228
+ "kind": "num",
229
+ "len": 0,
230
+ "num": "5"
231
+ },
232
+ {
233
+ "go_type": "string",
234
+ "hex": "2d31323334352e363738393031",
235
+ "kind": "str",
236
+ "len": 13,
237
+ "md5": "f7cacee3e9faad99565862e000f54a72"
238
+ },
239
+ {
240
+ "go_type": "float64",
241
+ "kind": "num",
242
+ "len": 0,
243
+ "num": "3.5"
244
+ },
245
+ {
246
+ "go_type": "string",
247
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
248
+ "kind": "str",
249
+ "len": 23,
250
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
251
+ },
252
+ {
253
+ "go_type": "string",
254
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
255
+ "kind": "str",
256
+ "len": 58,
257
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
258
+ },
259
+ {
260
+ "go_type": "string",
261
+ "hex": "31303a32303a33302e313233343536",
262
+ "kind": "str",
263
+ "len": 15,
264
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
265
+ },
266
+ {
267
+ "go_type": "uint64",
268
+ "kind": "num",
269
+ "len": 0,
270
+ "num": "18446744073709551615"
271
+ },
272
+ {
273
+ "go_type": "int64",
274
+ "kind": "num",
275
+ "len": 0,
276
+ "num": "1365"
277
+ },
278
+ {
279
+ "go_type": "int8",
280
+ "kind": "num",
281
+ "len": 0,
282
+ "num": "-128"
283
+ },
284
+ {
285
+ "go_type": "string",
286
+ "hex": "6173636969",
287
+ "kind": "str",
288
+ "len": 5,
289
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
290
+ }
291
+ ]
292
+ ],
293
+ "rows_flags": 1,
294
+ "rows_version": 2,
295
+ "schema": "probe",
296
+ "seq": 7,
297
+ "set_str_map": null,
298
+ "table": "mtypes",
299
+ "type": "WriteRowsEventV2",
300
+ "unsigned_map": null,
301
+ "visibility_map": null
302
+ },
303
+ {
304
+ "collation_map": null,
305
+ "enum_str_map": null,
306
+ "enumset_collation_map": null,
307
+ "geometry_type_map": null,
308
+ "kind": "other",
309
+ "seq": 8,
310
+ "set_str_map": null,
311
+ "type": "XIDEvent",
312
+ "unsigned_map": null,
313
+ "visibility_map": null
314
+ },
315
+ {
316
+ "collation_map": null,
317
+ "enum_str_map": null,
318
+ "enumset_collation_map": null,
319
+ "geometry_type_map": null,
320
+ "kind": "other",
321
+ "seq": 9,
322
+ "set_str_map": null,
323
+ "type": "AnonymousGTIDEvent",
324
+ "unsigned_map": null,
325
+ "visibility_map": null
326
+ },
327
+ {
328
+ "collation_map": null,
329
+ "enum_str_map": null,
330
+ "enumset_collation_map": null,
331
+ "geometry_type_map": null,
332
+ "kind": "other",
333
+ "seq": 10,
334
+ "set_str_map": null,
335
+ "type": "QueryEvent",
336
+ "unsigned_map": null,
337
+ "visibility_map": null
338
+ },
339
+ {
340
+ "collation_map": {
341
+ "1": 255,
342
+ "14": 11,
343
+ "2": 8,
344
+ "3": 63
345
+ },
346
+ "column_count": 15,
347
+ "column_meta": [
348
+ 0,
349
+ 800,
350
+ 2,
351
+ 3,
352
+ 63233,
353
+ 63489,
354
+ 5126,
355
+ 8,
356
+ 3,
357
+ 4,
358
+ 6,
359
+ 0,
360
+ 259,
361
+ 0,
362
+ 65029
363
+ ],
364
+ "column_names": [
365
+ "id",
366
+ "a",
367
+ "b",
368
+ "c",
369
+ "d",
370
+ "e",
371
+ "f",
372
+ "g",
373
+ "h",
374
+ "i",
375
+ "j",
376
+ "k",
377
+ "l",
378
+ "m",
379
+ "n"
380
+ ],
381
+ "column_type": [
382
+ 3,
383
+ 15,
384
+ 252,
385
+ 252,
386
+ 254,
387
+ 254,
388
+ 246,
389
+ 5,
390
+ 18,
391
+ 245,
392
+ 19,
393
+ 8,
394
+ 16,
395
+ 1,
396
+ 254
397
+ ],
398
+ "enum_str_map": {
399
+ "4": [
400
+ "x",
401
+ "y"
402
+ ]
403
+ },
404
+ "enumset_collation_map": {
405
+ "4": 8,
406
+ "5": 8
407
+ },
408
+ "geometry_type_map": null,
409
+ "kind": "tablemap",
410
+ "primary_key": [
411
+ 0
412
+ ],
413
+ "schema": "probe",
414
+ "seq": 11,
415
+ "set_str_map": {
416
+ "5": [
417
+ "p",
418
+ "q",
419
+ "r"
420
+ ]
421
+ },
422
+ "table": "mtypes",
423
+ "type": "TableMapEvent",
424
+ "unsigned_map": {
425
+ "0": false,
426
+ "11": true,
427
+ "13": false,
428
+ "6": false,
429
+ "7": false
430
+ },
431
+ "visibility_map": {
432
+ "0": true,
433
+ "1": true,
434
+ "10": true,
435
+ "11": true,
436
+ "12": true,
437
+ "13": true,
438
+ "14": false,
439
+ "2": true,
440
+ "3": true,
441
+ "4": true,
442
+ "5": true,
443
+ "6": true,
444
+ "7": true,
445
+ "8": true,
446
+ "9": true
447
+ }
448
+ },
449
+ {
450
+ "collation_map": null,
451
+ "enum_str_map": null,
452
+ "enumset_collation_map": null,
453
+ "geometry_type_map": null,
454
+ "kind": "rows",
455
+ "rows": [
456
+ [
457
+ {
458
+ "go_type": "int32",
459
+ "kind": "num",
460
+ "len": 0,
461
+ "num": "2"
462
+ },
463
+ {
464
+ "go_type": "nil",
465
+ "kind": "null",
466
+ "len": 0
467
+ },
468
+ {
469
+ "go_type": "nil",
470
+ "kind": "null",
471
+ "len": 0
472
+ },
473
+ {
474
+ "go_type": "nil",
475
+ "kind": "null",
476
+ "len": 0
477
+ },
478
+ {
479
+ "go_type": "nil",
480
+ "kind": "null",
481
+ "len": 0
482
+ },
483
+ {
484
+ "go_type": "nil",
485
+ "kind": "null",
486
+ "len": 0
487
+ },
488
+ {
489
+ "go_type": "nil",
490
+ "kind": "null",
491
+ "len": 0
492
+ },
493
+ {
494
+ "go_type": "nil",
495
+ "kind": "null",
496
+ "len": 0
497
+ },
498
+ {
499
+ "go_type": "nil",
500
+ "kind": "null",
501
+ "len": 0
502
+ },
503
+ {
504
+ "go_type": "nil",
505
+ "kind": "null",
506
+ "len": 0
507
+ },
508
+ {
509
+ "go_type": "nil",
510
+ "kind": "null",
511
+ "len": 0
512
+ },
513
+ {
514
+ "go_type": "nil",
515
+ "kind": "null",
516
+ "len": 0
517
+ },
518
+ {
519
+ "go_type": "nil",
520
+ "kind": "null",
521
+ "len": 0
522
+ },
523
+ {
524
+ "go_type": "nil",
525
+ "kind": "null",
526
+ "len": 0
527
+ },
528
+ {
529
+ "go_type": "nil",
530
+ "kind": "null",
531
+ "len": 0
532
+ }
533
+ ]
534
+ ],
535
+ "rows_flags": 1,
536
+ "rows_version": 2,
537
+ "schema": "probe",
538
+ "seq": 12,
539
+ "set_str_map": null,
540
+ "table": "mtypes",
541
+ "type": "WriteRowsEventV2",
542
+ "unsigned_map": null,
543
+ "visibility_map": null
544
+ },
545
+ {
546
+ "collation_map": null,
547
+ "enum_str_map": null,
548
+ "enumset_collation_map": null,
549
+ "geometry_type_map": null,
550
+ "kind": "other",
551
+ "seq": 13,
552
+ "set_str_map": null,
553
+ "type": "XIDEvent",
554
+ "unsigned_map": null,
555
+ "visibility_map": null
556
+ },
557
+ {
558
+ "collation_map": null,
559
+ "enum_str_map": null,
560
+ "enumset_collation_map": null,
561
+ "geometry_type_map": null,
562
+ "kind": "other",
563
+ "seq": 14,
564
+ "set_str_map": null,
565
+ "type": "AnonymousGTIDEvent",
566
+ "unsigned_map": null,
567
+ "visibility_map": null
568
+ },
569
+ {
570
+ "collation_map": null,
571
+ "enum_str_map": null,
572
+ "enumset_collation_map": null,
573
+ "geometry_type_map": null,
574
+ "kind": "other",
575
+ "seq": 15,
576
+ "set_str_map": null,
577
+ "type": "QueryEvent",
578
+ "unsigned_map": null,
579
+ "visibility_map": null
580
+ },
581
+ {
582
+ "collation_map": {
583
+ "1": 255,
584
+ "14": 11,
585
+ "2": 8,
586
+ "3": 63
587
+ },
588
+ "column_count": 15,
589
+ "column_meta": [
590
+ 0,
591
+ 800,
592
+ 2,
593
+ 3,
594
+ 63233,
595
+ 63489,
596
+ 5126,
597
+ 8,
598
+ 3,
599
+ 4,
600
+ 6,
601
+ 0,
602
+ 259,
603
+ 0,
604
+ 65029
605
+ ],
606
+ "column_names": [
607
+ "id",
608
+ "a",
609
+ "b",
610
+ "c",
611
+ "d",
612
+ "e",
613
+ "f",
614
+ "g",
615
+ "h",
616
+ "i",
617
+ "j",
618
+ "k",
619
+ "l",
620
+ "m",
621
+ "n"
622
+ ],
623
+ "column_type": [
624
+ 3,
625
+ 15,
626
+ 252,
627
+ 252,
628
+ 254,
629
+ 254,
630
+ 246,
631
+ 5,
632
+ 18,
633
+ 245,
634
+ 19,
635
+ 8,
636
+ 16,
637
+ 1,
638
+ 254
639
+ ],
640
+ "enum_str_map": {
641
+ "4": [
642
+ "x",
643
+ "y"
644
+ ]
645
+ },
646
+ "enumset_collation_map": {
647
+ "4": 8,
648
+ "5": 8
649
+ },
650
+ "geometry_type_map": null,
651
+ "kind": "tablemap",
652
+ "primary_key": [
653
+ 0
654
+ ],
655
+ "schema": "probe",
656
+ "seq": 16,
657
+ "set_str_map": {
658
+ "5": [
659
+ "p",
660
+ "q",
661
+ "r"
662
+ ]
663
+ },
664
+ "table": "mtypes",
665
+ "type": "TableMapEvent",
666
+ "unsigned_map": {
667
+ "0": false,
668
+ "11": true,
669
+ "13": false,
670
+ "6": false,
671
+ "7": false
672
+ },
673
+ "visibility_map": {
674
+ "0": true,
675
+ "1": true,
676
+ "10": true,
677
+ "11": true,
678
+ "12": true,
679
+ "13": true,
680
+ "14": false,
681
+ "2": true,
682
+ "3": true,
683
+ "4": true,
684
+ "5": true,
685
+ "6": true,
686
+ "7": true,
687
+ "8": true,
688
+ "9": true
689
+ }
690
+ },
691
+ {
692
+ "collation_map": null,
693
+ "enum_str_map": null,
694
+ "enumset_collation_map": null,
695
+ "geometry_type_map": null,
696
+ "kind": "rows",
697
+ "rows": [
698
+ [
699
+ {
700
+ "go_type": "int32",
701
+ "kind": "num",
702
+ "len": 0,
703
+ "num": "1"
704
+ },
705
+ {
706
+ "go_type": "string",
707
+ "hex": "757466382076616c7565",
708
+ "kind": "str",
709
+ "len": 10,
710
+ "md5": "96df50f06129ece0cb5b1eb4749a7034"
711
+ },
712
+ {
713
+ "go_type": "[]uint8",
714
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
715
+ "kind": "bytes",
716
+ "len": 300,
717
+ "md5": "098d6e32102285e5c967561f279198e1"
718
+ },
719
+ {
720
+ "go_type": "[]uint8",
721
+ "hex": "0011deadbeef",
722
+ "kind": "bytes",
723
+ "len": 6,
724
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
725
+ },
726
+ {
727
+ "go_type": "int64",
728
+ "kind": "num",
729
+ "len": 0,
730
+ "num": "2"
731
+ },
732
+ {
733
+ "go_type": "int64",
734
+ "kind": "num",
735
+ "len": 0,
736
+ "num": "5"
737
+ },
738
+ {
739
+ "go_type": "string",
740
+ "hex": "2d31323334352e363738393031",
741
+ "kind": "str",
742
+ "len": 13,
743
+ "md5": "f7cacee3e9faad99565862e000f54a72"
744
+ },
745
+ {
746
+ "go_type": "float64",
747
+ "kind": "num",
748
+ "len": 0,
749
+ "num": "3.5"
750
+ },
751
+ {
752
+ "go_type": "string",
753
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
754
+ "kind": "str",
755
+ "len": 23,
756
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
757
+ },
758
+ {
759
+ "go_type": "string",
760
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
761
+ "kind": "str",
762
+ "len": 58,
763
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
764
+ },
765
+ {
766
+ "go_type": "string",
767
+ "hex": "31303a32303a33302e313233343536",
768
+ "kind": "str",
769
+ "len": 15,
770
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
771
+ },
772
+ {
773
+ "go_type": "uint64",
774
+ "kind": "num",
775
+ "len": 0,
776
+ "num": "18446744073709551615"
777
+ },
778
+ {
779
+ "go_type": "int64",
780
+ "kind": "num",
781
+ "len": 0,
782
+ "num": "1365"
783
+ },
784
+ {
785
+ "go_type": "int8",
786
+ "kind": "num",
787
+ "len": 0,
788
+ "num": "-128"
789
+ },
790
+ {
791
+ "go_type": "string",
792
+ "hex": "6173636969",
793
+ "kind": "str",
794
+ "len": 5,
795
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
796
+ }
797
+ ],
798
+ [
799
+ {
800
+ "go_type": "int32",
801
+ "kind": "num",
802
+ "len": 0,
803
+ "num": "1"
804
+ },
805
+ {
806
+ "go_type": "string",
807
+ "hex": "6368616e676564",
808
+ "kind": "str",
809
+ "len": 7,
810
+ "md5": "8977dfac2f8e04cb96e66882235f5aba"
811
+ },
812
+ {
813
+ "go_type": "[]uint8",
814
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
815
+ "kind": "bytes",
816
+ "len": 300,
817
+ "md5": "098d6e32102285e5c967561f279198e1"
818
+ },
819
+ {
820
+ "go_type": "[]uint8",
821
+ "hex": "0011deadbeef",
822
+ "kind": "bytes",
823
+ "len": 6,
824
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
825
+ },
826
+ {
827
+ "go_type": "int64",
828
+ "kind": "num",
829
+ "len": 0,
830
+ "num": "2"
831
+ },
832
+ {
833
+ "go_type": "int64",
834
+ "kind": "num",
835
+ "len": 0,
836
+ "num": "5"
837
+ },
838
+ {
839
+ "go_type": "string",
840
+ "hex": "2d31323334352e363738393031",
841
+ "kind": "str",
842
+ "len": 13,
843
+ "md5": "f7cacee3e9faad99565862e000f54a72"
844
+ },
845
+ {
846
+ "go_type": "float64",
847
+ "kind": "num",
848
+ "len": 0,
849
+ "num": "3.5"
850
+ },
851
+ {
852
+ "go_type": "string",
853
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
854
+ "kind": "str",
855
+ "len": 23,
856
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
857
+ },
858
+ {
859
+ "go_type": "string",
860
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
861
+ "kind": "str",
862
+ "len": 58,
863
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
864
+ },
865
+ {
866
+ "go_type": "string",
867
+ "hex": "31303a32303a33302e313233343536",
868
+ "kind": "str",
869
+ "len": 15,
870
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
871
+ },
872
+ {
873
+ "go_type": "uint64",
874
+ "kind": "num",
875
+ "len": 0,
876
+ "num": "18446744073709551615"
877
+ },
878
+ {
879
+ "go_type": "int64",
880
+ "kind": "num",
881
+ "len": 0,
882
+ "num": "1365"
883
+ },
884
+ {
885
+ "go_type": "int8",
886
+ "kind": "num",
887
+ "len": 0,
888
+ "num": "-128"
889
+ },
890
+ {
891
+ "go_type": "string",
892
+ "hex": "6173636969",
893
+ "kind": "str",
894
+ "len": 5,
895
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
896
+ }
897
+ ]
898
+ ],
899
+ "rows_flags": 1,
900
+ "rows_version": 2,
901
+ "schema": "probe",
902
+ "seq": 17,
903
+ "set_str_map": null,
904
+ "table": "mtypes",
905
+ "type": "UpdateRowsEventV2",
906
+ "unsigned_map": null,
907
+ "visibility_map": null
908
+ },
909
+ {
910
+ "collation_map": null,
911
+ "enum_str_map": null,
912
+ "enumset_collation_map": null,
913
+ "geometry_type_map": null,
914
+ "kind": "other",
915
+ "seq": 18,
916
+ "set_str_map": null,
917
+ "type": "XIDEvent",
918
+ "unsigned_map": null,
919
+ "visibility_map": null
920
+ },
921
+ {
922
+ "collation_map": null,
923
+ "enum_str_map": null,
924
+ "enumset_collation_map": null,
925
+ "geometry_type_map": null,
926
+ "kind": "other",
927
+ "seq": 19,
928
+ "set_str_map": null,
929
+ "type": "AnonymousGTIDEvent",
930
+ "unsigned_map": null,
931
+ "visibility_map": null
932
+ },
933
+ {
934
+ "collation_map": null,
935
+ "enum_str_map": null,
936
+ "enumset_collation_map": null,
937
+ "geometry_type_map": null,
938
+ "kind": "other",
939
+ "seq": 20,
940
+ "set_str_map": null,
941
+ "type": "QueryEvent",
942
+ "unsigned_map": null,
943
+ "visibility_map": null
944
+ },
945
+ {
946
+ "collation_map": {
947
+ "1": 255,
948
+ "14": 11,
949
+ "2": 8,
950
+ "3": 63
951
+ },
952
+ "column_count": 15,
953
+ "column_meta": [
954
+ 0,
955
+ 800,
956
+ 2,
957
+ 3,
958
+ 63233,
959
+ 63489,
960
+ 5126,
961
+ 8,
962
+ 3,
963
+ 4,
964
+ 6,
965
+ 0,
966
+ 259,
967
+ 0,
968
+ 65029
969
+ ],
970
+ "column_names": [
971
+ "id",
972
+ "a",
973
+ "b",
974
+ "c",
975
+ "d",
976
+ "e",
977
+ "f",
978
+ "g",
979
+ "h",
980
+ "i",
981
+ "j",
982
+ "k",
983
+ "l",
984
+ "m",
985
+ "n"
986
+ ],
987
+ "column_type": [
988
+ 3,
989
+ 15,
990
+ 252,
991
+ 252,
992
+ 254,
993
+ 254,
994
+ 246,
995
+ 5,
996
+ 18,
997
+ 245,
998
+ 19,
999
+ 8,
1000
+ 16,
1001
+ 1,
1002
+ 254
1003
+ ],
1004
+ "enum_str_map": {
1005
+ "4": [
1006
+ "x",
1007
+ "y"
1008
+ ]
1009
+ },
1010
+ "enumset_collation_map": {
1011
+ "4": 8,
1012
+ "5": 8
1013
+ },
1014
+ "geometry_type_map": null,
1015
+ "kind": "tablemap",
1016
+ "primary_key": [
1017
+ 0
1018
+ ],
1019
+ "schema": "probe",
1020
+ "seq": 21,
1021
+ "set_str_map": {
1022
+ "5": [
1023
+ "p",
1024
+ "q",
1025
+ "r"
1026
+ ]
1027
+ },
1028
+ "table": "mtypes",
1029
+ "type": "TableMapEvent",
1030
+ "unsigned_map": {
1031
+ "0": false,
1032
+ "11": true,
1033
+ "13": false,
1034
+ "6": false,
1035
+ "7": false
1036
+ },
1037
+ "visibility_map": {
1038
+ "0": true,
1039
+ "1": true,
1040
+ "10": true,
1041
+ "11": true,
1042
+ "12": true,
1043
+ "13": true,
1044
+ "14": false,
1045
+ "2": true,
1046
+ "3": true,
1047
+ "4": true,
1048
+ "5": true,
1049
+ "6": true,
1050
+ "7": true,
1051
+ "8": true,
1052
+ "9": true
1053
+ }
1054
+ },
1055
+ {
1056
+ "collation_map": null,
1057
+ "enum_str_map": null,
1058
+ "enumset_collation_map": null,
1059
+ "geometry_type_map": null,
1060
+ "kind": "rows",
1061
+ "rows": [
1062
+ [
1063
+ {
1064
+ "go_type": "int32",
1065
+ "kind": "num",
1066
+ "len": 0,
1067
+ "num": "2"
1068
+ },
1069
+ {
1070
+ "go_type": "nil",
1071
+ "kind": "null",
1072
+ "len": 0
1073
+ },
1074
+ {
1075
+ "go_type": "nil",
1076
+ "kind": "null",
1077
+ "len": 0
1078
+ },
1079
+ {
1080
+ "go_type": "nil",
1081
+ "kind": "null",
1082
+ "len": 0
1083
+ },
1084
+ {
1085
+ "go_type": "nil",
1086
+ "kind": "null",
1087
+ "len": 0
1088
+ },
1089
+ {
1090
+ "go_type": "nil",
1091
+ "kind": "null",
1092
+ "len": 0
1093
+ },
1094
+ {
1095
+ "go_type": "nil",
1096
+ "kind": "null",
1097
+ "len": 0
1098
+ },
1099
+ {
1100
+ "go_type": "nil",
1101
+ "kind": "null",
1102
+ "len": 0
1103
+ },
1104
+ {
1105
+ "go_type": "nil",
1106
+ "kind": "null",
1107
+ "len": 0
1108
+ },
1109
+ {
1110
+ "go_type": "nil",
1111
+ "kind": "null",
1112
+ "len": 0
1113
+ },
1114
+ {
1115
+ "go_type": "nil",
1116
+ "kind": "null",
1117
+ "len": 0
1118
+ },
1119
+ {
1120
+ "go_type": "nil",
1121
+ "kind": "null",
1122
+ "len": 0
1123
+ },
1124
+ {
1125
+ "go_type": "nil",
1126
+ "kind": "null",
1127
+ "len": 0
1128
+ },
1129
+ {
1130
+ "go_type": "nil",
1131
+ "kind": "null",
1132
+ "len": 0
1133
+ },
1134
+ {
1135
+ "go_type": "nil",
1136
+ "kind": "null",
1137
+ "len": 0
1138
+ }
1139
+ ]
1140
+ ],
1141
+ "rows_flags": 1,
1142
+ "rows_version": 2,
1143
+ "schema": "probe",
1144
+ "seq": 22,
1145
+ "set_str_map": null,
1146
+ "table": "mtypes",
1147
+ "type": "DeleteRowsEventV2",
1148
+ "unsigned_map": null,
1149
+ "visibility_map": null
1150
+ },
1151
+ {
1152
+ "collation_map": null,
1153
+ "enum_str_map": null,
1154
+ "enumset_collation_map": null,
1155
+ "geometry_type_map": null,
1156
+ "kind": "other",
1157
+ "seq": 23,
1158
+ "set_str_map": null,
1159
+ "type": "XIDEvent",
1160
+ "unsigned_map": null,
1161
+ "visibility_map": null
1162
+ },
1163
+ {
1164
+ "collation_map": null,
1165
+ "enum_str_map": null,
1166
+ "enumset_collation_map": null,
1167
+ "geometry_type_map": null,
1168
+ "kind": "other",
1169
+ "seq": 24,
1170
+ "set_str_map": null,
1171
+ "type": "RotateEvent",
1172
+ "unsigned_map": null,
1173
+ "visibility_map": null
1174
+ }
1175
+ ]
1176
+ }
harbor/sources/go-mysql-v9/task/grader/data/baseline/mysql84-types.json ADDED
@@ -0,0 +1,1176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "events": [
3
+ {
4
+ "collation_map": null,
5
+ "enum_str_map": null,
6
+ "enumset_collation_map": null,
7
+ "geometry_type_map": null,
8
+ "kind": "other",
9
+ "seq": 0,
10
+ "set_str_map": null,
11
+ "type": "FormatDescriptionEvent",
12
+ "unsigned_map": null,
13
+ "visibility_map": null
14
+ },
15
+ {
16
+ "collation_map": null,
17
+ "enum_str_map": null,
18
+ "enumset_collation_map": null,
19
+ "geometry_type_map": null,
20
+ "kind": "other",
21
+ "seq": 1,
22
+ "set_str_map": null,
23
+ "type": "PreviousGTIDsEvent",
24
+ "unsigned_map": null,
25
+ "visibility_map": null
26
+ },
27
+ {
28
+ "collation_map": null,
29
+ "enum_str_map": null,
30
+ "enumset_collation_map": null,
31
+ "geometry_type_map": null,
32
+ "kind": "other",
33
+ "seq": 2,
34
+ "set_str_map": null,
35
+ "type": "AnonymousGTIDEvent",
36
+ "unsigned_map": null,
37
+ "visibility_map": null
38
+ },
39
+ {
40
+ "collation_map": null,
41
+ "enum_str_map": null,
42
+ "enumset_collation_map": null,
43
+ "geometry_type_map": null,
44
+ "kind": "other",
45
+ "seq": 3,
46
+ "set_str_map": null,
47
+ "type": "QueryEvent",
48
+ "unsigned_map": null,
49
+ "visibility_map": null
50
+ },
51
+ {
52
+ "collation_map": null,
53
+ "enum_str_map": null,
54
+ "enumset_collation_map": null,
55
+ "geometry_type_map": null,
56
+ "kind": "other",
57
+ "seq": 4,
58
+ "set_str_map": null,
59
+ "type": "AnonymousGTIDEvent",
60
+ "unsigned_map": null,
61
+ "visibility_map": null
62
+ },
63
+ {
64
+ "collation_map": null,
65
+ "enum_str_map": null,
66
+ "enumset_collation_map": null,
67
+ "geometry_type_map": null,
68
+ "kind": "other",
69
+ "seq": 5,
70
+ "set_str_map": null,
71
+ "type": "QueryEvent",
72
+ "unsigned_map": null,
73
+ "visibility_map": null
74
+ },
75
+ {
76
+ "collation_map": {
77
+ "1": 255,
78
+ "14": 11,
79
+ "2": 8,
80
+ "3": 63
81
+ },
82
+ "column_count": 15,
83
+ "column_meta": [
84
+ 0,
85
+ 800,
86
+ 2,
87
+ 3,
88
+ 63233,
89
+ 63489,
90
+ 5126,
91
+ 8,
92
+ 3,
93
+ 4,
94
+ 6,
95
+ 0,
96
+ 259,
97
+ 0,
98
+ 65029
99
+ ],
100
+ "column_names": [
101
+ "id",
102
+ "a",
103
+ "b",
104
+ "c",
105
+ "d",
106
+ "e",
107
+ "f",
108
+ "g",
109
+ "h",
110
+ "i",
111
+ "j",
112
+ "k",
113
+ "l",
114
+ "m",
115
+ "n"
116
+ ],
117
+ "column_type": [
118
+ 3,
119
+ 15,
120
+ 252,
121
+ 252,
122
+ 254,
123
+ 254,
124
+ 246,
125
+ 5,
126
+ 18,
127
+ 245,
128
+ 19,
129
+ 8,
130
+ 16,
131
+ 1,
132
+ 254
133
+ ],
134
+ "enum_str_map": {
135
+ "4": [
136
+ "x",
137
+ "y"
138
+ ]
139
+ },
140
+ "enumset_collation_map": {
141
+ "4": 8,
142
+ "5": 8
143
+ },
144
+ "geometry_type_map": null,
145
+ "kind": "tablemap",
146
+ "primary_key": [
147
+ 0
148
+ ],
149
+ "schema": "probe",
150
+ "seq": 6,
151
+ "set_str_map": {
152
+ "5": [
153
+ "p",
154
+ "q",
155
+ "r"
156
+ ]
157
+ },
158
+ "table": "mtypes",
159
+ "type": "TableMapEvent",
160
+ "unsigned_map": {
161
+ "0": false,
162
+ "11": true,
163
+ "13": false,
164
+ "6": false,
165
+ "7": false
166
+ },
167
+ "visibility_map": {
168
+ "0": true,
169
+ "1": true,
170
+ "10": true,
171
+ "11": true,
172
+ "12": true,
173
+ "13": true,
174
+ "14": false,
175
+ "2": true,
176
+ "3": true,
177
+ "4": true,
178
+ "5": true,
179
+ "6": true,
180
+ "7": true,
181
+ "8": true,
182
+ "9": true
183
+ }
184
+ },
185
+ {
186
+ "collation_map": null,
187
+ "enum_str_map": null,
188
+ "enumset_collation_map": null,
189
+ "geometry_type_map": null,
190
+ "kind": "rows",
191
+ "rows": [
192
+ [
193
+ {
194
+ "go_type": "int32",
195
+ "kind": "num",
196
+ "len": 0,
197
+ "num": "1"
198
+ },
199
+ {
200
+ "go_type": "string",
201
+ "hex": "757466382076616c7565",
202
+ "kind": "str",
203
+ "len": 10,
204
+ "md5": "96df50f06129ece0cb5b1eb4749a7034"
205
+ },
206
+ {
207
+ "go_type": "[]uint8",
208
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
209
+ "kind": "bytes",
210
+ "len": 300,
211
+ "md5": "098d6e32102285e5c967561f279198e1"
212
+ },
213
+ {
214
+ "go_type": "[]uint8",
215
+ "hex": "0011deadbeef",
216
+ "kind": "bytes",
217
+ "len": 6,
218
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
219
+ },
220
+ {
221
+ "go_type": "int64",
222
+ "kind": "num",
223
+ "len": 0,
224
+ "num": "2"
225
+ },
226
+ {
227
+ "go_type": "int64",
228
+ "kind": "num",
229
+ "len": 0,
230
+ "num": "5"
231
+ },
232
+ {
233
+ "go_type": "string",
234
+ "hex": "2d31323334352e363738393031",
235
+ "kind": "str",
236
+ "len": 13,
237
+ "md5": "f7cacee3e9faad99565862e000f54a72"
238
+ },
239
+ {
240
+ "go_type": "float64",
241
+ "kind": "num",
242
+ "len": 0,
243
+ "num": "3.5"
244
+ },
245
+ {
246
+ "go_type": "string",
247
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
248
+ "kind": "str",
249
+ "len": 23,
250
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
251
+ },
252
+ {
253
+ "go_type": "string",
254
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
255
+ "kind": "str",
256
+ "len": 58,
257
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
258
+ },
259
+ {
260
+ "go_type": "string",
261
+ "hex": "31303a32303a33302e313233343536",
262
+ "kind": "str",
263
+ "len": 15,
264
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
265
+ },
266
+ {
267
+ "go_type": "uint64",
268
+ "kind": "num",
269
+ "len": 0,
270
+ "num": "18446744073709551615"
271
+ },
272
+ {
273
+ "go_type": "int64",
274
+ "kind": "num",
275
+ "len": 0,
276
+ "num": "1365"
277
+ },
278
+ {
279
+ "go_type": "int8",
280
+ "kind": "num",
281
+ "len": 0,
282
+ "num": "-128"
283
+ },
284
+ {
285
+ "go_type": "string",
286
+ "hex": "6173636969",
287
+ "kind": "str",
288
+ "len": 5,
289
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
290
+ }
291
+ ]
292
+ ],
293
+ "rows_flags": 1,
294
+ "rows_version": 2,
295
+ "schema": "probe",
296
+ "seq": 7,
297
+ "set_str_map": null,
298
+ "table": "mtypes",
299
+ "type": "WriteRowsEventV2",
300
+ "unsigned_map": null,
301
+ "visibility_map": null
302
+ },
303
+ {
304
+ "collation_map": null,
305
+ "enum_str_map": null,
306
+ "enumset_collation_map": null,
307
+ "geometry_type_map": null,
308
+ "kind": "other",
309
+ "seq": 8,
310
+ "set_str_map": null,
311
+ "type": "XIDEvent",
312
+ "unsigned_map": null,
313
+ "visibility_map": null
314
+ },
315
+ {
316
+ "collation_map": null,
317
+ "enum_str_map": null,
318
+ "enumset_collation_map": null,
319
+ "geometry_type_map": null,
320
+ "kind": "other",
321
+ "seq": 9,
322
+ "set_str_map": null,
323
+ "type": "AnonymousGTIDEvent",
324
+ "unsigned_map": null,
325
+ "visibility_map": null
326
+ },
327
+ {
328
+ "collation_map": null,
329
+ "enum_str_map": null,
330
+ "enumset_collation_map": null,
331
+ "geometry_type_map": null,
332
+ "kind": "other",
333
+ "seq": 10,
334
+ "set_str_map": null,
335
+ "type": "QueryEvent",
336
+ "unsigned_map": null,
337
+ "visibility_map": null
338
+ },
339
+ {
340
+ "collation_map": {
341
+ "1": 255,
342
+ "14": 11,
343
+ "2": 8,
344
+ "3": 63
345
+ },
346
+ "column_count": 15,
347
+ "column_meta": [
348
+ 0,
349
+ 800,
350
+ 2,
351
+ 3,
352
+ 63233,
353
+ 63489,
354
+ 5126,
355
+ 8,
356
+ 3,
357
+ 4,
358
+ 6,
359
+ 0,
360
+ 259,
361
+ 0,
362
+ 65029
363
+ ],
364
+ "column_names": [
365
+ "id",
366
+ "a",
367
+ "b",
368
+ "c",
369
+ "d",
370
+ "e",
371
+ "f",
372
+ "g",
373
+ "h",
374
+ "i",
375
+ "j",
376
+ "k",
377
+ "l",
378
+ "m",
379
+ "n"
380
+ ],
381
+ "column_type": [
382
+ 3,
383
+ 15,
384
+ 252,
385
+ 252,
386
+ 254,
387
+ 254,
388
+ 246,
389
+ 5,
390
+ 18,
391
+ 245,
392
+ 19,
393
+ 8,
394
+ 16,
395
+ 1,
396
+ 254
397
+ ],
398
+ "enum_str_map": {
399
+ "4": [
400
+ "x",
401
+ "y"
402
+ ]
403
+ },
404
+ "enumset_collation_map": {
405
+ "4": 8,
406
+ "5": 8
407
+ },
408
+ "geometry_type_map": null,
409
+ "kind": "tablemap",
410
+ "primary_key": [
411
+ 0
412
+ ],
413
+ "schema": "probe",
414
+ "seq": 11,
415
+ "set_str_map": {
416
+ "5": [
417
+ "p",
418
+ "q",
419
+ "r"
420
+ ]
421
+ },
422
+ "table": "mtypes",
423
+ "type": "TableMapEvent",
424
+ "unsigned_map": {
425
+ "0": false,
426
+ "11": true,
427
+ "13": false,
428
+ "6": false,
429
+ "7": false
430
+ },
431
+ "visibility_map": {
432
+ "0": true,
433
+ "1": true,
434
+ "10": true,
435
+ "11": true,
436
+ "12": true,
437
+ "13": true,
438
+ "14": false,
439
+ "2": true,
440
+ "3": true,
441
+ "4": true,
442
+ "5": true,
443
+ "6": true,
444
+ "7": true,
445
+ "8": true,
446
+ "9": true
447
+ }
448
+ },
449
+ {
450
+ "collation_map": null,
451
+ "enum_str_map": null,
452
+ "enumset_collation_map": null,
453
+ "geometry_type_map": null,
454
+ "kind": "rows",
455
+ "rows": [
456
+ [
457
+ {
458
+ "go_type": "int32",
459
+ "kind": "num",
460
+ "len": 0,
461
+ "num": "2"
462
+ },
463
+ {
464
+ "go_type": "nil",
465
+ "kind": "null",
466
+ "len": 0
467
+ },
468
+ {
469
+ "go_type": "nil",
470
+ "kind": "null",
471
+ "len": 0
472
+ },
473
+ {
474
+ "go_type": "nil",
475
+ "kind": "null",
476
+ "len": 0
477
+ },
478
+ {
479
+ "go_type": "nil",
480
+ "kind": "null",
481
+ "len": 0
482
+ },
483
+ {
484
+ "go_type": "nil",
485
+ "kind": "null",
486
+ "len": 0
487
+ },
488
+ {
489
+ "go_type": "nil",
490
+ "kind": "null",
491
+ "len": 0
492
+ },
493
+ {
494
+ "go_type": "nil",
495
+ "kind": "null",
496
+ "len": 0
497
+ },
498
+ {
499
+ "go_type": "nil",
500
+ "kind": "null",
501
+ "len": 0
502
+ },
503
+ {
504
+ "go_type": "nil",
505
+ "kind": "null",
506
+ "len": 0
507
+ },
508
+ {
509
+ "go_type": "nil",
510
+ "kind": "null",
511
+ "len": 0
512
+ },
513
+ {
514
+ "go_type": "nil",
515
+ "kind": "null",
516
+ "len": 0
517
+ },
518
+ {
519
+ "go_type": "nil",
520
+ "kind": "null",
521
+ "len": 0
522
+ },
523
+ {
524
+ "go_type": "nil",
525
+ "kind": "null",
526
+ "len": 0
527
+ },
528
+ {
529
+ "go_type": "nil",
530
+ "kind": "null",
531
+ "len": 0
532
+ }
533
+ ]
534
+ ],
535
+ "rows_flags": 1,
536
+ "rows_version": 2,
537
+ "schema": "probe",
538
+ "seq": 12,
539
+ "set_str_map": null,
540
+ "table": "mtypes",
541
+ "type": "WriteRowsEventV2",
542
+ "unsigned_map": null,
543
+ "visibility_map": null
544
+ },
545
+ {
546
+ "collation_map": null,
547
+ "enum_str_map": null,
548
+ "enumset_collation_map": null,
549
+ "geometry_type_map": null,
550
+ "kind": "other",
551
+ "seq": 13,
552
+ "set_str_map": null,
553
+ "type": "XIDEvent",
554
+ "unsigned_map": null,
555
+ "visibility_map": null
556
+ },
557
+ {
558
+ "collation_map": null,
559
+ "enum_str_map": null,
560
+ "enumset_collation_map": null,
561
+ "geometry_type_map": null,
562
+ "kind": "other",
563
+ "seq": 14,
564
+ "set_str_map": null,
565
+ "type": "AnonymousGTIDEvent",
566
+ "unsigned_map": null,
567
+ "visibility_map": null
568
+ },
569
+ {
570
+ "collation_map": null,
571
+ "enum_str_map": null,
572
+ "enumset_collation_map": null,
573
+ "geometry_type_map": null,
574
+ "kind": "other",
575
+ "seq": 15,
576
+ "set_str_map": null,
577
+ "type": "QueryEvent",
578
+ "unsigned_map": null,
579
+ "visibility_map": null
580
+ },
581
+ {
582
+ "collation_map": {
583
+ "1": 255,
584
+ "14": 11,
585
+ "2": 8,
586
+ "3": 63
587
+ },
588
+ "column_count": 15,
589
+ "column_meta": [
590
+ 0,
591
+ 800,
592
+ 2,
593
+ 3,
594
+ 63233,
595
+ 63489,
596
+ 5126,
597
+ 8,
598
+ 3,
599
+ 4,
600
+ 6,
601
+ 0,
602
+ 259,
603
+ 0,
604
+ 65029
605
+ ],
606
+ "column_names": [
607
+ "id",
608
+ "a",
609
+ "b",
610
+ "c",
611
+ "d",
612
+ "e",
613
+ "f",
614
+ "g",
615
+ "h",
616
+ "i",
617
+ "j",
618
+ "k",
619
+ "l",
620
+ "m",
621
+ "n"
622
+ ],
623
+ "column_type": [
624
+ 3,
625
+ 15,
626
+ 252,
627
+ 252,
628
+ 254,
629
+ 254,
630
+ 246,
631
+ 5,
632
+ 18,
633
+ 245,
634
+ 19,
635
+ 8,
636
+ 16,
637
+ 1,
638
+ 254
639
+ ],
640
+ "enum_str_map": {
641
+ "4": [
642
+ "x",
643
+ "y"
644
+ ]
645
+ },
646
+ "enumset_collation_map": {
647
+ "4": 8,
648
+ "5": 8
649
+ },
650
+ "geometry_type_map": null,
651
+ "kind": "tablemap",
652
+ "primary_key": [
653
+ 0
654
+ ],
655
+ "schema": "probe",
656
+ "seq": 16,
657
+ "set_str_map": {
658
+ "5": [
659
+ "p",
660
+ "q",
661
+ "r"
662
+ ]
663
+ },
664
+ "table": "mtypes",
665
+ "type": "TableMapEvent",
666
+ "unsigned_map": {
667
+ "0": false,
668
+ "11": true,
669
+ "13": false,
670
+ "6": false,
671
+ "7": false
672
+ },
673
+ "visibility_map": {
674
+ "0": true,
675
+ "1": true,
676
+ "10": true,
677
+ "11": true,
678
+ "12": true,
679
+ "13": true,
680
+ "14": false,
681
+ "2": true,
682
+ "3": true,
683
+ "4": true,
684
+ "5": true,
685
+ "6": true,
686
+ "7": true,
687
+ "8": true,
688
+ "9": true
689
+ }
690
+ },
691
+ {
692
+ "collation_map": null,
693
+ "enum_str_map": null,
694
+ "enumset_collation_map": null,
695
+ "geometry_type_map": null,
696
+ "kind": "rows",
697
+ "rows": [
698
+ [
699
+ {
700
+ "go_type": "int32",
701
+ "kind": "num",
702
+ "len": 0,
703
+ "num": "1"
704
+ },
705
+ {
706
+ "go_type": "string",
707
+ "hex": "757466382076616c7565",
708
+ "kind": "str",
709
+ "len": 10,
710
+ "md5": "96df50f06129ece0cb5b1eb4749a7034"
711
+ },
712
+ {
713
+ "go_type": "[]uint8",
714
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
715
+ "kind": "bytes",
716
+ "len": 300,
717
+ "md5": "098d6e32102285e5c967561f279198e1"
718
+ },
719
+ {
720
+ "go_type": "[]uint8",
721
+ "hex": "0011deadbeef",
722
+ "kind": "bytes",
723
+ "len": 6,
724
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
725
+ },
726
+ {
727
+ "go_type": "int64",
728
+ "kind": "num",
729
+ "len": 0,
730
+ "num": "2"
731
+ },
732
+ {
733
+ "go_type": "int64",
734
+ "kind": "num",
735
+ "len": 0,
736
+ "num": "5"
737
+ },
738
+ {
739
+ "go_type": "string",
740
+ "hex": "2d31323334352e363738393031",
741
+ "kind": "str",
742
+ "len": 13,
743
+ "md5": "f7cacee3e9faad99565862e000f54a72"
744
+ },
745
+ {
746
+ "go_type": "float64",
747
+ "kind": "num",
748
+ "len": 0,
749
+ "num": "3.5"
750
+ },
751
+ {
752
+ "go_type": "string",
753
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
754
+ "kind": "str",
755
+ "len": 23,
756
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
757
+ },
758
+ {
759
+ "go_type": "string",
760
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
761
+ "kind": "str",
762
+ "len": 58,
763
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
764
+ },
765
+ {
766
+ "go_type": "string",
767
+ "hex": "31303a32303a33302e313233343536",
768
+ "kind": "str",
769
+ "len": 15,
770
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
771
+ },
772
+ {
773
+ "go_type": "uint64",
774
+ "kind": "num",
775
+ "len": 0,
776
+ "num": "18446744073709551615"
777
+ },
778
+ {
779
+ "go_type": "int64",
780
+ "kind": "num",
781
+ "len": 0,
782
+ "num": "1365"
783
+ },
784
+ {
785
+ "go_type": "int8",
786
+ "kind": "num",
787
+ "len": 0,
788
+ "num": "-128"
789
+ },
790
+ {
791
+ "go_type": "string",
792
+ "hex": "6173636969",
793
+ "kind": "str",
794
+ "len": 5,
795
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
796
+ }
797
+ ],
798
+ [
799
+ {
800
+ "go_type": "int32",
801
+ "kind": "num",
802
+ "len": 0,
803
+ "num": "1"
804
+ },
805
+ {
806
+ "go_type": "string",
807
+ "hex": "6368616e676564",
808
+ "kind": "str",
809
+ "len": 7,
810
+ "md5": "8977dfac2f8e04cb96e66882235f5aba"
811
+ },
812
+ {
813
+ "go_type": "[]uint8",
814
+ "hex": "6c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c61746c6174",
815
+ "kind": "bytes",
816
+ "len": 300,
817
+ "md5": "098d6e32102285e5c967561f279198e1"
818
+ },
819
+ {
820
+ "go_type": "[]uint8",
821
+ "hex": "0011deadbeef",
822
+ "kind": "bytes",
823
+ "len": 6,
824
+ "md5": "ed54bb86450811ab024baf176a9f0e91"
825
+ },
826
+ {
827
+ "go_type": "int64",
828
+ "kind": "num",
829
+ "len": 0,
830
+ "num": "2"
831
+ },
832
+ {
833
+ "go_type": "int64",
834
+ "kind": "num",
835
+ "len": 0,
836
+ "num": "5"
837
+ },
838
+ {
839
+ "go_type": "string",
840
+ "hex": "2d31323334352e363738393031",
841
+ "kind": "str",
842
+ "len": 13,
843
+ "md5": "f7cacee3e9faad99565862e000f54a72"
844
+ },
845
+ {
846
+ "go_type": "float64",
847
+ "kind": "num",
848
+ "len": 0,
849
+ "num": "3.5"
850
+ },
851
+ {
852
+ "go_type": "string",
853
+ "hex": "323032312d30322d30332030343a30353a30362e373839",
854
+ "kind": "str",
855
+ "len": 23,
856
+ "md5": "3a9d8207c672fe9b6659a072904c6ef2"
857
+ },
858
+ {
859
+ "go_type": "string",
860
+ "hex": "7b226b223a227676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676227d",
861
+ "kind": "str",
862
+ "len": 58,
863
+ "md5": "29d6f0f84b3aa6639d0705f689c18fe5"
864
+ },
865
+ {
866
+ "go_type": "string",
867
+ "hex": "31303a32303a33302e313233343536",
868
+ "kind": "str",
869
+ "len": 15,
870
+ "md5": "ebae05b33c3dff964949cd383a2e041a"
871
+ },
872
+ {
873
+ "go_type": "uint64",
874
+ "kind": "num",
875
+ "len": 0,
876
+ "num": "18446744073709551615"
877
+ },
878
+ {
879
+ "go_type": "int64",
880
+ "kind": "num",
881
+ "len": 0,
882
+ "num": "1365"
883
+ },
884
+ {
885
+ "go_type": "int8",
886
+ "kind": "num",
887
+ "len": 0,
888
+ "num": "-128"
889
+ },
890
+ {
891
+ "go_type": "string",
892
+ "hex": "6173636969",
893
+ "kind": "str",
894
+ "len": 5,
895
+ "md5": "5b7f33be48f19c25e1af2f96cffc569f"
896
+ }
897
+ ]
898
+ ],
899
+ "rows_flags": 1,
900
+ "rows_version": 2,
901
+ "schema": "probe",
902
+ "seq": 17,
903
+ "set_str_map": null,
904
+ "table": "mtypes",
905
+ "type": "UpdateRowsEventV2",
906
+ "unsigned_map": null,
907
+ "visibility_map": null
908
+ },
909
+ {
910
+ "collation_map": null,
911
+ "enum_str_map": null,
912
+ "enumset_collation_map": null,
913
+ "geometry_type_map": null,
914
+ "kind": "other",
915
+ "seq": 18,
916
+ "set_str_map": null,
917
+ "type": "XIDEvent",
918
+ "unsigned_map": null,
919
+ "visibility_map": null
920
+ },
921
+ {
922
+ "collation_map": null,
923
+ "enum_str_map": null,
924
+ "enumset_collation_map": null,
925
+ "geometry_type_map": null,
926
+ "kind": "other",
927
+ "seq": 19,
928
+ "set_str_map": null,
929
+ "type": "AnonymousGTIDEvent",
930
+ "unsigned_map": null,
931
+ "visibility_map": null
932
+ },
933
+ {
934
+ "collation_map": null,
935
+ "enum_str_map": null,
936
+ "enumset_collation_map": null,
937
+ "geometry_type_map": null,
938
+ "kind": "other",
939
+ "seq": 20,
940
+ "set_str_map": null,
941
+ "type": "QueryEvent",
942
+ "unsigned_map": null,
943
+ "visibility_map": null
944
+ },
945
+ {
946
+ "collation_map": {
947
+ "1": 255,
948
+ "14": 11,
949
+ "2": 8,
950
+ "3": 63
951
+ },
952
+ "column_count": 15,
953
+ "column_meta": [
954
+ 0,
955
+ 800,
956
+ 2,
957
+ 3,
958
+ 63233,
959
+ 63489,
960
+ 5126,
961
+ 8,
962
+ 3,
963
+ 4,
964
+ 6,
965
+ 0,
966
+ 259,
967
+ 0,
968
+ 65029
969
+ ],
970
+ "column_names": [
971
+ "id",
972
+ "a",
973
+ "b",
974
+ "c",
975
+ "d",
976
+ "e",
977
+ "f",
978
+ "g",
979
+ "h",
980
+ "i",
981
+ "j",
982
+ "k",
983
+ "l",
984
+ "m",
985
+ "n"
986
+ ],
987
+ "column_type": [
988
+ 3,
989
+ 15,
990
+ 252,
991
+ 252,
992
+ 254,
993
+ 254,
994
+ 246,
995
+ 5,
996
+ 18,
997
+ 245,
998
+ 19,
999
+ 8,
1000
+ 16,
1001
+ 1,
1002
+ 254
1003
+ ],
1004
+ "enum_str_map": {
1005
+ "4": [
1006
+ "x",
1007
+ "y"
1008
+ ]
1009
+ },
1010
+ "enumset_collation_map": {
1011
+ "4": 8,
1012
+ "5": 8
1013
+ },
1014
+ "geometry_type_map": null,
1015
+ "kind": "tablemap",
1016
+ "primary_key": [
1017
+ 0
1018
+ ],
1019
+ "schema": "probe",
1020
+ "seq": 21,
1021
+ "set_str_map": {
1022
+ "5": [
1023
+ "p",
1024
+ "q",
1025
+ "r"
1026
+ ]
1027
+ },
1028
+ "table": "mtypes",
1029
+ "type": "TableMapEvent",
1030
+ "unsigned_map": {
1031
+ "0": false,
1032
+ "11": true,
1033
+ "13": false,
1034
+ "6": false,
1035
+ "7": false
1036
+ },
1037
+ "visibility_map": {
1038
+ "0": true,
1039
+ "1": true,
1040
+ "10": true,
1041
+ "11": true,
1042
+ "12": true,
1043
+ "13": true,
1044
+ "14": false,
1045
+ "2": true,
1046
+ "3": true,
1047
+ "4": true,
1048
+ "5": true,
1049
+ "6": true,
1050
+ "7": true,
1051
+ "8": true,
1052
+ "9": true
1053
+ }
1054
+ },
1055
+ {
1056
+ "collation_map": null,
1057
+ "enum_str_map": null,
1058
+ "enumset_collation_map": null,
1059
+ "geometry_type_map": null,
1060
+ "kind": "rows",
1061
+ "rows": [
1062
+ [
1063
+ {
1064
+ "go_type": "int32",
1065
+ "kind": "num",
1066
+ "len": 0,
1067
+ "num": "2"
1068
+ },
1069
+ {
1070
+ "go_type": "nil",
1071
+ "kind": "null",
1072
+ "len": 0
1073
+ },
1074
+ {
1075
+ "go_type": "nil",
1076
+ "kind": "null",
1077
+ "len": 0
1078
+ },
1079
+ {
1080
+ "go_type": "nil",
1081
+ "kind": "null",
1082
+ "len": 0
1083
+ },
1084
+ {
1085
+ "go_type": "nil",
1086
+ "kind": "null",
1087
+ "len": 0
1088
+ },
1089
+ {
1090
+ "go_type": "nil",
1091
+ "kind": "null",
1092
+ "len": 0
1093
+ },
1094
+ {
1095
+ "go_type": "nil",
1096
+ "kind": "null",
1097
+ "len": 0
1098
+ },
1099
+ {
1100
+ "go_type": "nil",
1101
+ "kind": "null",
1102
+ "len": 0
1103
+ },
1104
+ {
1105
+ "go_type": "nil",
1106
+ "kind": "null",
1107
+ "len": 0
1108
+ },
1109
+ {
1110
+ "go_type": "nil",
1111
+ "kind": "null",
1112
+ "len": 0
1113
+ },
1114
+ {
1115
+ "go_type": "nil",
1116
+ "kind": "null",
1117
+ "len": 0
1118
+ },
1119
+ {
1120
+ "go_type": "nil",
1121
+ "kind": "null",
1122
+ "len": 0
1123
+ },
1124
+ {
1125
+ "go_type": "nil",
1126
+ "kind": "null",
1127
+ "len": 0
1128
+ },
1129
+ {
1130
+ "go_type": "nil",
1131
+ "kind": "null",
1132
+ "len": 0
1133
+ },
1134
+ {
1135
+ "go_type": "nil",
1136
+ "kind": "null",
1137
+ "len": 0
1138
+ }
1139
+ ]
1140
+ ],
1141
+ "rows_flags": 1,
1142
+ "rows_version": 2,
1143
+ "schema": "probe",
1144
+ "seq": 22,
1145
+ "set_str_map": null,
1146
+ "table": "mtypes",
1147
+ "type": "DeleteRowsEventV2",
1148
+ "unsigned_map": null,
1149
+ "visibility_map": null
1150
+ },
1151
+ {
1152
+ "collation_map": null,
1153
+ "enum_str_map": null,
1154
+ "enumset_collation_map": null,
1155
+ "geometry_type_map": null,
1156
+ "kind": "other",
1157
+ "seq": 23,
1158
+ "set_str_map": null,
1159
+ "type": "XIDEvent",
1160
+ "unsigned_map": null,
1161
+ "visibility_map": null
1162
+ },
1163
+ {
1164
+ "collation_map": null,
1165
+ "enum_str_map": null,
1166
+ "enumset_collation_map": null,
1167
+ "geometry_type_map": null,
1168
+ "kind": "other",
1169
+ "seq": 24,
1170
+ "set_str_map": null,
1171
+ "type": "RotateEvent",
1172
+ "unsigned_map": null,
1173
+ "visibility_map": null
1174
+ }
1175
+ ]
1176
+ }
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb1011-vmx.binlog ADDED
Binary file (2.61 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb106-vmx.binlog ADDED
Binary file (2.61 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb114-vmx.binlog ADDED
Binary file (2.62 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-adj.binlog ADDED
Binary file (4.36 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-big.binlog ADDED
Binary file (20.7 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-core.binlog ADDED
Binary file (10.5 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-dml.binlog ADDED
Binary file (2.23 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-minimal.binlog ADDED
Binary file (1.55 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-nested-plain.binlog ADDED
Binary file (1.95 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-nested.binlog ADDED
Binary file (3.09 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-noblob.binlog ADDED
Binary file (1.91 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-plain.binlog ADDED
Binary file (2.22 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-thr0.binlog ADDED
Binary file (2.28 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-widths.binlog ADDED
Binary file (3.32 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mdb118-wrapon.binlog ADDED
Binary file (6.59 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mysql80-types.binlog ADDED
Binary file (3.61 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/mysql84-types.binlog ADDED
Binary file (3.61 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-fill-118.binlog ADDED
Binary file (1.9 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-rowimg-min-118.binlog ADDED
Binary file (1.84 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-103.binlog ADDED
Binary file (2.13 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-104.binlog ADDED
Binary file (2.13 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus/p6-vmx-105.binlog ADDED
Binary file (2.27 kB). View file
 
harbor/sources/go-mysql-v9/task/grader/data/corpus_manifest.json ADDED
@@ -0,0 +1,423 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mdb1011-vmx": {
3
+ "flags": [
4
+ "--log-bin=probe",
5
+ "--binlog-format=ROW",
6
+ "--binlog-row-metadata=FULL",
7
+ "--server-id=99"
8
+ ],
9
+ "flavor": "mariadb",
10
+ "image": "mariadb:10.11",
11
+ "settings": {
12
+ "mixed session wrap": "OFF then ON"
13
+ },
14
+ "tags": [
15
+ "blocker",
16
+ "version",
17
+ "wrap_on",
18
+ "wrap_off"
19
+ ],
20
+ "version": "10.11.19-MariaDB-ubu2204-log"
21
+ },
22
+ "mdb106-vmx": {
23
+ "flags": [
24
+ "--log-bin=probe",
25
+ "--binlog-format=ROW",
26
+ "--binlog-row-metadata=FULL",
27
+ "--server-id=99"
28
+ ],
29
+ "flavor": "mariadb",
30
+ "image": "mariadb:10.6",
31
+ "settings": {
32
+ "mixed session wrap": "OFF then ON"
33
+ },
34
+ "tags": [
35
+ "version_breadth",
36
+ "wrap_on",
37
+ "wrap_off"
38
+ ],
39
+ "version": "10.6.28-MariaDB-ubu2204-log"
40
+ },
41
+ "mdb114-vmx": {
42
+ "flags": [
43
+ "--log-bin=probe",
44
+ "--binlog-format=ROW",
45
+ "--binlog-row-metadata=FULL",
46
+ "--server-id=99"
47
+ ],
48
+ "flavor": "mariadb",
49
+ "image": "mariadb:11.4",
50
+ "settings": {
51
+ "mixed session wrap": "OFF then ON"
52
+ },
53
+ "tags": [
54
+ "version_breadth",
55
+ "wrap_on",
56
+ "wrap_off"
57
+ ],
58
+ "version": "11.4.13-MariaDB-ubu2404-log"
59
+ },
60
+ "mdb118-adj": {
61
+ "flags": [
62
+ "--log-bin=probe",
63
+ "--binlog-format=ROW",
64
+ "--binlog-row-metadata=FULL",
65
+ "--server-id=99"
66
+ ],
67
+ "flavor": "mariadb",
68
+ "image": "mariadb:11.8",
69
+ "settings": {
70
+ "column_compression_zlib_wrap": "OFF"
71
+ },
72
+ "tags": [
73
+ "adjacency"
74
+ ],
75
+ "version": "11.8.9-MariaDB-ubu2404-log"
76
+ },
77
+ "mdb118-big": {
78
+ "flags": [
79
+ "--log-bin=probe",
80
+ "--binlog-format=ROW",
81
+ "--binlog-row-metadata=FULL",
82
+ "--server-id=99",
83
+ "--max-allowed-packet=134217728"
84
+ ],
85
+ "flavor": "mariadb",
86
+ "image": "mariadb:11.8",
87
+ "settings": {
88
+ "note": "original length needs four big-endian bytes"
89
+ },
90
+ "tags": [
91
+ "blocker",
92
+ "lengths"
93
+ ],
94
+ "version": "11.8.9-MariaDB-ubu2404-log"
95
+ },
96
+ "mdb118-core": {
97
+ "flags": [
98
+ "--log-bin=probe",
99
+ "--binlog-format=ROW",
100
+ "--binlog-row-metadata=FULL",
101
+ "--server-id=99"
102
+ ],
103
+ "flavor": "mariadb",
104
+ "image": "mariadb:11.8",
105
+ "settings": {
106
+ "binlog_row_metadata": "FULL",
107
+ "column_compression_threshold": 100,
108
+ "column_compression_zlib_level": 6,
109
+ "column_compression_zlib_wrap": "OFF"
110
+ },
111
+ "tags": [
112
+ "blocker",
113
+ "twin",
114
+ "wrap_off",
115
+ "threshold_default"
116
+ ],
117
+ "version": "11.8.9-MariaDB-ubu2404-log"
118
+ },
119
+ "mdb118-dml": {
120
+ "flags": [
121
+ "--log-bin=probe",
122
+ "--binlog-format=ROW",
123
+ "--binlog-row-metadata=FULL",
124
+ "--server-id=99"
125
+ ],
126
+ "flavor": "mariadb",
127
+ "image": "mariadb:11.8",
128
+ "settings": {
129
+ "column_compression_zlib_wrap": "OFF"
130
+ },
131
+ "tags": [
132
+ "blocker",
133
+ "dml",
134
+ "multirow"
135
+ ],
136
+ "version": "11.8.9-MariaDB-ubu2404-log"
137
+ },
138
+ "mdb118-minimal": {
139
+ "flags": [
140
+ "--log-bin=probe",
141
+ "--binlog-format=ROW",
142
+ "--binlog-row-metadata=MINIMAL",
143
+ "--server-id=99"
144
+ ],
145
+ "flavor": "mariadb",
146
+ "image": "mariadb:11.8",
147
+ "settings": {
148
+ "binlog_row_metadata": "MINIMAL"
149
+ },
150
+ "tags": [
151
+ "blocker",
152
+ "minimal_metadata"
153
+ ],
154
+ "version": "11.8.9-MariaDB-ubu2404-log"
155
+ },
156
+ "mdb118-nested": {
157
+ "flags": [
158
+ "--log-bin=probe",
159
+ "--binlog-format=ROW",
160
+ "--binlog-row-metadata=FULL",
161
+ "--server-id=99",
162
+ "--log-bin-compress=ON",
163
+ "--log-bin-compress-min-len=10"
164
+ ],
165
+ "flavor": "mariadb",
166
+ "image": "mariadb:11.8",
167
+ "settings": {
168
+ "log_bin_compress": "ON",
169
+ "log_bin_compress_min_len": 10
170
+ },
171
+ "tags": [
172
+ "nested",
173
+ "twin"
174
+ ],
175
+ "version": "11.8.9-MariaDB-ubu2404-log"
176
+ },
177
+ "mdb118-nested-plain": {
178
+ "flags": [
179
+ "--log-bin=probe",
180
+ "--binlog-format=ROW",
181
+ "--binlog-row-metadata=FULL",
182
+ "--server-id=99",
183
+ "--log-bin-compress=ON",
184
+ "--log-bin-compress-min-len=10"
185
+ ],
186
+ "flavor": "mariadb",
187
+ "image": "mariadb:11.8",
188
+ "settings": {
189
+ "log_bin_compress": "ON"
190
+ },
191
+ "tags": [
192
+ "regression"
193
+ ],
194
+ "version": "11.8.9-MariaDB-ubu2404-log"
195
+ },
196
+ "mdb118-noblob": {
197
+ "flags": [
198
+ "--log-bin=probe",
199
+ "--binlog-format=ROW",
200
+ "--binlog-row-metadata=FULL",
201
+ "--server-id=99"
202
+ ],
203
+ "flavor": "mariadb",
204
+ "image": "mariadb:11.8",
205
+ "settings": {
206
+ "binlog_row_image": "FULL then NOBLOB"
207
+ },
208
+ "tags": [
209
+ "blocker",
210
+ "dml",
211
+ "partial_row_image"
212
+ ],
213
+ "version": "11.8.9-MariaDB-ubu2404-log"
214
+ },
215
+ "mdb118-plain": {
216
+ "flags": [
217
+ "--log-bin=probe",
218
+ "--binlog-format=ROW",
219
+ "--binlog-row-metadata=FULL",
220
+ "--server-id=99"
221
+ ],
222
+ "flavor": "mariadb",
223
+ "image": "mariadb:11.8",
224
+ "settings": {},
225
+ "tags": [
226
+ "regression"
227
+ ],
228
+ "version": "11.8.9-MariaDB-ubu2404-log"
229
+ },
230
+ "mdb118-thr0": {
231
+ "flags": [
232
+ "--log-bin=probe",
233
+ "--binlog-format=ROW",
234
+ "--binlog-row-metadata=FULL",
235
+ "--server-id=99"
236
+ ],
237
+ "flavor": "mariadb",
238
+ "image": "mariadb:11.8",
239
+ "settings": {
240
+ "column_compression_threshold": 0,
241
+ "column_compression_zlib_level": "1 and 9"
242
+ },
243
+ "tags": [
244
+ "blocker",
245
+ "threshold_zero",
246
+ "wrap_off"
247
+ ],
248
+ "version": "11.8.9-MariaDB-ubu2404-log"
249
+ },
250
+ "mdb118-widths": {
251
+ "flags": [
252
+ "--log-bin=probe",
253
+ "--binlog-format=ROW",
254
+ "--binlog-row-metadata=FULL",
255
+ "--server-id=99"
256
+ ],
257
+ "flavor": "mariadb",
258
+ "image": "mariadb:11.8",
259
+ "settings": {
260
+ "column_compression_zlib_wrap": "OFF"
261
+ },
262
+ "tags": [
263
+ "blocker",
264
+ "lengths",
265
+ "wrap_off"
266
+ ],
267
+ "version": "11.8.9-MariaDB-ubu2404-log"
268
+ },
269
+ "mdb118-wrapon": {
270
+ "flags": [
271
+ "--log-bin=probe",
272
+ "--binlog-format=ROW",
273
+ "--binlog-row-metadata=FULL",
274
+ "--server-id=99"
275
+ ],
276
+ "flavor": "mariadb",
277
+ "image": "mariadb:11.8",
278
+ "settings": {
279
+ "column_compression_zlib_wrap": "ON"
280
+ },
281
+ "tags": [
282
+ "blocker",
283
+ "twin",
284
+ "wrap_on"
285
+ ],
286
+ "version": "11.8.9-MariaDB-ubu2404-log"
287
+ },
288
+ "mysql80-types": {
289
+ "flags": [
290
+ "--log-bin=probe",
291
+ "--binlog-row-metadata=FULL",
292
+ "--server-id=99"
293
+ ],
294
+ "flavor": "mysql",
295
+ "image": "mysql:8.0",
296
+ "settings": {},
297
+ "tags": [
298
+ "regression"
299
+ ],
300
+ "version": "8.0.46"
301
+ },
302
+ "mysql84-types": {
303
+ "flags": [
304
+ "--log-bin=probe",
305
+ "--binlog-row-metadata=FULL",
306
+ "--server-id=99"
307
+ ],
308
+ "flavor": "mysql",
309
+ "image": "mysql:8.4",
310
+ "settings": {},
311
+ "tags": [
312
+ "regression"
313
+ ],
314
+ "version": "8.4.11"
315
+ },
316
+ "p6-fill-118": {
317
+ "flags": [
318
+ "--log-bin=probe",
319
+ "--binlog-format=ROW",
320
+ "--binlog-row-metadata=FULL",
321
+ "--server-id=99"
322
+ ],
323
+ "flavor": "mariadb",
324
+ "image": "mariadb:11.8",
325
+ "settings": {
326
+ "column_compression_threshold": "100 then 1",
327
+ "column_compression_zlib_level": "1 then 9",
328
+ "mixed session wrap": "OFF then ON"
329
+ },
330
+ "tags": [
331
+ "v6",
332
+ "fill_capacity",
333
+ "wrap_on",
334
+ "wrap_off"
335
+ ],
336
+ "version": "11.8.9-MariaDB-ubu2404-log"
337
+ },
338
+ "p6-rowimg-min-118": {
339
+ "flags": [
340
+ "--log-bin=probe",
341
+ "--binlog-format=ROW",
342
+ "--binlog-row-metadata=FULL",
343
+ "--server-id=99",
344
+ "--binlog-row-image=MINIMAL"
345
+ ],
346
+ "flavor": "mariadb",
347
+ "image": "mariadb:11.8",
348
+ "settings": {
349
+ "binlog_row_image": "MINIMAL",
350
+ "binlog_row_metadata": "FULL"
351
+ },
352
+ "tags": [
353
+ "v6",
354
+ "row_image_minimal",
355
+ "partial_row_image",
356
+ "wrap_off"
357
+ ],
358
+ "version": "11.8.9-MariaDB-ubu2404-log"
359
+ },
360
+ "p6-vmx-103": {
361
+ "flags": [
362
+ "--log-bin=probe",
363
+ "--binlog-format=ROW",
364
+ "--server-id=99"
365
+ ],
366
+ "flavor": "mariadb",
367
+ "image": "mariadb:10.3",
368
+ "settings": {
369
+ "binlog_row_metadata": "(not supported)",
370
+ "mixed session wrap": "OFF then ON"
371
+ },
372
+ "tags": [
373
+ "v6",
374
+ "version_pre_10_6",
375
+ "no_row_metadata",
376
+ "wrap_on",
377
+ "wrap_off"
378
+ ],
379
+ "version": "10.3.39-MariaDB-1:10.3.39+maria~ubu2004-log"
380
+ },
381
+ "p6-vmx-104": {
382
+ "flags": [
383
+ "--log-bin=probe",
384
+ "--binlog-format=ROW",
385
+ "--server-id=99"
386
+ ],
387
+ "flavor": "mariadb",
388
+ "image": "mariadb:10.4",
389
+ "settings": {
390
+ "binlog_row_metadata": "(not supported)",
391
+ "mixed session wrap": "OFF then ON"
392
+ },
393
+ "tags": [
394
+ "v6",
395
+ "version_pre_10_6",
396
+ "no_row_metadata",
397
+ "wrap_on",
398
+ "wrap_off"
399
+ ],
400
+ "version": "10.4.34-MariaDB-1:10.4.34+maria~ubu2004-log"
401
+ },
402
+ "p6-vmx-105": {
403
+ "flags": [
404
+ "--log-bin=probe",
405
+ "--binlog-format=ROW",
406
+ "--binlog-row-metadata=FULL",
407
+ "--server-id=99"
408
+ ],
409
+ "flavor": "mariadb",
410
+ "image": "mariadb:10.5",
411
+ "settings": {
412
+ "binlog_row_metadata": "FULL",
413
+ "mixed session wrap": "OFF then ON"
414
+ },
415
+ "tags": [
416
+ "v6",
417
+ "version_pre_10_6",
418
+ "wrap_on",
419
+ "wrap_off"
420
+ ],
421
+ "version": "10.5.29-MariaDB-ubu2004-log"
422
+ }
423
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb1011-vmx.json ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb1011-vmx.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb1011-vmx",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:10.11",
13
+ "settings": {
14
+ "mixed session wrap": "OFF then ON"
15
+ },
16
+ "version": "10.11.19-MariaDB-ubu2204-log"
17
+ },
18
+ "tables": {
19
+ "vmx": {
20
+ "collation_map": {
21
+ "1": 45,
22
+ "2": 224,
23
+ "3": 9,
24
+ "4": 8,
25
+ "5": 63,
26
+ "6": 51,
27
+ "7": 33
28
+ },
29
+ "column_names": [
30
+ "id",
31
+ "p1",
32
+ "c1",
33
+ "c2",
34
+ "p2",
35
+ "c3",
36
+ "p3",
37
+ "c4",
38
+ "n1"
39
+ ],
40
+ "columns": [
41
+ {
42
+ "collation": null,
43
+ "collation_id": null,
44
+ "column_type": "int(11)",
45
+ "compressed": false,
46
+ "data_type": "int",
47
+ "invisible": false,
48
+ "is_char": false,
49
+ "is_enumset": false,
50
+ "is_numeric": true,
51
+ "kind": "num",
52
+ "name": "id",
53
+ "unsigned": false
54
+ },
55
+ {
56
+ "collation": "utf8mb4_general_ci",
57
+ "collation_id": 45,
58
+ "column_type": "varchar(40)",
59
+ "compressed": false,
60
+ "data_type": "varchar",
61
+ "invisible": false,
62
+ "is_char": true,
63
+ "is_enumset": false,
64
+ "is_numeric": false,
65
+ "kind": "bytes",
66
+ "name": "p1",
67
+ "unsigned": false
68
+ },
69
+ {
70
+ "collation": "utf8mb4_unicode_ci",
71
+ "collation_id": 224,
72
+ "column_type": "varchar(500) /*m!100301 compressed*/",
73
+ "compressed": true,
74
+ "data_type": "varchar",
75
+ "invisible": false,
76
+ "is_char": true,
77
+ "is_enumset": false,
78
+ "is_numeric": false,
79
+ "kind": "bytes",
80
+ "name": "c1",
81
+ "unsigned": false
82
+ },
83
+ {
84
+ "collation": "latin2_general_ci",
85
+ "collation_id": 9,
86
+ "column_type": "text /*m!100301 compressed*/",
87
+ "compressed": true,
88
+ "data_type": "text",
89
+ "invisible": false,
90
+ "is_char": true,
91
+ "is_enumset": false,
92
+ "is_numeric": false,
93
+ "kind": "bytes",
94
+ "name": "c2",
95
+ "unsigned": false
96
+ },
97
+ {
98
+ "collation": "latin1_swedish_ci",
99
+ "collation_id": 8,
100
+ "column_type": "text",
101
+ "compressed": false,
102
+ "data_type": "text",
103
+ "invisible": false,
104
+ "is_char": true,
105
+ "is_enumset": false,
106
+ "is_numeric": false,
107
+ "kind": "bytes",
108
+ "name": "p2",
109
+ "unsigned": false
110
+ },
111
+ {
112
+ "collation": null,
113
+ "collation_id": null,
114
+ "column_type": "varbinary(400) /*m!100301 compressed*/",
115
+ "compressed": true,
116
+ "data_type": "varbinary",
117
+ "invisible": false,
118
+ "is_char": true,
119
+ "is_enumset": false,
120
+ "is_numeric": false,
121
+ "kind": "bytes",
122
+ "name": "c3",
123
+ "unsigned": false
124
+ },
125
+ {
126
+ "collation": "cp1251_general_ci",
127
+ "collation_id": 51,
128
+ "column_type": "char(8)",
129
+ "compressed": false,
130
+ "data_type": "char",
131
+ "invisible": false,
132
+ "is_char": true,
133
+ "is_enumset": false,
134
+ "is_numeric": false,
135
+ "kind": "bytes",
136
+ "name": "p3",
137
+ "unsigned": false
138
+ },
139
+ {
140
+ "collation": "utf8mb3_general_ci",
141
+ "collation_id": 33,
142
+ "column_type": "mediumtext /*m!100301 compressed*/",
143
+ "compressed": true,
144
+ "data_type": "mediumtext",
145
+ "invisible": false,
146
+ "is_char": true,
147
+ "is_enumset": false,
148
+ "is_numeric": false,
149
+ "kind": "bytes",
150
+ "name": "c4",
151
+ "unsigned": false
152
+ },
153
+ {
154
+ "collation": null,
155
+ "collation_id": null,
156
+ "column_type": "int(10) unsigned",
157
+ "compressed": false,
158
+ "data_type": "int",
159
+ "invisible": false,
160
+ "is_char": false,
161
+ "is_enumset": false,
162
+ "is_numeric": true,
163
+ "kind": "num",
164
+ "name": "n1",
165
+ "unsigned": true
166
+ }
167
+ ],
168
+ "enum_str_map": {},
169
+ "enumset_collation_map": {},
170
+ "invisible": [],
171
+ "row_groups": [
172
+ {
173
+ "kind": "insert",
174
+ "rows": [
175
+ [
176
+ {
177
+ "kind": "num",
178
+ "num": "1"
179
+ },
180
+ {
181
+ "hex": "706c61696e",
182
+ "kind": "bytes",
183
+ "len": 5,
184
+ "md5": "ac7938d40cfc2307e2bf325d28e7884e"
185
+ },
186
+ {
187
+ "hex": "7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d",
188
+ "kind": "bytes",
189
+ "len": 480,
190
+ "md5": "5a7f894fd62da304d4e0a9816ecac9c5"
191
+ },
192
+ {
193
+ "hex": "746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565",
194
+ "kind": "bytes",
195
+ "len": 750,
196
+ "md5": "88fe12968c9cec7849e88decc7ce50c6"
197
+ },
198
+ {
199
+ "hex": "7032",
200
+ "kind": "bytes",
201
+ "len": 2,
202
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
203
+ },
204
+ {
205
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
206
+ "kind": "bytes",
207
+ "len": 144,
208
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
209
+ },
210
+ {
211
+ "hex": "6370",
212
+ "kind": "bytes",
213
+ "len": 2,
214
+ "md5": "9c95319bf274672d6eae7eb97c3dfda5"
215
+ },
216
+ {
217
+ "hex": "6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d",
218
+ "kind": "bytes",
219
+ "len": 600,
220
+ "md5": "79224697ff82de2b57699ca2dfa1466a"
221
+ },
222
+ {
223
+ "kind": "num",
224
+ "num": "7"
225
+ }
226
+ ],
227
+ [
228
+ {
229
+ "kind": "num",
230
+ "num": "2"
231
+ },
232
+ {
233
+ "hex": "",
234
+ "kind": "bytes",
235
+ "len": 0,
236
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
237
+ },
238
+ {
239
+ "hex": "73686f7274",
240
+ "kind": "bytes",
241
+ "len": 5,
242
+ "md5": "4f09daa9d95bcb166a302407a0e0babe"
243
+ },
244
+ {
245
+ "hex": "776565",
246
+ "kind": "bytes",
247
+ "len": 3,
248
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
249
+ },
250
+ {
251
+ "hex": "",
252
+ "kind": "bytes",
253
+ "len": 0,
254
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
255
+ },
256
+ {
257
+ "hex": "",
258
+ "kind": "bytes",
259
+ "len": 0,
260
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
261
+ },
262
+ {
263
+ "hex": "",
264
+ "kind": "bytes",
265
+ "len": 0,
266
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
267
+ },
268
+ {
269
+ "hex": "",
270
+ "kind": "bytes",
271
+ "len": 0,
272
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
273
+ },
274
+ {
275
+ "kind": "num",
276
+ "num": "0"
277
+ }
278
+ ],
279
+ [
280
+ {
281
+ "kind": "num",
282
+ "num": "3"
283
+ },
284
+ {
285
+ "hex": "70",
286
+ "kind": "bytes",
287
+ "len": 1,
288
+ "md5": "83878c91171338902e0fe0fb97a8c47a"
289
+ },
290
+ {
291
+ "hex": "777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d",
292
+ "kind": "bytes",
293
+ "len": 480,
294
+ "md5": "6d73c2d5a5e826f74a26ce5459d27564"
295
+ },
296
+ {
297
+ "hex": "777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270",
298
+ "kind": "bytes",
299
+ "len": 780,
300
+ "md5": "e7620b17c2c57395ea122ffef8c5e53a"
301
+ },
302
+ {
303
+ "hex": "78",
304
+ "kind": "bytes",
305
+ "len": 1,
306
+ "md5": "9dd4e461268c8034f5c8564e155c67a6"
307
+ },
308
+ {
309
+ "hex": "4242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
310
+ "kind": "bytes",
311
+ "len": 200,
312
+ "md5": "fc8cbf456f76eb7c1485c683f5afc186"
313
+ },
314
+ {
315
+ "hex": "79",
316
+ "kind": "bytes",
317
+ "len": 1,
318
+ "md5": "415290769594460e2e485922904f345d"
319
+ },
320
+ {
321
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
322
+ "kind": "bytes",
323
+ "len": 600,
324
+ "md5": "4106ddb1fbb318455637e7435032616f"
325
+ },
326
+ {
327
+ "kind": "num",
328
+ "num": "4294967295"
329
+ }
330
+ ]
331
+ ]
332
+ }
333
+ ],
334
+ "set_str_map": {},
335
+ "unsigned_map": {
336
+ "0": false,
337
+ "8": true
338
+ }
339
+ }
340
+ },
341
+ "tags": [
342
+ "blocker",
343
+ "version",
344
+ "wrap_on",
345
+ "wrap_off"
346
+ ]
347
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb106-vmx.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb106-vmx.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb106-vmx",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:10.6",
13
+ "settings": {
14
+ "mixed session wrap": "OFF then ON"
15
+ },
16
+ "version": "10.6.28-MariaDB-ubu2204-log"
17
+ },
18
+ "tables": {
19
+ "vmx": {
20
+ "collation_map": {
21
+ "1": 45,
22
+ "2": 224,
23
+ "3": 9,
24
+ "4": 8,
25
+ "5": 63,
26
+ "6": 51,
27
+ "7": 33
28
+ },
29
+ "column_names": [
30
+ "id",
31
+ "p1",
32
+ "c1",
33
+ "c2",
34
+ "p2",
35
+ "c3",
36
+ "p3",
37
+ "c4",
38
+ "n1"
39
+ ],
40
+ "columns": [
41
+ {
42
+ "collation": null,
43
+ "collation_id": null,
44
+ "column_type": "int(11)",
45
+ "compressed": false,
46
+ "data_type": "int",
47
+ "invisible": false,
48
+ "is_char": false,
49
+ "is_enumset": false,
50
+ "is_numeric": true,
51
+ "kind": "num",
52
+ "name": "id",
53
+ "unsigned": false
54
+ },
55
+ {
56
+ "collation": "utf8mb4_general_ci",
57
+ "collation_id": 45,
58
+ "column_type": "varchar(40)",
59
+ "compressed": false,
60
+ "data_type": "varchar",
61
+ "invisible": false,
62
+ "is_char": true,
63
+ "is_enumset": false,
64
+ "is_numeric": false,
65
+ "kind": "bytes",
66
+ "name": "p1",
67
+ "unsigned": false
68
+ },
69
+ {
70
+ "collation": "utf8mb4_unicode_ci",
71
+ "collation_id": 224,
72
+ "column_type": "varchar(500) /*m!100301 compressed*/",
73
+ "compressed": true,
74
+ "data_type": "varchar",
75
+ "invisible": false,
76
+ "is_char": true,
77
+ "is_enumset": false,
78
+ "is_numeric": false,
79
+ "kind": "bytes",
80
+ "name": "c1",
81
+ "unsigned": false
82
+ },
83
+ {
84
+ "collation": "latin2_general_ci",
85
+ "collation_id": 9,
86
+ "column_type": "text /*m!100301 compressed*/",
87
+ "compressed": true,
88
+ "data_type": "text",
89
+ "invisible": false,
90
+ "is_char": true,
91
+ "is_enumset": false,
92
+ "is_numeric": false,
93
+ "kind": "bytes",
94
+ "name": "c2",
95
+ "unsigned": false
96
+ },
97
+ {
98
+ "collation": "latin1_swedish_ci",
99
+ "collation_id": 8,
100
+ "column_type": "text",
101
+ "compressed": false,
102
+ "data_type": "text",
103
+ "invisible": false,
104
+ "is_char": true,
105
+ "is_enumset": false,
106
+ "is_numeric": false,
107
+ "kind": "bytes",
108
+ "name": "p2",
109
+ "unsigned": false
110
+ },
111
+ {
112
+ "collation": null,
113
+ "collation_id": null,
114
+ "column_type": "varbinary(400) /*m!100301 compressed*/",
115
+ "compressed": true,
116
+ "data_type": "varbinary",
117
+ "invisible": false,
118
+ "is_char": true,
119
+ "is_enumset": false,
120
+ "is_numeric": false,
121
+ "kind": "bytes",
122
+ "name": "c3",
123
+ "unsigned": false
124
+ },
125
+ {
126
+ "collation": "cp1251_general_ci",
127
+ "collation_id": 51,
128
+ "column_type": "char(8)",
129
+ "compressed": false,
130
+ "data_type": "char",
131
+ "invisible": false,
132
+ "is_char": true,
133
+ "is_enumset": false,
134
+ "is_numeric": false,
135
+ "kind": "bytes",
136
+ "name": "p3",
137
+ "unsigned": false
138
+ },
139
+ {
140
+ "collation": "utf8mb3_general_ci",
141
+ "collation_id": 33,
142
+ "column_type": "mediumtext /*m!100301 compressed*/",
143
+ "compressed": true,
144
+ "data_type": "mediumtext",
145
+ "invisible": false,
146
+ "is_char": true,
147
+ "is_enumset": false,
148
+ "is_numeric": false,
149
+ "kind": "bytes",
150
+ "name": "c4",
151
+ "unsigned": false
152
+ },
153
+ {
154
+ "collation": null,
155
+ "collation_id": null,
156
+ "column_type": "int(10) unsigned",
157
+ "compressed": false,
158
+ "data_type": "int",
159
+ "invisible": false,
160
+ "is_char": false,
161
+ "is_enumset": false,
162
+ "is_numeric": true,
163
+ "kind": "num",
164
+ "name": "n1",
165
+ "unsigned": true
166
+ }
167
+ ],
168
+ "enum_str_map": {},
169
+ "enumset_collation_map": {},
170
+ "invisible": [],
171
+ "row_groups": [
172
+ {
173
+ "kind": "insert",
174
+ "rows": [
175
+ [
176
+ {
177
+ "kind": "num",
178
+ "num": "1"
179
+ },
180
+ {
181
+ "hex": "706c61696e",
182
+ "kind": "bytes",
183
+ "len": 5,
184
+ "md5": "ac7938d40cfc2307e2bf325d28e7884e"
185
+ },
186
+ {
187
+ "hex": "7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d",
188
+ "kind": "bytes",
189
+ "len": 480,
190
+ "md5": "5a7f894fd62da304d4e0a9816ecac9c5"
191
+ },
192
+ {
193
+ "hex": "746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565",
194
+ "kind": "bytes",
195
+ "len": 750,
196
+ "md5": "88fe12968c9cec7849e88decc7ce50c6"
197
+ },
198
+ {
199
+ "hex": "7032",
200
+ "kind": "bytes",
201
+ "len": 2,
202
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
203
+ },
204
+ {
205
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
206
+ "kind": "bytes",
207
+ "len": 144,
208
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
209
+ },
210
+ {
211
+ "hex": "6370",
212
+ "kind": "bytes",
213
+ "len": 2,
214
+ "md5": "9c95319bf274672d6eae7eb97c3dfda5"
215
+ },
216
+ {
217
+ "hex": "6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d",
218
+ "kind": "bytes",
219
+ "len": 600,
220
+ "md5": "79224697ff82de2b57699ca2dfa1466a"
221
+ },
222
+ {
223
+ "kind": "num",
224
+ "num": "7"
225
+ }
226
+ ],
227
+ [
228
+ {
229
+ "kind": "num",
230
+ "num": "2"
231
+ },
232
+ {
233
+ "hex": "",
234
+ "kind": "bytes",
235
+ "len": 0,
236
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
237
+ },
238
+ {
239
+ "hex": "73686f7274",
240
+ "kind": "bytes",
241
+ "len": 5,
242
+ "md5": "4f09daa9d95bcb166a302407a0e0babe"
243
+ },
244
+ {
245
+ "hex": "776565",
246
+ "kind": "bytes",
247
+ "len": 3,
248
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
249
+ },
250
+ {
251
+ "hex": "",
252
+ "kind": "bytes",
253
+ "len": 0,
254
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
255
+ },
256
+ {
257
+ "hex": "",
258
+ "kind": "bytes",
259
+ "len": 0,
260
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
261
+ },
262
+ {
263
+ "hex": "",
264
+ "kind": "bytes",
265
+ "len": 0,
266
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
267
+ },
268
+ {
269
+ "hex": "",
270
+ "kind": "bytes",
271
+ "len": 0,
272
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
273
+ },
274
+ {
275
+ "kind": "num",
276
+ "num": "0"
277
+ }
278
+ ],
279
+ [
280
+ {
281
+ "kind": "num",
282
+ "num": "3"
283
+ },
284
+ {
285
+ "hex": "70",
286
+ "kind": "bytes",
287
+ "len": 1,
288
+ "md5": "83878c91171338902e0fe0fb97a8c47a"
289
+ },
290
+ {
291
+ "hex": "777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d",
292
+ "kind": "bytes",
293
+ "len": 480,
294
+ "md5": "6d73c2d5a5e826f74a26ce5459d27564"
295
+ },
296
+ {
297
+ "hex": "777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270",
298
+ "kind": "bytes",
299
+ "len": 780,
300
+ "md5": "e7620b17c2c57395ea122ffef8c5e53a"
301
+ },
302
+ {
303
+ "hex": "78",
304
+ "kind": "bytes",
305
+ "len": 1,
306
+ "md5": "9dd4e461268c8034f5c8564e155c67a6"
307
+ },
308
+ {
309
+ "hex": "4242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
310
+ "kind": "bytes",
311
+ "len": 200,
312
+ "md5": "fc8cbf456f76eb7c1485c683f5afc186"
313
+ },
314
+ {
315
+ "hex": "79",
316
+ "kind": "bytes",
317
+ "len": 1,
318
+ "md5": "415290769594460e2e485922904f345d"
319
+ },
320
+ {
321
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
322
+ "kind": "bytes",
323
+ "len": 600,
324
+ "md5": "4106ddb1fbb318455637e7435032616f"
325
+ },
326
+ {
327
+ "kind": "num",
328
+ "num": "4294967295"
329
+ }
330
+ ]
331
+ ]
332
+ }
333
+ ],
334
+ "set_str_map": {},
335
+ "unsigned_map": {
336
+ "0": false,
337
+ "8": true
338
+ }
339
+ }
340
+ },
341
+ "tags": [
342
+ "version_breadth",
343
+ "wrap_on",
344
+ "wrap_off"
345
+ ]
346
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb114-vmx.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb114-vmx.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb114-vmx",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.4",
13
+ "settings": {
14
+ "mixed session wrap": "OFF then ON"
15
+ },
16
+ "version": "11.4.13-MariaDB-ubu2404-log"
17
+ },
18
+ "tables": {
19
+ "vmx": {
20
+ "collation_map": {
21
+ "1": 2304,
22
+ "2": 224,
23
+ "3": 9,
24
+ "4": 8,
25
+ "5": 63,
26
+ "6": 51,
27
+ "7": 33
28
+ },
29
+ "column_names": [
30
+ "id",
31
+ "p1",
32
+ "c1",
33
+ "c2",
34
+ "p2",
35
+ "c3",
36
+ "p3",
37
+ "c4",
38
+ "n1"
39
+ ],
40
+ "columns": [
41
+ {
42
+ "collation": null,
43
+ "collation_id": null,
44
+ "column_type": "int(11)",
45
+ "compressed": false,
46
+ "data_type": "int",
47
+ "invisible": false,
48
+ "is_char": false,
49
+ "is_enumset": false,
50
+ "is_numeric": true,
51
+ "kind": "num",
52
+ "name": "id",
53
+ "unsigned": false
54
+ },
55
+ {
56
+ "collation": "utf8mb4_uca1400_ai_ci",
57
+ "collation_id": 2304,
58
+ "column_type": "varchar(40)",
59
+ "compressed": false,
60
+ "data_type": "varchar",
61
+ "invisible": false,
62
+ "is_char": true,
63
+ "is_enumset": false,
64
+ "is_numeric": false,
65
+ "kind": "bytes",
66
+ "name": "p1",
67
+ "unsigned": false
68
+ },
69
+ {
70
+ "collation": "utf8mb4_unicode_ci",
71
+ "collation_id": 224,
72
+ "column_type": "varchar(500) /*m!100301 compressed*/",
73
+ "compressed": true,
74
+ "data_type": "varchar",
75
+ "invisible": false,
76
+ "is_char": true,
77
+ "is_enumset": false,
78
+ "is_numeric": false,
79
+ "kind": "bytes",
80
+ "name": "c1",
81
+ "unsigned": false
82
+ },
83
+ {
84
+ "collation": "latin2_general_ci",
85
+ "collation_id": 9,
86
+ "column_type": "text /*m!100301 compressed*/",
87
+ "compressed": true,
88
+ "data_type": "text",
89
+ "invisible": false,
90
+ "is_char": true,
91
+ "is_enumset": false,
92
+ "is_numeric": false,
93
+ "kind": "bytes",
94
+ "name": "c2",
95
+ "unsigned": false
96
+ },
97
+ {
98
+ "collation": "latin1_swedish_ci",
99
+ "collation_id": 8,
100
+ "column_type": "text",
101
+ "compressed": false,
102
+ "data_type": "text",
103
+ "invisible": false,
104
+ "is_char": true,
105
+ "is_enumset": false,
106
+ "is_numeric": false,
107
+ "kind": "bytes",
108
+ "name": "p2",
109
+ "unsigned": false
110
+ },
111
+ {
112
+ "collation": null,
113
+ "collation_id": null,
114
+ "column_type": "varbinary(400) /*m!100301 compressed*/",
115
+ "compressed": true,
116
+ "data_type": "varbinary",
117
+ "invisible": false,
118
+ "is_char": true,
119
+ "is_enumset": false,
120
+ "is_numeric": false,
121
+ "kind": "bytes",
122
+ "name": "c3",
123
+ "unsigned": false
124
+ },
125
+ {
126
+ "collation": "cp1251_general_ci",
127
+ "collation_id": 51,
128
+ "column_type": "char(8)",
129
+ "compressed": false,
130
+ "data_type": "char",
131
+ "invisible": false,
132
+ "is_char": true,
133
+ "is_enumset": false,
134
+ "is_numeric": false,
135
+ "kind": "bytes",
136
+ "name": "p3",
137
+ "unsigned": false
138
+ },
139
+ {
140
+ "collation": "utf8mb3_general_ci",
141
+ "collation_id": 33,
142
+ "column_type": "mediumtext /*m!100301 compressed*/",
143
+ "compressed": true,
144
+ "data_type": "mediumtext",
145
+ "invisible": false,
146
+ "is_char": true,
147
+ "is_enumset": false,
148
+ "is_numeric": false,
149
+ "kind": "bytes",
150
+ "name": "c4",
151
+ "unsigned": false
152
+ },
153
+ {
154
+ "collation": null,
155
+ "collation_id": null,
156
+ "column_type": "int(10) unsigned",
157
+ "compressed": false,
158
+ "data_type": "int",
159
+ "invisible": false,
160
+ "is_char": false,
161
+ "is_enumset": false,
162
+ "is_numeric": true,
163
+ "kind": "num",
164
+ "name": "n1",
165
+ "unsigned": true
166
+ }
167
+ ],
168
+ "enum_str_map": {},
169
+ "enumset_collation_map": {},
170
+ "invisible": [],
171
+ "row_groups": [
172
+ {
173
+ "kind": "insert",
174
+ "rows": [
175
+ [
176
+ {
177
+ "kind": "num",
178
+ "num": "1"
179
+ },
180
+ {
181
+ "hex": "706c61696e",
182
+ "kind": "bytes",
183
+ "len": 5,
184
+ "md5": "ac7938d40cfc2307e2bf325d28e7884e"
185
+ },
186
+ {
187
+ "hex": "7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d7665652d",
188
+ "kind": "bytes",
189
+ "len": 480,
190
+ "md5": "5a7f894fd62da304d4e0a9816ecac9c5"
191
+ },
192
+ {
193
+ "hex": "746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565746565",
194
+ "kind": "bytes",
195
+ "len": 750,
196
+ "md5": "88fe12968c9cec7849e88decc7ce50c6"
197
+ },
198
+ {
199
+ "hex": "7032",
200
+ "kind": "bytes",
201
+ "len": 2,
202
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
203
+ },
204
+ {
205
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
206
+ "kind": "bytes",
207
+ "len": 144,
208
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
209
+ },
210
+ {
211
+ "hex": "6370",
212
+ "kind": "bytes",
213
+ "len": 2,
214
+ "md5": "9c95319bf274672d6eae7eb97c3dfda5"
215
+ },
216
+ {
217
+ "hex": "6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d",
218
+ "kind": "bytes",
219
+ "len": 600,
220
+ "md5": "79224697ff82de2b57699ca2dfa1466a"
221
+ },
222
+ {
223
+ "kind": "num",
224
+ "num": "7"
225
+ }
226
+ ],
227
+ [
228
+ {
229
+ "kind": "num",
230
+ "num": "2"
231
+ },
232
+ {
233
+ "hex": "",
234
+ "kind": "bytes",
235
+ "len": 0,
236
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
237
+ },
238
+ {
239
+ "hex": "73686f7274",
240
+ "kind": "bytes",
241
+ "len": 5,
242
+ "md5": "4f09daa9d95bcb166a302407a0e0babe"
243
+ },
244
+ {
245
+ "hex": "776565",
246
+ "kind": "bytes",
247
+ "len": 3,
248
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
249
+ },
250
+ {
251
+ "hex": "",
252
+ "kind": "bytes",
253
+ "len": 0,
254
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
255
+ },
256
+ {
257
+ "hex": "",
258
+ "kind": "bytes",
259
+ "len": 0,
260
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
261
+ },
262
+ {
263
+ "hex": "",
264
+ "kind": "bytes",
265
+ "len": 0,
266
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
267
+ },
268
+ {
269
+ "hex": "",
270
+ "kind": "bytes",
271
+ "len": 0,
272
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
273
+ },
274
+ {
275
+ "kind": "num",
276
+ "num": "0"
277
+ }
278
+ ],
279
+ [
280
+ {
281
+ "kind": "num",
282
+ "num": "3"
283
+ },
284
+ {
285
+ "hex": "70",
286
+ "kind": "bytes",
287
+ "len": 1,
288
+ "md5": "83878c91171338902e0fe0fb97a8c47a"
289
+ },
290
+ {
291
+ "hex": "777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d777261707065642d",
292
+ "kind": "bytes",
293
+ "len": 480,
294
+ "md5": "6d73c2d5a5e826f74a26ce5459d27564"
295
+ },
296
+ {
297
+ "hex": "777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270777270",
298
+ "kind": "bytes",
299
+ "len": 780,
300
+ "md5": "e7620b17c2c57395ea122ffef8c5e53a"
301
+ },
302
+ {
303
+ "hex": "78",
304
+ "kind": "bytes",
305
+ "len": 1,
306
+ "md5": "9dd4e461268c8034f5c8564e155c67a6"
307
+ },
308
+ {
309
+ "hex": "4242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
310
+ "kind": "bytes",
311
+ "len": 200,
312
+ "md5": "fc8cbf456f76eb7c1485c683f5afc186"
313
+ },
314
+ {
315
+ "hex": "79",
316
+ "kind": "bytes",
317
+ "len": 1,
318
+ "md5": "415290769594460e2e485922904f345d"
319
+ },
320
+ {
321
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
322
+ "kind": "bytes",
323
+ "len": 600,
324
+ "md5": "4106ddb1fbb318455637e7435032616f"
325
+ },
326
+ {
327
+ "kind": "num",
328
+ "num": "4294967295"
329
+ }
330
+ ]
331
+ ]
332
+ }
333
+ ],
334
+ "set_str_map": {},
335
+ "unsigned_map": {
336
+ "0": false,
337
+ "8": true
338
+ }
339
+ }
340
+ },
341
+ "tags": [
342
+ "version_breadth",
343
+ "wrap_on",
344
+ "wrap_off"
345
+ ]
346
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-adj.json ADDED
@@ -0,0 +1,613 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-adj.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-adj",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "column_compression_zlib_wrap": "OFF"
15
+ },
16
+ "version": "11.8.9-MariaDB-ubu2404-log"
17
+ },
18
+ "tables": {
19
+ "adj": {
20
+ "collation_map": {
21
+ "0": 2304,
22
+ "2": 5,
23
+ "5": 576,
24
+ "6": 25,
25
+ "9": 51
26
+ },
27
+ "column_names": [
28
+ "c1",
29
+ "e1",
30
+ "c2",
31
+ "s1",
32
+ "n1",
33
+ "c3",
34
+ "g1",
35
+ "n2",
36
+ "y1",
37
+ "c4",
38
+ "id"
39
+ ],
40
+ "columns": [
41
+ {
42
+ "collation": "utf8mb4_uca1400_ai_ci",
43
+ "collation_id": 2304,
44
+ "column_type": "text /*m!100301 compressed*/",
45
+ "compressed": true,
46
+ "data_type": "text",
47
+ "invisible": false,
48
+ "is_char": true,
49
+ "is_enumset": false,
50
+ "is_numeric": false,
51
+ "kind": "bytes",
52
+ "name": "c1",
53
+ "unsigned": false
54
+ },
55
+ {
56
+ "collation": "latin2_general_ci",
57
+ "collation_id": 9,
58
+ "column_type": "enum('aa','bb')",
59
+ "compressed": false,
60
+ "data_type": "enum",
61
+ "invisible": false,
62
+ "is_char": false,
63
+ "is_enumset": true,
64
+ "is_numeric": false,
65
+ "kind": "num",
66
+ "name": "e1",
67
+ "unsigned": false
68
+ },
69
+ {
70
+ "collation": "latin1_german1_ci",
71
+ "collation_id": 5,
72
+ "column_type": "varchar(80) /*m!100301 compressed*/",
73
+ "compressed": true,
74
+ "data_type": "varchar",
75
+ "invisible": false,
76
+ "is_char": true,
77
+ "is_enumset": false,
78
+ "is_numeric": false,
79
+ "kind": "bytes",
80
+ "name": "c2",
81
+ "unsigned": false
82
+ },
83
+ {
84
+ "collation": "latin7_general_ci",
85
+ "collation_id": 41,
86
+ "column_type": "set('x','y','z')",
87
+ "compressed": false,
88
+ "data_type": "set",
89
+ "invisible": false,
90
+ "is_char": false,
91
+ "is_enumset": true,
92
+ "is_numeric": false,
93
+ "kind": "num",
94
+ "name": "s1",
95
+ "unsigned": false
96
+ },
97
+ {
98
+ "collation": null,
99
+ "collation_id": null,
100
+ "column_type": "smallint(5) unsigned",
101
+ "compressed": false,
102
+ "data_type": "smallint",
103
+ "invisible": false,
104
+ "is_char": false,
105
+ "is_enumset": false,
106
+ "is_numeric": true,
107
+ "kind": "num",
108
+ "name": "n1",
109
+ "unsigned": true
110
+ },
111
+ {
112
+ "collation": "utf8mb3_croatian_ci",
113
+ "collation_id": 576,
114
+ "column_type": "varchar(40) /*m!100301 compressed*/",
115
+ "compressed": true,
116
+ "data_type": "varchar",
117
+ "invisible": true,
118
+ "is_char": true,
119
+ "is_enumset": false,
120
+ "is_numeric": false,
121
+ "kind": "bytes",
122
+ "name": "c3",
123
+ "unsigned": false
124
+ },
125
+ {
126
+ "collation": "greek_general_ci",
127
+ "collation_id": 25,
128
+ "column_type": "char(4)",
129
+ "compressed": false,
130
+ "data_type": "char",
131
+ "invisible": false,
132
+ "is_char": true,
133
+ "is_enumset": false,
134
+ "is_numeric": false,
135
+ "kind": "bytes",
136
+ "name": "g1",
137
+ "unsigned": false
138
+ },
139
+ {
140
+ "collation": null,
141
+ "collation_id": null,
142
+ "column_type": "bigint(20)",
143
+ "compressed": false,
144
+ "data_type": "bigint",
145
+ "invisible": false,
146
+ "is_char": false,
147
+ "is_enumset": false,
148
+ "is_numeric": true,
149
+ "kind": "num",
150
+ "name": "n2",
151
+ "unsigned": false
152
+ },
153
+ {
154
+ "collation": null,
155
+ "collation_id": null,
156
+ "column_type": "year(4)",
157
+ "compressed": false,
158
+ "data_type": "year",
159
+ "invisible": false,
160
+ "is_char": false,
161
+ "is_enumset": false,
162
+ "is_numeric": true,
163
+ "kind": "num",
164
+ "name": "y1",
165
+ "unsigned": true
166
+ },
167
+ {
168
+ "collation": "cp1251_general_ci",
169
+ "collation_id": 51,
170
+ "column_type": "mediumtext /*m!100301 compressed*/",
171
+ "compressed": true,
172
+ "data_type": "mediumtext",
173
+ "invisible": false,
174
+ "is_char": true,
175
+ "is_enumset": false,
176
+ "is_numeric": false,
177
+ "kind": "bytes",
178
+ "name": "c4",
179
+ "unsigned": false
180
+ },
181
+ {
182
+ "collation": null,
183
+ "collation_id": null,
184
+ "column_type": "int(11)",
185
+ "compressed": false,
186
+ "data_type": "int",
187
+ "invisible": false,
188
+ "is_char": false,
189
+ "is_enumset": false,
190
+ "is_numeric": true,
191
+ "kind": "num",
192
+ "name": "id",
193
+ "unsigned": false
194
+ }
195
+ ],
196
+ "enum_str_map": {
197
+ "1": [
198
+ "aa",
199
+ "bb"
200
+ ]
201
+ },
202
+ "enumset_collation_map": {
203
+ "1": 9,
204
+ "3": 41
205
+ },
206
+ "invisible": [
207
+ "c3"
208
+ ],
209
+ "row_groups": [
210
+ {
211
+ "kind": "insert",
212
+ "rows": [
213
+ [
214
+ {
215
+ "hex": "61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a",
216
+ "kind": "bytes",
217
+ "len": 750,
218
+ "md5": "914ced1944be8d32f92c33e7b8a3ac69"
219
+ },
220
+ {
221
+ "kind": "num",
222
+ "num": "2"
223
+ },
224
+ {
225
+ "hex": "4445",
226
+ "kind": "bytes",
227
+ "len": 2,
228
+ "md5": "3a52f3c22ed6fcde5bf696a6c02c9e73"
229
+ },
230
+ {
231
+ "kind": "num",
232
+ "num": "5"
233
+ },
234
+ {
235
+ "kind": "num",
236
+ "num": "7"
237
+ },
238
+ {
239
+ "hex": "68696464656e",
240
+ "kind": "bytes",
241
+ "len": 6,
242
+ "md5": "662f707d5491e9bce8238a6c0be92190"
243
+ },
244
+ {
245
+ "hex": "61626364",
246
+ "kind": "bytes",
247
+ "len": 4,
248
+ "md5": "e2fc714c4727ee9395f324cd2e7f331f"
249
+ },
250
+ {
251
+ "kind": "num",
252
+ "num": "-12345"
253
+ },
254
+ {
255
+ "kind": "num",
256
+ "num": "2021"
257
+ },
258
+ {
259
+ "hex": "637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972",
260
+ "kind": "bytes",
261
+ "len": 600,
262
+ "md5": "c9a644f56fef09bf2492da861d06f5ce"
263
+ },
264
+ {
265
+ "kind": "num",
266
+ "num": "1"
267
+ }
268
+ ],
269
+ [
270
+ {
271
+ "hex": "",
272
+ "kind": "bytes",
273
+ "len": 0,
274
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
275
+ },
276
+ {
277
+ "kind": "num",
278
+ "num": "1"
279
+ },
280
+ {
281
+ "hex": "",
282
+ "kind": "bytes",
283
+ "len": 0,
284
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
285
+ },
286
+ {
287
+ "kind": "num",
288
+ "num": "0"
289
+ },
290
+ {
291
+ "kind": "num",
292
+ "num": "0"
293
+ },
294
+ {
295
+ "hex": "68696464656e",
296
+ "kind": "bytes",
297
+ "len": 6,
298
+ "md5": "662f707d5491e9bce8238a6c0be92190"
299
+ },
300
+ {
301
+ "hex": "",
302
+ "kind": "bytes",
303
+ "len": 0,
304
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
305
+ },
306
+ {
307
+ "kind": "num",
308
+ "num": "0"
309
+ },
310
+ {
311
+ "kind": "num",
312
+ "num": "1999"
313
+ },
314
+ {
315
+ "hex": "",
316
+ "kind": "bytes",
317
+ "len": 0,
318
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
319
+ },
320
+ {
321
+ "kind": "num",
322
+ "num": "2"
323
+ }
324
+ ]
325
+ ]
326
+ }
327
+ ],
328
+ "set_str_map": {
329
+ "3": [
330
+ "x",
331
+ "y",
332
+ "z"
333
+ ]
334
+ },
335
+ "unsigned_map": {
336
+ "10": false,
337
+ "4": true,
338
+ "7": false,
339
+ "8": true
340
+ }
341
+ },
342
+ "adjp": {
343
+ "collation_map": {
344
+ "0": 2304,
345
+ "2": 5,
346
+ "5": 576,
347
+ "6": 25,
348
+ "9": 51
349
+ },
350
+ "column_names": [
351
+ "c1",
352
+ "e1",
353
+ "c2",
354
+ "s1",
355
+ "n1",
356
+ "c3",
357
+ "g1",
358
+ "n2",
359
+ "y1",
360
+ "c4",
361
+ "id"
362
+ ],
363
+ "columns": [
364
+ {
365
+ "collation": "utf8mb4_uca1400_ai_ci",
366
+ "collation_id": 2304,
367
+ "column_type": "text",
368
+ "compressed": false,
369
+ "data_type": "text",
370
+ "invisible": false,
371
+ "is_char": true,
372
+ "is_enumset": false,
373
+ "is_numeric": false,
374
+ "kind": "bytes",
375
+ "name": "c1",
376
+ "unsigned": false
377
+ },
378
+ {
379
+ "collation": "latin2_general_ci",
380
+ "collation_id": 9,
381
+ "column_type": "enum('aa','bb')",
382
+ "compressed": false,
383
+ "data_type": "enum",
384
+ "invisible": false,
385
+ "is_char": false,
386
+ "is_enumset": true,
387
+ "is_numeric": false,
388
+ "kind": "num",
389
+ "name": "e1",
390
+ "unsigned": false
391
+ },
392
+ {
393
+ "collation": "latin1_german1_ci",
394
+ "collation_id": 5,
395
+ "column_type": "varchar(80)",
396
+ "compressed": false,
397
+ "data_type": "varchar",
398
+ "invisible": false,
399
+ "is_char": true,
400
+ "is_enumset": false,
401
+ "is_numeric": false,
402
+ "kind": "bytes",
403
+ "name": "c2",
404
+ "unsigned": false
405
+ },
406
+ {
407
+ "collation": "latin7_general_ci",
408
+ "collation_id": 41,
409
+ "column_type": "set('x','y','z')",
410
+ "compressed": false,
411
+ "data_type": "set",
412
+ "invisible": false,
413
+ "is_char": false,
414
+ "is_enumset": true,
415
+ "is_numeric": false,
416
+ "kind": "num",
417
+ "name": "s1",
418
+ "unsigned": false
419
+ },
420
+ {
421
+ "collation": null,
422
+ "collation_id": null,
423
+ "column_type": "smallint(5) unsigned",
424
+ "compressed": false,
425
+ "data_type": "smallint",
426
+ "invisible": false,
427
+ "is_char": false,
428
+ "is_enumset": false,
429
+ "is_numeric": true,
430
+ "kind": "num",
431
+ "name": "n1",
432
+ "unsigned": true
433
+ },
434
+ {
435
+ "collation": "utf8mb3_croatian_ci",
436
+ "collation_id": 576,
437
+ "column_type": "varchar(40)",
438
+ "compressed": false,
439
+ "data_type": "varchar",
440
+ "invisible": true,
441
+ "is_char": true,
442
+ "is_enumset": false,
443
+ "is_numeric": false,
444
+ "kind": "bytes",
445
+ "name": "c3",
446
+ "unsigned": false
447
+ },
448
+ {
449
+ "collation": "greek_general_ci",
450
+ "collation_id": 25,
451
+ "column_type": "char(4)",
452
+ "compressed": false,
453
+ "data_type": "char",
454
+ "invisible": false,
455
+ "is_char": true,
456
+ "is_enumset": false,
457
+ "is_numeric": false,
458
+ "kind": "bytes",
459
+ "name": "g1",
460
+ "unsigned": false
461
+ },
462
+ {
463
+ "collation": null,
464
+ "collation_id": null,
465
+ "column_type": "bigint(20)",
466
+ "compressed": false,
467
+ "data_type": "bigint",
468
+ "invisible": false,
469
+ "is_char": false,
470
+ "is_enumset": false,
471
+ "is_numeric": true,
472
+ "kind": "num",
473
+ "name": "n2",
474
+ "unsigned": false
475
+ },
476
+ {
477
+ "collation": null,
478
+ "collation_id": null,
479
+ "column_type": "year(4)",
480
+ "compressed": false,
481
+ "data_type": "year",
482
+ "invisible": false,
483
+ "is_char": false,
484
+ "is_enumset": false,
485
+ "is_numeric": true,
486
+ "kind": "num",
487
+ "name": "y1",
488
+ "unsigned": true
489
+ },
490
+ {
491
+ "collation": "cp1251_general_ci",
492
+ "collation_id": 51,
493
+ "column_type": "mediumtext",
494
+ "compressed": false,
495
+ "data_type": "mediumtext",
496
+ "invisible": false,
497
+ "is_char": true,
498
+ "is_enumset": false,
499
+ "is_numeric": false,
500
+ "kind": "bytes",
501
+ "name": "c4",
502
+ "unsigned": false
503
+ },
504
+ {
505
+ "collation": null,
506
+ "collation_id": null,
507
+ "column_type": "int(11)",
508
+ "compressed": false,
509
+ "data_type": "int",
510
+ "invisible": false,
511
+ "is_char": false,
512
+ "is_enumset": false,
513
+ "is_numeric": true,
514
+ "kind": "num",
515
+ "name": "id",
516
+ "unsigned": false
517
+ }
518
+ ],
519
+ "enum_str_map": {
520
+ "1": [
521
+ "aa",
522
+ "bb"
523
+ ]
524
+ },
525
+ "enumset_collation_map": {
526
+ "1": 9,
527
+ "3": 41
528
+ },
529
+ "invisible": [
530
+ "c3"
531
+ ],
532
+ "row_groups": [
533
+ {
534
+ "kind": "insert",
535
+ "rows": [
536
+ [
537
+ {
538
+ "hex": "61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a61646a",
539
+ "kind": "bytes",
540
+ "len": 750,
541
+ "md5": "914ced1944be8d32f92c33e7b8a3ac69"
542
+ },
543
+ {
544
+ "kind": "num",
545
+ "num": "2"
546
+ },
547
+ {
548
+ "hex": "4445",
549
+ "kind": "bytes",
550
+ "len": 2,
551
+ "md5": "3a52f3c22ed6fcde5bf696a6c02c9e73"
552
+ },
553
+ {
554
+ "kind": "num",
555
+ "num": "5"
556
+ },
557
+ {
558
+ "kind": "num",
559
+ "num": "7"
560
+ },
561
+ {
562
+ "hex": "68696464656e",
563
+ "kind": "bytes",
564
+ "len": 6,
565
+ "md5": "662f707d5491e9bce8238a6c0be92190"
566
+ },
567
+ {
568
+ "hex": "61626364",
569
+ "kind": "bytes",
570
+ "len": 4,
571
+ "md5": "e2fc714c4727ee9395f324cd2e7f331f"
572
+ },
573
+ {
574
+ "kind": "num",
575
+ "num": "-12345"
576
+ },
577
+ {
578
+ "kind": "num",
579
+ "num": "2021"
580
+ },
581
+ {
582
+ "hex": "637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972637972",
583
+ "kind": "bytes",
584
+ "len": 600,
585
+ "md5": "c9a644f56fef09bf2492da861d06f5ce"
586
+ },
587
+ {
588
+ "kind": "num",
589
+ "num": "1"
590
+ }
591
+ ]
592
+ ]
593
+ }
594
+ ],
595
+ "set_str_map": {
596
+ "3": [
597
+ "x",
598
+ "y",
599
+ "z"
600
+ ]
601
+ },
602
+ "unsigned_map": {
603
+ "10": false,
604
+ "4": true,
605
+ "7": false,
606
+ "8": true
607
+ }
608
+ }
609
+ },
610
+ "tags": [
611
+ "adjacency"
612
+ ]
613
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-big.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-big.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-big",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99",
11
+ "--max-allowed-packet=134217728"
12
+ ],
13
+ "image": "mariadb:11.8",
14
+ "settings": {
15
+ "note": "original length needs four big-endian bytes"
16
+ },
17
+ "version": "11.8.9-MariaDB-ubu2404-log"
18
+ },
19
+ "tables": {
20
+ "big": {
21
+ "collation_map": {
22
+ "1": 8
23
+ },
24
+ "column_names": [
25
+ "id",
26
+ "t"
27
+ ],
28
+ "columns": [
29
+ {
30
+ "collation": null,
31
+ "collation_id": null,
32
+ "column_type": "int(11)",
33
+ "compressed": false,
34
+ "data_type": "int",
35
+ "invisible": false,
36
+ "is_char": false,
37
+ "is_enumset": false,
38
+ "is_numeric": true,
39
+ "kind": "num",
40
+ "name": "id",
41
+ "unsigned": false
42
+ },
43
+ {
44
+ "collation": "latin1_swedish_ci",
45
+ "collation_id": 8,
46
+ "column_type": "longtext /*m!100301 compressed*/",
47
+ "compressed": true,
48
+ "data_type": "longtext",
49
+ "invisible": false,
50
+ "is_char": true,
51
+ "is_enumset": false,
52
+ "is_numeric": false,
53
+ "kind": "bytes",
54
+ "name": "t",
55
+ "unsigned": false
56
+ }
57
+ ],
58
+ "enum_str_map": {},
59
+ "enumset_collation_map": {},
60
+ "invisible": [],
61
+ "row_groups": [
62
+ {
63
+ "kind": "insert",
64
+ "rows": [
65
+ [
66
+ {
67
+ "kind": "num",
68
+ "num": "1"
69
+ },
70
+ {
71
+ "kind": "bytes",
72
+ "len": 20000000,
73
+ "md5": "86551eabcc6fcfae40b853d8b66e7e57"
74
+ }
75
+ ],
76
+ [
77
+ {
78
+ "kind": "num",
79
+ "num": "2"
80
+ },
81
+ {
82
+ "kind": "bytes",
83
+ "len": 80000,
84
+ "md5": "12ba84f11b157f74a6d0b117c52ab550"
85
+ }
86
+ ]
87
+ ]
88
+ }
89
+ ],
90
+ "set_str_map": {},
91
+ "unsigned_map": {
92
+ "0": false
93
+ }
94
+ }
95
+ },
96
+ "tags": [
97
+ "blocker",
98
+ "lengths"
99
+ ]
100
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-core.json ADDED
@@ -0,0 +1,943 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-core.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-core",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "binlog_row_metadata": "FULL",
15
+ "column_compression_threshold": 100,
16
+ "column_compression_zlib_level": 6,
17
+ "column_compression_zlib_wrap": "OFF"
18
+ },
19
+ "version": "11.8.9-MariaDB-ubu2404-log"
20
+ },
21
+ "tables": {
22
+ "mixed": {
23
+ "collation_map": {
24
+ "1": 47,
25
+ "10": 51,
26
+ "11": 41,
27
+ "2": 46,
28
+ "3": 9,
29
+ "4": 11,
30
+ "7": 83
31
+ },
32
+ "column_names": [
33
+ "id",
34
+ "a",
35
+ "b",
36
+ "c",
37
+ "d",
38
+ "e",
39
+ "f",
40
+ "g",
41
+ "h",
42
+ "i",
43
+ "j",
44
+ "k"
45
+ ],
46
+ "columns": [
47
+ {
48
+ "collation": null,
49
+ "collation_id": null,
50
+ "column_type": "int(10) unsigned",
51
+ "compressed": false,
52
+ "data_type": "int",
53
+ "invisible": false,
54
+ "is_char": false,
55
+ "is_enumset": false,
56
+ "is_numeric": true,
57
+ "kind": "num",
58
+ "name": "id",
59
+ "unsigned": true
60
+ },
61
+ {
62
+ "collation": "latin1_bin",
63
+ "collation_id": 47,
64
+ "column_type": "varchar(50)",
65
+ "compressed": false,
66
+ "data_type": "varchar",
67
+ "invisible": false,
68
+ "is_char": true,
69
+ "is_enumset": false,
70
+ "is_numeric": false,
71
+ "kind": "bytes",
72
+ "name": "a",
73
+ "unsigned": false
74
+ },
75
+ {
76
+ "collation": "utf8mb4_bin",
77
+ "collation_id": 46,
78
+ "column_type": "varchar(120) /*m!100301 compressed*/",
79
+ "compressed": true,
80
+ "data_type": "varchar",
81
+ "invisible": false,
82
+ "is_char": true,
83
+ "is_enumset": false,
84
+ "is_numeric": false,
85
+ "kind": "bytes",
86
+ "name": "b",
87
+ "unsigned": false
88
+ },
89
+ {
90
+ "collation": "latin2_general_ci",
91
+ "collation_id": 9,
92
+ "column_type": "text /*m!100301 compressed*/",
93
+ "compressed": true,
94
+ "data_type": "text",
95
+ "invisible": false,
96
+ "is_char": true,
97
+ "is_enumset": false,
98
+ "is_numeric": false,
99
+ "kind": "bytes",
100
+ "name": "c",
101
+ "unsigned": false
102
+ },
103
+ {
104
+ "collation": "ascii_general_ci",
105
+ "collation_id": 11,
106
+ "column_type": "varchar(60)",
107
+ "compressed": false,
108
+ "data_type": "varchar",
109
+ "invisible": false,
110
+ "is_char": true,
111
+ "is_enumset": false,
112
+ "is_numeric": false,
113
+ "kind": "bytes",
114
+ "name": "d",
115
+ "unsigned": false
116
+ },
117
+ {
118
+ "collation": "utf8mb3_uca1400_ai_ci",
119
+ "collation_id": 2048,
120
+ "column_type": "enum('red','green','blue')",
121
+ "compressed": false,
122
+ "data_type": "enum",
123
+ "invisible": false,
124
+ "is_char": false,
125
+ "is_enumset": true,
126
+ "is_numeric": false,
127
+ "kind": "num",
128
+ "name": "e",
129
+ "unsigned": false
130
+ },
131
+ {
132
+ "collation": "utf8mb3_uca1400_ai_ci",
133
+ "collation_id": 2048,
134
+ "column_type": "set('n','s','e','w')",
135
+ "compressed": false,
136
+ "data_type": "set",
137
+ "invisible": false,
138
+ "is_char": false,
139
+ "is_enumset": true,
140
+ "is_numeric": false,
141
+ "kind": "num",
142
+ "name": "f",
143
+ "unsigned": false
144
+ },
145
+ {
146
+ "collation": "utf8mb3_bin",
147
+ "collation_id": 83,
148
+ "column_type": "text",
149
+ "compressed": false,
150
+ "data_type": "text",
151
+ "invisible": false,
152
+ "is_char": true,
153
+ "is_enumset": false,
154
+ "is_numeric": false,
155
+ "kind": "bytes",
156
+ "name": "g",
157
+ "unsigned": false
158
+ },
159
+ {
160
+ "collation": null,
161
+ "collation_id": null,
162
+ "column_type": "smallint(5) unsigned",
163
+ "compressed": false,
164
+ "data_type": "smallint",
165
+ "invisible": false,
166
+ "is_char": false,
167
+ "is_enumset": false,
168
+ "is_numeric": true,
169
+ "kind": "num",
170
+ "name": "h",
171
+ "unsigned": true
172
+ },
173
+ {
174
+ "collation": null,
175
+ "collation_id": null,
176
+ "column_type": "bigint(20)",
177
+ "compressed": false,
178
+ "data_type": "bigint",
179
+ "invisible": false,
180
+ "is_char": false,
181
+ "is_enumset": false,
182
+ "is_numeric": true,
183
+ "kind": "num",
184
+ "name": "i",
185
+ "unsigned": false
186
+ },
187
+ {
188
+ "collation": "cp1251_general_ci",
189
+ "collation_id": 51,
190
+ "column_type": "varchar(30) /*m!100301 compressed*/",
191
+ "compressed": true,
192
+ "data_type": "varchar",
193
+ "invisible": false,
194
+ "is_char": true,
195
+ "is_enumset": false,
196
+ "is_numeric": false,
197
+ "kind": "bytes",
198
+ "name": "j",
199
+ "unsigned": false
200
+ },
201
+ {
202
+ "collation": "latin7_general_ci",
203
+ "collation_id": 41,
204
+ "column_type": "tinytext /*m!100301 compressed*/",
205
+ "compressed": true,
206
+ "data_type": "tinytext",
207
+ "invisible": false,
208
+ "is_char": true,
209
+ "is_enumset": false,
210
+ "is_numeric": false,
211
+ "kind": "bytes",
212
+ "name": "k",
213
+ "unsigned": false
214
+ }
215
+ ],
216
+ "enum_str_map": {
217
+ "5": [
218
+ "red",
219
+ "green",
220
+ "blue"
221
+ ]
222
+ },
223
+ "enumset_collation_map": {
224
+ "5": 2048,
225
+ "6": 2048
226
+ },
227
+ "invisible": [],
228
+ "row_groups": [
229
+ {
230
+ "kind": "insert",
231
+ "rows": [
232
+ [
233
+ {
234
+ "kind": "num",
235
+ "num": "1"
236
+ },
237
+ {
238
+ "hex": "616c706861",
239
+ "kind": "bytes",
240
+ "len": 5,
241
+ "md5": "2c1743a391305fbf367df8e4f069f9f9"
242
+ },
243
+ {
244
+ "hex": "6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d6265652d",
245
+ "kind": "bytes",
246
+ "len": 100,
247
+ "md5": "ca13761dd7677829f185cf1c4b63b4a8"
248
+ },
249
+ {
250
+ "hex": "636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565636565",
251
+ "kind": "bytes",
252
+ "len": 900,
253
+ "md5": "7480da37850a16f88852d5fa7a1e7d83"
254
+ },
255
+ {
256
+ "hex": "64656c7461",
257
+ "kind": "bytes",
258
+ "len": 5,
259
+ "md5": "63bcabf86a9a991864777c631c5b7617"
260
+ },
261
+ {
262
+ "kind": "num",
263
+ "num": "2"
264
+ },
265
+ {
266
+ "kind": "num",
267
+ "num": "9"
268
+ },
269
+ {
270
+ "hex": "67616d6d61",
271
+ "kind": "bytes",
272
+ "len": 5,
273
+ "md5": "05b048d7242cb7b8b57cfa3b1d65ecea"
274
+ },
275
+ {
276
+ "kind": "num",
277
+ "num": "65000"
278
+ },
279
+ {
280
+ "kind": "num",
281
+ "num": "-900000"
282
+ },
283
+ {
284
+ "hex": "6a6179",
285
+ "kind": "bytes",
286
+ "len": 3,
287
+ "md5": "baba327d241746ee0829e7e88117d4d5"
288
+ },
289
+ {
290
+ "hex": "6b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b61796b6179",
291
+ "kind": "bytes",
292
+ "len": 180,
293
+ "md5": "fa6d63c46b4d2bcb9dd03fbcd63c25d1"
294
+ }
295
+ ],
296
+ [
297
+ {
298
+ "kind": "num",
299
+ "num": "2"
300
+ },
301
+ {
302
+ "hex": "",
303
+ "kind": "bytes",
304
+ "len": 0,
305
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
306
+ },
307
+ {
308
+ "hex": "62",
309
+ "kind": "bytes",
310
+ "len": 1,
311
+ "md5": "92eb5ffee6ae2fec3ad71c777531578f"
312
+ },
313
+ {
314
+ "hex": "",
315
+ "kind": "bytes",
316
+ "len": 0,
317
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
318
+ },
319
+ {
320
+ "hex": "",
321
+ "kind": "bytes",
322
+ "len": 0,
323
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
324
+ },
325
+ {
326
+ "kind": "num",
327
+ "num": "1"
328
+ },
329
+ {
330
+ "kind": "num",
331
+ "num": "0"
332
+ },
333
+ {
334
+ "hex": "",
335
+ "kind": "bytes",
336
+ "len": 0,
337
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
338
+ },
339
+ {
340
+ "kind": "num",
341
+ "num": "0"
342
+ },
343
+ {
344
+ "kind": "num",
345
+ "num": "42"
346
+ },
347
+ {
348
+ "hex": "",
349
+ "kind": "bytes",
350
+ "len": 0,
351
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
352
+ },
353
+ {
354
+ "hex": "",
355
+ "kind": "bytes",
356
+ "len": 0,
357
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
358
+ }
359
+ ],
360
+ [
361
+ {
362
+ "kind": "num",
363
+ "num": "3"
364
+ },
365
+ {
366
+ "hex": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161",
367
+ "kind": "bytes",
368
+ "len": 50,
369
+ "md5": "6eb6a030bcce166534b95bc2ab45d9cf"
370
+ },
371
+ {
372
+ "hex": "757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575757575",
373
+ "kind": "bytes",
374
+ "len": 99,
375
+ "md5": "391a28d66dd64069766d12323d99bb27"
376
+ },
377
+ {
378
+ "hex": "76767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676",
379
+ "kind": "bytes",
380
+ "len": 100,
381
+ "md5": "bf6ed0a586ff68d9d2f00314ba58dca8"
382
+ },
383
+ {
384
+ "hex": "6464",
385
+ "kind": "bytes",
386
+ "len": 2,
387
+ "md5": "1aabac6d068eef6a7bad3fdf50a05cc8"
388
+ },
389
+ {
390
+ "kind": "num",
391
+ "num": "3"
392
+ },
393
+ {
394
+ "kind": "num",
395
+ "num": "14"
396
+ },
397
+ {
398
+ "hex": "6767",
399
+ "kind": "bytes",
400
+ "len": 2,
401
+ "md5": "73c18c59a39b18382081ec00bb456d43"
402
+ },
403
+ {
404
+ "kind": "num",
405
+ "num": "1"
406
+ },
407
+ {
408
+ "kind": "num",
409
+ "num": "-1"
410
+ },
411
+ {
412
+ "hex": "6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a6a",
413
+ "kind": "bytes",
414
+ "len": 30,
415
+ "md5": "b895d4aacdeb54c11a04640bc9792688"
416
+ },
417
+ {
418
+ "hex": "6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c",
419
+ "kind": "bytes",
420
+ "len": 20,
421
+ "md5": "d4a0959263d1aacc4d9544169bba3504"
422
+ }
423
+ ]
424
+ ]
425
+ }
426
+ ],
427
+ "set_str_map": {
428
+ "6": [
429
+ "n",
430
+ "s",
431
+ "e",
432
+ "w"
433
+ ]
434
+ },
435
+ "unsigned_map": {
436
+ "0": true,
437
+ "8": true,
438
+ "9": false
439
+ }
440
+ },
441
+ "twin": {
442
+ "collation_map": {
443
+ "1": 2304,
444
+ "2": 2304,
445
+ "3": 8,
446
+ "4": 8,
447
+ "5": 63,
448
+ "6": 63,
449
+ "7": 2048,
450
+ "8": 2048
451
+ },
452
+ "column_names": [
453
+ "id",
454
+ "vp",
455
+ "vc",
456
+ "tp",
457
+ "tc",
458
+ "bp",
459
+ "bc",
460
+ "mp",
461
+ "mc"
462
+ ],
463
+ "columns": [
464
+ {
465
+ "collation": null,
466
+ "collation_id": null,
467
+ "column_type": "int(11)",
468
+ "compressed": false,
469
+ "data_type": "int",
470
+ "invisible": false,
471
+ "is_char": false,
472
+ "is_enumset": false,
473
+ "is_numeric": true,
474
+ "kind": "num",
475
+ "name": "id",
476
+ "unsigned": false
477
+ },
478
+ {
479
+ "collation": "utf8mb4_uca1400_ai_ci",
480
+ "collation_id": 2304,
481
+ "column_type": "varchar(700)",
482
+ "compressed": false,
483
+ "data_type": "varchar",
484
+ "invisible": false,
485
+ "is_char": true,
486
+ "is_enumset": false,
487
+ "is_numeric": false,
488
+ "kind": "bytes",
489
+ "name": "vp",
490
+ "unsigned": false
491
+ },
492
+ {
493
+ "collation": "utf8mb4_uca1400_ai_ci",
494
+ "collation_id": 2304,
495
+ "column_type": "varchar(700) /*m!100301 compressed*/",
496
+ "compressed": true,
497
+ "data_type": "varchar",
498
+ "invisible": false,
499
+ "is_char": true,
500
+ "is_enumset": false,
501
+ "is_numeric": false,
502
+ "kind": "bytes",
503
+ "name": "vc",
504
+ "unsigned": false
505
+ },
506
+ {
507
+ "collation": "latin1_swedish_ci",
508
+ "collation_id": 8,
509
+ "column_type": "text",
510
+ "compressed": false,
511
+ "data_type": "text",
512
+ "invisible": false,
513
+ "is_char": true,
514
+ "is_enumset": false,
515
+ "is_numeric": false,
516
+ "kind": "bytes",
517
+ "name": "tp",
518
+ "unsigned": false
519
+ },
520
+ {
521
+ "collation": "latin1_swedish_ci",
522
+ "collation_id": 8,
523
+ "column_type": "text /*m!100301 compressed*/",
524
+ "compressed": true,
525
+ "data_type": "text",
526
+ "invisible": false,
527
+ "is_char": true,
528
+ "is_enumset": false,
529
+ "is_numeric": false,
530
+ "kind": "bytes",
531
+ "name": "tc",
532
+ "unsigned": false
533
+ },
534
+ {
535
+ "collation": null,
536
+ "collation_id": null,
537
+ "column_type": "varbinary(500)",
538
+ "compressed": false,
539
+ "data_type": "varbinary",
540
+ "invisible": false,
541
+ "is_char": true,
542
+ "is_enumset": false,
543
+ "is_numeric": false,
544
+ "kind": "bytes",
545
+ "name": "bp",
546
+ "unsigned": false
547
+ },
548
+ {
549
+ "collation": null,
550
+ "collation_id": null,
551
+ "column_type": "varbinary(500) /*m!100301 compressed*/",
552
+ "compressed": true,
553
+ "data_type": "varbinary",
554
+ "invisible": false,
555
+ "is_char": true,
556
+ "is_enumset": false,
557
+ "is_numeric": false,
558
+ "kind": "bytes",
559
+ "name": "bc",
560
+ "unsigned": false
561
+ },
562
+ {
563
+ "collation": "utf8mb3_uca1400_ai_ci",
564
+ "collation_id": 2048,
565
+ "column_type": "mediumtext",
566
+ "compressed": false,
567
+ "data_type": "mediumtext",
568
+ "invisible": false,
569
+ "is_char": true,
570
+ "is_enumset": false,
571
+ "is_numeric": false,
572
+ "kind": "bytes",
573
+ "name": "mp",
574
+ "unsigned": false
575
+ },
576
+ {
577
+ "collation": "utf8mb3_uca1400_ai_ci",
578
+ "collation_id": 2048,
579
+ "column_type": "mediumtext /*m!100301 compressed*/",
580
+ "compressed": true,
581
+ "data_type": "mediumtext",
582
+ "invisible": false,
583
+ "is_char": true,
584
+ "is_enumset": false,
585
+ "is_numeric": false,
586
+ "kind": "bytes",
587
+ "name": "mc",
588
+ "unsigned": false
589
+ }
590
+ ],
591
+ "enum_str_map": {},
592
+ "enumset_collation_map": {},
593
+ "invisible": [],
594
+ "row_groups": [
595
+ {
596
+ "kind": "insert",
597
+ "rows": [
598
+ [
599
+ {
600
+ "kind": "num",
601
+ "num": "1"
602
+ },
603
+ {
604
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
605
+ "kind": "bytes",
606
+ "len": 600,
607
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
608
+ },
609
+ {
610
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
611
+ "kind": "bytes",
612
+ "len": 600,
613
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
614
+ },
615
+ {
616
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
617
+ "kind": "bytes",
618
+ "len": 600,
619
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
620
+ },
621
+ {
622
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
623
+ "kind": "bytes",
624
+ "len": 600,
625
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
626
+ },
627
+ {
628
+ "hex": "5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b",
629
+ "kind": "bytes",
630
+ "len": 480,
631
+ "md5": "5e1643b35891c1a5667e0fe91c374b24"
632
+ },
633
+ {
634
+ "hex": "5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b",
635
+ "kind": "bytes",
636
+ "len": 480,
637
+ "md5": "5e1643b35891c1a5667e0fe91c374b24"
638
+ },
639
+ {
640
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
641
+ "kind": "bytes",
642
+ "len": 600,
643
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
644
+ },
645
+ {
646
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
647
+ "kind": "bytes",
648
+ "len": 600,
649
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
650
+ }
651
+ ],
652
+ [
653
+ {
654
+ "kind": "num",
655
+ "num": "2"
656
+ },
657
+ {
658
+ "hex": "7369787465656e206368617273206f6b",
659
+ "kind": "bytes",
660
+ "len": 16,
661
+ "md5": "a90dac9be49d58b4337b9a46c4eeb900"
662
+ },
663
+ {
664
+ "hex": "7369787465656e206368617273206f6b",
665
+ "kind": "bytes",
666
+ "len": 16,
667
+ "md5": "a90dac9be49d58b4337b9a46c4eeb900"
668
+ },
669
+ {
670
+ "hex": "776565",
671
+ "kind": "bytes",
672
+ "len": 3,
673
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
674
+ },
675
+ {
676
+ "hex": "776565",
677
+ "kind": "bytes",
678
+ "len": 3,
679
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
680
+ },
681
+ {
682
+ "hex": "07",
683
+ "kind": "bytes",
684
+ "len": 1,
685
+ "md5": "89e74e640b8c46257a29de0616794d5d"
686
+ },
687
+ {
688
+ "hex": "07",
689
+ "kind": "bytes",
690
+ "len": 1,
691
+ "md5": "89e74e640b8c46257a29de0616794d5d"
692
+ },
693
+ {
694
+ "hex": "71",
695
+ "kind": "bytes",
696
+ "len": 1,
697
+ "md5": "7694f4a66316e53c8cdd9d9954bd611d"
698
+ },
699
+ {
700
+ "hex": "71",
701
+ "kind": "bytes",
702
+ "len": 1,
703
+ "md5": "7694f4a66316e53c8cdd9d9954bd611d"
704
+ }
705
+ ],
706
+ [
707
+ {
708
+ "kind": "num",
709
+ "num": "3"
710
+ },
711
+ {
712
+ "hex": "",
713
+ "kind": "bytes",
714
+ "len": 0,
715
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
716
+ },
717
+ {
718
+ "hex": "",
719
+ "kind": "bytes",
720
+ "len": 0,
721
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
722
+ },
723
+ {
724
+ "hex": "",
725
+ "kind": "bytes",
726
+ "len": 0,
727
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
728
+ },
729
+ {
730
+ "hex": "",
731
+ "kind": "bytes",
732
+ "len": 0,
733
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
734
+ },
735
+ {
736
+ "hex": "",
737
+ "kind": "bytes",
738
+ "len": 0,
739
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
740
+ },
741
+ {
742
+ "hex": "",
743
+ "kind": "bytes",
744
+ "len": 0,
745
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
746
+ },
747
+ {
748
+ "hex": "",
749
+ "kind": "bytes",
750
+ "len": 0,
751
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
752
+ },
753
+ {
754
+ "hex": "",
755
+ "kind": "bytes",
756
+ "len": 0,
757
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
758
+ }
759
+ ],
760
+ [
761
+ {
762
+ "kind": "num",
763
+ "num": "4"
764
+ },
765
+ {
766
+ "kind": "null"
767
+ },
768
+ {
769
+ "kind": "null"
770
+ },
771
+ {
772
+ "kind": "null"
773
+ },
774
+ {
775
+ "kind": "null"
776
+ },
777
+ {
778
+ "kind": "null"
779
+ },
780
+ {
781
+ "kind": "null"
782
+ },
783
+ {
784
+ "kind": "null"
785
+ },
786
+ {
787
+ "kind": "null"
788
+ }
789
+ ],
790
+ [
791
+ {
792
+ "kind": "num",
793
+ "num": "5"
794
+ },
795
+ {
796
+ "hex": "6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e",
797
+ "kind": "bytes",
798
+ "len": 99,
799
+ "md5": "e8c8f455804d280b5a1c4577d37c24c6"
800
+ },
801
+ {
802
+ "hex": "6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e6e",
803
+ "kind": "bytes",
804
+ "len": 99,
805
+ "md5": "e8c8f455804d280b5a1c4577d37c24c6"
806
+ },
807
+ {
808
+ "hex": "6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d",
809
+ "kind": "bytes",
810
+ "len": 100,
811
+ "md5": "849bf892633e0d683c1d0e1d7f9c03b8"
812
+ },
813
+ {
814
+ "hex": "6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d",
815
+ "kind": "bytes",
816
+ "len": 100,
817
+ "md5": "849bf892633e0d683c1d0e1d7f9c03b8"
818
+ },
819
+ {
820
+ "kind": "null"
821
+ },
822
+ {
823
+ "kind": "null"
824
+ },
825
+ {
826
+ "hex": "6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b",
827
+ "kind": "bytes",
828
+ "len": 101,
829
+ "md5": "320ed2bab6cfa8117ddfe01ed2e271c7"
830
+ },
831
+ {
832
+ "hex": "6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b6b",
833
+ "kind": "bytes",
834
+ "len": 101,
835
+ "md5": "320ed2bab6cfa8117ddfe01ed2e271c7"
836
+ }
837
+ ],
838
+ [
839
+ {
840
+ "kind": "num",
841
+ "num": "6"
842
+ },
843
+ {
844
+ "kind": "null"
845
+ },
846
+ {
847
+ "kind": "null"
848
+ },
849
+ {
850
+ "kind": "null"
851
+ },
852
+ {
853
+ "kind": "null"
854
+ },
855
+ {
856
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
857
+ "kind": "bytes",
858
+ "len": 144,
859
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
860
+ },
861
+ {
862
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
863
+ "kind": "bytes",
864
+ "len": 144,
865
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
866
+ },
867
+ {
868
+ "kind": "null"
869
+ },
870
+ {
871
+ "kind": "null"
872
+ }
873
+ ],
874
+ [
875
+ {
876
+ "kind": "num",
877
+ "num": "7"
878
+ },
879
+ {
880
+ "hex": "e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97",
881
+ "kind": "bytes",
882
+ "len": 810,
883
+ "md5": "88be1912dc5d89d4b3c6c833ad065ee8"
884
+ },
885
+ {
886
+ "hex": "e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97e4b8ade69687e5ad97",
887
+ "kind": "bytes",
888
+ "len": 810,
889
+ "md5": "88be1912dc5d89d4b3c6c833ad065ee8"
890
+ },
891
+ {
892
+ "kind": "null"
893
+ },
894
+ {
895
+ "kind": "null"
896
+ },
897
+ {
898
+ "kind": "null"
899
+ },
900
+ {
901
+ "kind": "null"
902
+ },
903
+ {
904
+ "kind": "null"
905
+ },
906
+ {
907
+ "kind": "null"
908
+ }
909
+ ]
910
+ ]
911
+ }
912
+ ],
913
+ "set_str_map": {},
914
+ "twins": [
915
+ [
916
+ 1,
917
+ 2
918
+ ],
919
+ [
920
+ 3,
921
+ 4
922
+ ],
923
+ [
924
+ 5,
925
+ 6
926
+ ],
927
+ [
928
+ 7,
929
+ 8
930
+ ]
931
+ ],
932
+ "unsigned_map": {
933
+ "0": false
934
+ }
935
+ }
936
+ },
937
+ "tags": [
938
+ "blocker",
939
+ "twin",
940
+ "wrap_off",
941
+ "threshold_default"
942
+ ]
943
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-dml.json ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-dml.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-dml",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "column_compression_zlib_wrap": "OFF"
15
+ },
16
+ "version": "11.8.9-MariaDB-ubu2404-log"
17
+ },
18
+ "tables": {
19
+ "dml": {
20
+ "collation_map": {
21
+ "1": 2304,
22
+ "2": 8,
23
+ "3": 8
24
+ },
25
+ "column_names": [
26
+ "id",
27
+ "v",
28
+ "t",
29
+ "p"
30
+ ],
31
+ "columns": [
32
+ {
33
+ "collation": null,
34
+ "collation_id": null,
35
+ "column_type": "int(11)",
36
+ "compressed": false,
37
+ "data_type": "int",
38
+ "invisible": false,
39
+ "is_char": false,
40
+ "is_enumset": false,
41
+ "is_numeric": true,
42
+ "kind": "num",
43
+ "name": "id",
44
+ "unsigned": false
45
+ },
46
+ {
47
+ "collation": "utf8mb4_uca1400_ai_ci",
48
+ "collation_id": 2304,
49
+ "column_type": "varchar(700) /*m!100301 compressed*/",
50
+ "compressed": true,
51
+ "data_type": "varchar",
52
+ "invisible": false,
53
+ "is_char": true,
54
+ "is_enumset": false,
55
+ "is_numeric": false,
56
+ "kind": "bytes",
57
+ "name": "v",
58
+ "unsigned": false
59
+ },
60
+ {
61
+ "collation": "latin1_swedish_ci",
62
+ "collation_id": 8,
63
+ "column_type": "text /*m!100301 compressed*/",
64
+ "compressed": true,
65
+ "data_type": "text",
66
+ "invisible": false,
67
+ "is_char": true,
68
+ "is_enumset": false,
69
+ "is_numeric": false,
70
+ "kind": "bytes",
71
+ "name": "t",
72
+ "unsigned": false
73
+ },
74
+ {
75
+ "collation": "latin1_swedish_ci",
76
+ "collation_id": 8,
77
+ "column_type": "varchar(30)",
78
+ "compressed": false,
79
+ "data_type": "varchar",
80
+ "invisible": false,
81
+ "is_char": true,
82
+ "is_enumset": false,
83
+ "is_numeric": false,
84
+ "kind": "bytes",
85
+ "name": "p",
86
+ "unsigned": false
87
+ }
88
+ ],
89
+ "enum_str_map": {},
90
+ "enumset_collation_map": {},
91
+ "invisible": [],
92
+ "row_groups": [
93
+ {
94
+ "kind": "insert",
95
+ "rows": [
96
+ [
97
+ {
98
+ "kind": "num",
99
+ "num": "1"
100
+ },
101
+ {
102
+ "hex": "6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d",
103
+ "kind": "bytes",
104
+ "len": 500,
105
+ "md5": "cf2ba534d6f24e5fd4582e9a0e625157"
106
+ },
107
+ {
108
+ "hex": "73686f727479",
109
+ "kind": "bytes",
110
+ "len": 6,
111
+ "md5": "74c74dcb39a0923937ce87dda08bfd51"
112
+ },
113
+ {
114
+ "hex": "7031",
115
+ "kind": "bytes",
116
+ "len": 2,
117
+ "md5": "ec6ef230f1828039ee794566b9c58adc"
118
+ }
119
+ ],
120
+ [
121
+ {
122
+ "kind": "num",
123
+ "num": "2"
124
+ },
125
+ {
126
+ "hex": "74696e79",
127
+ "kind": "bytes",
128
+ "len": 4,
129
+ "md5": "d60cadf1a41c651e1f0ade50136bad43"
130
+ },
131
+ {
132
+ "hex": "4d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d5254",
133
+ "kind": "bytes",
134
+ "len": 750,
135
+ "md5": "d286d2149ad0797c279e94315c22711d"
136
+ },
137
+ {
138
+ "hex": "7032",
139
+ "kind": "bytes",
140
+ "len": 2,
141
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
142
+ }
143
+ ],
144
+ [
145
+ {
146
+ "kind": "num",
147
+ "num": "3"
148
+ },
149
+ {
150
+ "hex": "",
151
+ "kind": "bytes",
152
+ "len": 0,
153
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
154
+ },
155
+ {
156
+ "kind": "null"
157
+ },
158
+ {
159
+ "hex": "7033",
160
+ "kind": "bytes",
161
+ "len": 2,
162
+ "md5": "7bc3ca68769437ce986455407dab2a1f"
163
+ }
164
+ ],
165
+ [
166
+ {
167
+ "kind": "num",
168
+ "num": "4"
169
+ },
170
+ {
171
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
172
+ "kind": "bytes",
173
+ "len": 99,
174
+ "md5": "6caf87f1d320b2bcccfb4fa8f9c4fc7f"
175
+ },
176
+ {
177
+ "hex": "71717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171",
178
+ "kind": "bytes",
179
+ "len": 100,
180
+ "md5": "97bfbc2d0da6585e70e67b9a0cf978b4"
181
+ },
182
+ {
183
+ "hex": "7034",
184
+ "kind": "bytes",
185
+ "len": 2,
186
+ "md5": "13207e3d5722030f6c97d69b4904d39d"
187
+ }
188
+ ]
189
+ ]
190
+ },
191
+ {
192
+ "after": [
193
+ [
194
+ {
195
+ "kind": "num",
196
+ "num": "1"
197
+ },
198
+ {
199
+ "hex": "6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d21",
200
+ "kind": "bytes",
201
+ "len": 501,
202
+ "md5": "a9e6844a89194e9c3c78e70ace487f53"
203
+ },
204
+ {
205
+ "hex": "73686f7274793f",
206
+ "kind": "bytes",
207
+ "len": 7,
208
+ "md5": "ed7c968c1cea7c510e67d363f1ab8508"
209
+ },
210
+ {
211
+ "hex": "7031",
212
+ "kind": "bytes",
213
+ "len": 2,
214
+ "md5": "ec6ef230f1828039ee794566b9c58adc"
215
+ }
216
+ ],
217
+ [
218
+ {
219
+ "kind": "num",
220
+ "num": "2"
221
+ },
222
+ {
223
+ "hex": "74696e7921",
224
+ "kind": "bytes",
225
+ "len": 5,
226
+ "md5": "beb7e27fa96b070aa6c952d150d87d2f"
227
+ },
228
+ {
229
+ "hex": "4d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52543f",
230
+ "kind": "bytes",
231
+ "len": 751,
232
+ "md5": "0e4a2f9bdd5ee07a7a90804e83a41335"
233
+ },
234
+ {
235
+ "hex": "7032",
236
+ "kind": "bytes",
237
+ "len": 2,
238
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
239
+ }
240
+ ],
241
+ [
242
+ {
243
+ "kind": "num",
244
+ "num": "3"
245
+ },
246
+ {
247
+ "hex": "21",
248
+ "kind": "bytes",
249
+ "len": 1,
250
+ "md5": "9033e0e305f247c0c3c80d0c7848c8b3"
251
+ },
252
+ {
253
+ "hex": "3f",
254
+ "kind": "bytes",
255
+ "len": 1,
256
+ "md5": "d1457b72c3fb323a2671125aef3eab5d"
257
+ },
258
+ {
259
+ "hex": "7033",
260
+ "kind": "bytes",
261
+ "len": 2,
262
+ "md5": "7bc3ca68769437ce986455407dab2a1f"
263
+ }
264
+ ],
265
+ [
266
+ {
267
+ "kind": "num",
268
+ "num": "4"
269
+ },
270
+ {
271
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a21",
272
+ "kind": "bytes",
273
+ "len": 100,
274
+ "md5": "4e4ab2851f0293e05d133fb61a8638ea"
275
+ },
276
+ {
277
+ "hex": "717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171713f",
278
+ "kind": "bytes",
279
+ "len": 101,
280
+ "md5": "96f78b651922583a6952fa204887deae"
281
+ },
282
+ {
283
+ "hex": "7034",
284
+ "kind": "bytes",
285
+ "len": 2,
286
+ "md5": "13207e3d5722030f6c97d69b4904d39d"
287
+ }
288
+ ]
289
+ ],
290
+ "before": [
291
+ [
292
+ {
293
+ "kind": "num",
294
+ "num": "1"
295
+ },
296
+ {
297
+ "hex": "6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d",
298
+ "kind": "bytes",
299
+ "len": 500,
300
+ "md5": "cf2ba534d6f24e5fd4582e9a0e625157"
301
+ },
302
+ {
303
+ "hex": "73686f727479",
304
+ "kind": "bytes",
305
+ "len": 6,
306
+ "md5": "74c74dcb39a0923937ce87dda08bfd51"
307
+ },
308
+ {
309
+ "hex": "7031",
310
+ "kind": "bytes",
311
+ "len": 2,
312
+ "md5": "ec6ef230f1828039ee794566b9c58adc"
313
+ }
314
+ ],
315
+ [
316
+ {
317
+ "kind": "num",
318
+ "num": "2"
319
+ },
320
+ {
321
+ "hex": "74696e79",
322
+ "kind": "bytes",
323
+ "len": 4,
324
+ "md5": "d60cadf1a41c651e1f0ade50136bad43"
325
+ },
326
+ {
327
+ "hex": "4d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d5254",
328
+ "kind": "bytes",
329
+ "len": 750,
330
+ "md5": "d286d2149ad0797c279e94315c22711d"
331
+ },
332
+ {
333
+ "hex": "7032",
334
+ "kind": "bytes",
335
+ "len": 2,
336
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
337
+ }
338
+ ],
339
+ [
340
+ {
341
+ "kind": "num",
342
+ "num": "3"
343
+ },
344
+ {
345
+ "hex": "",
346
+ "kind": "bytes",
347
+ "len": 0,
348
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
349
+ },
350
+ {
351
+ "kind": "null"
352
+ },
353
+ {
354
+ "hex": "7033",
355
+ "kind": "bytes",
356
+ "len": 2,
357
+ "md5": "7bc3ca68769437ce986455407dab2a1f"
358
+ }
359
+ ],
360
+ [
361
+ {
362
+ "kind": "num",
363
+ "num": "4"
364
+ },
365
+ {
366
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
367
+ "kind": "bytes",
368
+ "len": 99,
369
+ "md5": "6caf87f1d320b2bcccfb4fa8f9c4fc7f"
370
+ },
371
+ {
372
+ "hex": "71717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171",
373
+ "kind": "bytes",
374
+ "len": 100,
375
+ "md5": "97bfbc2d0da6585e70e67b9a0cf978b4"
376
+ },
377
+ {
378
+ "hex": "7034",
379
+ "kind": "bytes",
380
+ "len": 2,
381
+ "md5": "13207e3d5722030f6c97d69b4904d39d"
382
+ }
383
+ ]
384
+ ],
385
+ "kind": "update"
386
+ },
387
+ {
388
+ "kind": "delete",
389
+ "rows": [
390
+ [
391
+ {
392
+ "kind": "num",
393
+ "num": "1"
394
+ },
395
+ {
396
+ "hex": "6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d6d726f772d21",
397
+ "kind": "bytes",
398
+ "len": 501,
399
+ "md5": "a9e6844a89194e9c3c78e70ace487f53"
400
+ },
401
+ {
402
+ "hex": "73686f7274793f",
403
+ "kind": "bytes",
404
+ "len": 7,
405
+ "md5": "ed7c968c1cea7c510e67d363f1ab8508"
406
+ },
407
+ {
408
+ "hex": "7031",
409
+ "kind": "bytes",
410
+ "len": 2,
411
+ "md5": "ec6ef230f1828039ee794566b9c58adc"
412
+ }
413
+ ],
414
+ [
415
+ {
416
+ "kind": "num",
417
+ "num": "2"
418
+ },
419
+ {
420
+ "hex": "74696e7921",
421
+ "kind": "bytes",
422
+ "len": 5,
423
+ "md5": "beb7e27fa96b070aa6c952d150d87d2f"
424
+ },
425
+ {
426
+ "hex": "4d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52544d52543f",
427
+ "kind": "bytes",
428
+ "len": 751,
429
+ "md5": "0e4a2f9bdd5ee07a7a90804e83a41335"
430
+ },
431
+ {
432
+ "hex": "7032",
433
+ "kind": "bytes",
434
+ "len": 2,
435
+ "md5": "1d665b9b1467944c128a5575119d1cfd"
436
+ }
437
+ ],
438
+ [
439
+ {
440
+ "kind": "num",
441
+ "num": "3"
442
+ },
443
+ {
444
+ "hex": "21",
445
+ "kind": "bytes",
446
+ "len": 1,
447
+ "md5": "9033e0e305f247c0c3c80d0c7848c8b3"
448
+ },
449
+ {
450
+ "hex": "3f",
451
+ "kind": "bytes",
452
+ "len": 1,
453
+ "md5": "d1457b72c3fb323a2671125aef3eab5d"
454
+ },
455
+ {
456
+ "hex": "7033",
457
+ "kind": "bytes",
458
+ "len": 2,
459
+ "md5": "7bc3ca68769437ce986455407dab2a1f"
460
+ }
461
+ ],
462
+ [
463
+ {
464
+ "kind": "num",
465
+ "num": "4"
466
+ },
467
+ {
468
+ "hex": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a21",
469
+ "kind": "bytes",
470
+ "len": 100,
471
+ "md5": "4e4ab2851f0293e05d133fb61a8638ea"
472
+ },
473
+ {
474
+ "hex": "717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171713f",
475
+ "kind": "bytes",
476
+ "len": 101,
477
+ "md5": "96f78b651922583a6952fa204887deae"
478
+ },
479
+ {
480
+ "hex": "7034",
481
+ "kind": "bytes",
482
+ "len": 2,
483
+ "md5": "13207e3d5722030f6c97d69b4904d39d"
484
+ }
485
+ ]
486
+ ]
487
+ }
488
+ ],
489
+ "set_str_map": {},
490
+ "unsigned_map": {
491
+ "0": false
492
+ }
493
+ }
494
+ },
495
+ "tags": [
496
+ "blocker",
497
+ "dml",
498
+ "multirow"
499
+ ]
500
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-minimal.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-minimal.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-minimal",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=MINIMAL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "binlog_row_metadata": "MINIMAL"
15
+ },
16
+ "version": "11.8.9-MariaDB-ubu2404-log"
17
+ },
18
+ "tables": {
19
+ "mini": {
20
+ "collation_map": {
21
+ "1": 2304,
22
+ "2": 8,
23
+ "3": 8
24
+ },
25
+ "column_names": [
26
+ "id",
27
+ "v",
28
+ "t",
29
+ "p"
30
+ ],
31
+ "columns": [
32
+ {
33
+ "collation": null,
34
+ "collation_id": null,
35
+ "column_type": "int(11)",
36
+ "compressed": false,
37
+ "data_type": "int",
38
+ "invisible": false,
39
+ "is_char": false,
40
+ "is_enumset": false,
41
+ "is_numeric": true,
42
+ "kind": "num",
43
+ "name": "id",
44
+ "unsigned": false
45
+ },
46
+ {
47
+ "collation": "utf8mb4_uca1400_ai_ci",
48
+ "collation_id": 2304,
49
+ "column_type": "varchar(500) /*m!100301 compressed*/",
50
+ "compressed": true,
51
+ "data_type": "varchar",
52
+ "invisible": false,
53
+ "is_char": true,
54
+ "is_enumset": false,
55
+ "is_numeric": false,
56
+ "kind": "bytes",
57
+ "name": "v",
58
+ "unsigned": false
59
+ },
60
+ {
61
+ "collation": "latin1_swedish_ci",
62
+ "collation_id": 8,
63
+ "column_type": "text /*m!100301 compressed*/",
64
+ "compressed": true,
65
+ "data_type": "text",
66
+ "invisible": false,
67
+ "is_char": true,
68
+ "is_enumset": false,
69
+ "is_numeric": false,
70
+ "kind": "bytes",
71
+ "name": "t",
72
+ "unsigned": false
73
+ },
74
+ {
75
+ "collation": "latin1_swedish_ci",
76
+ "collation_id": 8,
77
+ "column_type": "varchar(40)",
78
+ "compressed": false,
79
+ "data_type": "varchar",
80
+ "invisible": false,
81
+ "is_char": true,
82
+ "is_enumset": false,
83
+ "is_numeric": false,
84
+ "kind": "bytes",
85
+ "name": "p",
86
+ "unsigned": false
87
+ }
88
+ ],
89
+ "enum_str_map": {},
90
+ "enumset_collation_map": {},
91
+ "invisible": [],
92
+ "metadata_keys": [
93
+ "collation_map",
94
+ "unsigned_map"
95
+ ],
96
+ "row_groups": [
97
+ {
98
+ "kind": "insert",
99
+ "rows": [
100
+ [
101
+ {
102
+ "kind": "num",
103
+ "num": "1"
104
+ },
105
+ {
106
+ "hex": "6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d6d696e692d",
107
+ "kind": "bytes",
108
+ "len": 450,
109
+ "md5": "b4872fabacf628f8b9aa556745990c81"
110
+ },
111
+ {
112
+ "hex": "4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e4d494e",
113
+ "kind": "bytes",
114
+ "len": 600,
115
+ "md5": "0b59ee83e65e070e98f910b54b3cfa5d"
116
+ },
117
+ {
118
+ "hex": "706c61696e",
119
+ "kind": "bytes",
120
+ "len": 5,
121
+ "md5": "ac7938d40cfc2307e2bf325d28e7884e"
122
+ }
123
+ ],
124
+ [
125
+ {
126
+ "kind": "num",
127
+ "num": "2"
128
+ },
129
+ {
130
+ "hex": "736d",
131
+ "kind": "bytes",
132
+ "len": 2,
133
+ "md5": "ed79acb0cd3d7f8320c53c7798335ef0"
134
+ },
135
+ {
136
+ "hex": "7873",
137
+ "kind": "bytes",
138
+ "len": 2,
139
+ "md5": "44d610b3325b4aa08f32d925bc693149"
140
+ },
141
+ {
142
+ "hex": "",
143
+ "kind": "bytes",
144
+ "len": 0,
145
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
146
+ }
147
+ ],
148
+ [
149
+ {
150
+ "kind": "num",
151
+ "num": "3"
152
+ },
153
+ {
154
+ "hex": "",
155
+ "kind": "bytes",
156
+ "len": 0,
157
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
158
+ },
159
+ {
160
+ "kind": "null"
161
+ },
162
+ {
163
+ "kind": "null"
164
+ }
165
+ ]
166
+ ]
167
+ }
168
+ ],
169
+ "set_str_map": {},
170
+ "unsigned_map": {
171
+ "0": false
172
+ }
173
+ }
174
+ },
175
+ "tags": [
176
+ "blocker",
177
+ "minimal_metadata"
178
+ ]
179
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-nested-plain.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-nested-plain.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-nested-plain",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99",
11
+ "--log-bin-compress=ON",
12
+ "--log-bin-compress-min-len=10"
13
+ ],
14
+ "image": "mariadb:11.8",
15
+ "settings": {
16
+ "log_bin_compress": "ON"
17
+ },
18
+ "version": "11.8.9-MariaDB-ubu2404-log"
19
+ },
20
+ "tables": {},
21
+ "tags": [
22
+ "regression"
23
+ ]
24
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-nested.json ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-nested.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-nested",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99",
11
+ "--log-bin-compress=ON",
12
+ "--log-bin-compress-min-len=10"
13
+ ],
14
+ "image": "mariadb:11.8",
15
+ "settings": {
16
+ "log_bin_compress": "ON",
17
+ "log_bin_compress_min_len": 10
18
+ },
19
+ "version": "11.8.9-MariaDB-ubu2404-log"
20
+ },
21
+ "require_event_types": [
22
+ "MariadbWriteRowsCompressedEventV1"
23
+ ],
24
+ "tables": {
25
+ "nested": {
26
+ "collation_map": {
27
+ "1": 2304,
28
+ "2": 2304,
29
+ "3": 8,
30
+ "4": 8,
31
+ "5": 63,
32
+ "6": 63
33
+ },
34
+ "column_names": [
35
+ "id",
36
+ "vp",
37
+ "vc",
38
+ "tp",
39
+ "tc",
40
+ "bp",
41
+ "bc"
42
+ ],
43
+ "columns": [
44
+ {
45
+ "collation": null,
46
+ "collation_id": null,
47
+ "column_type": "int(11)",
48
+ "compressed": false,
49
+ "data_type": "int",
50
+ "invisible": false,
51
+ "is_char": false,
52
+ "is_enumset": false,
53
+ "is_numeric": true,
54
+ "kind": "num",
55
+ "name": "id",
56
+ "unsigned": false
57
+ },
58
+ {
59
+ "collation": "utf8mb4_uca1400_ai_ci",
60
+ "collation_id": 2304,
61
+ "column_type": "varchar(700)",
62
+ "compressed": false,
63
+ "data_type": "varchar",
64
+ "invisible": false,
65
+ "is_char": true,
66
+ "is_enumset": false,
67
+ "is_numeric": false,
68
+ "kind": "bytes",
69
+ "name": "vp",
70
+ "unsigned": false
71
+ },
72
+ {
73
+ "collation": "utf8mb4_uca1400_ai_ci",
74
+ "collation_id": 2304,
75
+ "column_type": "varchar(700) /*m!100301 compressed*/",
76
+ "compressed": true,
77
+ "data_type": "varchar",
78
+ "invisible": false,
79
+ "is_char": true,
80
+ "is_enumset": false,
81
+ "is_numeric": false,
82
+ "kind": "bytes",
83
+ "name": "vc",
84
+ "unsigned": false
85
+ },
86
+ {
87
+ "collation": "latin1_swedish_ci",
88
+ "collation_id": 8,
89
+ "column_type": "text",
90
+ "compressed": false,
91
+ "data_type": "text",
92
+ "invisible": false,
93
+ "is_char": true,
94
+ "is_enumset": false,
95
+ "is_numeric": false,
96
+ "kind": "bytes",
97
+ "name": "tp",
98
+ "unsigned": false
99
+ },
100
+ {
101
+ "collation": "latin1_swedish_ci",
102
+ "collation_id": 8,
103
+ "column_type": "text /*m!100301 compressed*/",
104
+ "compressed": true,
105
+ "data_type": "text",
106
+ "invisible": false,
107
+ "is_char": true,
108
+ "is_enumset": false,
109
+ "is_numeric": false,
110
+ "kind": "bytes",
111
+ "name": "tc",
112
+ "unsigned": false
113
+ },
114
+ {
115
+ "collation": null,
116
+ "collation_id": null,
117
+ "column_type": "varbinary(500)",
118
+ "compressed": false,
119
+ "data_type": "varbinary",
120
+ "invisible": false,
121
+ "is_char": true,
122
+ "is_enumset": false,
123
+ "is_numeric": false,
124
+ "kind": "bytes",
125
+ "name": "bp",
126
+ "unsigned": false
127
+ },
128
+ {
129
+ "collation": null,
130
+ "collation_id": null,
131
+ "column_type": "varbinary(500) /*m!100301 compressed*/",
132
+ "compressed": true,
133
+ "data_type": "varbinary",
134
+ "invisible": false,
135
+ "is_char": true,
136
+ "is_enumset": false,
137
+ "is_numeric": false,
138
+ "kind": "bytes",
139
+ "name": "bc",
140
+ "unsigned": false
141
+ }
142
+ ],
143
+ "enum_str_map": {},
144
+ "enumset_collation_map": {},
145
+ "invisible": [],
146
+ "row_groups": [
147
+ {
148
+ "kind": "insert",
149
+ "rows": [
150
+ [
151
+ {
152
+ "kind": "num",
153
+ "num": "1"
154
+ },
155
+ {
156
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
157
+ "kind": "bytes",
158
+ "len": 600,
159
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
160
+ },
161
+ {
162
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
163
+ "kind": "bytes",
164
+ "len": 600,
165
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
166
+ },
167
+ {
168
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
169
+ "kind": "bytes",
170
+ "len": 600,
171
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
172
+ },
173
+ {
174
+ "hex": "67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d67617567652d76616c75652d",
175
+ "kind": "bytes",
176
+ "len": 600,
177
+ "md5": "22d4316eec65999c297f3fa1cc8d8cbd"
178
+ },
179
+ {
180
+ "hex": "5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b",
181
+ "kind": "bytes",
182
+ "len": 480,
183
+ "md5": "5e1643b35891c1a5667e0fe91c374b24"
184
+ },
185
+ {
186
+ "hex": "5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b5a5b",
187
+ "kind": "bytes",
188
+ "len": 480,
189
+ "md5": "5e1643b35891c1a5667e0fe91c374b24"
190
+ }
191
+ ],
192
+ [
193
+ {
194
+ "kind": "num",
195
+ "num": "2"
196
+ },
197
+ {
198
+ "hex": "776565",
199
+ "kind": "bytes",
200
+ "len": 3,
201
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
202
+ },
203
+ {
204
+ "hex": "776565",
205
+ "kind": "bytes",
206
+ "len": 3,
207
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
208
+ },
209
+ {
210
+ "hex": "74696e79",
211
+ "kind": "bytes",
212
+ "len": 4,
213
+ "md5": "d60cadf1a41c651e1f0ade50136bad43"
214
+ },
215
+ {
216
+ "hex": "74696e79",
217
+ "kind": "bytes",
218
+ "len": 4,
219
+ "md5": "d60cadf1a41c651e1f0ade50136bad43"
220
+ },
221
+ {
222
+ "hex": "05",
223
+ "kind": "bytes",
224
+ "len": 1,
225
+ "md5": "8bb6c17838643f9691cc6a4de6c51709"
226
+ },
227
+ {
228
+ "hex": "05",
229
+ "kind": "bytes",
230
+ "len": 1,
231
+ "md5": "8bb6c17838643f9691cc6a4de6c51709"
232
+ }
233
+ ],
234
+ [
235
+ {
236
+ "kind": "num",
237
+ "num": "3"
238
+ },
239
+ {
240
+ "hex": "",
241
+ "kind": "bytes",
242
+ "len": 0,
243
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
244
+ },
245
+ {
246
+ "hex": "",
247
+ "kind": "bytes",
248
+ "len": 0,
249
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
250
+ },
251
+ {
252
+ "kind": "null"
253
+ },
254
+ {
255
+ "kind": "null"
256
+ },
257
+ {
258
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
259
+ "kind": "bytes",
260
+ "len": 144,
261
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
262
+ },
263
+ {
264
+ "hex": "9f1cd0b5e0a63b8d4f2e7a10c5936d84be07f3a29c5d1e6b0847fa9231c0d5e74b8a1f36d92e0c7b5a4318fe6d02b97c1e5a8d34f70b26c9e18a3d5f0472bc6e3a95c0d81b7e42f6a09d35c817be40f92d6a3c58e07b1d94f2a68c035eb7194d8c02f5a71e36bd490a72c8e51fd306b94e7a2c15d80f63b9a4e17c02df58614b27e9a3c604f81d5b7a0e36c9d2fb4851",
265
+ "kind": "bytes",
266
+ "len": 144,
267
+ "md5": "453916ba8c298c562bda8c6c828b8af9"
268
+ }
269
+ ],
270
+ [
271
+ {
272
+ "kind": "num",
273
+ "num": "4"
274
+ },
275
+ {
276
+ "hex": "6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d",
277
+ "kind": "bytes",
278
+ "len": 450,
279
+ "md5": "effebe49fbc6e2958da0810ebc542b9a"
280
+ },
281
+ {
282
+ "hex": "6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d6e6573742d",
283
+ "kind": "bytes",
284
+ "len": 450,
285
+ "md5": "effebe49fbc6e2958da0810ebc542b9a"
286
+ },
287
+ {
288
+ "hex": "54545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454",
289
+ "kind": "bytes",
290
+ "len": 400,
291
+ "md5": "203ebd76ccb7f0a91002b13bca4ac416"
292
+ },
293
+ {
294
+ "hex": "54545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454",
295
+ "kind": "bytes",
296
+ "len": 400,
297
+ "md5": "203ebd76ccb7f0a91002b13bca4ac416"
298
+ },
299
+ {
300
+ "kind": "null"
301
+ },
302
+ {
303
+ "kind": "null"
304
+ }
305
+ ]
306
+ ]
307
+ }
308
+ ],
309
+ "set_str_map": {},
310
+ "twins": [
311
+ [
312
+ 1,
313
+ 2
314
+ ],
315
+ [
316
+ 3,
317
+ 4
318
+ ],
319
+ [
320
+ 5,
321
+ 6
322
+ ]
323
+ ],
324
+ "unsigned_map": {
325
+ "0": false
326
+ }
327
+ }
328
+ },
329
+ "tags": [
330
+ "nested",
331
+ "twin"
332
+ ]
333
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-noblob.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-noblob.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-noblob",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "binlog_row_image": "FULL then NOBLOB"
15
+ },
16
+ "version": "11.8.9-MariaDB-ubu2404-log"
17
+ },
18
+ "tables": {
19
+ "nb": {
20
+ "collation_map": {
21
+ "1": 8,
22
+ "2": 8,
23
+ "3": 8
24
+ },
25
+ "column_names": [
26
+ "id",
27
+ "v",
28
+ "t",
29
+ "p"
30
+ ],
31
+ "columns": [
32
+ {
33
+ "collation": null,
34
+ "collation_id": null,
35
+ "column_type": "int(11)",
36
+ "compressed": false,
37
+ "data_type": "int",
38
+ "invisible": false,
39
+ "is_char": false,
40
+ "is_enumset": false,
41
+ "is_numeric": true,
42
+ "kind": "num",
43
+ "name": "id",
44
+ "unsigned": false
45
+ },
46
+ {
47
+ "collation": "latin1_swedish_ci",
48
+ "collation_id": 8,
49
+ "column_type": "varchar(300) /*m!100301 compressed*/",
50
+ "compressed": true,
51
+ "data_type": "varchar",
52
+ "invisible": false,
53
+ "is_char": true,
54
+ "is_enumset": false,
55
+ "is_numeric": false,
56
+ "kind": "bytes",
57
+ "name": "v",
58
+ "unsigned": false
59
+ },
60
+ {
61
+ "collation": "latin1_swedish_ci",
62
+ "collation_id": 8,
63
+ "column_type": "text /*m!100301 compressed*/",
64
+ "compressed": true,
65
+ "data_type": "text",
66
+ "invisible": false,
67
+ "is_char": true,
68
+ "is_enumset": false,
69
+ "is_numeric": false,
70
+ "kind": "bytes",
71
+ "name": "t",
72
+ "unsigned": false
73
+ },
74
+ {
75
+ "collation": "latin1_swedish_ci",
76
+ "collation_id": 8,
77
+ "column_type": "varchar(30)",
78
+ "compressed": false,
79
+ "data_type": "varchar",
80
+ "invisible": false,
81
+ "is_char": true,
82
+ "is_enumset": false,
83
+ "is_numeric": false,
84
+ "kind": "bytes",
85
+ "name": "p",
86
+ "unsigned": false
87
+ }
88
+ ],
89
+ "enum_str_map": {},
90
+ "enumset_collation_map": {},
91
+ "invisible": [],
92
+ "row_groups": [
93
+ {
94
+ "kind": "insert",
95
+ "rows": [
96
+ [
97
+ {
98
+ "kind": "num",
99
+ "num": "1"
100
+ },
101
+ {
102
+ "hex": "7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d",
103
+ "kind": "bytes",
104
+ "len": 160,
105
+ "md5": "f2cc86496b215cbdd174a417f08d9134"
106
+ },
107
+ {
108
+ "hex": "626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62626c62",
109
+ "kind": "bytes",
110
+ "len": 600,
111
+ "md5": "2857fb69af77c26a7d0c159332cbbebc"
112
+ },
113
+ {
114
+ "hex": "6f6e65",
115
+ "kind": "bytes",
116
+ "len": 3,
117
+ "md5": "f97c5d29941bfb1b2fdab0874906ab82"
118
+ }
119
+ ],
120
+ [
121
+ {
122
+ "kind": "num",
123
+ "num": "2"
124
+ },
125
+ {
126
+ "hex": "6272696566",
127
+ "kind": "bytes",
128
+ "len": 5,
129
+ "md5": "106f16a8fde7ae2ecac302abf5b49a90"
130
+ },
131
+ {
132
+ "hex": "776565",
133
+ "kind": "bytes",
134
+ "len": 3,
135
+ "md5": "d5a5b2edb04966f0b8c29faf4f92a082"
136
+ },
137
+ {
138
+ "hex": "74776f",
139
+ "kind": "bytes",
140
+ "len": 3,
141
+ "md5": "b8a9f715dbb64fd5c56e7783c6820a61"
142
+ }
143
+ ]
144
+ ]
145
+ },
146
+ {
147
+ "after": [
148
+ [
149
+ {
150
+ "kind": "num",
151
+ "num": "1"
152
+ },
153
+ {
154
+ "hex": "7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d2d757064",
155
+ "kind": "bytes",
156
+ "len": 164,
157
+ "md5": "c08e93b743a79df01b7c5fc180a57f1c"
158
+ },
159
+ {
160
+ "kind": "null"
161
+ },
162
+ {
163
+ "hex": "6f6e65",
164
+ "kind": "bytes",
165
+ "len": 3,
166
+ "md5": "f97c5d29941bfb1b2fdab0874906ab82"
167
+ }
168
+ ],
169
+ [
170
+ {
171
+ "kind": "num",
172
+ "num": "2"
173
+ },
174
+ {
175
+ "hex": "62726965662d757064",
176
+ "kind": "bytes",
177
+ "len": 9,
178
+ "md5": "7c65cf0f1c07b6051eeb1871833909d4"
179
+ },
180
+ {
181
+ "kind": "null"
182
+ },
183
+ {
184
+ "hex": "74776f",
185
+ "kind": "bytes",
186
+ "len": 3,
187
+ "md5": "b8a9f715dbb64fd5c56e7783c6820a61"
188
+ }
189
+ ]
190
+ ],
191
+ "before": [
192
+ [
193
+ {
194
+ "kind": "num",
195
+ "num": "1"
196
+ },
197
+ {
198
+ "hex": "7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d",
199
+ "kind": "bytes",
200
+ "len": 160,
201
+ "md5": "f2cc86496b215cbdd174a417f08d9134"
202
+ },
203
+ {
204
+ "kind": "null"
205
+ },
206
+ {
207
+ "hex": "6f6e65",
208
+ "kind": "bytes",
209
+ "len": 3,
210
+ "md5": "f97c5d29941bfb1b2fdab0874906ab82"
211
+ }
212
+ ],
213
+ [
214
+ {
215
+ "kind": "num",
216
+ "num": "2"
217
+ },
218
+ {
219
+ "hex": "6272696566",
220
+ "kind": "bytes",
221
+ "len": 5,
222
+ "md5": "106f16a8fde7ae2ecac302abf5b49a90"
223
+ },
224
+ {
225
+ "kind": "null"
226
+ },
227
+ {
228
+ "hex": "74776f",
229
+ "kind": "bytes",
230
+ "len": 3,
231
+ "md5": "b8a9f715dbb64fd5c56e7783c6820a61"
232
+ }
233
+ ]
234
+ ],
235
+ "kind": "update"
236
+ },
237
+ {
238
+ "kind": "delete",
239
+ "rows": [
240
+ [
241
+ {
242
+ "kind": "num",
243
+ "num": "1"
244
+ },
245
+ {
246
+ "hex": "7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d7072652d2d757064",
247
+ "kind": "bytes",
248
+ "len": 164,
249
+ "md5": "c08e93b743a79df01b7c5fc180a57f1c"
250
+ },
251
+ {
252
+ "kind": "null"
253
+ },
254
+ {
255
+ "hex": "6f6e65",
256
+ "kind": "bytes",
257
+ "len": 3,
258
+ "md5": "f97c5d29941bfb1b2fdab0874906ab82"
259
+ }
260
+ ],
261
+ [
262
+ {
263
+ "kind": "num",
264
+ "num": "2"
265
+ },
266
+ {
267
+ "hex": "62726965662d757064",
268
+ "kind": "bytes",
269
+ "len": 9,
270
+ "md5": "7c65cf0f1c07b6051eeb1871833909d4"
271
+ },
272
+ {
273
+ "kind": "null"
274
+ },
275
+ {
276
+ "hex": "74776f",
277
+ "kind": "bytes",
278
+ "len": 3,
279
+ "md5": "b8a9f715dbb64fd5c56e7783c6820a61"
280
+ }
281
+ ]
282
+ ]
283
+ }
284
+ ],
285
+ "set_str_map": {},
286
+ "unsigned_map": {
287
+ "0": false
288
+ }
289
+ }
290
+ },
291
+ "tags": [
292
+ "blocker",
293
+ "dml",
294
+ "partial_row_image"
295
+ ]
296
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-plain.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-plain.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-plain",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {},
14
+ "version": "11.8.9-MariaDB-ubu2404-log"
15
+ },
16
+ "tables": {},
17
+ "tags": [
18
+ "regression"
19
+ ]
20
+ }
harbor/sources/go-mysql-v9/task/grader/data/expected/mdb118-thr0.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "mdb118-thr0.binlog",
3
+ "flavor": "mariadb",
4
+ "name": "mdb118-thr0",
5
+ "producer": {
6
+ "flags": [
7
+ "--log-bin=probe",
8
+ "--binlog-format=ROW",
9
+ "--binlog-row-metadata=FULL",
10
+ "--server-id=99"
11
+ ],
12
+ "image": "mariadb:11.8",
13
+ "settings": {
14
+ "column_compression_threshold": 0,
15
+ "column_compression_zlib_level": "1 and 9"
16
+ },
17
+ "version": "11.8.9-MariaDB-ubu2404-log"
18
+ },
19
+ "tables": {
20
+ "thr": {
21
+ "collation_map": {
22
+ "1": 8,
23
+ "2": 8,
24
+ "3": 63
25
+ },
26
+ "column_names": [
27
+ "id",
28
+ "v",
29
+ "t",
30
+ "b"
31
+ ],
32
+ "columns": [
33
+ {
34
+ "collation": null,
35
+ "collation_id": null,
36
+ "column_type": "int(11)",
37
+ "compressed": false,
38
+ "data_type": "int",
39
+ "invisible": false,
40
+ "is_char": false,
41
+ "is_enumset": false,
42
+ "is_numeric": true,
43
+ "kind": "num",
44
+ "name": "id",
45
+ "unsigned": false
46
+ },
47
+ {
48
+ "collation": "latin1_swedish_ci",
49
+ "collation_id": 8,
50
+ "column_type": "varchar(200) /*m!100301 compressed*/",
51
+ "compressed": true,
52
+ "data_type": "varchar",
53
+ "invisible": false,
54
+ "is_char": true,
55
+ "is_enumset": false,
56
+ "is_numeric": false,
57
+ "kind": "bytes",
58
+ "name": "v",
59
+ "unsigned": false
60
+ },
61
+ {
62
+ "collation": "latin1_swedish_ci",
63
+ "collation_id": 8,
64
+ "column_type": "tinytext /*m!100301 compressed*/",
65
+ "compressed": true,
66
+ "data_type": "tinytext",
67
+ "invisible": false,
68
+ "is_char": true,
69
+ "is_enumset": false,
70
+ "is_numeric": false,
71
+ "kind": "bytes",
72
+ "name": "t",
73
+ "unsigned": false
74
+ },
75
+ {
76
+ "collation": null,
77
+ "collation_id": null,
78
+ "column_type": "varbinary(200) /*m!100301 compressed*/",
79
+ "compressed": true,
80
+ "data_type": "varbinary",
81
+ "invisible": false,
82
+ "is_char": true,
83
+ "is_enumset": false,
84
+ "is_numeric": false,
85
+ "kind": "bytes",
86
+ "name": "b",
87
+ "unsigned": false
88
+ }
89
+ ],
90
+ "enum_str_map": {},
91
+ "enumset_collation_map": {},
92
+ "invisible": [],
93
+ "row_groups": [
94
+ {
95
+ "kind": "insert",
96
+ "rows": [
97
+ [
98
+ {
99
+ "kind": "num",
100
+ "num": "1"
101
+ },
102
+ {
103
+ "hex": "61",
104
+ "kind": "bytes",
105
+ "len": 1,
106
+ "md5": "0cc175b9c0f1b6a831c399e269772661"
107
+ },
108
+ {
109
+ "hex": "62",
110
+ "kind": "bytes",
111
+ "len": 1,
112
+ "md5": "92eb5ffee6ae2fec3ad71c777531578f"
113
+ },
114
+ {
115
+ "hex": "c3",
116
+ "kind": "bytes",
117
+ "len": 1,
118
+ "md5": "d78276f56f8ec8d4f8cca375e4534366"
119
+ }
120
+ ],
121
+ [
122
+ {
123
+ "kind": "num",
124
+ "num": "2"
125
+ },
126
+ {
127
+ "hex": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161",
128
+ "kind": "bytes",
129
+ "len": 50,
130
+ "md5": "6eb6a030bcce166534b95bc2ab45d9cf"
131
+ },
132
+ {
133
+ "hex": "6262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262",
134
+ "kind": "bytes",
135
+ "len": 50,
136
+ "md5": "9d7756a2ac79651c7b496d301847dbde"
137
+ },
138
+ {
139
+ "hex": "7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f",
140
+ "kind": "bytes",
141
+ "len": 50,
142
+ "md5": "c639aa0f959780b3aeded223d95e4f56"
143
+ }
144
+ ],
145
+ [
146
+ {
147
+ "kind": "num",
148
+ "num": "3"
149
+ },
150
+ {
151
+ "hex": "",
152
+ "kind": "bytes",
153
+ "len": 0,
154
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
155
+ },
156
+ {
157
+ "hex": "",
158
+ "kind": "bytes",
159
+ "len": 0,
160
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
161
+ },
162
+ {
163
+ "hex": "",
164
+ "kind": "bytes",
165
+ "len": 0,
166
+ "md5": "d41d8cd98f00b204e9800998ecf8427e"
167
+ }
168
+ ],
169
+ [
170
+ {
171
+ "kind": "num",
172
+ "num": "4"
173
+ },
174
+ {
175
+ "hex": "6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f",
176
+ "kind": "bytes",
177
+ "len": 120,
178
+ "md5": "01d2f58deec838ae7136f9b382f74319"
179
+ },
180
+ {
181
+ "hex": "6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f6c6f",
182
+ "kind": "bytes",
183
+ "len": 120,
184
+ "md5": "01d2f58deec838ae7136f9b382f74319"
185
+ },
186
+ {
187
+ "hex": "010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101",
188
+ "kind": "bytes",
189
+ "len": 120,
190
+ "md5": "6b4537d3debc698ed45a6db2731c117a"
191
+ }
192
+ ],
193
+ [
194
+ {
195
+ "kind": "num",
196
+ "num": "5"
197
+ },
198
+ {
199
+ "hex": "686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869",
200
+ "kind": "bytes",
201
+ "len": 120,
202
+ "md5": "0dd218571e706a0b96f0c30991c8e302"
203
+ },
204
+ {
205
+ "hex": "686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869686968696869",
206
+ "kind": "bytes",
207
+ "len": 120,
208
+ "md5": "0dd218571e706a0b96f0c30991c8e302"
209
+ },
210
+ {
211
+ "hex": "aa84334bdf3487c9fcb3f6cffb9425aa234c52b3dc3e1626d40972911c2c1dde69504ecda7f08bae5ee86ca028eb1e560bf0870b8779d0a01421050f4198135d",
212
+ "kind": "bytes",
213
+ "len": 64,
214
+ "md5": "bcd280b8f0e805b89e263c7cf6692e82"
215
+ }
216
+ ]
217
+ ]
218
+ }
219
+ ],
220
+ "set_str_map": {},
221
+ "unsigned_map": {
222
+ "0": false
223
+ }
224
+ }
225
+ },
226
+ "tags": [
227
+ "blocker",
228
+ "threshold_zero",
229
+ "wrap_off"
230
+ ]
231
+ }