[jboss-jira] [JBoss JIRA] (JBRULES-3592) Planner benchmark report: 2 SingleBenchmarks with the same Score should have the same ranking.

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Fri Sep 28 07:38:03 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet resolved JBRULES-3592.
---------------------------------------

         Assignee: Geoffrey De Smet
    Fix Version/s: 5.5.0.CR1
       Resolution: Done


Fixed by Sam Van Malderen
                
> Planner benchmark report: 2 SingleBenchmarks with the same Score should have the same ranking.
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3592
>                 URL: https://issues.jboss.org/browse/JBRULES-3592
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-planner
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>            Priority: Minor
>              Labels: starter
>             Fix For: 5.5.0.CR1
>
>
> For example, if on problem P1, the solvers have these scores:
> S1:  -800
> S2:   -50
> S3:   -50
> S4:    -2
> S5: -9000
> Then the ranking should be:
> S1: 3
> S2: 1
> S3: 1 // Currently this gets ranking 2 which is wrong
> S4: 0
> S5: 4
> The offending code is isolated in this 1 method:
>   org.drools.planner.benchmark.core.ProblemBenchmark#determineSingleBenchmarkRanking

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list