Код бичих агентуудын хурд инженерчлэлийн бүтээмжийг одоогоор нэмэгдүүлж чадсангүй

Published:

Энэхүү мэдээ, нийтлэлийг хиймэл оюун боловсруулав.

Хиймэл оюун ухаан код үүсгэхийг хурдасгасан ч алдааг ойлгох, илрүүлэх ажил инженерүүдийн гол саад хэвээр байна.

Код бичих агентууд инженерүүдэд кодыг богино хугацаанд бүтээх боломж олгож байгаа ч үүний хэрээр хөгжүүлэлтийн дараагийн шатанд ачаалал шилжжээ. Инженерүүд үүсгэсэн код хэрхэн ажиллаж, бусад системтэй яаж холбогдож байгааг ойлгох, алдаа засахад илүү их цаг зарцуулж байна. Хиймэл оюуны бүтээмжийн үр өгөөжийг хүртэхийн тулд зөвхөн код үүсгэх бус, хөгжүүлэлтийн дараагийн үе шатуудад ч ашиглах шаардлагатай гэж нийтлэлд онцолжээ.

Хиймэл оюунаар үүсгэсэн код олшрох тусам давхардсан логик, өөрчлөлтийн олон үе давхарлаж, кодын бүтэц ойлгоход бэрх болдог. Инженерийн удирдлагуудын 10 хүн тутмын 9 нь C/C++ зэрэг нарийн төвөгтэй кодын орчинд код ойлгох, алдаа засахад илүү их хугацаа зарцуулдаг гэжээ. Мөн 79 хувь нь код бичихэд хялбар болсон ч хувилбар гаргах мөчлөг нь хурдассангүй гэж хариулсан байна.

Нарийн төвөгтэй системийн алдааг оношлоход агентууд ихэвчлэн эх код, бүртгэл болон баримт бичиг зэрэг статик мэдээлэлд тулгуурладаг бөгөөд код ажиллах үеэр яг юу болсныг тэр бүр мэддэггүй. Инженерийн байгууллагуудын 93 хувь нь хиймэл оюуны хийсвэрлэлээс шалтгаалан асуудлын үндсэн шалтгааныг буруу оношилж байсан бол багуудын 37 хувь нь агентуудыг зөвхөн энгийн кодын орчинд ашигладаг гэж мэдээлжээ. Үндсэн шалтгааныг тогтоож чадахгүй үед агентууд туршилт, алдааны давталтад орж, хиймэл оюуны хэрэглээний нөөцийг зарцуулж болзошгүй.

Иймээс илүү том загвар ашиглахаас илүүтэй, код ажиллах үеийн бодит мэдээллээр агентуудыг хангах нь үр дүнг сайжруулах боломжтой. Энэ нь асуудлын шалтгааныг мөрдөж, инженерүүдэд алдаа засахад туслахын зэрэгцээ таамаг төдий хариултаас илүү бодитой оношилгоонд хүргэнэ. Код үүсгэх хурд дангаараа хангалтгүй бөгөөд түүний бодит ажиллагааг ойлгох чадвар инженерчлэлийн үр өгөөжид чухал болж байна.

Дэлгэрэнгүйг эх сурвалжаас харах

↓Эх сурвалжийг нээх ↓

Vibe coding agents enable engineers to create code in a fraction of the time. This has shifted the bottleneck to later in the development process: when engineers have to understand what that code is doing, track down bugs, and investigate incidents.

As agents generate ever greater volumes of code, it’s becoming increasingly difficult for engineers to understand their output.

It takes time to work out what their code does and how it interacts with the systems around it.

To realize the productivity gains, AI must be applied to the later stages of the cycle, not simply code generation. When it comes to large-scale complex code bases, agents struggle.

A critical issue in critical industries

Nowhere is the pain of code comprehension and debugging more acute than in organizations powering the digital economy – from financial services and semiconductor design to the networks and databases that keep everything connected.

In these sectors, one escaped defect can have serious consequences – a trading system returning a bad value, a database returning the wrong row, or a network failure leading to a service blackout. The UK’s national air traffic controller found itself an unfortunate case in point when it revealed that its recent service outage, which caused 2,000 flight cancellations and days of disruption, was triggered by a legacy software defect.

