unbabel / backend-engineering-challenge Goto Github PK
View Code? Open in Web Editor NEWEngineering Challenge for Backend candidates
Engineering Challenge for Backend candidates
Hi there,
I'm working on the current challenge and i ran into an issue.
For the very first event, when calculating the moving average it returns 20 for the duration which is not the expected output. I saw the previous issue (which helped me to better understand the problem) but for this first one I'm still unable to wrap my head around it.
I appreciate any help :))
Hi! I'm thinking in two approches that I would like to persue for this challenge, and I'll like to know if I can do both of them by creating two solutions, or any of the approches would be acceptable for you guys and I can create a single solution.
One: A CLI application that reads the events from a json file and generates an aggregated output file.
Two: A CLI application that listen to the events from a kafka topic and writes the aggregated output into a second topic.
Best regards!
Hi , am wondering about the input is it the static input that have been included or there is an external source like api for the input ?
Cheers,
Feras
{"timestamp": "2018-12-26 18:11:08.509654","translation_id": "5aa5b2f39f7254a75aa5","source_language": "en","target_language": "fr","client_name": "easyjet","event_name": "translation_delivered","nr_words": 30, "duration": 20}
{"timestamp": "2018-12-26 18:15:19.903159","translation_id": "5aa5b2f39f7254a75aa4","source_language": "en","target_language": "fr","client_name": "easyjet","event_name": "translation_delivered","nr_words": 30, "duration": 31}
{"timestamp": "2018-12-26 18:23:19.903159","translation_id": "5aa5b2f39f7254a75bb33","source_language": "en","target_language": "fr","client_name": "booking","event_name": "translation_delivered","nr_words": 100, "duration": 54}
Hey guys, hope you are doing well.
The content of the file named events.json, suggests an incorrect format for a JSON file. It looks like an array, but we don't have the [], and also there is no separator between lines.
Should I understand that this is the correct structure and the '.json' the suffix is just less important information or the content suggested is really incorrect?
Before starting this I'ld like to confirm few things
I would like to clarify a couple of things:
And finally, I think I may have found a typo. I think "we're instered in calculating," should be "we're interested in calculating."
I would like to know if we can use frameworks/platforms like spark streaming or other streaming frameworks.
In the README.md file there's an example of an input and an example of an output.
Are those two related?
In other words, for the provided input example, the application is supposed to write the provided output example?
The reasons why I ask this are:
Thanks for your help.
I would like to get cleared about few unclear things in the challenge.
I think following line should be "we deal with".
At Unbabel we deal we a lot of translation data.
Also the following "25,5" should be "25.5"
{"date": "2018-12-26 18:15:00", "average_delivery_time": 20}
{"date": "2018-12-26 18:16:00", "average_delivery_time": 25,5}
{"date": "2018-12-26 18:17:00", "average_delivery_time": 25,5}
Please let me know.
Hi guys!
I have a question regarding the window_size parameter.
In your example you inserted a window_size of 10 but in the output example the window_size is at least 13 minutes (18:11:00 to 18:24:00).
am I analysing in the wrong way?
Or the input and output example are not related?
Cheers.
Hi!
Noticed that commit 9ea53b5 reverts changes done in past commits to an older version. To a state similar to commit 8a70cb2 where existed a typo in the name of the challenge and the expected output was different.
I wanted to ask if these changes were deliberate or intentional since the expected output changed and the input kept the same.
Thanks ๐
I wanted to confirm whether input file is a static file with fixed number of events or a file with stream of events saving in periodic manner.
Thanks,
Madhu.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.