Menu

#4 Problems with execution traces

0.5
closed
None
2014-07-04
2014-07-04
No

Problems with the statistics:

<battleReport>
<warriorA>
<name>000000001-008</name>
<value>1000.0</value>
<winner>true</winner>
<variables>{ myLW: {95, 0, 95, 95, 0}, maxEI: 0.199875, victory: 1, myOW: {0, 0, 0, 0, 0}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 9, otherLW: {96, 96, 0, 96, 0}, otherOW: {44, 0, 44, 44, 44}, id: 95, maxCycles: 80000, maxLength: 100 }</variables>
</warriorA>
<warriorB>
<name>000000000-043</name>
<value>1000.0</value>
<winner>true</winner>
<variables>{ myLW: {96, 96, 0, 96, 0}, maxEI: 0.1666, victory: 1, myOW: {44, 0, 44, 44, 44}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 7, otherLW: {95, 0, 95, 95, 0}, otherOW: {0, 0, 0, 0, 0}, id: 96, maxCycles: 80000, maxLength: 100 }</variables>
</warriorB>
</battleReport>

Warrior traces:
A: id: 95, myLW: {95, 0, 95, 95, 0}, myOW: {0, 0, 0, 0, 0}, otherLW: {96, 96, 0, 96, 0}, otherOW: {44, 0, 44, 44, 44}
B: myLW: id: 96, {96, 96, 0, 96, 0}, myOW: {44, 0, 44, 44, 44}, otherLW: {95, 0, 95, 95, 0}, otherOW: {0, 0, 0, 0, 0},

warrior IDs are: 95 and 96. One of the traces says {44, 0, 44, 44, 44}, there should be no ID 44.

warrior A: myLW: {95, 0, 95, 95, 0}, myOW: {0, 0, 0, 0, 0}, there are 0 at indeces 1 and 4, which means that nobody ever modified that memory cell. Such cell should contain "DAT.F #0, #0".

Discussion

  • Miha Vitorovic

    Miha Vitorovic - 2014-07-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,19 +1,19 @@
     Problems with the statistics:
    
    -<battleReport>
    -    <warriorA>
    -        <name>000000001-008</name>
    -        <value>1000.0</value>
    -        <winner>true</winner>
    -        <variables>{ myLW: {95, 0, 95, 95, 0}, maxEI: 0.199875, victory: 1, myOW: {0, 0, 0, 0, 0}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 9, otherLW: {96, 96, 0, 96, 0}, otherOW: {44, 0, 44, 44, 44}, id: 95, maxCycles: 80000, maxLength: 100 }</variables>
    -    </warriorA>
    -    <warriorB>
    -        <name>000000000-043</name>
    -        <value>1000.0</value>
    -        <winner>true</winner>
    -        <variables>{ myLW: {96, 96, 0, 96, 0}, maxEI: 0.1666, victory: 1, myOW: {44, 0, 44, 44, 44}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 7, otherLW: {95, 0, 95, 95, 0}, otherOW: {0, 0, 0, 0, 0}, id: 96, maxCycles: 80000, maxLength: 100 }</variables>
    -    </warriorB>
    -</battleReport>
    +&lt;battleReport&gt;
    +    &lt;warriorA&gt;
    +        &lt;name&gt;000000001-008&lt;/name&gt;
    +        &lt;value&gt;1000.0&lt;/value&gt;
    +        &lt;winner&gt;true&lt;/winner&gt;
    +        &lt;variables&gt;{ myLW: {95, 0, 95, 95, 0}, maxEI: 0.199875, victory: 1, myOW: {0, 0, 0, 0, 0}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 9, otherLW: {96, 96, 0, 96, 0}, otherOW: {44, 0, 44, 44, 44}, id: 95, maxCycles: 80000, maxLength: 100 }&lt;/variables&gt;
    +    &lt;/warriorA&gt;
    +    &lt;warriorB&gt;
    +        &lt;name&gt;000000000-043&lt;/name&gt;
    +        &lt;value&gt;1000.0&lt;/value&gt;
    +        &lt;winner&gt;true&lt;/winner&gt;
    +        &lt;variables&gt;{ myLW: {96, 96, 0, 96, 0}, maxEI: 0.1666, victory: 1, myOW: {44, 0, 44, 44, 44}, coreSize: 8000, cycles: 80000, maxProcesses: 8000, size: 7, otherLW: {95, 0, 95, 95, 0}, otherOW: {0, 0, 0, 0, 0}, id: 96, maxCycles: 80000, maxLength: 100 }&lt;/variables&gt;
    +    &lt;/warriorB&gt;
    +&lt;/battleReport&gt;
    
     Warrior traces: 
     A: id: 95, myLW: {95, 0, 95, 95, 0}, myOW: {0, 0, 0, 0, 0}, otherLW: {96, 96, 0, 96, 0}, otherOW: {44, 0, 44, 44, 44}
    
     
  • Miha Vitorovic

    Miha Vitorovic - 2014-07-04
    • status: open --> closed
     
  • Miha Vitorovic

    Miha Vitorovic - 2014-07-04

    Fixed by 4fe989bd92f2b8ee24b2e86c6d4ff1934dd64fc1

     

Log in to post a comment.