AdithyaSK HF Staff commited on
Commit
6096fe9
·
verified ·
1 Parent(s): 2fb5c9c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. tasks/format-code-task-000101/instruction.md +16 -0
  2. tasks/format-code-task-000101/task.toml +40 -0
  3. tasks/format-code-task-000106/instruction.md +16 -0
  4. tasks/format-code-task-000106/task.toml +40 -0
  5. tasks/format-code-task-000107/instruction.md +6 -0
  6. tasks/format-code-task-000107/task.toml +40 -0
  7. tasks/format-code-task-000108/instruction.md +17 -0
  8. tasks/format-code-task-000108/task.toml +40 -0
  9. tasks/format-code-task-000130/instruction.md +25 -0
  10. tasks/format-code-task-000130/task.toml +40 -0
  11. tasks/format-code-task-000137/instruction.md +19 -0
  12. tasks/format-code-task-000137/task.toml +40 -0
  13. tasks/format-code-task-000138/instruction.md +67 -0
  14. tasks/format-code-task-000138/task.toml +40 -0
  15. tasks/format-code-task-000139/instruction.md +27 -0
  16. tasks/format-code-task-000139/task.toml +40 -0
  17. tasks/format-code-task-000153/instruction.md +40 -0
  18. tasks/format-code-task-000153/task.toml +40 -0
  19. tasks/format-code-task-000154/instruction.md +56 -0
  20. tasks/format-code-task-000154/task.toml +40 -0
  21. tasks/format-code-task-000162/instruction.md +26 -0
  22. tasks/format-code-task-000162/task.toml +40 -0
  23. tasks/format-code-task-000164/instruction.md +12 -0
  24. tasks/format-code-task-000164/task.toml +40 -0
  25. tasks/format-code-task-000165/instruction.md +23 -0
  26. tasks/format-code-task-000165/task.toml +40 -0
  27. tasks/format-code-task-000190/instruction.md +11 -0
  28. tasks/format-code-task-000190/task.toml +40 -0
  29. tasks/format-code-task-000191/instruction.md +29 -0
  30. tasks/format-code-task-000191/task.toml +40 -0
  31. tasks/format-code-task-000198/instruction.md +39 -0
  32. tasks/format-code-task-000198/task.toml +40 -0
  33. tasks/format-code-task-000302/instruction.md +7 -0
  34. tasks/format-code-task-000302/task.toml +40 -0
  35. tasks/format-code-task-000305/instruction.md +18 -0
  36. tasks/format-code-task-000305/task.toml +40 -0
  37. tasks/format-code-task-000333/instruction.md +15 -0
  38. tasks/format-code-task-000333/task.toml +40 -0
  39. tasks/format-code-task-000334/instruction.md +16 -0
  40. tasks/format-code-task-000334/task.toml +40 -0
  41. tasks/format-code-task-000335/instruction.md +15 -0
  42. tasks/format-code-task-000335/task.toml +40 -0
  43. tasks/format-code-task-000350/instruction.md +7 -0
  44. tasks/format-code-task-000350/task.toml +40 -0
  45. tasks/format-code-task-000357/instruction.md +9 -0
  46. tasks/format-code-task-000357/task.toml +40 -0
  47. tasks/format-code-task-000359/instruction.md +13 -0
  48. tasks/format-code-task-000359/task.toml +40 -0
  49. tasks/format-code-task-000361/instruction.md +9 -0
  50. tasks/format-code-task-000361/task.toml +40 -0
