fullarton-gml-coder / benchmark-report.md
scotsparaman's picture
Upload folder using huggingface_hub
2477c41 verified
|
Raw History Blame Contribute Delete
5.75 kB
# GML Coder 120-Prompt Release Benchmark
Deterministic generation: temperature 0, seed 42. Scores: compliance 60, syntax 20, API safety 20.
## Overall
| Model | Mean | Pass rate | Syntax clean | API clean | Mean seconds |
|---|---:|---:|---:|---:|---:|
| `gml-coder-v12:latest` | 93.7 | 77.5% | 99.2% | 96.7% | 5.13 |
| `gml-coder-v11:latest` | 93.4 | 76.7% | 99.2% | 97.5% | 5.08 |
| `qwen2.5-coder:7b-instruct-q4_K_M` | 77.3 | 33.3% | 89.2% | 93.3% | 7.75 |
## By Category
| Model | ambiguity | api | collision | completion | language | repair | scope | systems | ui |
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
| `gml-coder-v12:latest` | 88.5 | 91.0 | 100.0 | 96.5 | 94.8 | 90.5 | 96.4 | 89.5 | 93.8 |
| `gml-coder-v11:latest` | 81.0 | 89.0 | 97.0 | 96.5 | 89.5 | 93.8 | 95.9 | 96.5 | 93.0 |
| `qwen2.5-coder:7b-instruct-q4_K_M` | 93.0 | 72.2 | 84.0 | 82.5 | 88.3 | 80.0 | 68.5 | 78.8 | 65.0 |
## Findings
### `gml-coder-v12:latest`
- `missing:constructor`: 2
- `forbidden:obj_wall`: 1
- `forbidden:place_meeting`: 1
- `missing:keyboard_check`: 1
- `forbidden:Clean Up`: 1
- `missing:x += 4`: 1
- `forbidden:vk_w`: 1
- `wrong_key_constant:vk_w`: 1
- `missing:1000000`: 1
- `suspicious_api:point_length`: 1
- `missing:surface_reset_target`: 1
- `forbidden:graphics_reset_target`: 1
- `fake_api:graphics_reset_target`: 1
- `missing:array_push`: 1
- `missing:ds_map_create`: 1
### `gml-coder-v11:latest`
- `missing:move_and_collide`: 2
- `missing:constructor`: 2
- `missing:Draw GUI`: 2
- `forbidden:obj_wall`: 1
- `forbidden:place_meeting`: 1
- `missing:keyboard_check`: 1
- `forbidden:Clean Up`: 1
- `fake_api:gui_text_box`: 1
- `unbalanced_parentheses`: 1
- `missing:place_meeting`: 1
- `missing:1000000`: 1
- `missing:surface_set_target`: 1
- `missing:surface_reset_target`: 1
- `forbidden:graphics_set_target`: 1
- `fake_api:graphics_set_target`: 1
### `qwen2.5-coder:7b-instruct-q4_K_M`
- `missing:keyboard_check`: 16
- `unbalanced_brackets`: 8
- `missing:Draw GUI`: 8
- `unbalanced_parentheses`: 6
- `missing:obj_solid`: 4
- `missing:instance_destroy`: 4
- `missing:instance_create_layer`: 3
- `missing:draw_text`: 3
- `malformed_declaration`: 2
- `missing:place_meeting`: 2
- `missing:obj_wall`: 2
- `missing:surface_set_target`: 2
- `missing:surface_reset_target`: 2
- `missing:buffer_delete`: 2
- `missing:surface_exists`: 2
## Lowest Scoring Cases
- `qwen2.5-coder:7b-instruct-q4_K_M` / `repair_surface_target`: 20.0 (surface_set_target, surface_reset_target, graphics_set_target, graphics_reset_target, fake_api:graphics_reset_target, fake_api:graphics_set_target)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_repair_wall`: 40.0 (keyboard_check, obj_wall, place_meeting)
- `gml-coder-v11:latest` / `scope_repair_cleanup`: 42.5 (keyboard_check, Clean Up, fake_api:gui_text_box)
- `gml-coder-v11:latest` / `repair_surface_target`: 42.5 (surface_set_target, surface_reset_target, graphics_set_target, fake_api:graphics_set_target)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_tank`: 45.0 (keyboard_check, unbalanced_parentheses, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `api_camera`: 45.0 (camera_set_view_pos, camera_get_view_width, unbalanced_parentheses, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `systems_shoot`: 45.0 (instance_create_layer, point_direction, unbalanced_parentheses, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `repair_fake_vkw`: 50.0 (ord("W"), vk_w, wrong_key_constant:vk_a, wrong_key_constant:vk_d, wrong_key_constant:vk_s, wrong_key_constant:vk_w)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_repair_draw`: 52.5 (keyboard_check, Draw Event)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_repair_cleanup`: 52.5 (keyboard_check, Clean Up)
- `gml-coder-v12:latest` / `scope_repair_cleanup`: 52.5 (keyboard_check, Clean Up)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_sprint`: 55.0 (keyboard_check, malformed_declaration)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_wrap`: 55.0 (keyboard_check, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_clamp`: 55.0 (keyboard_check, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_minimal`: 55.0 (keyboard_check, unbalanced_brackets)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `collision_solid_platform`: 55.0 (obj_solid, keyboard_check, unbalanced_parentheses)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `collision_coyote`: 55.0 (obj_solid, unbalanced_parentheses)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `api_particles`: 55.0 (part_system_create, part_type_create, part_particles_create, part_type_destroy, part_system_destroy, unbalanced_parentheses)
- `gml-coder-v12:latest` / `ambiguity_schema`: 55.0 (schema, unbalanced_braces)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `repair_buffer_string`: 60.0 (buffer_string, buffer_write_string, fake_api:buffer_write_string)
- `gml-coder-v12:latest` / `repair_surface_target`: 60.0 (surface_reset_target, graphics_reset_target, fake_api:graphics_reset_target)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_wasd`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_both`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_slow`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_pressed`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_friction`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `scope_repair_gui`: 65.0 (keyboard_check)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `collision_knockback`: 65.0 (obj_solid)
- `gml-coder-v12:latest` / `repair_plus`: 65.0 (x += 4)
- `qwen2.5-coder:7b-instruct-q4_K_M` / `repair_delta`: 65.0 (1000000)