Em Andamento

Tennis Log Cleaner and Parser

The task is to scan through source directory that contains a lot (thousands) files with log details from tennis matches. See few attached sample logs (one file = one tennis log). Some of the log files are incomplete, which means they are missing about some of the played balls.

There are two tasks for the script: first is to add missing points when possible (e.g. if the score provided is 15-0, followed by 40-0, i.e. that the missing point is 30-0), second is to transform each known point in the game into expanded csv format that will contain:

match_id (filename)

serving_AB (indicator which player is serving)

game_A (score in current game for player A, value can be 0, 15, 30, 40, A)

game_B (score in current game for player B, value can be 0, 15, 30, 40, A)

set_A (currently won sets by player A, value can be 0,1,2,3)

set_B (currently won_sets by player B, value can be 0,1,2,3)

s1_A - number of games won by player A in 1st set

s1_B - number of games won by player B in 1st set

s2_A - playerA/2nd set

s2_B - playerB/2nd set

s3_A - playerA/3rd set

s3_B - playerB/3rd set

s4_A - playerA/4th set

s4_B - playerB/4th set

s5_A - playerA/5th set

s5_B - playerB/5th set

The deliverable should be a script in Python, alternatives are for discussion, however some scripting language is requirement (not something that needs to be compiled before executing).

In case of any questions, please ask.

Prerequisite: know scoring of the tennis match ([url removed, login to view]).

Habilidades: Python, Arquitetura de software

Ver mais: prerequisite software, python game, log files, cleaner, source cleaner, python log script, parser csv, python parser csv, python scripting game, parsing log file python example, cleaner software, python csv parser, log parsing python, scripting python, parsing log file python, parsing log files python script, tennis scoring, open log file python parse, python log file script, tennis scoring software, parsing log script python, tennis points, python parser, parsing log files python, game python

Acerca do Empregador:
( 78 comentários ) Prague, Czech Republic

ID do Projeto: #6779810

Premiar a:


Hey there. This would be my first project on Freelancer. As a result we can both benefit from this experience. I can guarantee I will put in a lot more effort than the other bidders as I want to make a great firs Mais

$25 USD em 1 dia
(0 Avaliações)

3 freelancers estão ofertando em média $77 para este trabalho


Hello, I am a PhD student in Control Engineering discipline at Yildiz Technical University, Turkey. I am a huge tennis fan and know the structure very well. I can write a clear script in MATLAB to read all log files, c Mais

$160 USD in 5 dias
(3 Comentários)

I have the skills to complete this project, will be done on time and on budget. Will likely be done in 48 hours leaving time for any tweaks or clarifications.

$45 USD in 4 dias
(0 Comentários)