BBO Discussion Forums: CHEATING INVESTIGATION - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CHEATING INVESTIGATION

#1 User is offline   idt 

  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 2021-August-13

Posted 2021-August-13, 10:54

When downloading multiple hands to provide to investigators, it is important that the names of the players under investigation are removed, often replaced as Player 1 and Player 2, to ensure that any bias of the investigators is minimised. The names of their opponents are also often replaced with Anon, although this is not essential.
Is there a way of replacing players' names while or after downloading several months' worth of hands? If not, is there a possibility of such a feature being developed?
0

#2 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,488
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2021-August-13, 12:59

View Postidt, on 2021-August-13, 10:54, said:

When downloading multiple hands to provide to investigators, it is important that the names of the players under investigation are removed, often replaced as Player 1 and Player 2, to ensure that any bias of the investigators is minimised. The names of their opponents are also often replaced with Anon, although this is not essential.
Is there a way of replacing players' names while or after downloading several months' worth of hands? If not, is there a possibility of such a feature being developed?



awk grep sed
Alderaan delenda est
0

#3 User is offline   idt 

  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 2021-August-13

Posted 2021-August-21, 16:44

View Posthrothgar, on 2021-August-13, 12:59, said:

awk grep sed


Having avoided technical matters whenever possible, is there an idiot's guide or some other advice you could help me with?
Thanks in anticipation
0

#4 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,488
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2021-August-21, 17:42

https://unix.stackex...rep-awk-and-sed
Alderaan delenda est
0

#5 User is offline   mycroft 

  • Secretary Bird
  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,428
  • Joined: 2003-July-12
  • Gender:Male
  • Location:Calgary, D18; Chapala, D16

Posted 2021-August-22, 14:18

or if you're not a unix person (but why would you not be?) you can do a global search and destroy replace throughout in Word(pad) or Notepad++.

But regex is much, much better, especially if you want to remove the opponents as well, and they're not the same all the time.

A final alternative is a CSV editor (you can tell it to separate on '|' rather than ',', and export it the same way). But that's also unpleasant.
When I go to sea, don't fear for me, Fear For The Storm -- Birdie and the Swansong (tSCoSI)
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users