As AI continues to increase the volume of code engineers can produce, the challenge is no longer about increasing the speed at which they work. Rather, engineering leaders must ensure their teams can still understand what they’ve built when something goes wrong or behaves unexpectedly – and act before a problem becomes a much bigger one.

The code comprehension gap

AI can produce code in minutes. However, that speed comes at a cost. As AI-generated code accumulates, duplicated logic and layers of change are built on top of one another, creating a kind of spaghettification of the codebase. It then becomes harder for engineers to understand how their code is behaving, let alone know where to start untangling it when something goes wrong.

The problem gets worse as codebases become more complex. Nine in ten engineering leaders say code comprehension and debugging take longer in complex environments such as C/C++ codebases. Engineers were already struggling to keep up when they wrote every line themselves.

Now, with AI being far less capable at debugging complex code than it is at creating it – engineers find themselves buried in an avalanche of review work that is beyond human ability. As a result, defects can more easily escape into production, with no clear path back to their root cause.

The productivity gains are failing to add up. Despite being able to write code more easily, 79% of engineering leaders say their release cycles are no faster. It’s a vicious cycle. The faster AI generates code, the more engineers have to review and understand – and the harder that becomes as complexity builds. Without solving the comprehension problem, increasing the speed of code generation risks simply moving the bottleneck further downstream.

The limits of AI for debugging

The obvious answer if humans are struggling to comprehend and debug code is for coding agents to take over. However, without the right inputs, even the most advanced AI tools struggle to deliver accurate answers.

Coding agents debugging complex codebases often work from static context such as source code, logs and documentation. This tells them what the code is supposed to do, but not necessarily what it actually did at runtime. Agents are left to fill in the gaps and guess at what happened and why.

That lack of context creates a particular problem when the issue is buried in the complexity of a live system. AI agents can produce an answer that looks plausible, but without the evidence to support it, there is no guarantee that the diagnosis is correct. In fact, 93% of engineering organizations have had the root cause of an issue incorrectly diagnosed because of an AI hallucination. As a result, a third (37%) of teams only use AI agents for comprehension and debugging straightforward codebases.

The consequences extend beyond simply failing to solve the problem. When an agent cannot identify the root cause, it can resort to trial and error – adding more logs, rerunning the code and trying another approach. Agents end up stuck in a loop, consuming budgeted AI tokens without getting any closer to an answer.

Better evidence, not bigger models

This raises a broader question for engineering leaders: how do you make AI genuinely useful for the difficult parts of software engineering, rather than simply using it to generate more code?

The way to get better results from AI agents isn’t necessarily to use a more powerful model, but to give them better evidence. Giving an agent a record of what actually happened when code ran helps it understand how an issue occurred, making it better equipped to trace problems to their root cause and support engineers with debugging.

Ultimately, AI can only be as useful as the information it has to work with. Give agents a clear picture of how software behaved, and they can take on more of the difficult work that still sits with human engineers today. That means faster answers, fewer dead ends and, most importantly, greater understanding of the software teams are responsible for.

Turning AI speed into engineering value

The future of AI-powered development isn’t just about generating more code, but understanding what it actually does. Give agents access to the right information, with high-quality context, and they can move from plausible answers to accurate automated root cause analysis.

That gives engineers something far more valuable than speed alone – the confidence to let AI tackle the hardest problems without losing control of the software they build.

We’ve reviewed and ranked the best laptops for programming: Top picks for professional programmers, coders, software engineers, and developers.

This article was produced as part of TechRadar Pro Perspectives, our channel to feature the best and brightest minds in the technology industry today.

The views expressed here are those of the author and are not necessarily those of TechRadarPro or Future plc. If you are interested in contributing find out more here: https://www.techradar.com/pro/perspectives-how-to-submit

Та юу гэж бодож байна?

Сэтгэгдлээ оруулна уу!
Please enter your name here

MFC.mn сайтад сэтгэгдэл оруулахад анхаарах зүйлс

Холбоотой

spot_img

Шинэ

spot_img