Re: [LTP] LTP old API conversion

Cyril Hrubis
2026-03-17T15:32:52Z

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.

> ~~ 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.

--
Cyril Hrubis
chrubis@suse.cz