harbor run -t openthoughts/tasktrove-mix-h4-binary-easy-mix-h4-binary-easy-0618harbor download openthoughts/tasktrove-mix-h4-binary-easy-mix-h4-binary-easy-0618Task: Implement the polytope utilities in a Python package at /app/diversipy/polytope.py
Overview: Create a small, dependency-free polytope utility module that the tests in the provided pytest suite exercise. The tests import diversipy.polytope and exercise five functions. Implement these functions with the exact signatures and expected behaviors described below, using NumPy only.
Location: Place the implementation in a Python package at /app/diversipy with a module polytope.py. You should also provide an empty /app/diversipy/init.py to ensure the package imports as diversipy.polytope.
Required functionality (functions, signatures, and behaviors):
Implementation notes and constraints:
Notes for the grader:
Reminder: Place the code in /app/diversipy/polytope.py (with a small init.py at /app/diversipy/init.py to form a package).