github.com

DmMacniel , to Free and Open Source Software in FOSS Android app: Loop Habit Tracker
@DmMacniel@feddit.org avatar

I'll gonna check it out. Thanks for the recommendation!

Undearius , to Free and Open Source Software in FOSS Android app: Loop Habit Tracker
@Undearius@lemmy.ca avatar

This app is everything it needs to be. It looks modern, has nice visuals, I was able to import data from an old tracking app.

It's such a nice feeling when you find an app that hits all the checkmarks and then you find out it's FOSS as well.

sabreW4K3 OP , to homeassistant in Release v1.39.0-1 · zigbee2mqtt/hassio-zigbee2mqtt · GitHub
@sabreW4K3@lazysoci.al avatar

Apologies, I didn't post properly initially as I was trying to post from a new device and it went pear.

BrianTheeBiscuiteer , to Selfhosted in Codeintegrity-ai/mutahunter: Open Source, Language Agnostic LLM-based mutation testing tool

This is the kind of AI stuff that really annoys me. Looking at one of the mutation examples I didn't see anything that wouldn't normally be tested by a typical mutation tool. You took a simple, idempotent process and you got an llm to do it slower, less accurately, and using more resources.

If you wanted to marry the two in a new and possibly useful fashion I would say use an llm to analyze the results of a standard mutation test and give guidance on what issues should be acted upon first. An off-by-one calculation could mean somebody loses a million dollars or it could mean a button is grayed out. Standard mutation tools don't give you that context.

testinghead OP ,

Hey, engineer here who worked on this.

I understand your concerns. The examples we provided are indeed trivial, but they are just the starting point. Our goal is to leverage LLMs to generate mutants that closely resemble real-world bugs with better context. While traditional mutation tools are excellent, we believe LLMs can bring an additional layer of sophistication and versatility.

As you rightly pointed out, standard mutation tools often lack the context to prioritize issues effectively. We’re currently working on using LLMs to analyze the output of survived mutants to provide better guidance on which issues should be addressed first. This way, an off-by-one error that could potentially cause significant problems is highlighted more prominently during the code review PR process.

As someone who has used mutation testing, I’ve always wondered about the sheer amount of useless mutants being generated. Going through all these mutants manually to improve test cases is quite cumbersome. If we can reduce the number of mutants generated, produce higher quality mutants, and analyze them automatically to highlight weaknesses in the tests during PRs, wouldn’t that be cool? We’re aiming to achieve just that.

Moreover, this approach can theoretically work for any programming language or testing framework, making it a versatile solution across different development environments.

We’re also developing a QA system to more accurately define and identify “higher quality mutants,” as discussed in the research paper here. Our aim is to enhance the overall mutation testing process, making it more efficient and insightful.

Hey, all in all, we want mutation testing to be adopted and widely spread. We really do appreciate the feedback. I hope you try it out as you sound like you know a thing or two about mutation testing.

Thanks again for your perspective.

conciselyverbose , to Selfhosted in Codeintegrity-ai/mutahunter: Open Source, Language Agnostic LLM-based mutation testing tool

I'm always skeptical of anything LLM, but this looks like an interesting use case on the surface.

jaxiiruff , to Technology in Codeintegrity-ai/mutahunter: Open Source Language Agnostic LLM-based mutation testing tool
@jaxiiruff@lemmy.zip avatar

who else thought that said mutahar

ElectroLisa , to Technology in Are we <INSERT_TECHNOLOGY_NAME> yet?
@ElectroLisa@lemmy.blahaj.zone avatar
avidseeker OP ,
@avidseeker@lemmy.world avatar

Added.

victorz , to Technology in Are we <INSERT_TECHNOLOGY_NAME> yet?

Are we JPEG XL yet?

Wow, I just saw this literally two posts above this one.

Haven't heard of JPEG XL pretty much since it died. And now twice in a few minutes.

Thank you, universe.

iopq ,

You haven't heard that Apple supports it now?

