harbor run -t openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1802harbor download openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1802Implement a small, self-contained replacement for the parts of the pyaedt library used by the given tests. Put your code under /app/ so the test suite can import pyaedt. The goal is to provide the minimal functionality (API surface and behavior) exercised by the tests so they can run without the real pyaedt package. Do not implement a full EM simulator — the components can be simple in-memory objects that emulate expected behavior.
Requirements (what to implement and how it should behave)
Provide a Circuit class constructible with a project path string, e.g. Circuit(project_path: str).
Circuit should expose:
Provide an attribute .available_variations with attribute .nominal (any simple object or string) to be passed to plotting functions.
Circuit must provide .modeler which contains:
The schematic object must implement methods used by the tests:
The modeler.components factory should provide methods to create components in the same way as schematic (create_resistor, create_capacitor, create_inductor, create_interface_port). The returned objects should be compatible with schematic functions (they should have id, pins, composed_name, parameters).
Notes and hints
Deliverable location