Scripting Exercise - open to bidding
$30-250 USD
Pago na entrega
Coding Exercise:
Requirements:
- Please use advanced scripting language (either Python or Ruby is preferred)
- Please implement a stand-alone script that does the following function:
input:
taking an argument “root_dir” as a root directory to start traversing
taking an argument “keyword” as a regular expression for example ( “^[a-zA-Z]+_TESTResult.*” ) to detect a file contains an interested string
Functionality:
script should recursively walk the “root_dir” and detect all the files under that dir which contains “keywords” and count the number of files for each sub dir. All results should be saved in a key:value array with key being subdir string, and value being counts of files containing the keyword
Output:
An output array of all the data, for example {’a/b’: 6, ’a/b/c’: 7, ‘/a/b/c/d’:0}
An output graph with a plot with X as subdir name string, Y as count values.
Tests:
Please design a set of tests for the above routine you just wrote, how many ways can break the routine above and how many ways can you test the routine
Code Criteria:
- Coding style - module name, class name, functions, clarity, data structure, algorithms etc.
- Argument handling - what module do you use for argument that’s easy to expend, exception checking etc.
- Portability - think about how your program would behavior for various OS systems
- Scalability - how do you make your routine scalable, multithreading, parallel computing etc.
- Reliability - how robust can you make the routine that under any env it won’t crash - either exit gracefully with error message or complete what you can
ID do Projeto: #7584616
Sobre o projeto
12 freelancers estão ofertando em média $94 nesse trabalho
Greetings, I can do this with programming best practices and very well documented app, in the language you prefer, Python or Ruby, you can see a bit of my work at my Github (same username), PM me, if you have mor Mais
Hello! Can do this task for you very quickly. I have wide experience in writing such utilities on Python, Perl, PHP. May start the work right now. Almost always online, waiting for your answer Thank you.
Hello, I can complete the project you described while fulfilling all of the code criteria. I will be using Python and I have experience using all of the required libraries that will be required. This is how I will f Mais
I am an experienced CSS Designer and HTML Programmer looking to be hired. I have worked in the areas of CSS, HTML and HTML5 for many employers and companies around the world I have a strong foundation in these areas. I Mais
a very experienced python developer is ready to get the job done quickly, professionally, and at the lowest cost. contact me now, and let's start working right away!
I have experience with writing similar Python scripts. I believe in being able to provide optional arguments so that a user can control how scripts are run and being able to use/call a script/module by other scripts/mo Mais