<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    In the past few months, several users have reported on this mailing
    list that they ran into score corruption issues,<br>
    so I've been working to improve the situation for 6.0.x.<br>
    <br>
    Like in 5.x, by putting the &lt;environmentMode&gt; in ASSERT mode,<br>
    it's easy to detect such an issue (and often even the offending
    score rule),<br>
    but it's been generally hard to understand what's the cause on how
    to fix it.<br>
    <br>
    There are generally 3 common causes of score corruption:<br>
    <ul>
      <li>Bug in your cloning method.</li>
      <ul>
        <li>In 6.0.0.Beta1 you no longer need to write the cloning
          method:</li>
        <ul>
          <li><a class="moz-txt-link-freetext"
href="http://blog.athico.com/2013/02/automatic-solution-cloning-in-planner.html">http://blog.athico.com/2013/02/automatic-solution-cloning-in-planner.html</a><br>
          </li>
        </ul>
      </ul>
      <li>Bug in the causes parameter you supply to ConstraintOccurrence
        or a planner-incompatible hashcode/equals method of any those
        objects</li>
      <ul>
        <li>In 6.0.0.Beta1 there is no cause parameter and it no longer
          cares about the hashcode/equals method of your objects during
          score calculation</li>
        <ul>
          <li><a class="moz-txt-link-freetext"
href="http://blog.athico.com/2013/04/score-drl-faster-and-easier-in.html">http://blog.athico.com/2013/04/score-drl-faster-and-easier-in.html</a></li>
        </ul>
      </ul>
      <li>Bug in our Drools Expert's statefull working memory</li>
      <ul>
        <li>Most of these bugs were fixed for Drools 5.1 and 5.2. I am
          not aware of any in Drools 5.3 and 5.4.</li>
        <ul>
          <li>Mario and I are looking into a very exotic bug in
            5.5/6.0.0.Beta1 now, which is unlikely to affect you: it
            only affects 1 dataset of 1 example in OptaPlanner.<br>
          </li>
        </ul>
        <li>As always, we welcome detailed bug reports (especially with
          reproducers) if you believe you 've discovered another bug.<br>
        </li>
      </ul>
    </ul>
    <p>Hope that helps :)<br>
    </p>
    <p>wkr,<br>
      Geoffrey De Smet<br>
      <a class="moz-txt-link-freetext" href="http://www.optaplanner.org">http://www.optaplanner.org</a><br>
    </p>
    <br>
    <br>
  </body>
</html>