{"id":330272,"date":"2025-12-22T19:24:17","date_gmt":"2025-12-22T19:24:17","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/330272\/"},"modified":"2025-12-22T19:24:17","modified_gmt":"2025-12-22T19:24:17","slug":"gemini-ai-yielding-sloppy-code-for-ubuntu-development-with-new-helper-script","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/330272\/","title":{"rendered":"Gemini AI Yielding Sloppy Code For Ubuntu Development With New Helper Script"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"AI\" src=\"https:\/\/www.newsbeep.com\/uk\/wp-content\/uploads\/2025\/12\/ai.webp.webp\" width=\"100\" height=\"100\"\/><br \/>\nA few weeks ago it was mentioned by a Canonical engineer how <a href=\"https:\/\/www.phoronix.com\/news\/Ubuntu-Error-Tracker-AI-Error\" rel=\"nofollow noopener\" target=\"_blank\">trying to use AI to modernize the Ubuntu Error Tracker<\/a> yielded some code that was &#8220;plain wrong&#8221; and other issues raised by that Microsoft GitHub Copilot code. The same Ubuntu developer shifted to trying Gemini AI to generate a helper script to assist in Ubuntu&#8217;s monthly ISO snapshot releases. Google&#8217;s Gemini AI also generated some sloppy code for a Python script to assist in those Ubuntu releases.<\/p>\n<p>After the GitHub Copilot experience with the Ubuntu Error Tracker, Ubuntu developer Skia was experiment with Google&#8217;s Gemini AI to help with a helper script for the Ubuntu monthly snapshot releases &#8212; e.g. the recently released <a href=\"https:\/\/www.phoronix.com\/news\/Ubuntu-26.04-Snapshot-2\" rel=\"nofollow noopener\" target=\"_blank\">Ubuntu 26.04 &#8220;Resolute Raccoon&#8221; Snapshot 2<\/a>. Skia <a href=\"https:\/\/discourse.ubuntu.com\/t\/foundations-team-updates-2025-12-18\/73828\/11\" rel=\"nofollow noopener\" target=\"_blank\">explained<\/a> of that Gemini encounter:&#13;<\/p>\n<p>&#8220;Played again with AI, this time Gemini, to help out write a tiny helper script for the release. Find out more in all the individual commits and comments in this PR but in short, I\u2019d say it has the same kind of issues than Copilot: it doesn\u2019t think, so makes silly mistakes, and can\u2019t figure out the semantic of things, quickly leading to badly named variables that add to the confusion of reading a script that often splits the responsibilities of the work weirdly between functions.&#8221;<br \/>\n<br \/>AI\/LLMs still have a ways to go in providing effective coding practices for large scale software projects.<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.phoronix.com\/image-viewer.php?id=2025&amp;image=ubuntu_gemini_slop_lrg\" target=\"_blank\" rel=\"nofollow noopener\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/uk\/wp-content\/uploads\/2025\/12\/1766431457_419_image\" alt=\"Ubuntu Gemini AI slop\"\/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/ubuntu\/ubuntu-release\/pull\/11\" rel=\"nofollow noopener\" target=\"_blank\">This Ubuntu-release pull request<\/a> has that Gemini-generated code and the subsequent revisions made to it.<\/p>\n","protected":false},"excerpt":{"rendered":"A few weeks ago it was mentioned by a Canonical engineer how trying to use AI to modernize&hellip;\n","protected":false},"author":2,"featured_media":330273,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[554,733,4308,5870,5869,5867,5866,5873,5871,5868,5872,5865,5876,86,5874,5875,56,54,55],"class_list":{"0":"post-330272","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-desktop-linux","12":"tag-linux-benchmarking","13":"tag-linux-hardware-benchmarks","14":"tag-linux-hardware-reviews","15":"tag-linux-how-to","16":"tag-linux-performance","17":"tag-linux-server-benchmarks","18":"tag-open-source-graphics","19":"tag-phoronix","20":"tag-phoronix-test-suite","21":"tag-technology","22":"tag-ubuntu-benchmarks","23":"tag-ubuntu-hardware","24":"tag-uk","25":"tag-united-kingdom","26":"tag-unitedkingdom"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/330272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=330272"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/330272\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/330273"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=330272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=330272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=330272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}