This repository contains a coding challenge designed to measure your raw ability to code and solve problems quickly. Your task is to build an LLM-powered translation system that translates the first volume of The Count of Monte Cristo (Le Comte de Monte-Cristo), the classic French novel by Alexandre Dumas.
Build a system that uses Large Language Models (LLMs) to translate the French source text (source/comc.txt) into high-quality English.
You will be judged on two primary factors:
- Code Quality: Architecture, readability, error handling, efficiency, and overall software engineering practices
- Translation Quality: Accuracy, fluency, preservation of literary style, and faithfulness to the original text
- Python 3.8 or higher
- Access to an LLM API (e.g., OpenAI, Anthropic, etc.)
# Install dependencies
pip install -r requirements.txtThe French source text is located in source/comc.txt.
Design and implement a translation system that:
- Reads the French source text
- Uses LLM(s) to translate it to English
- Produces a high-quality English translation
- Working translation system code
- Translated English output
- Any additional documentation you feel is necessary
Good luck!