linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Finn Thain <fthain@linux-m68k.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Theodore Ts'o <tytso@mit.edu>,
	linux-doc@vger.kernel.org,
	tech-board-discuss@lists.linux-foundation.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: Measurement, was Re: [Tech-board-discuss] [PATCH] Documentation: Linux Contribution Maturity Model and the wider community
Date: Sat, 1 Jul 2023 11:46:18 +1000 (AEST)	[thread overview]
Message-ID: <1f5b0227-dbf6-4294-8532-525b3e405dc2@linux-m68k.org> (raw)
In-Reply-To: <20230621100845.12588f48@gandalf.local.home>


On Wed, 21 Jun 2023, Steven Rostedt wrote:

> 
> If your point is mainly the second part of that paragraph, which is to 
> tie in metrics to reflect maintainer effectiveness, then I think I agree 
> with you there. One metric is simply the time a patch is ignored by a 
> maintainer on a mailing list (where the maintainer is Cc'd and it is 
> obvious the patch belongs to their subsystem). I know I fail at that, 
> especially when my work is pushing me to focus on other things.
> 

A useful metric when pushing for a higher patch rate is the rework rate.

I have found that 'Fixes' tags can be used to quantify this. I don't have 
scripts to do so but others probably do. (My purpose at the time was to 
quantify my own rework rate by counting my own commit hashes when they 
appeared in subsequent 'Fixes' tags.) Note that a low 'Fixes' count could 
indicate inadequate bug reporting processes so additional metrics may be 
needed.

Where the practices relating to 'Fixes' tagging and bug reporting are 
uniform across subsystems, it might be possible to compare the diverse 
processes and methodologies presently in use.

BTW. I assume that 'Fixes' tags are already being used to train AI models 
to locate bugs in existing code. If this could be used to evaluate new 
patches when posted, it might make the code review process more efficient.

The same approach could probably be generalized somewhat. For example, a 
'Modernizes' tag might be used to train an AI model to target design 
patterns that are being actively replaced anywhere in the code base.

The real pay-off from this kind of automation is that an improvement made 
by any reviewer gets amplified so as to reach across many subsystems and 
mailing lists -- but only when the automation gets scaled up and widely 
deployed. We already see this effect with Coccinelle semantic patches.

  parent reply	other threads:[~2023-07-01  1:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19  9:41 [PATCH] Documentation: Linux Contribution Maturity Model and the wider community Finn Thain
2023-06-19  9:55 ` Greg Kroah-Hartman
2023-06-20  3:48   ` Finn Thain
2023-06-20 13:00     ` James Bottomley
2023-06-19 11:32 ` James Bottomley
2023-06-20  3:50   ` Finn Thain
2023-06-20 22:52     ` [Tech-board-discuss] " James Bottomley
2023-06-19 19:42 ` Theodore Ts'o
2023-06-20  3:54   ` Finn Thain
2023-06-20 21:25     ` Theodore Ts'o
2023-06-21  1:51       ` Finn Thain
2023-06-21 12:41         ` Greg Kroah-Hartman
2023-06-22  7:02           ` Finn Thain
2023-06-22  7:10             ` Greg Kroah-Hartman
2023-06-22  7:24               ` Finn Thain
2023-06-22 17:39             ` Theodore Ts'o
2023-06-23  0:52               ` Finn Thain
2023-06-23  1:45                 ` [Tech-board-discuss] " Mark Brown
2023-06-21 14:08         ` Steven Rostedt
2023-06-21 22:48           ` Finn Thain
2023-07-01  1:46           ` Finn Thain [this message]
2023-07-01  7:04             ` [Tech-board-discuss] Measurement, was " Greg Kroah-Hartman
2023-07-01 22:54               ` Finn Thain
2023-06-21 22:44         ` Finn Thain
2023-06-23  2:32         ` Matthew Wilcox
2023-06-19 19:49 ` Kees Cook
2023-06-20  3:54   ` Finn Thain

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=1f5b0227-dbf6-4294-8532-525b3e405dc2@linux-m68k.org \
    --to=fthain@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tech-board-discuss@lists.linux-foundation.org \
    --cc=tytso@mit.edu \
    /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;
as well as URLs for NNTP newsgroup(s).