victorz ,

"Apple" supports it? Which apps? Not that I care much, I have zero Apple products or devices. 👍

iopq ,

Safari, which is the biggest one. But also in the OS, they committed to supporting it, but I'm not sure if they followed through yet

victorz ,

I mean, it's still insignificant enough that it won't matter yet, right?

But that's still good. It's on the right path. Google needs to get their head out of their ass on this one. Still no sign of it years later though.

GamingChairModel ,

Safari support means there's benefit to web server support. Server support means there's benefit to browser support in other browsers. Apple can kick start the network effects necessary to get this standard adopted.

Webp and heic are fine for web, but JPEG XL is special in that it actually has use for print-based and other ultra high resolution workflows, while also having the best path forward for migration from JPEG.

victorz ,

Very good points. 👌

gianni ,

Throughout the entire OS. Image CDNs are adopting JXL on some scale - Cloudinary reportedly ships billions of JXL images regularly

victorz ,

Ooh, well that's wonderful. It's like some grassroots thing. The inventors of the thing refuse to support it, but the people are adopting it on their own. ✊ I'm happy to hear these "news" (to me)! ❤️

dandi8 , to Fediverse in Open-Source, Language-Agnostic Mutation Testing Tool Using LLM Agents
@dandi8@fedia.io avatar

On the one hand, mutation testing is an important concept that more people should know about and use.

On the other, I fail to see how AI is helpful here, as mutation testing is an issue completely solvable by algorithms.

The need to use external LLMs like OpenAI is also a big no from me.

I think I'll stick to Pitest for my Java code.

coderinsan OP ,

So mutation testing is able to create mutations that are not created by traditional mutations, these are mutations that are more dependent on contextual understanding of code which LLMs excel at. We do preprocessing on our side where we generate a minimal AST of all covered files and pass it to give the LLM a rich contextual understanding of the codebase, allowing us to generate good mutations. Also we make use of LiteLlm so it completely works with open source models too.

coderinsan OP ,

Here is a YouTube video with a more in depth explanation of the benefits of using LLMs for mutation testing https://www.youtube.com/watch?v=8h4zpeK6LOA

Gallardo994 , to Fediverse in Open-Source, Language-Agnostic Mutation Testing Tool Using LLM Agents

Mutahar after reading the name: I'm in danger

Mutahar after reading the description: phew

smeg , to Fediverse in Open-Source, Language-Agnostic Mutation Testing Tool Using LLM Agents

Mutation testing is a cool concept, but what's it got to do with the fediverse?

wmrch , to Fediverse in Open-Source, Language-Agnostic Mutation Testing Tool Using LLM Agents

So you're saying i have to write tests for my test cases now? Ooof.

yo_scottie_oh ,

Yo dawg, I heard you like tests, so I got some tests for your tests so you can test while you test!

dandi8 ,
@dandi8@fedia.io avatar

Regarding mutation testing, you don't write any "tests for your test". Rather, a mutation testing tool automatically modifies ("mutates") your production code to see if the modification will be caught by any of your tests.

That way you can see how well your tests are written and how well-tested parts of your application are in general. Its extremely useful.

warmaster , to Fediverse in Open-Source, Language-Agnostic Mutation Testing Tool Using LLM Agents

What's the use case? ELI5.

Killing_Spark ,

You have written tests for your code and now feel safe because your code is tested. But test quality is really hard to measure. The idea seems to be to introduce "vulnerabilities" (whatever that means...) and see if your tests catch them. If they do that's supposed to show that the tests are good and vice versa.

mitram2 , to Beyond app in Beyond is now open source

What license are you using?

Tywele , to Gnome in Luminance 1.1.0 released with GTK4
@Tywele@lemmy.dbzer0.com avatar

Why was this reposted an hour after the first post?

petsoi OP Mod ,
@petsoi@discuss.tchncs.de avatar

I didn't see the previous one and now I hesitate to delete this one with the existing comments.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines