Failed in personal evaluation
I was truly hot to evaluate this model if it improves GPT 20, but I can see it is giving really wrong information (looking good but wrong), and I am going to delete it from possible options. Further, it is also hallucinating, or never stopping, which is not something I observed with the GPT.
Here one can find one result from Codeforce:
Original GPT 20, somehow better, yet stupid:
But this with Codestral is not acceptable:
Personally, I asked author to provide some examples, not just Leaderboard results, but to let us see something, I did this small attempt myself, and I am personally not satisfied.
Let me test it few more days, before I delete it.
I really appreciate your feedback. I will improve the model
Did you try set to high reasoning?
We recommend sampling with temperature=0.9 and top_p=0.9 or temperature=1 and top_p=1
Could you please test coding because this is best for coding?
I will test it.
And also remember, Emacs Lisp should be also supported by models.
2026-01-24-02:38:35 Query ID: 2976, URLs: 40
2026-01-24-02:38:44 ✗ Error: https://abcnews.go.com/Politics/breaking
2026-01-24-02:38:52 ✗ Error: https://abcnews.go.com/Politics/breaking
2026-01-24-02:39:01 ✗ Error: https://abcnews.go.com/Politics/breaking
2026-01-24-02:39:09 ✗ Error: https://abcnews.go.com/Politics/breaking
2026-01-24-02:39:17 ✗ Error: https://www.usatoday.com/story/news/poli
2026-01-24-02:39:42 ✗ Error: https://www.usatoday.com/story/news/poli
2026-01-24-02:39:49 ✗ Error: https://www.usatoday.com/story/news/poli
2026-01-24-02:39:57 ✗ Error: https://www.usatoday.com/story/news/poli
2026-01-24-02:40:04 ✗ Error: https://www.aljazeera.com/news/2026/1/22
2026-01-24-02:40:11 ✗ Error: https://www.aljazeera.com/news/2026/1/22
2026-01-24-02:40:18 ✗ Error: https://www.aljazeera.com/news/2026/1/22
2026-01-24-02:40:25 ✗ Error: https://www.aljazeera.com/news/2026/1/22
2026-01-24-02:40:34 ✗ Failed: https://www.cbsnews.com/live-updates/trump-greenla
2026-01-24-02:40:43 ✗ Failed: https://www.cbsnews.com/live-updates/trump-greenla
2026-01-24-02:40:52 ✗ Failed: https://www.cbsnews.com/live-updates/trump-greenla
2026-01-24-02:41:01 ✗ Failed: https://www.cbsnews.com/live-updates/trump-greenla
2026-01-24-02:41:10 ✗ Error: https://www.independent.co.uk/news/world
2026-01-24-02:41:19 ✗ Error: https://www.independent.co.uk/news/world
2026-01-24-02:41:29 ✗ Error: https://www.independent.co.uk/news/world
2026-01-24-02:41:38 ✗ Error: https://www.independent.co.uk/news/world
2026-01-24-02:41:48 ✗ Failed: https://www.cbc.ca/news/world/trump-greenland-nato
2026-01-24-02:41:58 ✗ Failed: https://www.cbc.ca/news/world/trump-greenland-nato
2026-01-24-02:42:07 ✗ Failed: https://www.cbc.ca/news/world/trump-greenland-nato
2026-01-24-02:42:16 ✗ Failed: https://www.cbc.ca/news/world/trump-greenland-nato
2026-01-24-02:42:24 ✗ Error: https://www.bbc.com/news/articles/cgezx4
2026-01-24-02:42:50 ✗ Error: https://www.bbc.com/news/articles/cgezx4
2026-01-24-02:42:57 ✗ Error: https://www.bbc.com/news/articles/cgezx4
2026-01-24-02:43:05 ✗ Error: https://www.bbc.com/news/articles/cgezx4
Waiting for process to die...done
Link: [1]DuckDuckGo (Lite) (search)
Link: [2]image_src
DuckDuckGo
[3]_________________________________________ [4][ Search ]
[5][ ________________ ] [6][ __________ ]
[7][ Next Page > ]
[8]Breaking down Trump's argument for acquiring Greenland - ABC News
President Donald Trump has said the U.S. should purchase Greenland for national security reasons but hasn't
ruled out using military force.
abcnews.go.com/Politics/breaking-trumps-argument-acquiring-greenland/story?id=129349786
2026-01-20T00:00:00.0000000[9]Trump's Greenland 'framework' deal: What we know about it, what we don ...
Trump says he reached a 'framework of a future deal' on Greenland during a meeting with NATO's Mark Rutte in
Davos.
www.aljazeera.com/news/2026/1/22/trumps-greenland-framework-deal-what-we-know-about-it-what-we-dont
2026-01-22T00:00:00.0000000[10]Trump to address Davos as allies push back against his bid for Greenland
President Trump is addressing the gathering of world leaders, CEOs and policymakers as America's allies balk
at his efforts to acquire Greenland.
www.cbsnews.com/live-updates/trump-greenland-davos-2026-world-economic-forum/ 2026-01-21T14:40:00.0000000[11]By suddenly declaring a deal on Greenland, Trump demolished his case ...
In a whiplash-inducing U-turn, U.S. President Donald Trump suddenly dropped his insistence on taking control
of Greenland, mere hours after laying out at great length his rationale for ownership ...
www.cbc.ca/news/world/trump-greenland-nato-agreement-analysis-9.7055250 2026-01-21T23:30:00.0000000[12]Trump-Greenland latest: Nato clash grows as president claims European ...
Trump-Greenland latest: Nato clash grows as president claims European troops stayed off front lines in
Afghanistan US president hits out at Nato again at World Economic Forum in Davos as head of ...
www.independent.co.uk/news/world/europe/trump-greenland-davos-speech-tariffs-eu-nato-latest-news-b2905257.html
2026-01-23T03:07:00.0000000[13]Trump says 'framework of a future deal' discussed on Greenland as he ...
President Donald Trump says the US is exploring a potential deal on Greenland after talks with Nato as he
backed off threats to tariff European allies that had opposed his plans for America to ...
www.bbc.com/news/articles/cgezx40r7d7o 2026-01-22T00:00:00.0000000[14]Trump's posturing over Greenland has changed the transatlantic alliance ...
President Donald Trump's posturing over Greenland has irrevocably changed the transatlantic relationship, even
after he backed away Wednesday from his threats of a US takeover of the Danish ...
www.cnn.com/2026/01/22/europe/trump-greenland-europe-reaction-intl 2026-01-22T00:00:00.0000000[15]Trump Claims Greenland For US in Davos Speech: 'That's Our ... - TIME
President Donald Trump pressed for the U.S. to annex Greenland during a combative address at the World
Economic Forum in Davos
time.com/7354005/trump-davos-speech-greenland/ 2026-01-21T16:06:00.0000000[16]Trump Greenland annex idea is back. What he's said - USA TODAY
President Donald Trump said 'we need Greenland for national security' and denies it is due to the minerals
there. The island is a territory of Denmark
www.usatoday.com/story/news/politics/2025/12/23/donald-trump-greenland-explained/87893848007/
2025-12-23T05:02:00.0000000[17]New York TimesAfter Trump's Ultimatum, Greenland Talks Include ...
Negotiators have discussed proposals to check Russian and Chinese influence in the Arctic and transfer
sovereignty over pockets of Greenlandic land to the United States, an idea opposed by Denmark.
www.nytimes.com/2026/01/22/world/europe/trump-greenland-deal-framework.html 2026-01-22T10:46:00.0000000
[18][ Next Page > ]
[19]_________________________________________ [20][ Search ]
References
Visible links
- https://duckduckgo.com/opensearch_lite_v2.xml
- https://duckduckgo.com/assets/icons/meta/DDG-icon_256x256.png
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fabcnews.go.com%2FPolitics%2Fbreaking%2Dtrumps%2Dargument%2Dacquiring%2Dgreenland%2Fstory%3Fid%3D129349786&rut=37d1a6f5288221531a3c1274f49b2497de0980fa05edfabb78007ea28c542131
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.aljazeera.com%2Fnews%2F2026%2F1%2F22%2Ftrumps%2Dgreenland%2Dframework%2Ddeal%2Dwhat%2Dwe%2Dknow%2Dabout%2Dit%2Dwhat%2Dwe%2Ddont&rut=54eaaef96ddac5779dd9fcd9fb0efce33ef85e78b204728cc4fc1ffa964142e9
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.cbsnews.com%2Flive%2Dupdates%2Ftrump%2Dgreenland%2Ddavos%2D2026%2Dworld%2Deconomic%2Dforum%2F&rut=8907970efbec324dfe722d68491d0525e63489ad54bf03c9c063827dd5982b54
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.cbc.ca%2Fnews%2Fworld%2Ftrump%2Dgreenland%2Dnato%2Dagreement%2Danalysis%2D9.7055250&rut=ccf82d9d7f2c26135e070cd646a4742f959be66c2fa223417a832e23e8d48b7b
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.independent.co.uk%2Fnews%2Fworld%2Feurope%2Ftrump%2Dgreenland%2Ddavos%2Dspeech%2Dtariffs%2Deu%2Dnato%2Dlatest%2Dnews%2Db2905257.html&rut=200adcf238d0d47c75cf989ffc189d559817e1187a162a85776b46844e1faffc
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.bbc.com%2Fnews%2Farticles%2Fcgezx40r7d7o&rut=a2b4dcc6de38870bfbfe6ec5b653e94b20615e2cb77fd68e3c470b2ff682ff86
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.cnn.com%2F2026%2F01%2F22%2Feurope%2Ftrump%2Dgreenland%2Deurope%2Dreaction%2Dintl&rut=7bc7f4c231c1dd4da635c7cc922a6b50a56d83d428838b31443b6b33d2d69122
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Ftime.com%2F7354005%2Ftrump%2Ddavos%2Dspeech%2Dgreenland%2F&rut=2f5ce24f44f7420867c0ba72af612d7831af4b40d1063e1d33f5f516a4edda5d
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.usatoday.com%2Fstory%2Fnews%2Fpolitics%2F2025%2F12%2F23%2Fdonald%2Dtrump%2Dgreenland%2Dexplained%2F87893848007%2F&rut=772e84d471e0b1c1295bfbbf7873c07973b3fc7da0dbdac5cd69c099cb3dc5d5
- https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.nytimes.com%2F2026%2F01%2F22%2Fworld%2Feurope%2Ftrump%2Dgreenland%2Ddeal%2Dframework.html&rut=6e19fd42def32f214b8bc5d19ef29f33c04cb6af5a5ab1ffb352b7cef4ae7fed
So you are surely not extracting well URLs with
(defun elinks-to-links (query)
"Return list of URLs from DuckDuckGo search for QUERY."
(let* ((encoded-query (url-hexify-string query))
(cmd (format "elinks -dump 'https://duckduckgo.com/html/?q=%s' 2>/dev/null"
encoded-query))
(output (shell-command-to-string cmd))
(urls ()))
(with-temp-buffer
(insert output)
(goto-char (point-min))
(while (re-search-forward "https://duckduckgo.com/l/?[^[:space:]]*uddg=[^[:space:]]" nil t)
(let ((full-url (match-string 0))
(encoded (when (string-match "uddg=\([^&]*\)" full-url)
(match-string 1 full-url)))
(decoded (when encoded (url-unhex-string encoded))))
(when decoded (push decoded urls)))))
(nreverse urls)))
RESULT
Here’s a clean Common‑Lisp wrapper that does exactly what you want – fetch the DuckDuckGo search page with elinks, then pull out every link (https://duckduckgo.com/l/?…&uddg=…) that DuckDuckGo turns into and finally URL‑decode the uddg= payload.
I’ve broken it into a small helper (url-unhex-string) and the main function (duckduckgo-to-urls). The code is fully self‑contained, so you can drop it into your own lisp file or REPL without extra dependencies.
;; ------------------------------------------------------------------
;; Small helper that percent‑decodes a string (e.g. “abc%20def” → “abc def”)
;; ------------------------------------------------------------------
(defun url-unhex-string (s)
"Return a new string obtained by URL‑unhexifying S."
(with-output-to-string (out)
(with-string-input (in s)
(loop (let ((ch (read-char in nil)))
(when (null ch) (return))
(if (eql ch #\%)
;; read two hex digits and convert to a character
(let* ((hex1 (read-char in nil))
(hex2 (read-char in nil))
(val (parse-integer (format nil "%s" (format nil "%s" hex1 hex2)) 16)))
(princ val out))
(princ ch out)))))))
;; ------------------------------------------------------------------
;; Main wrapper – return a list of URLs from DuckDuckGo for QUERY
;; ------------------------------------------------------------------
(defun duckduckgo-to-urls (query)
"Return a fresh list of URLs returned by a DuckDuckGo search for QUERY."
(let* ((cmd (format nil
;; Use double quotes so that shell sees the URL as one argument
"elinks -dump \"https://duckduckgo.com/html/?q=%s\" 2>/dev/null"
query))
(output (shell-command-to-string cmd))
;; We’ll collect matches in ‘urls’, then nreverse at the end.
(urls ()))
;; ‘with-temp-buffer’ gives us a temporary buffer that we can
;; populate with the command output and run regular‑expression
;; searches against. This is the idiomatic way to parse elinks’
;; output in Common Lisp.
(with-temp-buffer
(insert output)
(goto-char (point-min))
;; DuckDuckGo prints each link as:
;; https://duckduckgo.com/l/?q=QUERY&uddg=ENCODED_URL
;; where ENCODED_URL is percent‑encoded.
;; We capture that payload with a capturing group.
(while (re-search-forward
"https://duckduckgo.com/l/?[^[:space:]]*uddg=\\([^[:space:]]*\\)"
nil t)
(push (url-unhex-string (match-string 1)) urls)))
;; ‘nreverse’ is the Common‑Lisp equivalent of ‘reverse’ that
;; operates in place. It keeps the memory usage low when we
;; collect many URLs.
(nreverse urls)))
How it works
Command construction –
elinks -dump "https://duckduckgo.com/html/?q=QUERY" 2>/dev/null
elinks automatically URL‑encodes the query for you, so we don’t need a separateurl-hexify-string. The shell command is quoted withformatso that any characters in QUERY (spaces, quotes, etc.) are preserved.Capture elinks’ output –
shell-command-to-stringruns the shell command and returns its stdout as a string. We insert that string into a temporary buffer.Regular‑expression search –
re-search-forwardlooks for the patternhttps://duckduckgo.com/l/?[^[:space:]]*uddg=\([^[:space:]]*\)
which matches a link and captures the percent‑encoded payload.URL‑decode –
url-unhex-stringturns the percent‑encoded payload into a normal string. Wepusheach decoded URL onto the list.Return the list –
After all matches are found,nreversegives us a list in the order that DuckDuckGo generated them.
Example
(duckduckgo-to-urls "Trump Greenland")
Produces something like
("https://www.aljazeera.com/news/2026/1/22/trumps-greenland-framework-deal-what-we-know-about-it-what-we-dont"
"https://www.cbsnews.com/live-updates/trump-greenland-davos-2026-world-economic-forum/"
"https://www.cbc.ca/news/world/trump-greenland-nato-agreement-analysis-9.7055250"
"https://www.independent.co.uk/news/world/europe/trump-greenland-davos-speech-tariffs-eu-nato-latest-news-b2905257.html"
"https://www.bbc.com/news/articles/cgezx40r7d7o"
"https://www.cnn.com/2026/01/22/europe/trump-greenland-europe-reaction-intl")
Feel free to tweak the regular‑expression if you want to drop the ?q=… fragment or to add other DuckDuckGo sites (e.g. https://duckduckgo.com/html/?q=…). The code above is a solid, reusable template for any elinks‑based URL extraction.
EVALUTATION
There was no LLM so far that by insisting to repair existing function gives new function names. It may be useful, but that fundamental issue is kind of not forgivable.
Original GPT OSS 20B gave me repaired function, though also started deviating, just less.
Thanks for the evaluation. I improve model in the future.
