File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -709,6 +709,8 @@ def summarise(self):
709709 median_scores = map (np .nanmedian , self .normalised_scores )
710710 median_wins = map (np .nanmedian , self .wins )
711711
712+ original_index = {index for index , _player in enumerate (self .players )}
713+
712714 self .player = namedtuple (
713715 "Player" ,
714716 [
@@ -718,14 +720,15 @@ def summarise(self):
718720 "Cooperation_rating" ,
719721 "Wins" ,
720722 "Initial_C_rate" ,
723+ "Original_index" ,
721724 "CC_rate" ,
722725 "CD_rate" ,
723726 "DC_rate" ,
724727 "DD_rate" ,
725728 "CC_to_C_rate" ,
726729 "CD_to_C_rate" ,
727730 "DC_to_C_rate" ,
728- "DD_to_C_rate" ,
731+ "DD_to_C_rate"
729732 ],
730733 )
731734
@@ -767,6 +770,7 @@ def summarise(self):
767770 self .cooperating_rating ,
768771 median_wins ,
769772 self .initial_cooperation_rate ,
773+ original_index
770774 )
771775 )
772776
You can’t perform that action at this time.
0 commit comments