harbor run -t openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-2004harbor download openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-2004Task: Implement a small grid-based circuit wire tracer in a module circuit.py that provides Vector and Circuit with multi-layer path tracing and intersection querying.
Goals and functionality to implement
Vector
Circuit
State
Movement and drawing
Intersections and path lengths
Utilities
Acceptance criteria aligned with tests
Notes and constraints to respect
This task yields a self-contained, test-driven implementation that satisfies the provided pytest suite by providing the required classes, methods, and behavior.
Output only the instruction: