From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: "Cyril Hrubis" <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] LTP old API conversion
Date: Tue, 17 Mar 2026 15:49:26 +0000 [thread overview]
Message-ID: <69b97807.050a0220.26befa.70b8@mx.google.com> (raw)
In-Reply-To: <abl0DkVFXKT-pS34@yuki.lan>
Hi Cyril,
> Hi!
> > .. and tests conversion for tests which are smaller than 200 lines of code
> > requires minimal (if no) edit. I will continue to adapt the ltp-convert skill
> > in order to tweak and to improve this process for bigger tests.
>
> I would disagree here withe the minimal edit. The old tests are quite
> often garbage. So the human in the process should asses if the test is
> actually doing anything useful and guide the machine to implement better
> test in a case that the original wasn't doing anything useful.
That's indeed what I do. To blindly accept everything turns out to produce a lot
of trash, but in general it's way more easy to refactor tests in this way than
before, at least for the smallest tests. With a good set of rules given to the
LLM we can produce good results at the very first try sometimes.
>
> > ~~ Said so..
> >
> > .. since this process seems to be quite straight forward, and with the usage
> > of LLM we could easily generate hundreds of patches per month, we don't really
> > want to flood the ML with garbage and to overwhelm who's involved into
> > maintenance review.
>
> I'm pretty sure that you will get this down to smaller set as long as
> you actually spend some time thinking about what the test does. At least
> for me I'm able to spend 30% time on a test conversion because LLM, but
> you have to spend some time understanding what the test does and making
> sure it makes sense. Otherwise it's garbage in - garbage out.
I counted a x4 times faster conversion compared to the previous manual process,
at least for 100-200 lines tests. Bigger ones will be more challenging and after
a few attempt the conversion time drops significantly.
An another thing is how we want to push these patches in the repository. At the
moment kernel is using some special tags to identify if patches have been
generated by LLMs or by humans. This is something we should think about,
because we already have a few examples recently (i.e. your ulimit01, newuname01
tests and my listns() testing suite) where LLMs where doing most of the job.
Also, we are receiving more and more patches which seem to be written by AI.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-03-17 15:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 10:42 [LTP] LTP old API conversion Andrea Cervesato via ltp
2026-03-17 11:58 ` Petr Vorel
2026-03-17 12:14 ` Andrea Cervesato via ltp
2026-03-17 22:39 ` Petr Vorel
2026-03-18 5:36 ` Li Wang via ltp
2026-03-17 15:32 ` Cyril Hrubis
2026-03-17 15:49 ` Andrea Cervesato via ltp [this message]
2026-03-18 13:04 ` Andrea Cervesato via ltp
2026-03-18 5:18 ` Li Wang via ltp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69b97807.050a0220.26befa.70b8@mx.google.com \
--to=ltp@lists.linux.it \
--cc=andrea.cervesato@suse.com \
--cc=chrubis@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox