codeneedle has bad results

#3
by akierum - opened

Hello, benchmarked on codeneedle https://github.com/alexziskind1/codeneedle

Test failed after 4 runs from 20

←[1m=== SUMMARY ===←[0m
Pass: 2/4 (2 errored)
Primary lines matched: 47/80
Hallucinated lines: 33
Bonus (extra correct): 0

per-function:
←[31mβœ—β†[0m _url_collapse_path matched= 5/20 halluc=15 bonus= 0
←[32mβœ“β†[0m parse_request matched=20/20 halluc= 0 bonus= 0
←[31mβœ—β†[0m handle_one_request matched= 2/20 halluc=18 bonus= 0
←[32mβœ“β†[0m send_error matched=20/20 halluc= 0 bonus= 0
←[35m!←[0m log_message ERROR empty response (200 OK but no content; reasoning models often need more max_tokens β€” try --max-tokens 8000)
←[35m!←[0m send_head ERROR empty response (200 OK but no content; reasoning models often need more max_tokens β€” try --max-tokens 8000)

Better results for protorikis codeneedle:

agents-codeneedle

My own version is also not great with proper indentation check ON:

=== Running: Positional Recall #1 ===
Selected 11 functions from http_server.py
Recall 1/11: _url_collapse_path ...
Finished Recall 1/11: _url_collapse_path β€” 5/20 matched, FAIL.
Recall 2/11: parse_request ...
Finished Recall 2/11: parse_request β€” 3/20 matched, FAIL.
Recall 3/11: handle_one_request ...
Finished Recall 3/11: handle_one_request β€” 2/20 matched, FAIL.
Recall 4/11: send_error ...
Finished Recall 4/11: send_error β€” 4/20 matched, FAIL.
Recall 5/11: log_message ...
Finished Recall 5/11: log_message β€” 20/20 matched, PASS.
Recall 6/11: send_head ...
Finished Recall 6/11: send_head β€” 20/20 matched, PASS.
Recall 7/11: list_directory ...
Finished Recall 7/11: list_directory β€” 20/20 matched, PASS.
Recall 8/11: translate_path ...
Finished Recall 8/11: translate_path β€” 2/20 matched, FAIL.
Recall 9/11: guess_type ...
Finished Recall 9/11: guess_type β€” 19/20 matched, PASS.
Recall 10/11: is_cgi ...
Finished Recall 10/11: is_cgi β€” 4/20 matched, FAIL.
Recall 11/11: run_cgi ...
Finished Recall 11/11: run_cgi β€” 5/20 matched, FAIL.

How much context was it given for each test?

The model has 250k context set in LMstudio.

Sign up or log in to comment