Error Handling & Safety
TryFunction, ErrorInfo, SecretText, permissions, and security attributes
Report generated: February 25, 2026 at 7:49 AM
Benchmark data: Feb 18, 2026 – Feb 25, 2026
15
Models
5
Tasks
53.3%
Pass Rate
Model Rankings
Model Performance
openai/gpt-5.3-codex
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 62nd: 3Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:12,898
Cost/run:$0.10
Known Shortcomings (14)
- query-object-syntax 2x
- empty-or-missing-code-generation 2x
- parse-failure 2x
- dictionary-keys-method-signature 1x
- al-syntax-basics 1x
+9 more View all 14
anthropic/claude-sonnet-4-5-20250929
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 62nd: 3Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:12,351
Cost/run:$0.11
Known Shortcomings (14)
- multiline-string-literals 1x
- query-filter-element-syntax 1x
- jsonobject-get-method-signature 1x
- cross-join-dataitem-link-constraints 1x
- reserved-keyword-as-variable-name 1x
+9 more View all 14
anthropic/claude-opus-4-5-20251101@thinking=50000
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 9Failed: 23/5 passed
Temperature:0.1
Thinking:50,000
Tokens/run:14,184
Cost/run:$0.25
Known Shortcomings (10)
- page-extension-with-table-extension 1x
- reserved-keyword-as-parameter-name 1x
- dictionary-iteration-syntax 1x
- empty-or-malformed-code-generation 1x
- temporary-table-parameter-handling 1x
+5 more View all 10
openai/gpt-5.2-2025-12-11@thinking=high
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 62nd: 3Failed: 23/5 passed
Temperature:0.1
Thinking:high
Tokens/run:11,927
Cost/run:$0.10
Known Shortcomings (13)
- interface-definition-syntax 2x
- table-field-caption-property 2x
- query-object-syntax 2x
- query-crossjoin-syntax 2x
- jsonvalue-type-checking-methods 2x
+8 more View all 13
anthropic/claude-opus-4-6
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 9Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:13,306
Cost/run:$0.23
Known Shortcomings (8)
- reserved-keyword-as-parameter-name 1x
- cross-join-dataitem-link 1x
- incomplete-procedure-body 1x
- flowfield-calcfields-requirement 1x
- parse-failure 1x
+3 more View all 8
anthropic/claude-sonnet-4-6
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 9Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:13,645
Cost/run:$0.14
Known Shortcomings (5)
- event-subscriber-event-name 1x
- count-method-column-syntax 1x
- code-truncation-incomplete-output 1x
- jsonvalue-type-checking-api 1x
- flowfield-calcsums-restriction 1x
openrouter/z-ai/glm-5
Runs:3
pass@1:60.0%
pass@3:60.0%
Consistency:100.0%
1st: 72nd: 2Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:118,190
Cost/run:$1.71
Known Shortcomings (25)
- query-object-syntax 2x
- list-dictionary-of-interface-clear-method 1x
- event-subscriber-event-name 1x
- al-string-literal-escaping 1x
- fluent-api-return-self-codeunit 1x
+20 more View all 25
openrouter/moonshotai/kimi-k2.5
Runs:3
pass@1:53.3%
pass@3:60.0%
Consistency:80.0%
1st: 42nd: 4Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:31,012
Cost/run:$0.38
Known Shortcomings (11)
- query-object-syntax 2x
- event-subscriber-parameter-syntax 1x
- page-extension-cardpageid-override 1x
- parse-failure 1x
- multiline-string-literals 1x
+6 more View all 11
gemini/gemini-3.1-pro-preview
Runs:3
pass@1:46.7%
pass@3:60.0%
Consistency:80.0%
1st: 62nd: 1Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:62,369
Cost/run:$0.04
Known Shortcomings (16)
- empty-or-missing-code-generation 2x
- empty-or-missing-code-generation 2x
- empty-or-missing-code-generation 1x
- table-extension-with-page-extension 1x
- al-syntax-structure 1x
+11 more View all 16
openrouter/x-ai/grok-code-fast-1
Runs:3
pass@1:46.7%
pass@3:60.0%
Consistency:80.0%
1st: 22nd: 5Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:22,368
Cost/run:$0.23
Known Shortcomings (22)
- query-object-syntax 2x
- jsonobject-selecttoken-vs-get 2x
- httpclient-getheaders-usage 2x
- multiline-string-literals 1x
- page-extension-cardpageid-override 1x
+17 more View all 22
gemini/gemini-3-pro-preview
Runs:3
pass@1:33.3%
pass@3:60.0%
Consistency:60.0%
1st: 42nd: 1Failed: 23/5 passed
Temperature:0.1
Thinking:-
Tokens/run:80,459
Cost/run:$0.10
Known Shortcomings (23)
- codeunit-syntax-structure 3x
- multiline-string-literals 1x
- inherent-permissions-syntax 1x
- query-crossjoin-column-datasource 1x
- complete-codeunit-generation 1x
+18 more View all 23
openrouter/deepseek/deepseek-v3.2
Runs:3
pass@1:40.0%
pass@3:40.0%
Consistency:100.0%
1st: 32nd: 3Failed: 32/5 passed
Temperature:0.1
Thinking:-
Tokens/run:15,660
Cost/run:$0.16
Known Shortcomings (29)
- interface-definition-syntax 3x
- application-area-in-page-extension-field 2x
- reserved-keyword-as-variable-name 2x
- query-cross-join-syntax 2x
- jsonobject-get-vs-selecttoken 2x
+24 more View all 29
openrouter/qwen/qwen3-max-thinking
Runs:3
pass@1:40.0%
pass@3:40.0%
Consistency:100.0%
1st: 32nd: 3Failed: 32/5 passed
Temperature:0.1
Thinking:-
Tokens/run:12,313
Cost/run:$0.11
Known Shortcomings (27)
- option-field-optionmembers-required 2x
- variant-type-argument-and-interface-definition 2x
- query-object-syntax 2x
- enum-frominteger-syntax 1x
- list-iteration-pattern 1x
+22 more View all 27
openrouter/qwen/qwen3-coder-next
Runs:3
pass@1:33.3%
pass@3:40.0%
Consistency:80.0%
2nd: 5Failed: 32/5 passed
Temperature:0.1
Thinking:-
Tokens/run:13,933
Cost/run:$0.11
Known Shortcomings (35)
- codeunit-generation-empty-output 5x
- interface-definition-syntax 4x
- query-object-syntax 2x
- reserved-keyword-as-parameter-name 2x
- initvalue-vs-defaultvalue 1x
+30 more View all 35
openrouter/minimax/minimax-m2.5
Runs:3
pass@1:20.0%
pass@3:20.0%
Consistency:100.0%
1st: 12nd: 2Failed: 41/5 passed
Temperature:0.1
Thinking:-
Tokens/run:19,811
Cost/run:$0.21
Known Shortcomings (32)
- json-object-key-iteration 3x
- interface-definition-syntax 2x
- multiline-string-literals 2x
- text-char-conversion-copystr 1x
- page-object-definition 1x
+27 more View all 32
Task Results Matrix
N/M = passed N of M runs (hover for details)
| Task | Description | GPT-5.3 Codex | Claude Sonnet 4.5 | Claude Opus 4.5 (50K) | GPT-5.2 | Claude Opus 4.6 | Claude Sonnet 4 6 | Glm 5 | Kimi K2.5 | Gemini 3.1 Pro Preview | Grok Code Fast 1 | Gemini 3 Pro | Deepseek V3.2 | Qwen3 Max Thinking | Qwen3 Coder Next | Minimax M2.5 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CG-AL-H007 | Create a codeunit that demonstrates modern AL error handling with ErrorInfo. | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 2/3 | 1/3 | 3/3 | 1/3 | 0/3 | 0/3 | 0/3 | 0/3 |
| CG-AL-H008 | Create a codeunit demonstrating TryFunction pattern for safe execution. | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 2/3 | 3/3 |
| CG-AL-H016 | Create an AL codeunit named "CG Secure Storage" with ID 70016 that demonstrates SecretText handling: | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 |
| CG-AL-H019 | Create an AL codeunit named "CG Internal Service" with ID 70019 demonstrating security attributes: | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 3/3 | 1/3 | 1/3 | 3/3 | 3/3 | 3/3 | 0/3 |
| CG-AL-M005 | Create an integration codeunit called "External Payment Service" with ID 70002 that handles external API communication. The codeunit should implement the following procedures: | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 | 0/3 |