{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2008/11/10/finding-commit-that-causes-regressions.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/pmme3-yzj05",
      "url": "https://chem-bla-ics.linkedchemistry.info/2008/11/10/finding-commit-that-causes-regressions.html",
      "title": "Finding the commit that causes the regressions...",
      "content_html": "<p><a href=\"http://apps.sourceforge.net/mediawiki/cdk/index.php?title=CDK_1.2_TODO\">CDK 1.1.x</a> releases are well in progress,\nbut a recent commit broke a number of unit tests. Here comes\n<a href=\"http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html\">git-bisect</a>.</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nv\">$ </span>git checkout <span class=\"nt\">-b</span> my-local-1.2 cdk1.2.x\n<span class=\"nv\">$ </span>git bisect start\n<span class=\"nv\">$ </span>git bisect bad\n<span class=\"nv\">$ </span>git bisect good 8219139e9236ab8036e9d08c13fcd0482d500c79\n</code></pre></div></div>\n\n<p>These lines indicate that the current version (HEAD) is broken, and that revision 8219139e9236ab8036e9d08c13fcd0482d500c79 was OK. Now,\n<code class=\"language-plaintext highlighter-rouge\">git-bisect</code> does the proper thing, and starts in the middle, allowing me to run my tests, and issue a <code class=\"language-plaintext highlighter-rouge\">git bisect bad</code> or\n<code class=\"language-plaintext highlighter-rouge\">git bisect good</code> depending on whether my test fails or not. The test I am running is:</p>\n\n<div class=\"language-shell highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nv\">$ </span>ant clean dist-all test-dist-all jarTestdata\n<span class=\"nv\">$ </span>ant <span class=\"nt\">-Dmodule</span><span class=\"o\">=</span>smarts test-module\n<span class=\"nv\">$ </span>git bisect <span class=\"o\">[</span>good|bad]\n</code></pre></div></div>\n\n<p>So, if I had to inspect 1024 commits, I’d found the bad commit in 10 times running this test suite. For the culprit I was after it was\n6 times. The outcome was this commit, what I already suspected and emailed about to the\n<a href=\"https://lists.sourceforge.net/lists/listinfo/cdk-devel\">cdk-devel</a> mailing list:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>[fa49ac603c36908f341b25d52a78435cdb8ca4d3] atomicNumber set as default (Integer) CDKConstants.UNSET\n</code></pre></div></div>",
      "summary": "CDK 1.1.x releases are well in progress, but a recent commit broke a number of unit tests. Here comes git-bisect.",
      
      "date_published": "2008-11-10T00:00:00+00:00",
      "date_modified": "2008-11-10T00:00:00+00:00",
      "tags": ["cdk","git"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
