I spent yesterday writing a parser for Merge (Carbon poker) Hand history that would parse a full tournament session, because I could not find one online that actually worked. Anyway I have found an error in the way Carbon Poker reports hand histories.
The error is:
When a player is all in the blinds the event tag for this action shows that the player is contributing $0.00 to the pot and not what ever remains in his stack. Thus making it difficult to report the correct size of the pot.
Example: Here are portions of the hand history xml code. In this example the blinds are 50/100 dvarghese begins with $209 and is the big blind. Carbon poker hand histories report the stack sizes
after the blinds are posted. Thus after posting the $100 big blind dvarghese has $109 as the following shows.
Code:
<players dealer="4">
<player seat="2" nickname="Piscataqua" balance="$2035.00" dealtin="true" />
<player seat="4" nickname="comboprof" balance="$2538.00" dealtin="true" />
<player seat="9" nickname="dvarghese" balance="$109.00" dealtin="true" />
<player seat="7" nickname="plezedontraze2660" balance="$5168.00" dealtin="true" />
</players>
<round id="BLINDS" sequence="1">
Thus the above correct as are the following event sequences for the blinds.
Code:
<event sequence="1" type="SMALL_BLIND" timestamp="1344280993108" player="7" amount="50.00"/>
<event sequence="2" type="BIG_BLIND" timestamp="1344280993108" player="9" amount="100.00"/>
</round>
What happens next is that plezedontraze2660 bets $100, dvarghese calls and loses. His stack is now $9 and is in the $50-small blind. For the next hand the tags for the stack sizes after the blinds are posted are:
Code:
<players dealer="7">
<player seat="2" nickname="Piscataqua" balance="$1935.00" dealtin="true" />
<player seat="4" nickname="comboprof" balance="$2538.00" dealtin="true" />
<player seat="9" nickname="dvarghese" balance="$0.00" dealtin="true" />
<player seat="7" nickname="plezedontraze2660" balance="$5418.00" dealtin="true" />
</players>
Which is correct dvarghese balanced should be $0.00 because he will be all in for $9 in the small-blind. However the next events reported in the hand history are:
Code:
<round id="BLINDS" sequence="1">
<event sequence="1" type="ALL_IN" timestamp="1344281020484" player="9" amount="0.00"/>
<event sequence="2" type="BIG_BLIND" timestamp="1344281020484" player="2" amount="100.00"/>
</round>
which shows that dvarghese (player 9) is contributing $0.00 to the pot instead of $9.
This makes it difficult to compute and display the correct size of the pot.