harbor run -t openthoughts/tasktrove-exp-rpt-stack-dockerfile-v2-stack-dockerfile-0480harbor download openthoughts/tasktrove-exp-rpt-stack-dockerfile-v2-stack-dockerfile-0480Task: Build a simple document search engine in Python
Overview Create a small, self-contained Python command-line tool that builds a searchable index from plain text documents and lets you query that index to find relevant documents. The solution must run in the /app directory of the provided environment and use only the Python standard library.
What you must implement
Detailed requirements
Tokenization and normalization
Index structure (saved as /app/index.json)
Indexing behavior
Searching behavior
Optional robustness
Self-contained and repeatable
Example file structure you’ll produce or modify
What to deliver
How to verify (example)
Notes
End of task description