git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ealdwulf Wuffinga <ealdwulf@googlemail.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Clemens Buchacher <drizzd@aon.at>,
	Christian Couder <chriscool@tuxfamily.org>,
	Sam Vilain <sam@vilain.net>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: RFE: "git bisect reverse"
Date: Sun, 31 May 2009 23:18:20 +0100	[thread overview]
Message-ID: <efe2b6d70905311518w4c2d79ecy8cdabd15a8effc7c@mail.gmail.com> (raw)
In-Reply-To: <4A1F07FA.6040008@zytor.com>

On Thu, May 28, 2009 at 10:54 PM, H. Peter Anvin <hpa@zytor.com> wrote:

> How about simply modelling it linearly, with 100% probability for known
> skip point, 0% for a known good/bad point, and a linear gradient in
> between?  It's probably a good enough model.  In practice, it will
> vastly overestimate the probability of a skip, so if a linear model
> turns out to be too conservative, I would probably just try to model it
> as a higher-order power function.

Sounds plausible. It's not obvious how to generalise it to a DAG, though.

What's easier to implement is simple geometric decay (from a
probability of 1 at the commit of an actual skip).  It even has a
plausible rationale - the probability that someone notices the
brokenness
and fixes it is probably a constant, which would lead to geometric
decay. That probably doesn't reflect what happens when someone breaks
a whole swath of stuff retrospectively somehow, though.

I've implemented geometric (and arithmetic) decay in bbchop, with a
configurable decay factor. With a factor sufficiently close to one
(eg, 0.99) it can be persuaded to hop a reasonable distance, which
seems to scale to a certain extent with the number of commits left, so
hopefully it won't be necessary to fiddle with the factor a lot.

http://github.com/Ealdwulf/bbchop/tree/master

Ealdwulf

  reply	other threads:[~2009-05-31 22:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 22:21 RFE: "git bisect reverse" H. Peter Anvin
2009-05-27  3:00 ` Sam Vilain
2009-05-27  4:20   ` H. Peter Anvin
2009-05-27  5:26     ` Christian Couder
2009-05-27 21:11       ` Ealdwulf Wuffinga
2009-05-27 21:18         ` Clemens Buchacher
2009-05-27 22:07           ` Ealdwulf Wuffinga
2009-05-27 23:08             ` Sam Vilain
2009-05-28 20:29               ` Ealdwulf Wuffinga
2009-05-29  4:20                 ` Sam Vilain
2009-05-31 22:41                   ` Ealdwulf Wuffinga
2009-05-28  3:11             ` H. Peter Anvin
2009-05-28 21:07               ` Ealdwulf Wuffinga
2009-05-28 21:54                 ` H. Peter Anvin
2009-05-31 22:18                   ` Ealdwulf Wuffinga [this message]
2009-05-27 20:11   ` Christian Couder
2009-05-27  8:22 ` Nanako Shiraishi
2009-05-27 20:26   ` Matthieu Moy

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=efe2b6d70905311518w4c2d79ecy8cdabd15a8effc7c@mail.gmail.com \
    --to=ealdwulf@googlemail.com \
    --cc=chriscool@tuxfamily.org \
    --cc=drizzd@aon.at \
    --cc=git@vger.kernel.org \
    --cc=hpa@zytor.com \
    --cc=sam@vilain.net \
    /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).