[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


🎉 Happy Birthday 4chan! 🎉


[Advertise on 4chan]


>asked AI to convert tests
>25% failed
>Ask it to keep going until they all work
>Ask the tests pass so that means it's working
How long before this shit comes back to bite them in the ass?
>>
https://www.softwareseni.com/how-airbnb-compressed-years-of-technical-debt-into-weeks-using-ai-coding-assistants/
Forgot the link
>>
buy an ad, newfag.
you need to learn how to not link.
>>
>>106755528
>Newfag
Fuck off cunt. I've been stuck on this shit hole for 20 God damn years. I'll link if I want to. I prefer that to screenshot threads with no link to the usually fake tweet.
>>
>>106755425
what tests? and what is technical debt (i feel dumb not knowing this)

all lower case because typing with one hand
>>
>give framework to LLM to update code base
>it does it because H1B's don't know or care how to do it outside their local machine
>it updates the code base
WOW

>>106755627
Technical debt is basically the cost it would be for an external or internal staff to focus on completing a project.

Example: We run everything on legacy PHP/Mysql and want to move to modern PHP and so on. The project takes 10 people, with 100k/yr salary, 1 year to test/dev/prod roll out. Project costs 1m of technical debt to do.

While that's a heavy oversimplification of it, that's basically what it is.
>>
>>106755627
What that other anon said but with an emphasis on the debt part. Usually you run a project and come to a fork in the road.
>Pajeet my son
>It is time to decide
>will you create a robust solution using modern tools that require you update your php version
>Or will you forgo the update in order to deliver faster
>Gets hacked on the designated shitting street
The tests are unit tests. Testing units of code to make sure that it does what you expect.
>Unit test the isEven function
>Tests a few even and odd numbers
>Test null values
>Test strings
>Test that the right response is served or the service errors when it should
Doing this over with AI is a dumb idea because the AI can and will just change the test to "make the test pass". And if they avoided it because it was gonna take a year and a half chances are they didn't check to make sure the replaced tests were meaningful and correct.
glhf
>>
>>106755746
Could be a good thing if the tests look good to a human with taste
I used AI to convert old-style class-based React components to the new-style function -based components
And everything worked fine
Cleaned up a couple longstanding bugs, too
>>
File: i liek miku.png (647 KB, 1110x833)
647 KB
647 KB PNG
>>106755425
nah using ai to write tests seems like a good idea tests are retarded, at my previous job the time on a ticket was like 30% working on the bug/feature and 70% writing tests its such a waste then we have all those tests and would always spend a week manually testing overthinking before a release anyway. at my current job im the only developer for the mobile app so i dont write any tests, hardly ever have bugs, i do manual testing when doing the work why do i need to write unit tests ontop of that i hardly ever have tickets come back from qa
>>
>>106755574
Archive link probably would have been better, but thanks for including a link at all. Screenshot threads are worthless.
>>
>>106755786
The probability of AI screwing something up hard is how far it has to go from A->B and how long the output is, so converting from one style to another in the same language is obviously a strong usecase. If I write some novel shit in C++ and ask an AI to convert it to assembly I'm basically asking it to be a compiler, a task it will fail miserably at.
>>
>>106755425
does nobody realize this article is ai-generated slop? the new internet sucks. so. much.
>>
>>106756241
https://medium.com/airbnb-engineering/accelerating-large-scale-test-migration-with-llms-9565c208023b
Because the original writeup is here. Don't know OP chose to link to a content farm instead.
>>
>>106755574
>20 years of 4chan and still stuck doing worthless screencap threads
Kill yourself. A zoomnigger would be preferable to you.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.