tasks/format-code-task-000101/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ ### Distinguish permission-denied failures from generic failures via exit code
4
+
5
+ When `gcs-fetcher` fails because the service account doesn't have permission to read from the source bucket (e.g. missing Storage Object Viewer on the bucket, or VPC-SC blocking access), it exits with the same exit code as any other failure (network blip, checksum mismatch, etc.).
6
+
7
+ From the outside there is no way to tell these two situations apart. In our build pipeline we'd like to react differently:
8
+
9
+ - If it's a permission/config problem, the build should fail fast and surface a clear "fix your IAM" message to the user — retrying is pointless.
10
+ - If it's a transient/other error, we want to retry or fall through to our normal failure handling.
11
+
12
+ Right now both cases just give us a non-zero exit and we have to scrape stderr to guess which one happened, which is brittle.
13
+
14
+ It would be very useful if `gcs-fetcher` used a dedicated exit code when the underlying cause is a GCS permission-denied error, distinct from the generic-failure exit code. This should apply regardless of which source type is being fetched (Manifest, ZipArchive, TarGzArchive) — today only the manifest path even prints the helpful "Access to bucket … denied" message before exiting, and even there the exit code is indistinguishable from any other error.
15
+
16
+ It would help if the new permission-denied exit code were exposed as a package-level variable (something like `permissionDeniedExitStatus`) so callers and tests can reference it by name.
tasks/format-code-task-000101/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000101"
5
+ description = "Distinguish permission-denied failures from generic failures via exit code"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000101"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Distinguish permission-denied failures from generic failures via exit code"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:b07c7a649c04b045b63606dca7e3d7fbd8b93f7c18d9b66fc6c385722230b6de"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9Y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ZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000106/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ I have a custom artifact where the files Skaffold should watch come from our own build tooling, so keeping `dependencies.paths` updated by hand doesn’t really work. Could Skaffold run a script/command for that artifact and use the file list it returns as the dependencies for watching and rebuilds? Ideally it would give a clear error if the command fails or prints something Skaffold can’t understand.
4
+
5
+ Expected outcomes:
6
+ - Custom artifact configuration supports `dependencies.command`, exposed through `CustomDependencies.Command`, as an alternative dependency source for determining the files used by watching and rebuild decisions.
7
+ - When `dependencies.command` is configured, Skaffold runs that command during custom artifact dependency resolution and uses its output as the dependency list.
8
+ - The command output must be a valid JSON array of strings; invalid JSON or JSON with a different shape should fail dependency resolution with a clear error.
9
+ - If the dependency command exits unsuccessfully, dependency resolution should fail with an error that makes the failing command context clear.
10
+ - `dependencies.ignore` remains valid with `dependencies.paths`, but is invalid when combined with `dependencies.command`.
11
+ - The public schema and custom builder documentation describe the new `dependencies.command` option and its JSON-array output contract.
12
+
13
+ Implementation notes:
14
+ - The exact execution helper, parsing location, validation organization, and internal data flow are up to the implementer.
15
+ - Preserve existing dependency behavior for path-based and Dockerfile-based custom artifacts.
16
+ - Error text does not need to match any particular sentence exactly, but it should be actionable enough to distinguish command execution failures from malformed command output.
tasks/format-code-task-000106/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000106"
5
+ description = "I have a custom artifact where the files Skaffold should watch come from our own build tooling, so keeping…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000106"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I have a custom artifact where the files Skaffold should watch come from our own build tooling, so keeping…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:d96a9622f36e8576281a7c840ca9d9c25c87e3e8d4cd7f249b101b861bc3a844"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarW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W+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000107/instruction.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ [Custom builder] $IMAGES is always a single image
4
+ We currently pass the build script the `IMAGES` env variable. This variable contains the list of images to build. However, this variable always contains a single tag.
5
+
6
+ I think we should deprecate this value and use `IMAGE` instead.
tasks/format-code-task-000107/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000107"
5
+ description = "[Custom builder] $IMAGES is always a single image"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000107"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "[Custom builder] $IMAGES is always a single image"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:17db0205ebae2dcee4fe9cd60a6fdd1ee563680579d4acce990f28e0e8920323"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe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Xe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000108/instruction.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ Handle minikube exit code 89
4
+ Minikube has well-defined exit codes, and Skaffold has special handling for turning minikube exit codes into actionable errors. This code needs to be updated as it's not handling minikube exit code 89:
5
+
6
+ ```
7
+ invalid skaffold config: getting minikube env: running [/Users/bdealwis/installs/google-cloud-sdk/bin/minikube docker-env --shell none -p minikube --user=skaffold]
8
+ - stdout: "false exit code 89\n"
9
+ - stderr: ""
10
+ - cause: exit status 89
11
+ ```
12
+
13
+ Basically minikube is stopped.
14
+
15
+ - platform: macOS 12.3.1 on arm64
16
+ - `skaffold version`: v1.37.1 (installed via gcloud)
17
+ - `minikube version`: v1.25.2 (installed via gcloud)
tasks/format-code-task-000108/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000108"
5
+ description = "Handle minikube exit code 89"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000108"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Handle minikube exit code 89"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:7f06f9ec176039ccd5675da88380a7f62d7394b9717af6b97dd287b3bd022a6e"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39Pvx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n0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000130/instruction.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Problem Statement
4
+
5
+ I'm working with `Hyperplane` and `Line2D` in LazySets, and I want to be able to generate random points that actually lie on the hyperplane/line. Right now if I just call `sample` on a `Hyperplane`, the points I get aren't on it. It'd also be handy to have a way to project an arbitrary point onto a hyperplane or line. Ideally sampling a hyperplane would just give me points on it by default, but I'd still like to control the underlying distribution if I want to.
6
+
7
+ # Expected outcomes
8
+
9
+ - Projection onto hyperplane-like sets:
10
+ - `project(x, hp::Hyperplane)` should accept an arbitrary point and return its orthogonal projection onto the given hyperplane.
11
+ - The returned point should lie on the target hyperplane, and points that are already on the hyperplane should be unchanged up to the numeric precision of the element type.
12
+ - Projection onto two-dimensional lines:
13
+ - `project(x, L::Line2D)` should accept an arbitrary two-dimensional point and return its orthogonal projection onto the given line.
14
+ - The returned point should lie on the target line, and points that are already on the line should be unchanged up to the numeric precision of the element type.
15
+ - Sampling from hyperplanes and lines:
16
+ - Calling `sample` on a `Hyperplane` without specifying a sampler should produce points that lie on that hyperplane.
17
+ - Calling `sample` on a `Line2D` without specifying a sampler should produce points that lie on that line.
18
+ - `HyperplaneSampler` should be available as a sampler for both `Hyperplane` and `Line2D`, and samples produced with it should lie on the requested set.
19
+ - `HyperplaneSampler` should work with its default configuration and should also allow callers to control the sampling distribution through its public API.
20
+
21
+ # Implementation notes
22
+
23
+ - Preserve the existing public sampling API style and numeric-type flexibility used elsewhere in LazySets.
24
+ - The concrete implementation strategy, helper organization, and validation location are up to the implementer, as long as the externally observable projection and sampling behavior above is satisfied.
25
+ - Tests should tolerate ordinary floating-point roundoff for inexact numeric types.
tasks/format-code-task-000130/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000130"
5
+ description = "I'm working with `Hyperplane` and `Line2D` in LazySets, and I want to be able to generate random points that…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Unknown"
11
+ domain = "code"
12
+ keywords = ["code", "Unknown"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000130"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I'm working with `Hyperplane` and `Line2D` in LazySets, and I want to be able to generate random points that…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:6b6120aa29ce200976f223b107ddd304cee05598c55cce55496ca998457e05d9"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup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DcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000137/instruction.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ ## Problem Statement
4
+
5
+ Just generated a fresh site with the defaultsite generator and I'm hitting two weird things. First, when I try to use `get_node_trans_by_node_id(id, 'en')` in one of my Twig templates I get an "unknown function" error — tried both with and without `--demosite` and it never seems to be available. Second, running the generator command itself is acting strange around `app/config/config.yml`; the `white_october_pagerfanta` bit isn't being handled sensibly, especially when deciding whether that configuration is already there or still needs to be added. Am I missing a step somewhere?
6
+
7
+ ## Expected Outcomes
8
+
9
+ - Generated default sites expose the Twig function `get_node_trans_by_node_id(nodeId, lang)` in templates, regardless of whether the demosite option is enabled.
10
+ - Calling `get_node_trans_by_node_id(nodeId, lang)` returns the matching available node translation for that node id and language, or `null` when no matching available translation exists.
11
+ - The defaultsite generator bases its `white_october_pagerfanta` handling on the existing `app/config/config.yml` configuration.
12
+ - When `white_october_pagerfanta` is already present in `app/config/config.yml`, running the generator does not append a duplicate block.
13
+ - When `white_october_pagerfanta` is absent from `app/config/config.yml`, running the generator still adds the expected pagerfanta configuration block.
14
+
15
+ ## Implementation Notes
16
+
17
+ - Keep the fix compatible with both defaultsite generation modes, with and without demosite content.
18
+ - The concrete organization of generated Twig extension code, service wiring, and helper methods is up to the implementation as long as the generated site exposes the documented Twig behavior.
19
+ - The config handling may be implemented wherever appropriate in the generator flow, but it should preserve existing configuration content and make the pagerfanta decision from the actual existing configuration.
tasks/format-code-task-000137/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000137"
5
+ description = "Just generated a fresh site with the defaultsite generator and I'm hitting two weird things."
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "PHP"
11
+ domain = "code"
12
+ keywords = ["code", "PHP"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000137"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Just generated a fresh site with the defaultsite generator and I'm hitting two weird things."
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:0e80102f9febcf133d7ebbb251cdd7475b865c2a671d4c6e053efe12bca224e5"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe66UwbtNIAf0gacxtGpfKQCtou7GyFkVpieXWmczCajC7lCaYa2H5ZE3Xy5U2XpN8OMuNPHBzdBJCxB/RXS9oLQ31nGfijFkG/UysGl53/Wbi2nHULOhbQpS4nQ8OJym/bSRiQ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jU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000138/instruction.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Support MySQL, OSS and S3 workspace backends
4
+
5
+ Today a workspace can only declare a `local` backend for storing state. We want the workspace
6
+ configuration to additionally understand three remote backends — a MySQL database (`mysql`), an
7
+ Alibaba Cloud OSS bucket (`oss`) and an AWS S3 bucket (`s3`) — and to validate and complete them
8
+ correctly.
9
+
10
+ ## Backend configuration schema
11
+
12
+ Extend the workspace backend configuration so that, in addition to `local`, a user can configure
13
+ one of the following backends. The configuration types live in the workspace API package and are
14
+ referenced from the existing `BackendConfigs` container (whose existing `Local` field stays as is).
15
+ Add a field for each new backend — `Mysql`, `Oss` and `S3` — pointing at a dedicated config type:
16
+
17
+ - **mysql** (`MysqlConfig`): a database name (`DBName`), a user (`User`), an optional password
18
+ (`Password`), a host (`Host`), and an optional port (`Port`, a `*int`).
19
+ - **oss** (`OssConfig`): an endpoint (`Endpoint`), an optional access-key id (`AccessKeyID`), an
20
+ optional access-key secret (`AccessKeySecret`), and a bucket (`Bucket`).
21
+ - **s3** (`S3Config`): an endpoint (`Endpoint`), an optional access-key id (`AccessKeyID`), an
22
+ optional access-key secret (`AccessKeySecret`), a bucket (`Bucket`), and an optional region
23
+ (`Region`).
24
+
25
+ (How you factor the shared object-storage fields of oss/s3 internally is up to you.) Only the
26
+ connection-identifying fields are stored in the workspace; the credentials (passwords / access
27
+ keys) and the S3 region are sensitive or environment-specific and may instead be supplied through
28
+ environment variables (see *Completion* below).
29
+
30
+ ## Validation
31
+
32
+ Extend the existing backend-configs validation (`ValidateBackendConfigs`) to enforce the following
33
+ rules. As before, a `nil` or empty backend configuration is valid (it implies the default `local`
34
+ backend), and validation must never inspect values that are only ever provided through the
35
+ environment (access keys, mysql password, s3 region).
36
+
37
+ - **At most one backend** may be configured. Configuring two or more backends at once is invalid.
38
+ - **local**: unchanged from current behavior.
39
+ - **mysql**: the database name, the user and the host are all required. If a port is given it must
40
+ be in the range 1–65535; an absent port is allowed. The password is never required here.
41
+ - **oss**: the bucket and the endpoint are required. The access keys are never required here.
42
+ - **s3**: the bucket is required. The endpoint, region and access keys are never required here.
43
+
44
+ Invalid configurations must produce a non-nil error; valid ones must not.
45
+
46
+ ## Determining the configured backend
47
+
48
+ Provide a function `GetBackendName` that, given a backend-configs value, reports the name of the
49
+ backend that is configured: `"local"`, `"mysql"`, `"oss"` or `"s3"`. When nothing (or only an
50
+ empty/`nil` configuration) is set, the reported backend name is `"local"`.
51
+
52
+ ## Completion
53
+
54
+ Provide a function `CompleteWorkspace` that *completes* a workspace in place — filling in defaults
55
+ and overlaying any secrets/region found in the environment onto the configured backend. It must be
56
+ safe to call on a workspace with no backend (or the local backend) and must:
57
+
58
+ - default the mysql **port** to `3306` when it is not set, leaving an explicitly-set port untouched;
59
+ - for mysql, set the password from `KUSION_BACKEND_MYSQL_PASSWORD` when that variable is non-empty;
60
+ - for oss, set the access-key id from `OSS_ACCESS_KEY_ID` and the access-key secret from
61
+ `OSS_ACCESS_KEY_SECRET` when those variables are non-empty;
62
+ - for s3, set the access-key id from `AWS_ACCESS_KEY_ID`, the access-key secret from
63
+ `AWS_SECRET_ACCESS_KEY`, and the region from `AWS_REGION`, falling back to `AWS_DEFAULT_REGION`
64
+ when `AWS_REGION` is empty — each only when the resolved value is non-empty.
65
+
66
+ A non-empty environment value overrides whatever is already present in the config for that field;
67
+ an empty/unset variable leaves the existing value untouched.
tasks/format-code-task-000138/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000138"
5
+ description = "Support MySQL, OSS and S3 workspace backends"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000138"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Support MySQL, OSS and S3 workspace backends"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:5c57f605279e5fe67f1cef2c7cf5bd677b92d483bc56b9b26341b185c9968249"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe66UwbtNIAf0gacxtGpfK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+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000139/instruction.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ ## Problem Statement
4
+
5
+ Hey, I noticed `kusion apply` still has all those `--backend-*` flags hanging around and it's building its state storage the old way, while the rest of the CLI seems to be moving toward the new backend + workspace setup. Can we bring `apply` in line with that? Just pulling the default backend and running against the `default` workspace would be fine for now — I don't really need to pick a backend per-invocation from flags anymore.
6
+
7
+ Also while you're in there, the ApplyRequest we send downstream still carries that `Cluster` field pulled from `-D cluster=...`, which feels like a leftover from the old model — I'd rather it carry the workspace instead so operators see something consistent with preview.
8
+
9
+ ## Expected outcomes
10
+
11
+ - `kusion apply` CLI behavior
12
+ - The `kusion apply` command no longer exposes backend-specific command-line flags.
13
+ - Invoking `kusion apply` with an old backend-specific flag is rejected as an unknown flag instead of being accepted as a per-invocation backend override.
14
+
15
+ - Default workspace/backend behavior
16
+ - Applying a stack uses the repository’s default backend behavior rather than backend options supplied on the `apply` command line.
17
+ - The apply flow runs against the `default` workspace for now.
18
+ - Preview information produced during apply is associated with that same workspace.
19
+
20
+ - Downstream apply request behavior
21
+ - The apply request sent to the operation layer carries workspace information consistently with preview.
22
+ - A `cluster` value supplied through `-D cluster=...` is not forwarded as the apply request’s cluster routing value.
23
+
24
+ ## Implementation notes
25
+
26
+ - Keep the implementation aligned with the repository’s current backend and workspace concepts.
27
+ - The exact internal wiring, helper structure, and validation location are up to the implementation, as long as the externally observable CLI behavior and downstream request behavior match the outcomes above.
tasks/format-code-task-000139/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000139"
5
+ description = "Also while you're in there, the ApplyRequest we send downstream still carries that `Cluster` field pulled…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000139"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Also while you're in there, the ApplyRequest we send downstream still carries that `Cluster` field pulled…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:3df48973fd5cc7b824c50c7c5c5fce19b6a633a760752021cc4947072e741e4b"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOss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fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000153/instruction.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Support wildcard patterns when selecting rules
4
+
5
+ Robocop lets users refer to a rule by its id (e.g. `0501`) or by its name
6
+ (e.g. `too-long-keyword`). The same idea is used internally whenever rules are
7
+ *selected by a pattern* — for example when listing rules that match something a
8
+ user typed. Today that selection only understands **exact** strings: a pattern
9
+ matches a rule only when it is byte-for-byte equal to the rule's id or its name.
10
+ That makes it impossible to ask for "everything in the naming category" or
11
+ "every rule whose name ends in `-keyword`".
12
+
13
+ Make rule selection understand **Unix shell-style wildcards**.
14
+
15
+ Concretely:
16
+
17
+ - A pattern is checked against **both** a rule's id and its name; the rule is
18
+ selected when **either** of them matches the pattern.
19
+ - The following wildcards are supported in a pattern:
20
+ - `*` — matches any number of characters (including none),
21
+ - `?` — matches exactly one character,
22
+ - `[seq]` — matches any single character in `seq`,
23
+ - `[!seq]` — matches any single character **not** in `seq`.
24
+ - Matching is **case-insensitive**.
25
+ - A pattern that contains no wildcard characters keeps behaving exactly as
26
+ before: it matches only when it is equal to the rule's id or name (so existing
27
+ exact-match callers are unaffected).
28
+
29
+ There are two layers to this behaviour:
30
+
31
+ 1. The per-rule check that answers "does this rule match the given pattern?"
32
+ returns a truthy/falsy result and must honour the rules above. It must keep
33
+ accepting an already-compiled regular-expression object as the pattern and go
34
+ on matching that against the rule's id and name as it does now.
35
+ 2. The routine that filters a whole collection of rules by a single (string)
36
+ pattern returns the matching rules **sorted by ascending numeric rule id**,
37
+ and **deprecated rules are never included** in that result, regardless of
38
+ whether they match the pattern.
39
+
40
+ A bare `*` therefore selects every non-deprecated rule.
tasks/format-code-task-000153/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000153"
5
+ description = "Support wildcard patterns when selecting rules"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000153"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Support wildcard patterns when selecting rules"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:ce3ef706010033015ad0990b69dce4cf5b9cf073014b6c36a4b18af85c481bea"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5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Bk0iz8cTLZTblQoee/JIPiWWdMZ6Y7IlCyBnG/PN6Jom9FnwSbE8J3p7mq5iTCz8p5CUq+36Iyoh6tbWLnzJxsF9YpHkden7XQO9TirkkMrnKBWI8RMgYFA3veIPtOKcT3E5w/xK2mrvaFTYcfdxnT7THPilygji+vtBU5w1fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000154/instruction.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Add a reports subsystem to the linter
4
+
5
+ Robocop can find issues, but right now there is no way to turn a run into different kinds of
6
+ output. I want to introduce a small **reports** subsystem so that a run can be summarized in
7
+ several ways (printing a version banner, dumping the found issues to a JSON file, etc.) and so the
8
+ set of active reports can be selected from configuration.
9
+
10
+ Please expose this through the package `robocop.linter.reports`.
11
+
12
+ ## Selecting reports
13
+
14
+ Add a function `get_reports(configured_reports)` that takes a list of report names (strings) and
15
+ returns the enabled reports as an ordered mapping from report name to a report instance. Each
16
+ report instance must expose its own `name`. The selection rules:
17
+
18
+ - The returned mapping preserves the order in which names were requested and never contains
19
+ duplicates (requesting the same report twice yields a single entry).
20
+ - The literal name `"all"` enables every report that is marked as a *default* report. Reports that
21
+ are not default (for example `json_report` and `compare_runs`) are **never** pulled in by
22
+ `"all"`; they can only be enabled by naming them explicitly. `"all"` may be combined with
23
+ explicit names, e.g. `["all", "json_report"]`.
24
+ - Requesting a name that does not correspond to any known report raises
25
+ `robocop.linter.exceptions.InvalidReportName`, and the raised error message must mention the
26
+ offending name.
27
+ - The literal name `"None"` switches reports off: the result contains only the always-on internal
28
+ `return_status` report, regardless of any external reports also requested in the same call. The
29
+ one exception is that if `internal_json_report` was also explicitly requested, it is preserved
30
+ alongside `return_status`.
31
+
32
+ ## Reports that must exist
33
+
34
+ Reports are addressed by name through `get_reports`. The following named reports must be available:
35
+
36
+ - **`version`** — a default report whose `get_report()` returns a non-empty string that includes
37
+ the installed Robocop version.
38
+ - **`json_report`** — a non-default report that collects issues handed to it via
39
+ `add_message(message)` and, when `get_report()` is called, writes them as a JSON array to a file.
40
+ Each issue is written in the same JSON form that an issue serializes to (i.e. the dict returned by
41
+ the message's `to_json()`), and the array preserves the order in which issues were added. By
42
+ default the file is named `robocop.json` and created in the current working directory, and
43
+ `get_report()` returns a confirmation string that mentions the output path. The report is
44
+ configurable through `configure(name, value)`:
45
+ - `configure("report_filename", "<name>")` changes the output file name.
46
+ - `configure("output_dir", "<dir>")` changes the directory the file is written to (the directory
47
+ is created if it does not exist).
48
+ - Any other parameter name passed to `configure` raises
49
+ `robocop.linter.exceptions.ConfigGeneralError`.
50
+ - **`return_status`** — an internal report that is always kept under the `"None"` rule above and is
51
+ also included by `"all"`.
52
+ - **`compare_runs`** and **`internal_json_report`** — non-default reports that exist but are not
53
+ pulled in by `"all"`.
54
+
55
+ A report that does not recognize a configuration parameter should reject it by raising
56
+ `robocop.linter.exceptions.ConfigGeneralError`.
tasks/format-code-task-000154/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000154"
5
+ description = "Add a reports subsystem to the linter"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000154"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Add a reports subsystem to the linter"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:a1cca54957fb32d4c287f5ae4abe1cde0c7079030a74831f883cbd8aa9ade4a3"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe66UwbtNIAf0gacxtGpfKQCtou7GyFkVpieXWmczCajC7lCaYa2H5ZE3Xy5U2XpN8OMuNPHBzdBJCxB/RXS9oLQ31nGfijFkG/UysGl53/Wbi2nHULOhbQpS4nQ8OJym/bSRiQ69cR0dQLMYB/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GYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000162/instruction.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ NewConstraint method faulty behavior
4
+ Used version: 3.1.1
5
+ When I try to create a constraint with NewConstraint method I get following returns:
6
+
7
+ **good Example**
8
+ c, cErr := semver.NewConstraint("12.3.4.1234")
9
+ c.String() = nil
10
+ cErr = "improper constraint: 12.3.4.1234"
11
+
12
+ **faulty behavior**
13
+ c, cErr := semver.NewConstraint("12.**23**.4.1234")
14
+ c.String() = "12.23.4 1234"
15
+ cErr = nil
16
+
17
+ or
18
+
19
+ c, cErr := semver.NewConstraint("12.3.**34**.1234")
20
+ c.String() = "12.3.34 1234"
21
+ cErr = nil
22
+
23
+
24
+ ------------
25
+
26
+ I would expect the same behavior as with "12.3.4.1234", means telling me its not a contraint..
tasks/format-code-task-000162/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000162"
5
+ description = "NewConstraint method faulty behavior"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000162"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "NewConstraint method faulty behavior"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:02020ef1e0bd574aeaaa2933a40f6c2e69e650e5c27bcad33ccc494a57e17732"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs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mnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000164/instruction.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ Support UUID column types
4
+ Hello,
5
+
6
+ DuckDB supports the UUID data type. It would be great if this data type was also available from SQLAlchemy.
7
+
8
+ https://duckdb.org/docs/sql/data_types/overview.html
9
+ <img width="1010" alt="Screenshot 2023-01-28 at 01 08 11" src="https://user-images.githubusercontent.com/120908425/215228311-fb6be73a-b111-4e8c-9a0f-be19b22b78e6.png">
10
+
11
+ Best regards,
12
+ Kamil
tasks/format-code-task-000164/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000164"
5
+ description = "Support UUID column types"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000164"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Support UUID column types"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:0e9dd07eee182da183f1c7ad3dd829a07fe1261baeb1633d28eb474eb0368988"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+u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xnT7THPilygji+vtBU5w1fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000165/instruction.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Problem Statement
4
+
5
+ I’d like to use zstd-compressed cache archives with drone-cache, but right now setting `archive_format: zstd` doesn’t seem to give me a real zstd archive. Could you add proper zstd support so rebuild/restore works with it, and ideally let the existing compression level option apply there too?
6
+
7
+ # Expected outcomes
8
+
9
+ - Zstd archive format support:
10
+ - When `archive_format: zstd` is configured, including through `PLUGIN_ARCHIVE_FORMAT=zstd`, rebuild should create a real zstd-compressed cache archive rather than falling back to an uncompressed tar archive.
11
+ - Restore should be able to read cache archives created with `archive_format: zstd` and recover the archived files with the same observable behavior as the existing supported archive formats.
12
+
13
+ - Compression level behavior:
14
+ - The existing `--compression-level` / `PLUGIN_COMPRESSION_LEVEL` setting should also affect zstd archive creation when `archive_format: zstd` is used.
15
+ - Existing gzip and tar behavior should remain compatible with the current behavior.
16
+
17
+ - User-facing documentation:
18
+ - The user-facing CLI/configuration documentation should list `zstd` as a supported `archive_format`.
19
+ - The compression-level documentation should make clear that the setting applies to both gzip and zstd, and should give users enough information to find valid zstd compression-level values.
20
+
21
+ # Implementation notes
22
+
23
+ The internal package structure, concrete compression library, helper functions, and validation location are up to the implementer. Keep the behavior compatible with the existing rebuild/restore flow and configuration mechanisms, and avoid changing unrelated archive formats except where needed to preserve existing behavior.
tasks/format-code-task-000165/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000165"
5
+ description = "I’d like to use zstd-compressed cache archives with drone-cache, but right now setting `archive_format…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000165"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I’d like to use zstd-compressed cache archives with drone-cache, but right now setting `archive_format…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:1e400fa16ad78f09e245a64c4e83e35843ea229386936a4adf2a5d7a71d2e160"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKoh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K2mrvaFTYcfdxnT7THPilygji+vtBU5w1fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000190/instruction.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ PyDP presents the laplacian algorithms as supporting both the one-shot style shown in the README (`algorithm.result(entries)`) and the incremental `add_entry` / `add_entries` style, but the shared wrapper currently confuses an entry collection with a privacy-budget argument. Restore a coherent dual-mode API for `Count`, `BoundedSum`, `BoundedMean`, `BoundedVariance`, and `BoundedStandardDeviation`.
4
+
5
+ For one-shot use, both `result(entries)` and `quick_result(entries)` must accept lists, tuples, and finite one-pass iterables such as generators. Consume a one-pass source exactly once, use the receiving algorithm's configured aggregate, bounds, and dtype, and retain the normal result type and bounded-aggregate semantics. A one-shot computation is isolated: it must neither include entries previously accumulated on that object nor add its own entries to the incremental state, consume that state's ability to produce a result, or prevent further one-shot calls. It must work before or after an incremental result has been produced.
6
+
7
+ For incremental use, expose `partial_result()` and `partial_result(privacy_budget)` as the explicit result methods after `add_entry`, `add_entries`, or `merge`. Preserve the existing compatibility forms `result()` and `result(privacy_budget)` as aliases for that same incremental operation; a scalar budget, including an explicit `0.0`, must not be mistaken for an entry iterable.
8
+
9
+ Make `add_entries` accept the same finite iterable forms, consume them once, and continue returning `None`. Treat `str`, `bytes`, and `bytearray` as invalid batch containers for both `result(entries)` and `add_entries`, raising `TypeError`. Batch ingestion must be transactional: fully consume and validate a batch before changing incremental state. If iteration itself raises, propagate that original exception; if an entry cannot be converted for the configured dtype, raise `TypeError`. In either case, already accumulated entries must remain unchanged. Failed one-shot calls must likewise leave incremental state untouched.
10
+
11
+ Keep the existing lifecycle interoperable with these rules: `reset()` must make incremental aggregation reusable while preserving the object's configuration, and summaries produced by `serialize()` and accepted by `merge()` must still contribute only to incremental results; an intervening one-shot result must not consume merged state.
tasks/format-code-task-000190/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000190"
5
+ description = "PyDP presents the laplacian algorithms as supporting both the one-shot style shown in the README…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000190"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "PyDP presents the laplacian algorithms as supporting both the one-shot style shown in the README…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:e38956ea453410ec51078bbf6b76dcb5db53786be15a2f6862a80d4b11574d00"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFM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a/4uuiIOttJygvu6k0C8cwVHnoes0AtqQXdcdJihLPO9Bk0iz8cTLZTblQoee/JIPiWWdMZ6Y7IlCyBnG/PN6Jom9FnwSbE8J3p7mq5iTCz8p5CUq+36Iyoh6tbWLnzJxsF9YpHkden7XQO9TirkkMrnKBWI8RMgYFA3veIPtOKcT3E5w/xK2mrvaFTYcfdxnT7THPilygji+vtBU5w1fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000191/instruction.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ ## Analysis doesn't catch dispense-without-aspirate
4
+
5
+ I wrote a quick protocol and noticed that the analysis step happily accepts it even though it clearly doesn't make sense — I'm dispensing without ever aspirating. Reproducer:
6
+
7
+ ```python
8
+ requirements = {
9
+ "robotType": "OT-2",
10
+ "apiLevel": "2.15",
11
+ }
12
+
13
+
14
+ def run(protocol_context):
15
+ tiprack1 = protocol_context.load_labware("opentrons_96_tiprack_300ul", "1")
16
+ pipette = protocol_context.load_instrument(
17
+ "p300_single_gen2", mount="right", tip_racks=[tiprack1]
18
+ )
19
+ pipette.pick_up_tip(tiprack1.wells()[0])
20
+ well_plate = protocol_context.load_labware("nest_96_wellplate_200ul_flat", "2")
21
+ # note: no aspirate here
22
+ pipette.dispense(20, well_plate.wells()[0])
23
+ ```
24
+
25
+ The pipette never aspirated anything, so dispensing 20 µL out of an empty tip is nonsense. I'd expect analysis to reject the protocol up front so I can fix the script before sending it to the robot, instead of silently passing.
26
+
27
+ Same concern for the case where the requested dispense volume is greater than what was previously aspirated — there's no liquid in the tip to support that dispense, so analysis should refuse it as well.
28
+
29
+ Both situations are statically detectable from the command sequence and should fail analysis with a clear error for protocols on `apiLevel` 2.15+. A dedicated error type along the lines of `InvalidDispenseVolumeError` would be appropriate here.
tasks/format-code-task-000191/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000191"
5
+ description = "Analysis doesn't catch dispense-without-aspirate"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000191"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Analysis doesn't catch dispense-without-aspirate"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:cd4205e9748cc3b85bf445bc2f426a6983baf99bdd2087656b739264fc01699a"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWx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IOttJygvu6k0C8cwVHnoes0AtqQXdcdJihLPO9Bk0iz8cTLZTblQoee/JIPiWWdMZ6Y7IlCyBnG/PN6Jom9FnwSbE8J3p7mq5iTCz8p5CUq+36Iyoh6tbWLnzJxsF9YpHkden7XQO9TirkkMrnKBWI8RMgYFA3veIPtOKcT3E5w/xK2mrvaFTYcfdxnT7THPilygji+vtBU5w1fWJS074fn5//SqE8u3W0RzaBcNMnybVKsk2ii56tENyiFyzXyU8Qn++SzacdcUk3tJsyHbk8Q1/gXe9I6qLlSWbAR0VZqe+Rx89tvE7bxXN1U88V5YAhKW4PPPZ9ASMgjjr4gKP7Lbzo9nFGI3W4qFvjxFLptUi8YKVUcVahLKRwmBwXCVa/HJI5K73675YkCpEcnZLYofv00laslVjU49gctbVIAeOFGYaDAIVA0KN+aE3lVUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000198/instruction.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Avatar image helpers for profile uploads
4
+
5
+ We're building out profile-image uploads for the user settings screens. The UI needs two small,
6
+ well-tested helpers to deal with avatars, and right now they don't exist. Please add them as
7
+ utilities under `src/utils`.
8
+
9
+ ## 1. `sanitizeAvatars(file, fallbackUrl)`
10
+
11
+ Export a function `sanitizeAvatars` from `src/utils/sanitizeAvatar.ts` with the signature
12
+ `(file: File | null, fallbackUrl: string) => string`. It decides what image source to show:
13
+
14
+ - If `file` is a real `File` whose MIME type is an image (its `type` starts with `image/`), return
15
+ an object URL created from that file (i.e. the result of `URL.createObjectURL(file)`).
16
+ - Otherwise (the file is `null`, or it is not an image), fall back to `fallbackUrl`:
17
+ - Resolve `fallbackUrl` as a URL against the current page origin (`window.location.origin`) and
18
+ return the resulting normalized absolute URL string. A relative path like `/avatar.jpg` must
19
+ become an absolute URL under the current origin; query strings and fragments must be preserved;
20
+ non-ASCII characters end up percent-encoded as part of normalization.
21
+ - If `fallbackUrl` is missing/empty or cannot be parsed into a valid URL, log an error to
22
+ `console.error` and return an empty string `''`.
23
+
24
+ The function must never throw.
25
+
26
+ ## 2. `urlToFile(url)`
27
+
28
+ Export an async function `urlToFile` from `src/utils/urlToFile.ts` with the signature
29
+ `(url: string) => Promise<File>`. It downloads a remote image so it can be re-uploaded as multipart
30
+ form data:
31
+
32
+ - Fetch the given `url` and read the response body as a `Blob`.
33
+ - Return a `File` built from that blob. The file's `type` is the blob's MIME type. The file's name
34
+ is the URL's final path segment, or `avatar` when the URL has no final segment (e.g. it ends in a
35
+ slash), followed by a dot and the extension taken from the blob's MIME subtype (the part after the
36
+ `/`). For example a blob of type `image/png` fetched from a URL ending in `/` produces a file
37
+ named `avatar.png`.
38
+ - If anything goes wrong (the fetch rejects, or reading the blob rejects), log the error to
39
+ `console.error` and re-throw it so the caller's promise rejects with the same error.
tasks/format-code-task-000198/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000198"
5
+ description = "Avatar image helpers for profile uploads"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "TypeScript"
11
+ domain = "code"
12
+ keywords = ["code", "TypeScript"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000198"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Avatar image helpers for profile uploads"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:957ae362ff0068a1abf2a238f2a464fe115233cdd001a9c41d643975fa0af895"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4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KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000302/instruction.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ I want a `scoary.methods.Setup_results(genedic: dict, traitsdic: dict, collapse: bool) -> dict` function that computes the population-structure-naive gene/trait association records from already-normalized Scoary dictionaries. The return value should be `{"Results": ..., "Gene_trait_combinations": ...}` where each trait maps to tested genes, genes absent from every included isolate or present in every included isolate are skipped, and every tested gene records its `NUGN`, `Annotation`, four category counts, sensitivity, specificity, odds ratio, naive Fisher exact p-value, Bonferroni p-value, and Benjamini-Hochberg p-value.
4
+
5
+ For example, with one trait `resistant` where `s1` and `s2` are `"1"` and `s3` and `s4` are `"0"`, a gene `g1` present in `s1`/`s2` and absent in `s3`/`s4` should produce counts `tpgp=2`, `tpgn=0`, `tngp=0`, `tngn=2`, `sens=100.0`, `spes=100.0`, odds ratio `inf`, and naive p-value `0.3333333333333333`. In the same call, a gene `g2` present in `s1`/`s3` and absent in `s2`/`s4` should produce counts `1,1,1,1`, `sens=50.0`, `spes=50.0`, odds ratio `1.0`, and naive p-value `1.0`; an all-present gene in that input should not appear in `Results` or `Gene_trait_combinations`. With those two tested genes, `g1` should have Bonferroni and Benjamini-Hochberg p-values `0.6666666666666666`, while `g2` should have both adjusted values equal to `1.0`.
6
+
7
+ The `Gene_trait_combinations` entry should label each isolate for downstream tree-aware work: for `g1` above it should be `s1: "AB"`, `s2: "AB"`, `s3: "ab"`, `s4: "ab"`, and for `g2` it should be `s1: "AB"`, `s2: "aB"`, `s3: "Ab"`, `s4: "ab"`. When `collapse=True`, genes with identical included-isolate distributions should be merged into one result named with `--`; for two identical genes `gA` and `gB` with the same pattern as `g1`, the result key should be `gA--gB`, the `NUGN` and `Annotation` strings should be merged with `--`, only that merged key should appear for the distribution, and its Bonferroni and Benjamini-Hochberg p-values should be based on one effective test. If a trait references an isolate name that is missing from a gene's isolate entries, the function should raise `SystemExit` with an error telling the caller to make sure strains are named the same in the traits and gene presence/absence files. Calling the function twice with equal input dictionaries should return equal dictionaries, and the input dictionaries should not be mutated.
tasks/format-code-task-000302/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000302"
5
+ description = "I want a `scoary.methods.Setup_results(genedic: dict, traitsdic: dict, collapse: bool) -> dict` function…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000302"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I want a `scoary.methods.Setup_results(genedic: dict, traitsdic: dict, collapse: bool) -> dict` function…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:41a5126f722cd47096a48f2008a379d7a733ab9acf3b89da867fcad4934e67ef"
29
+ workdir = "/workspace/repo"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz8/+Mqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe66UwbtNIAf0gacxtGpfKQCtou7GyFkVpieXWmczCajC7lCaYa2H5ZE3Xy5U2XpN8OMuNPHBzdBJCxB/RXS9oLQ31nGfijFkG/UysGl53/W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CTUL5KCEwGK5yLT55RHL32zVfzCk1Ijm7RfHjt6lELbmq0bAncHmLCtADJwqDDeaBqkHhxrjQu4rK1kwXPcCM1xmK7gaAGVBnqHTa9tGgS9OnM0vxRThZTjtIuR6HmashAwb9Y+TKu+R9hgyf5raP0mXVBgDvD6/rIYU3rBY5/BVZVcm+0PcJRf67MHSNpwfN0FfCms+NXYDsvXEj6BzdhUX1Yh19vx6tAzB894/rf717/c9fohum4U/18CbsZhTzFQxfLx65H5L59Xh76RhG+00rBYtdMAjJs69hdp6JfdCbrh+E/uCq7QAlY7za1W620TqJu0Qw26+hjQl/Q8FN2B2XQzSfHxgf32MY8PPCiMIC3wb0oZsTMfVVs24Ujd040g3bbrTshpIRELqBaTUFucFiMAkdfnJTxsX44vTFl4tupvnaQDNyI9+96T8IrGrx7bP5jgl63yiUIU1HwcF+7dd+7dd+7dd+7dd+7dd+7dd+7dd+7dd+/XnXfwHTG2K6ACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000305/instruction.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ # Problem Statement
4
+
5
+ Hey, I'm hitting a weird thing with `mockQuery` — if my query params include an array (like `{tags: ['a','b']}`), the mock never matches the request, even though I'm passing what looks like the exact same array on the other side. Plain string/number params work fine, it's specifically the array-valued ones that break. Would be great if `mockQuery` just matched when the arrays have the same items in the same order.
6
+
7
+ # Expected outcomes
8
+
9
+ - `mockQuery` should match requests whose query parameters include array values when the expected and actual arrays contain equivalent items in the same order.
10
+ - Array-valued query parameters should remain order-sensitive: the same items in a different order, or arrays of different lengths, should not be treated as equivalent.
11
+ - Equivalent array handling should work when array values appear inside ordinary query parameter objects, including nested values that are compared as part of deciding whether the query parameters match.
12
+ - Existing query parameter comparison behavior for plain string, number, boolean, and object values should be preserved, including not matching values that differ in kind or differ in any supplied object property.
13
+ - Any existing public equivalence helper used by this matching path should reflect the same observable matching semantics.
14
+
15
+ # Implementation notes
16
+
17
+ - The specific data structures, helper decomposition, type-checking approach, and validation locations are up to the implementer.
18
+ - Preserve the existing public API shape while adding correct handling for array-valued parameters.
tasks/format-code-task-000305/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000305"
5
+ description = "- `mockQuery` should match requests whose query parameters include array values when the expected and actual…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "JavaScript"
11
+ domain = "code"
12
+ keywords = ["code", "JavaScript"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000305"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "- `mockQuery` should match requests whose query parameters include array values when the expected and actual…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:109c6818371fb8102666ac6d9441244c6dfdea58556973084a5626909fddc600"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/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vM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000333/instruction.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ 我现在用 `darker` 的时候想临时按项目外的 Black 设置来跑,比如这次要换个 line length,或者保留字符串引号别被规范化,但好像只能靠 Black 配置文件控制。能不能让 `darker` 命令行里也能直接传这些 Black 格式化选项,而且我手动传的时候就按我这次传的来?
4
+
5
+ Expected outcomes:
6
+ - CLI line length: `darker` accepts `-l LINE_LENGTH` and `--line-length LINE_LENGTH`, and formatting uses the provided maximum line length for the current run.
7
+ - CLI string normalization: `darker` accepts `-S` and `--skip-string-normalization`, and formatting preserves string quotes and prefixes instead of normalizing them for the current run.
8
+ - CLI precedence over config: when `-c/--config` is used together with an explicit CLI line-length or skip-string-normalization option, the explicit CLI value takes precedence over the corresponding Black config setting for that run.
9
+ - Config compatibility: when a Black configuration read through `-c/--config` requests skipped string normalization, `darker` formats consistently with that configuration.
10
+ - User-facing help and documentation: `darker --help` and the README document the supported Black-related command-line options, including `-l/--line-length` and `-S/--skip-string-normalization`.
11
+
12
+ Implementation notes:
13
+ - Keep the behavior compatible with existing `darker` workflows, including formatting only the relevant changed portions.
14
+ - The internal representation of option values, where configuration is merged, and how formatting options are passed through are implementation details.
15
+ - Preserve existing command-line behavior for users who do not pass the new options.
tasks/format-code-task-000333/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000333"
5
+ description = "我现在用 `darker` 的时候想临时按项目外的 Black 设置来跑,比如这次要换个 line length,或者保留字符串引号别被规范化,但好像只能靠 Black 配置文件控制。能不能让 `darker`…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000333"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "我现在用 `darker` 的时候想临时按项目外的 Black 设置来跑,比如这次要换个 line length,或者保留字符串引号别被规范化,但好像只能靠 Black 配置文件控制。能不能让 `darker`…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:6bbc15db1bbcae636d901e6d484dca8b4f315bd6ef0ab24bdd38369849533ea8"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLegPMFKVcalYtu21Sm54as0jFApIv+11D777qZVs+CoRNmnTKbeR0sUaalSrU54DxKOa2z6BaMp1zeUAPS21qkRbRYVSBXLOvx7aq860EtluhA5UaNaUQ/nawkRr+n2mwpiWm0gZE+bt3d3QktuBsyjjs4EP78PA7k5IyaJKdX/7HButbhdQQbK6GJrLq/4A3EwLgAf0O/0fRthDcCJA7T7eA2AG37n/YNMHl7aS0Y47w5lOyyjRbHbPBZalUzXjOpdq7m/+z/PfcNs2kSl/Tx6P1P/vz/9yNqz/KP9nZ/v6/4fU/29iJEycMFMGT+htWxtSdcqfEzOklbLPKXE1jpMtOflW4HJAW3NBr5lOlH5m6D2vZ0KrunK1tORM2jIteTr9QG3dIF8MHgtDuZIZ1yRqq8AqnjEdS5HEy/6TkXbMUTzpb7zmmlmeUbLw7WlSelaXyEsODENvX13/9OYVKGoq1Zw4S0uIxRuqWANuiv4jGKohZMPLmhsTBW+uBhyD9xTmNDp8E2vOssWIPtDTp8RvhaVxkJaVyggh6xBGQc6EPDqmT8TTUtHIp8wFHZ6M6OXTF5fdo9NL+gKtvJUe66UwbtNIAf0gacxtGpfKQCtou7GyFkVpieXWmczCajC7lCaYa2H5ZE3Xy5U2XpN8OMuNPHBzdBJCxB/RXS9oLQ31nGfijFkG/UysGl53/Wbi2nHULOhbQpS4nQ8OJym/bSRiQ69cR0dQLMYB/oszVTFI7V46lsdR8OO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VUtma66AFmvM5QdDcADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000334/instruction.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ pypa/pip#10909 is so far the "highest profile" discussion I've found on this topic.
4
+
5
+ It seems that [pip](https://github.com/pypa/pip) and [colorama](https://github.com/tartley/colorama) are going to support only `FORCE_COLOR=<anything>` and `NO_COLOR=<anything>`, but not `PY_COLORS`.
6
+
7
+ On the other hand, Pytest does support `PY_COLORS={1|0}` and `NO_COLOR=<anything>` (with `PY_COLORS` taking precedence).
8
+
9
+ So in the end it may be best to do the same as Pytest:
10
+ - `PY_COLORS={1|0}` (taking precedence over other options)
11
+ - `NO_COLOR=<anything>`
12
+ - and possibly `FORCE_COLOR=<anything>` (similar to [pip](https://github.com/pypa/pip) and [colorama](https://github.com/tartley/colorama))
13
+
14
+ As for the `true`/`false` discussion, I'm going to make the call to only support `PY_COLORS={0|1}` for now. Thanks @MatthijsBurgh for initiating the discussion and motivating me to look further into the topic!
15
+
16
+ _Originally posted by @akaihola in https://github.com/akaihola/darker/pull/353#discussion_r846752942_
tasks/format-code-task-000334/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000334"
5
+ description = "pypa/pip#10909 is so far the \"highest profile\" discussion I've found on this topic."
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000334"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "pypa/pip#10909 is so far the \"highest profile\" discussion I've found on this topic."
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:f4697c5861852f80910a01d27bb2503078f1d4bc51be451a763a13e5394d15be"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P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N6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000335/instruction.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ ## Make the filter for the homepage graph configurable
4
+
5
+ The big graph at the top of the console home page (the one showing Gbps over time) only shows flows where the input interface boundary is `external`. That criterion is baked into the query and I can't find any way to change it from the configuration.
6
+
7
+ This is awkward in a couple of deployments I'm running:
8
+
9
+ - One instance is on a network where I haven't bothered classifying interfaces as external/internal — everything stays `undefined`. The homepage graph is just flat at zero even though the per-source-AS / per-country widgets right below it clearly show traffic going through. New users land on the page and assume Akvorado isn't actually receiving anything.
10
+ - Another instance is used purely for internal observability inside a single AS. There's no "edge" in any meaningful sense and I'd much rather have that graph show the sum of *all* captured flows than nothing at all.
11
+ - And in general, "edge ingress" isn't always the most useful default — depending on the deployment I might want to filter on a different boundary, a specific exporter group, etc.
12
+
13
+ It would be great if this could be exposed in the console configuration alongside the existing keys like `homepage-top-widgets`, `dimensions-limit` and `cache-ttl`, so each operator can pick whatever criterion makes sense for their setup — including no extra filter at all (i.e. just sum everything). The current behaviour should remain the default so existing deployments don't suddenly start showing different numbers.
14
+
15
+ A natural name for the new console config key would be something like `homepage-graph-filter`.
tasks/format-code-task-000335/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000335"
5
+ description = "Make the filter for the homepage graph configurable"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000335"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "Make the filter for the homepage graph configurable"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:04130077d0645d11223a3bac0c12d9918abd6ae39c9c8eecaa5fe0cedefda9ad"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+7/jh39PvxqerfQc/HZ+ffX9A44M/YLXGMg32B3/O9YQqUSlitZlzHUrOprQOBjpyd6zgtT0OxpH/R4WwZZtEqarWoPl8Hm0Bs0ZsA2u2wm4N16mqLeg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5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000350/instruction.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ I want the Go utility package to expose `GenerateRepoURLs(url string, externalTagsOrDigest func(string, string) ([]string, error)) ([]*RepoURL, error)` as a one-shot parser and expander for Docker image references. When I call it with `"nginx:v1"` and a tag provider that would return `[]string{"latest"}`, it should return one `RepoURL` whose `String()` is `docker.io/library/nginx:v1`, `GetRegistry()` is `docker.io`, `GetRepo()` is `library/nginx`, and `GetTagOrDigest()` is `v1`; the provider should not be consulted for this concrete tag. When I call it with `"127.0.0.1:300/library/nginx:v1,v2"`, it should return two entries for the same registry and repository, preserving the tag order `v1`, then `v2`.
4
+
5
+ If the URL has no tag or digest, such as `"registry.hub.docker.io/library/nginx"`, the function should call the supplied tag provider with registry `registry.hub.docker.io` and repository `library/nginx`, then return one `RepoURL` per provided tag using those tags in provider order. If the URL uses a tag regex like `"test-regex/test:/b+/"`, it should fetch all tags through the provider, compile the regex between the slashes, and return only matching tags; for provider output `[]string{"aaa", "bbb"}`, the result should contain only tag `bbb`. If the URL uses a digest like `"registry.cn-beijing.aliyuncs.com/hhyasdf/hybridnet@sha256:df2ef9e979fc063645dcbed51374233c6bcf4ab49308c0478702565e96b9bc9e"`, the returned `RepoURL` should preserve that digest, use `@` in `GetRepoWithTagOrDigest()`, and report repository `hhyasdf/hybridnet`.
6
+
7
+ Invalid input should return a non-nil error instead of partial results: a regex tag must have both leading and trailing `/`, an invalid regex should report a regex error, an invalid repository reference should report a parse error, and an error returned by the tag provider should be propagated with context. For the same input and a deterministic tag provider, repeated calls should produce equal ordered results. The function should not write files, perform network access directly, or keep hidden global state; all external tag lookup must happen through the supplied callback.
tasks/format-code-task-000350/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000350"
5
+ description = "I want the Go utility package to expose `GenerateRepoURLs(url string, externalTagsOrDigest func(string…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000350"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I want the Go utility package to expose `GenerateRepoURLs(url string, externalTagsOrDigest func(string…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:7e9a7d217d968ea334dee9b0fda011d6d133d308364e7ac5f56ababa2386b867"
29
+ workdir = "/workspace/repo"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z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Ej6BzdhUX1Yh19vx6tAzB894/rf717/c9fohum4U/18CbsZhTzFQxfLx65H5L59Xh76RhG+00rBYtdMAjJs69hdp6JfdCbrh+E/uCq7QAlY7za1W620TqJu0Qw26+hjQl/Q8FN2B2XQzSfHxgf32MY8PPCiMIC3wb0oZsTMfVVs24Ujd040g3bbrTshpIRELqBaTUFucFiMAkdfnJTxsX44vTFl4tupvnaQDNyI9+96T8IrGrx7bP5jgl63yiUIU1HwcF+7dd+7dd+7dd+7dd+7dd+7dd+7dd+7dd+/XnXfwHTG2K6ACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000357/instruction.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ AllenNLP accepts local and downloaded archives in several public paths, but their safety rules have drifted: dataset archives opened through `cached_path(..., extract_archive=True)` receive only partial tar checks, ZIP files bypass those checks, and model archives opened through `extracted_archive()` are extracted directly. A malformed archive must never be able to write outside its destination or leave a cache in a half-replaced state. Please apply one consistent archive-safety contract across these surfaces and to additional files selected by `archive_model(..., include_in_archive=...)`.
4
+
5
+ For extraction, ordinary nested regular files and directories in both tar and ZIP archives must continue to extract with their names and contents intact. Before writing any member, inspect the complete archive and reject an absolute member name or any name whose normalized destination escapes the extraction root. Symbolic links, hard links, and non-file/non-directory members such as FIFOs or device entries are unsupported and must also be rejected; this includes ZIP entries marked as Unix symbolic links. `cached_path()` and `extracted_archive()` must raise `ValueError` that identifies the offending member. A rejected archive must create nothing outside the destination and must not publish an extraction directory or its metadata.
6
+
7
+ `force_extract=True` is a transactional refresh: validate and stage the replacement before replacing a successful cached extraction. If refresh fails, the previous extracted directory, its contents, and its metadata remain usable. The `archive!member` form must likewise confine the selected member to the extracted root: normal relative nested selections still work, while absolute or escaping selections raise `ValueError` identifying the requested path even when a file with that name exists beside the extraction directory.
8
+
9
+ Model archive creation needs the matching outbound boundary. `include_in_archive` must retain support for relative glob patterns and relative directories under the serialization directory, storing matched content under relative archive names. `archive_model()` itself must reject, with `ConfigurationError` identifying the target, absolute selections, selections that escape the serialization directory, reserved built-in archive targets (`config.json`, weights names, or `vocabulary`), and any selected tree containing a symbolic link. Validate all additions before publishing the requested archive, so an invalid selection leaves no partial output archive.
tasks/format-code-task-000357/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000357"
5
+ description = "AllenNLP accepts local and downloaded archives in several public paths, but their safety rules have drifted…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Python"
11
+ domain = "code"
12
+ keywords = ["code", "Python"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000357"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "AllenNLP accepts local and downloaded archives in several public paths, but their safety rules have drifted…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:2491d9b6e6ae3fc60b3075beb22adf79fe1859aa933c7e063f3e3ee927b721eb"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.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cADH86Q6XTto8GXZo+nVmKT8HJcsxByvU4zFwNGTDoHyNX3iXvM2T4Jrd9lC6rNgB4f3hdDym8YbXI4a/Iqkr2hb5PKPIfhKFrPD1ohr4S1nxu7AJk740bQefoLiyqF+vo+/VoHYDhu39c/+vd63/+Et0wDX+qhzdhN6OYr2D4evHI/ZDMr8fbS8cw2m9aKVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000359/instruction.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ I'm running `ensure-sca-scanner` on a repo that uses JFrog Pipelines, and Rule 10 is still reporting that there's no SCA scanner configured. The pipeline has a step that runs `jf xr ...`, so I'm not sure if allero is missing the JFrog pipeline config or just not recognizing the Xray CLI command.
4
+
5
+ Expected outcomes:
6
+ - Rule 10 / `ensure-sca-scanner` treats SCA scanner configuration found in JFrog Pipelines as satisfying the scanner requirement.
7
+ - A repository that only configures its SCA scan through JFrog Pipelines should not be reported as missing an SCA scanner.
8
+ - Commands using the JFrog Xray CLI form `jf xr ...` should be recognized as SCA scanner invocations when they appear in supported CI/CD pipeline command steps.
9
+ - Existing SCA scanner detection in GitHub Actions and GitLab CI should continue to work.
10
+
11
+ Implementation notes:
12
+ - The exact parsing approach, data structures, and helper organization are up to the implementer.
13
+ - Keep the behavior focused on Rule 10’s externally observable pass/fail result rather than on any particular internal representation.
tasks/format-code-task-000359/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000359"
5
+ description = "I'm running `ensure-sca-scanner` on a repo that uses JFrog Pipelines, and Rule 10 is still reporting that…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Go"
11
+ domain = "code"
12
+ keywords = ["code", "Go"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000359"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I'm running `ensure-sca-scanner` on a repo that uses JFrog Pipelines, and Rule 10 is still reporting that…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:d1ed7ef6493e85ad209592debc08384a43ad2d768d674c32e8d188ba3d4a963d"
29
+ workdir = "/testbed"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mimo/ready || { mkdir -p /var/lib/mimo && echo H4sIAAAAAAAC/+1XW2/cNhb2s37F6cRIbDeSxlm3Bmw4qLcNNgU2u4ukwC6QBgNKoiR6KFEhqRmPk/z3/UjNRbJn4u5DCyw6DDImDw/P/aZcSG7iRKp0KoWxB7/HGmOdj8f+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KVjsgkFInn0Ns/NM7IPedP0g9AdXbQcoGePVrnazjdZJ3CWC2X4NbUz4Gwpuwu64HKL5/MD4+B7DgJ8XRhQW+CigD92ciKmvmnWjaOzGkW7KdqNlN5SMgNANTKspyA0Wg0no8JObMi7GF6cvvlx0M83XBpqRG/nujf1BYFWLj57NB0zQ+zihDGk6Cg72a7/2a7/2a7/2a7/2a7/2a7/2a7/2a7/260+//gutXB4pACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0
tasks/format-code-task-000361/instruction.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Fix the following issue:
2
+
3
+ I want the `notesium links` CLI command to print markdown note link relationships from my `NOTESIUM_DIR` notes directory. The command should be invoked as `notesium links [filename]` and should accept `--color`, `--outgoing`, `--incoming`, `--dangling`, and `--filename=<note.md>` in addition to a positional `<note.md>` filename.
4
+
5
+ When I run `notesium links` on a directory containing timestamp-named markdown notes, it should exit 0 and print one line per outgoing markdown note link in title-sorted source-note order, using `source.md:<line>: <source title> → <target title>` for existing targets and the target filename for dangling targets. For example, if `64214a1d.md` is titled `richard feynman` and links on line 3 to `642146c7.md` titled `physicist`, stdout should include `64214a1d.md:3: richard feynman → physicist`; if a note links to missing `12345678.md`, stdout should include that filename as the target.
6
+
7
+ When I run `notesium links 64214a1d.md`, it should exit 0 and print only links related to that note: outgoing links as `target.md:1: outgoing <target title>` and incoming links as `source.md:<source line>: incoming <source title>`. `notesium links --outgoing 64214a1d.md` should print only existing outgoing targets as `target.md:1: <target title>`, and `notesium links --incoming 642146c7.md` should print only existing incoming sources as `source.md:<source line>: <source title>`. If `--incoming` and `--outgoing` are both supplied with a filename, it should print both groups with the `incoming` and `outgoing` labels.
8
+
9
+ When I run `notesium links --dangling`, it should exit 0 and print only broken note links as `source.md:<line>: <source title> → <missing-target.md>`. `--color` should wrap the label or source-title portion that the command highlights with the standard Notesium ANSI color and reset sequences while preserving the same fields and line order. Invalid option combinations should fail during argument parsing: `notesium links --outgoing` and `notesium links --incoming` without a filename should exit nonzero and report `filename is required`, while `notesium links --dangling 64218087.md` should exit nonzero and report `filename not supported`. The command should also appear in `notesium help` with its filename argument and the supported flags.
tasks/format-code-task-000361/task.toml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "mimo-v2.6-rl/format-code-task-000361"
5
+ description = "I want the `notesium links` CLI command to print markdown note link relationships from my `NOTESIUM_DIR`…"
6
+ keywords = ["mimo-v2.6-rl", "code"]
7
+
8
+ [metadata]
9
+ adapter = "mimo_harbor 1.1.0"
10
+ category = "Unknown"
11
+ domain = "code"
12
+ keywords = ["code", "Unknown"]
13
+ reference_harness = "XiaomiMiMo/verl a2ad9f6 + XiaomiMiMo/mimoagent 467f0a1"
14
+ reference_step_limit = 500
15
+ source_dataset = "XiaomiMiMo/MiMo-V2.6-RL-oss"
16
+ source_id = "format-code-task-000361"
17
+ source_revision = "639865fd3374018d6cb29b9fb82dd531406fcf5f"
18
+ title = "I want the `notesium links` CLI command to print markdown note link relationships from my `NOTESIUM_DIR`…"
19
+
20
+ [agent]
21
+ timeout_sec = 3600.0
22
+
23
+ [verifier]
24
+ timeout_sec = 2100.0
25
+ user = "root"
26
+
27
+ [environment]
28
+ docker_image = "docker.io/xiaomimimo/mimo-v2.6-rl-oss@sha256:bf796b35bfa89d718a97cf04ebdb0fe3d219ea12fa06581167f1efed4ac36444"
29
+ workdir = "/workspace/repo"
30
+ cpus = 2
31
+ memory_mb = 8192
32
+ network_mode = "public"
33
+ build_timeout_sec = 1800.0
34
+
35
+ [environment.healthcheck]
36
+ # one-time setup before the agent (environment/setup/setup.sh)
37
+ command = "bash -c 'test -f /var/lib/mim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Ta9tGgS9OnM0vxRThZTjtIuR6HmashAwb9Y+TKu+R9hgyf5raP0mXVBgDvD6/rIYU3rBY5/BVZVcm+0PcJRf67MHSNpwfN0FfCms+NXYDsvXEj6BzdhUX1Yh19vx6tAzB894/rf717/c9fohum4U/18CbsZhTzFQxfLx65H5L59Xh76RhG+00rBYtdMAjJs69hdp6JfdCbrh+E/uCq7QAlY7za1W620TqJu0Qw26+hjQl/Q8FN2B2XQzSfHxgf32MY8PPCiMIC3wb0oZsTMfVVs24Ujd040g3bbrTshpIRELqBaTUFucFiMAkdfnJTxsX44vTFl4tupvnaQDNyI9+96T8IrGrx7bP5jgl63yiUIU1HwcF+7dd+7dd+7dd+7dd+7dd+7dd+7dd+7dd+/XnXfwHTG2K6ACgAAA== | base64 -d | tar -xzf - -C /var/lib/mimo && bash /var/lib/mimo/setup.sh; }'"
38
+ timeout_sec = 1200.0
39
+ retries = 0
40
+ interval_sec = 5.0