Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

feat(cua-bench): add cua-bench-kicad dataset + point registry dump at monorepo (#1901)

ddupont8f585e3d928c
diff --git a/libs/cua-bench/cua_bench/scripts/dump_task_registry.py b/libs/cua-bench/cua_bench/scripts/dump_task_registry.py
index 9a5d44e6a0..8f5e464212 100644
--- a/libs/cua-bench/cua_bench/scripts/dump_task_registry.py
+++ b/libs/cua-bench/cua_bench/scripts/dump_task_registry.py
@@ -12,20 +12,20 @@ except Exception: # pragma: no cover
import tomli as tomllib # type: ignore
-# Root registry path (~ expands to user home)
-# task_registry = Path("~/cua-bench-registry").expanduser()
-task_registry = Path(r"F:\Projects\cua\cua-bench-registry")
-task_registry_url = "https://github.com/trycua/cua-bench-registry/tree/main/datasets/"
-
-# Expected structure:
-# meta.json
-# datasets/
-# <dataset_id>/
-# <environment_id>/
-# pyproject.toml
-# main.py (optional)
+import os
+
+# Registry now lives in the cua monorepo (the standalone `cua-bench-registry`
+# repo is DEPRECATED — `cb run dataset` resolves datasets from
+# `<cua-repo>/libs/cua-bench/datasets/` via cli/commands/registry.py).
+# Honor CUA_REGISTRY_HOME (the same env var the cb resolver uses); otherwise
+# default to this package's own libs/cua-bench directory.
+# <registry>/datasets/<dataset_id>/<environment_id>/{pyproject.toml, main.py}
+# <registry>/datasets/meta.json (OPTIONAL — dataset-level descriptions)
+task_registry = Path(os.environ.get("CUA_REGISTRY_HOME") or Path(__file__).resolve().parents[2])
+task_registry_url = "https://github.com/trycua/cua/tree/main/libs/cua-bench/datasets/"
+
task_datasets = task_registry / "datasets"
-task_metadata = task_registry / "meta.json"
+task_metadata = task_datasets / "meta.json"
output_metadata = Path(__file__).parent / Path("./task_registry.json")
@@ -218,13 +218,20 @@ def main():
)
args = parser.parse_args()
- if not task_metadata.exists():
- print(f"meta.json not found at {task_metadata}")
- return 1
if not task_datasets.exists():
print(f"datasets directory not found at {task_datasets}")
return 1
- meta_entries = read_meta(task_metadata)
+ if task_metadata.exists():
+ meta_entries = read_meta(task_metadata)
+ else:
+ # No meta.json (monorepo default): derive the dataset list from the
+ # datasets/ subdirectories. Dataset-level descriptions stay null.
+ print(f"No meta.json at {task_metadata}; deriving datasets from subdirectories.")
+ meta_entries = [
+ {"id": p.name, "description": None}
+ for p in sorted(task_datasets.iterdir())
+ if p.is_dir()
+ ]
reg = build_registry(task_datasets, meta_entries, parallelism=args.parallelism)
output_metadata.write_text(json.dumps(reg, indent=2), encoding="utf-8")
print(str(output_metadata))
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_prl
new file mode 100644
index 0000000000..d580d91625
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_AdjustableLDO_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro
new file mode 100644
index 0000000000..31890fb2cb
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_AdjustableLDO_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "1d978004-42c3-4f3c-a5d0-a939a3cc3f39",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_sch
new file mode 100644
index 0000000000..b18ec58d4c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_sch
@@ -0,0 +1,2135 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "1d978004-42c3-4f3c-a5d0-a939a3cc3f39")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C_Polarized_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C_Polarized_US"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "CP_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_Polarized_US_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.778 2.286) (xy -0.762 2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 1.778) (xy -1.27 2.794)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start -2.032 -1.27)
+ (mid 0 -0.5572)
+ (end 2.032 -1.27)
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_Polarized_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 3.302)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Regulator_Linear:LT3010"
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at -6.35 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LT3010"
+ (at 0 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mm"
+ (at 0 8.255 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "REGULATOR POSITIVE POWER LDO adjustable"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "MSOP*3x3mm*P0.65mm*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "LT3010_0_1"
+ (rectangle
+ (start -7.62 5.08)
+ (end 7.62 -5.08)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "LT3010_1_1"
+ (pin power_in line
+ (at -10.16 2.54 0)
+ (length 2.54)
+ (name "IN"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "8"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -10.16 0 0)
+ (length 2.54)
+ (name "~{SHDN}"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin no_connect line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (hide yes)
+ (name "NC"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at 0 -7.62 90)
+ (length 2.54)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -7.62 90)
+ (length 2.54)
+ (hide yes)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "9"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin no_connect line
+ (at 2.54 -5.08 90)
+ (length 2.54)
+ (hide yes)
+ (name "NC"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "7"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin no_connect line
+ (at 7.62 -2.54 180)
+ (length 2.54)
+ (hide yes)
+ (name "NC"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "6"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_out line
+ (at 10.16 2.54 180)
+ (length 2.54)
+ (name "OUT"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at 10.16 0 180)
+ (length 2.54)
+ (name "ADJ"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+5V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+5V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (text "http://analog.com/media/en/technical-documentation/data-sheets/lt3010-3010-5.pdf"
+ (exclude_from_sim no)
+ (at 127.762 129.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ (uuid "5bde72d8-6959-4e9d-bd1c-82343de74636")
+ )
+ (text "Refer to Datasheet, Figure 2.\n"
+ (exclude_from_sim no)
+ (at 127.762 126.746 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ (uuid "5f2a74af-dd91-45de-bab2-e57f654d9765")
+ )
+ (junction
+ (at 143.51 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "1b2116a3-096a-4515-835d-4f41e38b90e2")
+ )
+ (junction
+ (at 154.94 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "27c739fd-952c-44d3-b8bb-6eb08c5cee6c")
+ )
+ (junction
+ (at 121.92 107.95)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "4bac6fb5-c45f-4404-a672-e9f2d39edda7")
+ )
+ (junction
+ (at 143.51 104.14)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "7aa8cb37-0de6-4e31-8dd7-7c3dfa2fa9e7")
+ )
+ (junction
+ (at 95.25 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "c5eaa469-6c66-4d1b-9cae-20261698b8e7")
+ )
+ (junction
+ (at 143.51 105.41)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "c7f879eb-8867-4922-bd31-01cf845cfe95")
+ )
+ (junction
+ (at 104.14 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "ec3083be-4766-4670-aa47-e851de5b4af9")
+ )
+ (wire
+ (pts
+ (xy 154.94 102.87) (xy 154.94 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "10542f1b-1cd6-4ff7-b8c7-b542524a9331")
+ )
+ (wire
+ (pts
+ (xy 132.08 93.98) (xy 143.51 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "318ccb79-757c-4d59-8a4b-a0c84aa0dc80")
+ )
+ (wire
+ (pts
+ (xy 95.25 93.98) (xy 104.14 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "544111f4-4d93-4c5a-a26e-a9da1a9fa513")
+ )
+ (wire
+ (pts
+ (xy 143.51 102.87) (xy 143.51 104.14)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5c967afd-7e99-40ba-b1c1-45d4f9524d81")
+ )
+ (wire
+ (pts
+ (xy 168.91 101.6) (xy 168.91 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6081bac7-d65e-4f5f-9643-177966291c84")
+ )
+ (wire
+ (pts
+ (xy 143.51 104.14) (xy 143.51 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "66320d49-7d99-4267-95ae-dd46ee40aa83")
+ )
+ (wire
+ (pts
+ (xy 132.08 104.14) (xy 143.51 104.14)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "68c8bab4-5dc5-4ff8-86ab-7f7843933445")
+ )
+ (wire
+ (pts
+ (xy 154.94 95.25) (xy 154.94 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6f981046-7978-4b4e-94fd-bb0305253cfa")
+ )
+ (wire
+ (pts
+ (xy 154.94 105.41) (xy 143.51 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "80038c25-5b14-4be9-bdd5-bd65fa1fbdec")
+ )
+ (wire
+ (pts
+ (xy 120.65 107.95) (xy 121.92 107.95)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8591d609-014b-40c5-8fdc-93175f839f57")
+ )
+ (wire
+ (pts
+ (xy 143.51 105.41) (xy 143.51 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8a8b063c-4f26-4748-a159-4535d64d9e50")
+ )
+ (wire
+ (pts
+ (xy 95.25 93.98) (xy 95.25 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8f2f9927-9340-49e1-8a95-78f5696cb6cb")
+ )
+ (wire
+ (pts
+ (xy 104.14 93.98) (xy 104.14 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "97d367e9-ab2a-43f2-8330-57e6fe2db234")
+ )
+ (wire
+ (pts
+ (xy 104.14 93.98) (xy 111.76 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a9623009-8e7e-401d-aceb-131026af20d7")
+ )
+ (wire
+ (pts
+ (xy 121.92 104.14) (xy 121.92 107.95)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b6530749-f412-481c-bff9-50b0285ec07b")
+ )
+ (wire
+ (pts
+ (xy 154.94 93.98) (xy 143.51 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "cef276da-e64f-4575-adc9-2a11abd42338")
+ )
+ (wire
+ (pts
+ (xy 111.76 96.52) (xy 104.14 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "cf52c4fd-1cf2-4db5-a868-7eac054e3cd2")
+ )
+ (wire
+ (pts
+ (xy 121.92 107.95) (xy 121.92 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d11109f0-0336-4b5b-9d2b-a6d298d02d48")
+ )
+ (wire
+ (pts
+ (xy 132.08 96.52) (xy 132.08 104.14)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d3e407d0-936f-429a-b236-da32f27aa7f7")
+ )
+ (wire
+ (pts
+ (xy 95.25 92.71) (xy 95.25 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d66df07c-0fbe-4b68-b73c-f8daa98e7cc3")
+ )
+ (wire
+ (pts
+ (xy 168.91 93.98) (xy 154.94 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d9921069-2633-44db-bd70-e8fdde5896ff")
+ )
+ (wire
+ (pts
+ (xy 143.51 114.3) (xy 143.51 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "df026c4b-2362-4264-9bc4-f0cf0d4bbb68")
+ )
+ (wire
+ (pts
+ (xy 143.51 93.98) (xy 143.51 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e214d478-9482-431a-9363-8e01f7329c5b")
+ )
+ (wire
+ (pts
+ (xy 168.91 109.22) (xy 168.91 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e217259c-c9a1-47a3-95e9-8c0e32d905f7")
+ )
+ (symbol
+ (lib_id "Regulator_Linear:LT3010")
+ (at 121.92 96.52 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "05286ec4-c71c-470e-ae6b-4dcc2eba86be")
+ (property "Reference" "U1"
+ (at 121.92 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LT3010"
+ (at 121.92 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mm"
+ (at 121.92 88.265 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf"
+ (at 121.92 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8"
+ (at 121.92 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "7"
+ (uuid "d7618ab9-8fc6-45cf-8ae7-04ae67688ba2")
+ )
+ (pin "5"
+ (uuid "d8a1d55c-2d4c-42fb-aba0-9b0654a5d462")
+ )
+ (pin "9"
+ (uuid "00a824a1-c3de-43b3-a470-ecd1b5b17a1e")
+ )
+ (pin "4"
+ (uuid "5663ad30-8019-406e-b2c5-050cb17e8501")
+ )
+ (pin "2"
+ (uuid "50be5d16-c5d2-440a-a85b-85d0b25b75b9")
+ )
+ (pin "6"
+ (uuid "c13cbaec-cc2c-47d6-b4f5-a1ab485c4530")
+ )
+ (pin "8"
+ (uuid "f356b9b0-b6d2-4904-bcbe-edcc9369a96a")
+ )
+ (pin "3"
+ (uuid "34785fa0-841c-4a7b-9b4b-0e27bb788a0f")
+ )
+ (pin "1"
+ (uuid "22ee2910-2f37-4f19-93f4-2e98f09c8eaa")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 95.25 92.71 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "296c1be6-c09d-4b07-ab56-4f9a894a35fc")
+ (property "Reference" "#PWR04"
+ (at 95.25 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 95.25 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 95.25 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 95.25 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 95.25 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "907c8cfd-2f5e-4a4c-a521-c669876f4789")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#PWR04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 143.51 110.49 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2b0f4a91-ef74-4ca2-b9d2-23620e26d67c")
+ (property "Reference" "R1"
+ (at 146.05 109.2199 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "7.5k"
+ (at 146.05 111.7599 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 144.526 110.744 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 143.51 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 143.51 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "8a49c1da-c91a-4f3d-b758-ce3ecd157faf")
+ )
+ (pin "2"
+ (uuid "a7483888-3338-4701-972f-17d7b7f0326b")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 143.51 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3a50e550-f44e-4445-a3a0-3fe6c4c759f1")
+ (property "Reference" "R2"
+ (at 146.05 97.7899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "10k"
+ (at 146.05 100.3299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 144.526 99.314 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 143.51 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 143.51 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "35bbf3fa-ec4d-49d4-88a3-ec00e7b5fc12")
+ )
+ (pin "2"
+ (uuid "c81cd741-e20e-4e8e-8a37-a49c3ceba9d7")
+ )
+ (instances
+ (project "kicad_AdjustableLDO_circuit"
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 143.51 115.57 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4d718a79-69b7-46ba-a0e4-35e24bf1f37d")
+ (property "Reference" "#PWR02"
+ (at 143.51 121.92 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 143.51 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 143.51 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 143.51 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 143.51 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "cac15e39-a956-474a-b3a3-d6781b50c281")
+ )
+ (instances
+ (project "kicad_AdjustableLDO_circuit"
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 121.92 110.49 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "91905c2c-732b-4028-a3c9-c18845488794")
+ (property "Reference" "#PWR01"
+ (at 121.92 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 121.92 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 121.92 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 121.92 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 121.92 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "5cacc592-1b52-4aba-8761-dd6ad18a5d61")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_Polarized_US")
+ (at 168.91 105.41 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9bf94bde-043d-47f7-b9a9-17961c3aa4ca")
+ (property "Reference" "C1"
+ (at 172.72 103.5049 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1u"
+ (at 172.72 106.0449 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 168.91 105.41 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 168.91 105.41 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor, US symbol"
+ (at 168.91 105.41 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "c9dd41f4-1c5a-4488-ab26-be6376009e12")
+ )
+ (pin "2"
+ (uuid "bf281dd0-7330-48a3-8489-46506a75eeeb")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 168.91 115.57 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bfdfaf36-0cdd-4eda-9f9f-675530e10e51")
+ (property "Reference" "#PWR03"
+ (at 168.91 121.92 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 168.91 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 168.91 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 168.91 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 168.91 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "0f12bead-357e-4ccf-9111-63e05d85b8ed")
+ )
+ (instances
+ (project "kicad_AdjustableLDO_circuit"
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 120.65 107.95 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c1ffb2d8-3e1e-4b83-90b6-96ae34c7447c")
+ (property "Reference" "#FLG01"
+ (at 118.745 107.95 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 116.84 107.9499 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 120.65 107.95 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 120.65 107.95 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 120.65 107.95 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "86170ddb-510a-4a66-99f6-f3187d9f4ed2")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 154.94 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "df3d10ea-b7a6-4c59-a9fc-e76ef57a80f2")
+ (property "Reference" "C2"
+ (at 158.75 97.7899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "0.1u"
+ (at 158.75 100.3299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 155.9052 102.87 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 154.94 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 154.94 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "18c7fd08-78d9-4642-8b01-43f3ed91856e")
+ )
+ (pin "2"
+ (uuid "cbe323a8-aa09-4b4b-a5ec-f1081869b15e")
+ )
+ (instances
+ (project ""
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 95.25 95.25 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e8b3d821-98e9-4cca-b4d0-6f5c3493f411")
+ (property "Reference" "#FLG02"
+ (at 95.25 97.155 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 95.25 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 95.25 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 95.25 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 95.25 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "e911933a-db1b-4e1e-8d94-1a08b87c38f2")
+ )
+ (instances
+ (project "kicad_AdjustableLDO_circuit"
+ (path "/1d978004-42c3-4f3c-a5d0-a939a3cc3f39"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/main.py b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/main.py
new file mode 100644
index 0000000000..cdda25f290
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 154d0750-3c05-419d-92a5-a08ba74bbcb2."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "154d0750-3c05-419d-92a5-a08ba74bbcb2"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify R2 to produce an output of 1.8V. Select R2 to the closest standard E96 1% resistor value.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/pyproject.toml
new file mode 100644
index 0000000000..ec36ff07d5
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-154d0750-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify R2 to produce an output of 1.8V. Select R2 to the closest standard E96 1% resistor value."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/154d0750/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/reference.net
new file mode 100644
index 0000000000..89d35b3862
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/154d0750/reference.net
@@ -0,0 +1,192 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_AdjustableLDO_circuit_modified\\kicad_AdjustableLDO_circuit_modified.kicad_sch")
+ (date "2026-03-01T10:02:12-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_AdjustableLDO_circuit_modified.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "1u")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_AdjustableLDO_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9bf94bde-043d-47f7-b9a9-17961c3aa4ca"))
+ (comp (ref "C2")
+ (value "0.1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_AdjustableLDO_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "df3d10ea-b7a6-4c59-a9fc-e76ef57a80f2"))
+ (comp (ref "R1")
+ (value "7.5k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_AdjustableLDO_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2b0f4a91-ef74-4ca2-b9d2-23620e26d67c"))
+ (comp (ref "R2")
+ (value "3.09k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_AdjustableLDO_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3a50e550-f44e-4445-a3a0-3fe6c4c759f1"))
+ (comp (ref "U1")
+ (value "LT3010")
+ (footprint "Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mm")
+ (datasheet "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf")
+ (description "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8")
+ (fields
+ (field (name "Footprint") "Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mm")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf")
+ (field (name "Description") "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8"))
+ (libsource (lib "Regulator_Linear") (part "LT3010") (description "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_AdjustableLDO_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "REGULATOR POSITIVE POWER LDO adjustable"))
+ (property (name "ki_fp_filters") (value "MSOP*3x3mm*P0.65mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "05286ec4-c71c-470e-ae6b-4dcc2eba86be")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized_US")
+ (description "Polarized capacitor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Regulator_Linear") (part "LT3010")
+ (description "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8")
+ (docs "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf")
+ (footprints
+ (fp "MSOP*3x3mm*P0.65mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LT3010")
+ (field (name "Footprint") "Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.68x1.88mm")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/30105fe.pdf")
+ (field (name "Description") "50mA 3-80V Micropower Low Dropout Regulator, adjustable output, MSOP-8"))
+ (pins
+ (pin (num "1") (name "OUT") (type "power_out"))
+ (pin (num "2") (name "ADJ") (type "input"))
+ (pin (num "3") (name "NC") (type "no_connect"))
+ (pin (num "4") (name "GND") (type "power_in"))
+ (pin (num "5") (name "~{SHDN}") (type "input"))
+ (pin (num "6") (name "NC") (type "no_connect"))
+ (pin (num "7") (name "NC") (type "no_connect"))
+ (pin (num "8") (name "IN") (type "power_in"))
+ (pin (num "9") (name "GND") (type "passive")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Regulator_Linear")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Regulator_Linear.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "U1") (pin "5") (pinfunction "~{SHDN}") (pintype "input"))
+ (node (ref "U1") (pin "8") (pinfunction "IN") (pintype "power_in")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "U1") (pin "9") (pinfunction "GND") (pintype "passive")))
+ (net (code "3") (name "Net-(U1-ADJ)") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "ADJ") (pintype "input")))
+ (net (code "4") (name "Net-(U1-OUT)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "OUT") (pintype "power_out")))
+ (net (code "5") (name "unconnected-(U1-NC-Pad3)") (class "Default")
+ (node (ref "U1") (pin "3") (pinfunction "NC") (pintype "no_connect")))
+ (net (code "6") (name "unconnected-(U1-NC-Pad6)") (class "Default")
+ (node (ref "U1") (pin "6") (pinfunction "NC") (pintype "no_connect")))
+ (net (code "7") (name "unconnected-(U1-NC-Pad7)") (class "Default")
+ (node (ref "U1") (pin "7") (pinfunction "NC") (pintype "no_connect")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_prl
new file mode 100644
index 0000000000..60de1a5f39
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_votage regulator_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pro
new file mode 100644
index 0000000000..ba0daa16ac
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pro
@@ -0,0 +1,426 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_votage regulator_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "KiCad",
+ "ngspice": {
+ "fix_include_paths": true,
+ "meta": {
+ "version": 0
+ },
+ "model_mode": 4,
+ "workbook_filename": ""
+ },
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "0113088e-3a19-40a1-8243-d3163f6df2b8",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_sch
new file mode 100644
index 0000000000..807e045d5e
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_sch
@@ -0,0 +1,2386 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "0113088e-3a19-40a1-8243-d3163f6df2b8")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Connector:Conn_01x02_Pin"
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "J"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Conn_01x02_Pin"
+ (at 0 -5.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic connector, single row, 01x02, script generated"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_locked" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "ki_keywords" "connector"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "Connector*:*_1x??_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Conn_01x02_Pin_1_1"
+ (rectangle
+ (start 0.8636 0.127)
+ (end 0 -0.127)
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ (rectangle
+ (start 0.8636 -2.413)
+ (end 0 -2.667)
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy 0.8636 0)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 -2.54) (xy 0.8636 -2.54)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (pin passive line
+ (at 5.08 0 180)
+ (length 3.81)
+ (name "Pin_1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 5.08 -2.54 180)
+ (length 3.81)
+ (name "Pin_2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C_Polarized"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C_Polarized"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "CP_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_Polarized_0_1"
+ (rectangle
+ (start -2.286 0.508)
+ (end 2.286 1.016)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.778 2.286) (xy -0.762 2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 2.794) (xy -1.27 1.778)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 2.286 -0.508)
+ (end -2.286 -1.016)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (symbol "C_Polarized_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Diode:1N4001"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1N4001"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "50V 1A General Purpose Rectifier Diode, DO-41"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "D*DO?41*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "1N4001_0_1"
+ (polyline
+ (pts
+ (xy -1.27 1.27) (xy -1.27 -1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy -1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "1N4001_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Regulator_Linear:uA7805"
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at -3.81 3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "uA7805"
+ (at 0 3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.635 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/ua78.pdf"
+ (at 0 -1.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "Voltage Regulator 1A Positive"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "TO?263* TO?220*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "uA7805_0_1"
+ (rectangle
+ (start -5.08 1.905)
+ (end 5.08 -5.08)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "uA7805_1_1"
+ (pin power_in line
+ (at -7.62 0 0)
+ (length 2.54)
+ (name "IN"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at 0 -7.62 90)
+ (length 2.54)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_out line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "OUT"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Simulation_SPICE:VSIN"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.0254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "V"
+ (at 2.54 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "VSIN"
+ (at 2.54 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Voltage source, sinusoidal"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=+ 2=-"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Params" "dc=0 ampl=1 f=1k ac=1"
+ (at 2.54 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Sim.Type" "SIN"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "V"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "simulation ac vac"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "VSIN_0_0"
+ (arc
+ (start -1.27 0)
+ (mid -0.635 0.6323)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 1.27 0)
+ (mid 0.635 -0.6323)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (text "+"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (symbol "VSIN_0_1"
+ (circle
+ (center 0 0)
+ (radius 2.54)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "VSIN_1_1"
+ (pin passive line
+ (at 0 5.08 270)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -5.08 90)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 143.51 92.71)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "30a450b5-4c7c-4844-84e0-72c29c854deb")
+ )
+ (junction
+ (at 125.73 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "345b2eff-b0bb-4ccf-8013-336a1dbd1107")
+ )
+ (junction
+ (at 170.18 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "48178784-861f-4b3d-ad97-0c85ef9edbb3")
+ )
+ (junction
+ (at 151.13 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "556a74ef-ff34-4fd4-ba74-5737d4fea37c")
+ )
+ (junction
+ (at 143.51 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5ea60878-435b-4336-8b66-0bb6e7eef90e")
+ )
+ (junction
+ (at 151.13 76.2)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "6b34ee8d-2c1e-478d-870a-f8733b01d0b8")
+ )
+ (junction
+ (at 135.89 63.5)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a3e15d89-18d3-4caf-b55c-e47f9fad95bf")
+ )
+ (junction
+ (at 135.89 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a559b41e-cefd-4c96-bb92-497c4c61bb50")
+ )
+ (junction
+ (at 170.18 76.2)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "f6952946-180b-4cd7-b8e4-2880a0a5f48f")
+ )
+ (junction
+ (at 125.73 76.2)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "fd346f78-80e5-4eaa-9eb2-45c04ae94971")
+ )
+ (junction
+ (at 135.89 76.2)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "fe79e6ab-5e00-4ce7-8c92-75b9bf01dc9f")
+ )
+ (wire
+ (pts
+ (xy 135.89 76.2) (xy 135.89 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "001567a1-92de-4f2f-b396-bdb8163c6df2")
+ )
+ (wire
+ (pts
+ (xy 170.18 80.01) (xy 170.18 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "0187b39d-aa8f-40d4-a1f1-71e8ec86475e")
+ )
+ (wire
+ (pts
+ (xy 135.89 80.01) (xy 135.89 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "15250a1e-3426-4985-a34e-c13814a483e5")
+ )
+ (wire
+ (pts
+ (xy 189.23 85.09) (xy 191.77 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1b229f29-bcb3-4653-b068-e76a57411808")
+ )
+ (wire
+ (pts
+ (xy 189.23 82.55) (xy 189.23 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "23eebe19-3273-4cc5-bffa-3598c14f3ec2")
+ )
+ (wire
+ (pts
+ (xy 143.51 90.17) (xy 151.13 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "286a59c0-6df1-4aa1-bb46-0c0b5cce0a4e")
+ )
+ (wire
+ (pts
+ (xy 189.23 82.55) (xy 191.77 82.55)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "29d5aaf2-03df-45a0-a724-2153d5c0224c")
+ )
+ (wire
+ (pts
+ (xy 151.13 87.63) (xy 151.13 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "301bd81b-04ec-4ef3-94f6-37a1b2b7d1e3")
+ )
+ (wire
+ (pts
+ (xy 151.13 55.88) (xy 151.13 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "30c42aff-29e8-4ea8-b63b-aafe1aff5ec1")
+ )
+ (wire
+ (pts
+ (xy 151.13 76.2) (xy 151.13 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3658ac60-bc65-4a49-bd09-545d81574f1f")
+ )
+ (wire
+ (pts
+ (xy 143.51 92.71) (xy 143.51 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3e707477-399f-4316-b206-8f00388b232f")
+ )
+ (wire
+ (pts
+ (xy 143.51 95.25) (xy 143.51 92.71)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4496fae8-88e7-4b5f-a348-1ecc58bb4b21")
+ )
+ (wire
+ (pts
+ (xy 125.73 87.63) (xy 125.73 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "48a0840d-3827-42a8-9c19-6568cedc469c")
+ )
+ (wire
+ (pts
+ (xy 102.87 76.2) (xy 102.87 77.47)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4a708f54-3ad2-4a32-a51e-3b92592f75b1")
+ )
+ (wire
+ (pts
+ (xy 128.27 63.5) (xy 135.89 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "64ed2017-cb71-4dc0-bdd5-9e5d8a0378c9")
+ )
+ (wire
+ (pts
+ (xy 143.51 92.71) (xy 147.32 92.71)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "711efa49-5fdb-49af-9de5-91fb03dddcd1")
+ )
+ (wire
+ (pts
+ (xy 135.89 90.17) (xy 143.51 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7ac3c511-bc8d-492e-b867-9c6fd156c28b")
+ )
+ (wire
+ (pts
+ (xy 102.87 90.17) (xy 102.87 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "83e48b12-2184-4767-b6f8-d5c1733f0074")
+ )
+ (wire
+ (pts
+ (xy 189.23 90.17) (xy 189.23 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "84be167a-fdb1-4e82-b7c2-f50918bac017")
+ )
+ (wire
+ (pts
+ (xy 170.18 90.17) (xy 189.23 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8db1c99b-0866-4be8-8edc-6eb202a7afb0")
+ )
+ (wire
+ (pts
+ (xy 189.23 76.2) (xy 170.18 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a1fe5f2b-703f-4bad-8b33-8fadda49a07a")
+ )
+ (wire
+ (pts
+ (xy 151.13 90.17) (xy 170.18 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a3384960-110a-44aa-8ebe-5ec5bf2595e8")
+ )
+ (wire
+ (pts
+ (xy 135.89 87.63) (xy 135.89 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a35e8dab-8063-4cd6-8887-9b31bd235f7b")
+ )
+ (wire
+ (pts
+ (xy 102.87 90.17) (xy 125.73 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "aad15d94-f27c-4c80-a8d4-d206cf96d686")
+ )
+ (wire
+ (pts
+ (xy 143.51 63.5) (xy 143.51 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b16e0015-5685-4b1a-9da0-52626e07928e")
+ )
+ (wire
+ (pts
+ (xy 123.19 76.2) (xy 125.73 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b2dfa378-058a-4c47-9416-265ad7268c9e")
+ )
+ (wire
+ (pts
+ (xy 125.73 76.2) (xy 125.73 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b8921c97-ee13-47f7-a799-f9340e35895a")
+ )
+ (wire
+ (pts
+ (xy 102.87 76.2) (xy 115.57 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bc0e03f9-74a0-4c5e-ae02-0c9e1b71a4e9")
+ )
+ (wire
+ (pts
+ (xy 125.73 76.2) (xy 135.89 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ce17610f-555c-43d2-a205-a247d3b25a89")
+ )
+ (wire
+ (pts
+ (xy 170.18 87.63) (xy 170.18 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d084abe7-eff2-4896-815e-2368a677a2f1")
+ )
+ (wire
+ (pts
+ (xy 125.73 90.17) (xy 135.89 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d3b623e1-02c1-4a20-b87f-c71c33d9edb6")
+ )
+ (wire
+ (pts
+ (xy 151.13 76.2) (xy 170.18 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e84e79e9-47ca-40d7-a56f-88f7f998aff9")
+ )
+ (wire
+ (pts
+ (xy 135.89 63.5) (xy 135.89 55.88)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f788bc19-13a8-4187-9d81-08e82f57956f")
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 135.89 83.82 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "154ff894-cec7-48aa-a3e6-c75903c3d1da")
+ (property "Reference" "C1"
+ (at 139.7 82.5499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "0.1uF"
+ (at 139.7 85.0899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 136.8552 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 135.89 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 135.89 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "f421a9a4-15d5-45ff-8bd1-64d6d71c2c75")
+ )
+ (pin "1"
+ (uuid "b9afdf8c-2379-4dbe-824c-335ff5450abd")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 147.32 92.71 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "177966c7-0a73-457d-88a3-5e139fba1d12")
+ (property "Reference" "#FLG01"
+ (at 149.225 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 151.13 92.7099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 147.32 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 147.32 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 147.32 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "858ee2d7-042d-4bbb-aa06-467ae482a37d")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Connector:Conn_01x02_Pin")
+ (at 196.85 85.09 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3dd0842d-768e-4495-837f-605cc1f24928")
+ (property "Reference" "J3"
+ (at 198.12 82.5499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "Conn_01x02_Pin"
+ (at 198.12 85.0899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 196.85 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 196.85 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic connector, single row, 01x02, script generated"
+ (at 196.85 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "32120d26-b7a7-4c71-abca-61815f9fb259")
+ )
+ (pin "2"
+ (uuid "178b6dee-1aaf-4b0a-86ce-03e722a3c4ed")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "J3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_Polarized")
+ (at 151.13 83.82 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4d1e75a9-b24d-4424-ac81-e3713d90dcc4")
+ (property "Reference" "C3"
+ (at 154.94 81.6609 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "10uF"
+ (at 154.94 84.2009 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 152.0952 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 151.13 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 151.13 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4d56a79b-1223-4fa7-a97e-04f6813ef8e1")
+ )
+ (pin "2"
+ (uuid "827b7a6c-e8a9-41dd-9486-5f29cff27659")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "C3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Regulator_Linear:uA7805")
+ (at 143.51 55.88 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6b3f4820-2b03-45c6-ad43-c60f9aa3242f")
+ (property "Reference" "U1"
+ (at 143.51 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "uA7805"
+ (at 143.51 52.07 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 144.145 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/ua78.pdf"
+ (at 143.51 57.15 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263"
+ (at 143.51 55.88 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "d9055fa8-0ed5-4a63-98e8-ce357a7cf94a")
+ )
+ (pin "1"
+ (uuid "cfde8233-8885-4af1-bfb9-1e0d7f1c49b7")
+ )
+ (pin "3"
+ (uuid "c77dec37-ed9b-4d03-8840-09463c74d17d")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_Polarized")
+ (at 125.73 83.82 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "80c2b397-6b57-415c-9340-3e97f8201011")
+ (property "Reference" "C4"
+ (at 114.3 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "0.22uF"
+ (at 114.3 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 126.6952 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 125.73 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 125.73 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "a61f2724-d719-4671-8592-7a72ebc7dfe6")
+ )
+ (pin "2"
+ (uuid "402c0d44-32e7-4f70-9332-bd969d1a4508")
+ )
+ (instances
+ (project "kicad_votage regulator_circuit"
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "C4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 143.51 95.25 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "92ccaf70-cd4a-476a-aa2d-fd2f792f65a2")
+ (property "Reference" "#PWR01"
+ (at 143.51 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 143.51 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 143.51 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 143.51 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 143.51 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "88079d9b-a5d9-488b-80e1-17f7acba3d03")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:1N4001")
+ (at 119.38 76.2 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9c7e6126-b72f-4b07-a764-df95735ccd58")
+ (property "Reference" "D1"
+ (at 119.38 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1N4001"
+ (at 119.38 72.39 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 119.38 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 119.38 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "50V 1A General Purpose Rectifier Diode, DO-41"
+ (at 119.38 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 119.38 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 119.38 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "2ec01f60-dc9b-4f9b-8f6f-9f9b527346be")
+ )
+ (pin "1"
+ (uuid "848d867a-228c-4721-8e86-ebd651bed14e")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "D1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 128.27 63.5 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "a7de0f71-8795-4a78-8d09-94d951bcb726")
+ (property "Reference" "#FLG02"
+ (at 126.365 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 127 59.69 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 128.27 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 128.27 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 128.27 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "8592eb5d-452b-4dc2-bd91-c7acf35ad692")
+ )
+ (instances
+ (project "kicad_votage regulator_circuit"
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:VSIN")
+ (at 102.87 82.55 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "b212457a-b964-411c-9817-5e39c0e59b48")
+ (property "Reference" "V1"
+ (at 106.68 79.8801 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "12V"
+ (at 106.68 82.4201 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Voltage source, sinusoidal"
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=+ 2=-"
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Params" "dc=0 ampl=1 f=1k ac=1"
+ (at 95.504 86.868 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Sim.Type" "SIN"
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "V"
+ (at 102.87 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "bf098cb0-2e28-4c33-8af2-e1902f841d49")
+ )
+ (pin "2"
+ (uuid "fd332d4f-1107-43d8-9186-101fbcce0162")
+ )
+ (instances
+ (project ""
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "V1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 170.18 83.82 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ee504bd2-e9c8-4b42-811d-85701a99e132")
+ (property "Reference" "C2"
+ (at 173.99 82.5499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "0.1uF"
+ (at 173.99 85.0899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 171.1452 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 170.18 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 170.18 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "7b6523b6-c0a3-418b-b001-4442296a759c")
+ )
+ (pin "1"
+ (uuid "5edccb71-4d91-4a0a-ad57-8cfb35a03689")
+ )
+ (instances
+ (project "kicad_votage regulator_circuit"
+ (path "/0113088e-3a19-40a1-8243-d3163f6df2b8"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/main.py b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/main.py
new file mode 100644
index 0000000000..9d74a93ca2
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 1625e97a-b9b2-4e00-bacc-389cab5e5640."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "1625e97a-b9b2-4e00-bacc-389cab5e5640"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify the existing uA7805 regulated 5V power supply by adding a power-on indicator LED with a 1 kΩ series resistor across the 5V output to indicate when the supply is active. Add a 1 kΩ minimum load resistor across the 5V output to help maintain stable regulation. Also add a 1N4001 diode between the regulator output and input to protect the regulator. Keep all existing components and connections unchanged.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/pyproject.toml
new file mode 100644
index 0000000000..3087a4739c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-1625e97a-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify the existing uA7805 regulated 5V power supply by adding a power-on indicator LED with a 1 kΩ series resistor across the 5V output to indicate when the supply is active. Add a 1 kΩ minimum load resistor across the 5V output to help maintain stable regulation. Also add a 1N4001 diode between the regulator output and input to protect the regulator. Keep all existing components and connections unchanged."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/reference.net
new file mode 100644
index 0000000000..7193551bdc
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/1625e97a/reference.net
@@ -0,0 +1,382 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Downloads/kicad_voltage regulator_circuit_modify/kicad_voltage regulator_circuit_modify.kicad_sch")
+ (date "2026-03-02T03:14:08-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_voltage regulator_circuit_modify.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "0.1uF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "154ff894-cec7-48aa-a3e6-c75903c3d1da"))
+ (comp (ref "C2")
+ (value "0.1uF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ee504bd2-e9c8-4b42-811d-85701a99e132"))
+ (comp (ref "C3")
+ (value "10uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4d1e75a9-b24d-4424-ac81-e3713d90dcc4"))
+ (comp (ref "C4")
+ (value "0.22uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "80c2b397-6b57-415c-9340-3e97f8201011"))
+ (comp (ref "D1")
+ (value "1N4001")
+ (footprint "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (description "50V 1A General Purpose Rectifier Diode, DO-41")
+ (fields
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "50V 1A General Purpose Rectifier Diode, DO-41"))
+ (libsource (lib "Diode") (part "1N4001") (description "50V 1A General Purpose Rectifier Diode, DO-41"))
+ (property (name "Sim.Device") (value "D"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode"))
+ (property (name "ki_fp_filters") (value "D*DO?41*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9c7e6126-b72f-4b07-a764-df95735ccd58"))
+ (comp (ref "D2")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "0968904e-4f0b-4372-a969-c3b52f49b8e7"))
+ (comp (ref "D3")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "61dd576d-5272-4ad3-92e8-f40c3f021437"))
+ (comp (ref "J3")
+ (value "Conn_01x02_Pin")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (libsource (lib "Connector") (part "Conn_01x02_Pin") (description "Generic connector, single row, 01x02, script generated"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3dd0842d-768e-4495-837f-605cc1f24928"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "488299e5-c8b7-45cc-b35b-68e6a1504481"))
+ (comp (ref "R2")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "fedf9ac6-0914-4d18-9aa8-309296adb2e3"))
+ (comp (ref "U1")
+ (value "uA7805")
+ (datasheet "http://www.ti.com/lit/ds/symlink/ua78.pdf")
+ (description "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/ua78.pdf")
+ (field (name "Description") "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263"))
+ (libsource (lib "Regulator_Linear") (part "uA7805") (description "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Voltage Regulator 1A Positive"))
+ (property (name "ki_fp_filters") (value "TO?263* TO?220*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6b3f4820-2b03-45c6-ad43-c60f9aa3242f"))
+ (comp (ref "V1")
+ (value "12V")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (description "Voltage source, sinusoidal")
+ (fields
+ (field (name "Sim.Pins") "1=+ 2=-")
+ (field (name "Sim.Params") "dc=0 ampl=1 f=1k ac=1")
+ (field (name "Sim.Type") "SIN")
+ (field (name "Sim.Device") "V")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (field (name "Description") "Voltage source, sinusoidal"))
+ (libsource (lib "Simulation_SPICE") (part "VSIN") (description "Voltage source, sinusoidal"))
+ (property (name "Sim.Pins") (value "1=+ 2=-"))
+ (property (name "Sim.Params") (value "dc=0 ampl=1 f=1k ac=1"))
+ (property (name "Sim.Type") (value "SIN"))
+ (property (name "Sim.Device") (value "V"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltage regulator_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation ac vac"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "b212457a-b964-411c-9817-5e39c0e59b48")))
+ (libparts
+ (libpart (lib "Connector") (part "Conn_01x02_Pin")
+ (description "Generic connector, single row, 01x02, script generated")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02_Pin")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized")
+ (description "Polarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Diode") (part "1N4001")
+ (description "50V 1A General Purpose Rectifier Diode, DO-41")
+ (docs "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (footprints
+ (fp "D*DO?41*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "1N4001")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "50V 1A General Purpose Rectifier Diode, DO-41")
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Regulator_Linear") (part "uA7805")
+ (description "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263")
+ (docs "http://www.ti.com/lit/ds/symlink/ua78.pdf")
+ (footprints
+ (fp "TO?263*")
+ (fp "TO?220*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "uA7805")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/ua78.pdf")
+ (field (name "Description") "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220/TO-263"))
+ (pins
+ (pin (num "1") (name "IN") (type "power_in"))
+ (pin (num "2") (name "GND") (type "power_in"))
+ (pin (num "3") (name "OUT") (type "power_out"))))
+ (libpart (lib "Simulation_SPICE") (part "VSIN")
+ (description "Voltage source, sinusoidal")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (fields
+ (field (name "Reference") "V")
+ (field (name "Value") "VSIN")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (field (name "Description") "Voltage source, sinusoidal")
+ (field (name "Sim.Pins") "1=+ 2=-")
+ (field (name "Sim.Params") "dc=0 ampl=1 f=1k ac=1")
+ (field (name "Sim.Type") "SIN")
+ (field (name "Sim.Device") "V"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Connector")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Diode")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Diode.kicad_sym"))
+ (library (logical "Regulator_Linear")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Regulator_Linear.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "J3") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "V1") (pin "2") (pintype "passive")))
+ (net (code "2") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "V1") (pin "1") (pintype "passive")))
+ (net (code "3") (name "Net-(D1-K)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "D3") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "IN") (pintype "power_in")))
+ (net (code "4") (name "Net-(D2-A)") (class "Default")
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "5") (name "Net-(D3-K)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "D3") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "J3") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "OUT") (pintype "power_out")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_prl
new file mode 100644
index 0000000000..4bba168b50
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_BandpassFilter_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro
new file mode 100644
index 0000000000..dec033ca3d
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_BandpassFilter_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "07556898-d6ec-4597-8c54-15419c52c836",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_sch
new file mode 100644
index 0000000000..7afb15b585
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_sch
@@ -0,0 +1,3118 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "07556898-d6ec-4597-8c54-15419c52c836")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Amplifier_Operational:TL072"
+ (pin_names
+ (offset 0.127)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at 0 5.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "TL072"
+ (at 0 -5.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl071.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_locked" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "ki_keywords" "dual opamp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "TL072_1_1"
+ (polyline
+ (pts
+ (xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "TL072_2_1"
+ (polyline
+ (pts
+ (xy -5.08 5.08) (xy 5.08 0) (xy -5.08 -5.08) (xy -5.08 5.08)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "6"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "7"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "TL072_3_1"
+ (pin power_in line
+ (at -2.54 7.62 270)
+ (length 3.81)
+ (name "V+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "8"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 -7.62 90)
+ (length 3.81)
+ (name "V-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Simulation_SPICE:VSIN"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.0254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "V"
+ (at 2.54 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "VSIN"
+ (at 2.54 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Voltage source, sinusoidal"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=+ 2=-"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Params" "dc=0 ampl=1 f=1k ac=1"
+ (at 2.54 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Sim.Type" "SIN"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "V"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "simulation ac vac"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "VSIN_0_0"
+ (arc
+ (start -1.27 0)
+ (mid -0.635 0.6323)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 1.27 0)
+ (mid 0.635 -0.6323)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (text "+"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (symbol "VSIN_0_1"
+ (circle
+ (center 0 0)
+ (radius 2.54)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "VSIN_1_1"
+ (pin passive line
+ (at 0 5.08 270)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -5.08 90)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+15V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+15V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+15V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:-15V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "-15V_0_0"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "-15V_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy 0.762 1.27) (xy 0 2.54) (xy -0.762 1.27) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 187.96 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "51876f7e-2d56-4c5c-aaba-ffab3bd2aded")
+ )
+ (junction
+ (at 157.48 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "70a39082-dcbc-4fa3-a7ae-27d2a603e960")
+ )
+ (junction
+ (at 167.64 58.42)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "8a4209ca-15ea-427b-b9d5-e517073caa44")
+ )
+ (junction
+ (at 236.22 91.44)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "97a0c59d-42fc-4767-8ae4-d497f91e43ba")
+ )
+ (junction
+ (at 208.28 76.2)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "9d37d519-4658-4332-b46d-10c3f456fea9")
+ )
+ (junction
+ (at 208.28 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "bfd768b6-be4a-49b2-aabc-1219c793cb51")
+ )
+ (junction
+ (at 132.08 86.36)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "c7ae3739-51c4-4872-8319-7a9c17f48fc7")
+ )
+ (junction
+ (at 167.64 73.66)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "f0e99363-4ecd-4bc2-b2bd-4eb708ea4af7")
+ )
+ (junction
+ (at 111.76 86.36)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "f4cfd29b-9a93-4754-ad67-149ada614f0c")
+ )
+ (wire
+ (pts
+ (xy 132.08 73.66) (xy 132.08 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "0e013cb7-06ea-432a-8671-667f86a5c9c6")
+ )
+ (wire
+ (pts
+ (xy 167.64 71.12) (xy 167.64 73.66)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "12228106-38ca-4fa1-88ff-2fc9db073012")
+ )
+ (wire
+ (pts
+ (xy 200.66 88.9) (xy 208.28 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "298e95a6-abd5-4b52-995b-08f24d84a768")
+ )
+ (wire
+ (pts
+ (xy 111.76 63.5) (xy 111.76 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3276f94a-352e-42cf-9331-184771826525")
+ )
+ (wire
+ (pts
+ (xy 236.22 63.5) (xy 236.22 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "35715938-ee55-4e53-95d2-24d7b7c407ac")
+ )
+ (wire
+ (pts
+ (xy 157.48 88.9) (xy 172.72 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "35846a92-98bb-44e3-a3db-4eb822f8fbc3")
+ )
+ (wire
+ (pts
+ (xy 187.96 63.5) (xy 187.96 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "35be47ad-01e6-4f7d-8c11-c7d25cc998c7")
+ )
+ (wire
+ (pts
+ (xy 132.08 82.55) (xy 132.08 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "373adc02-f825-4b88-94f8-aac4ad0aa61f")
+ )
+ (wire
+ (pts
+ (xy 137.16 91.44) (xy 137.16 97.79)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "380903e2-03a5-4876-9abf-74d9cefba528")
+ )
+ (wire
+ (pts
+ (xy 217.17 101.6) (xy 236.22 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "40b1ae58-a103-4176-8c05-22b5754f9489")
+ )
+ (wire
+ (pts
+ (xy 208.28 85.09) (xy 208.28 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "51b99fbf-1845-4209-a155-fdf4af075a5d")
+ )
+ (wire
+ (pts
+ (xy 208.28 76.2) (xy 219.71 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "58545aa1-d974-4ca1-82f1-e233d3f5138c")
+ )
+ (wire
+ (pts
+ (xy 232.41 91.44) (xy 236.22 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "608484c8-e1f2-42e4-a5a3-e99a4f2f47d8")
+ )
+ (wire
+ (pts
+ (xy 139.7 91.44) (xy 137.16 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6831562f-24c8-48a6-92e9-19c7dbde84e7")
+ )
+ (wire
+ (pts
+ (xy 137.16 63.5) (xy 157.48 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "68e3f123-f745-4dcd-b1f8-ffe11a4defe3")
+ )
+ (wire
+ (pts
+ (xy 208.28 63.5) (xy 187.96 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6c281ad8-08c3-475f-9c0a-dcb338b375c4")
+ )
+ (wire
+ (pts
+ (xy 236.22 101.6) (xy 236.22 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6f55d129-018d-4ea2-9665-f24b73b9e370")
+ )
+ (wire
+ (pts
+ (xy 157.48 97.79) (xy 157.48 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7d6ca732-733f-4441-88ef-7d4dad83fbed")
+ )
+ (wire
+ (pts
+ (xy 137.16 97.79) (xy 157.48 97.79)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "82864048-8980-4b89-8323-22eddb44be3a")
+ )
+ (wire
+ (pts
+ (xy 208.28 88.9) (xy 217.17 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "878cd772-6f12-4f81-8179-3406a672bd46")
+ )
+ (wire
+ (pts
+ (xy 217.17 93.98) (xy 217.17 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "88787dde-05d9-4306-80fb-83eb9fd285de")
+ )
+ (wire
+ (pts
+ (xy 99.06 86.36) (xy 93.98 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8dce1cc0-2c32-4de5-ae8d-3d283f40cb6a")
+ )
+ (wire
+ (pts
+ (xy 187.96 88.9) (xy 193.04 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "99f27001-a199-4794-a16c-894197037366")
+ )
+ (wire
+ (pts
+ (xy 180.34 88.9) (xy 187.96 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9db57722-54dd-432f-8c26-b9340c4f114f")
+ )
+ (wire
+ (pts
+ (xy 111.76 86.36) (xy 116.84 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "aa5e9cc4-5348-4ed3-8a01-e29f45655a38")
+ )
+ (wire
+ (pts
+ (xy 124.46 86.36) (xy 132.08 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "aedb6152-7153-4516-932b-18c1a0cca924")
+ )
+ (wire
+ (pts
+ (xy 162.56 71.12) (xy 167.64 71.12)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b0691273-e2ea-4250-acea-0d58df3ff4cd")
+ )
+ (wire
+ (pts
+ (xy 236.22 91.44) (xy 243.84 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b728fd64-35cf-42d1-a047-4fb262976f38")
+ )
+ (wire
+ (pts
+ (xy 157.48 63.5) (xy 157.48 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c6f75803-a94b-41ba-9142-e6a3d023c908")
+ )
+ (wire
+ (pts
+ (xy 154.94 88.9) (xy 157.48 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ca150b57-5767-4bee-8fe9-cd92224832c9")
+ )
+ (wire
+ (pts
+ (xy 167.64 58.42) (xy 177.8 58.42)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d5be4a8a-582a-4305-a6e3-9cc77cdd37f5")
+ )
+ (wire
+ (pts
+ (xy 93.98 86.36) (xy 93.98 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d939fb3f-277f-4720-bb79-67c7f29b5f70")
+ )
+ (wire
+ (pts
+ (xy 129.54 63.5) (xy 111.76 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e0f856ed-b182-42bc-b347-6554123680c7")
+ )
+ (wire
+ (pts
+ (xy 215.9 63.5) (xy 236.22 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ed7ab625-299d-4c52-8f92-7c7a02d0fb0a")
+ )
+ (wire
+ (pts
+ (xy 208.28 76.2) (xy 208.28 77.47)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f1ae417a-3eea-45a5-951f-9c079dcc7b83")
+ )
+ (wire
+ (pts
+ (xy 106.68 86.36) (xy 111.76 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f288ba57-41ac-47fb-b98e-7822c476e7ad")
+ )
+ (wire
+ (pts
+ (xy 132.08 86.36) (xy 139.7 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f55c355f-d854-4f0e-bdb6-b520b5d33d1e")
+ )
+ (wire
+ (pts
+ (xy 93.98 106.68) (xy 93.98 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f560f74b-034e-4804-a4fe-5c91d7406d20")
+ )
+ (label "in"
+ (at 95.25 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ (uuid "1d1a84fe-a47b-4c7a-8268-cc47867c3a9a")
+ )
+ (label "Vo1"
+ (at 165.1 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ (uuid "5347323a-4bdb-4214-af22-6bb5db58b242")
+ )
+ (global_label "Vo2"
+ (shape input)
+ (at 243.84 91.44 0)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ (uuid "8364bd96-6231-4cf7-84f3-b59c53cd00ec")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 250.2723 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 93.98 110.49 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "0f622b6e-0a65-4c42-b2b4-a03a4328e121")
+ (property "Reference" "#PWR03"
+ (at 93.98 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 93.98 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 93.98 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 93.98 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 93.98 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4943519a-334a-45c1-9176-dc6c117ba2fa")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 196.85 88.9 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "16b2b4c6-971a-49b4-90fc-29b02cc5f66d")
+ (property "Reference" "R4"
+ (at 196.85 82.55 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 196.85 85.09 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 197.104 87.884 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 196.85 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 196.85 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "14becd85-6f66-4dcb-b030-a979aaf87090")
+ )
+ (pin "1"
+ (uuid "bb552177-3141-4904-b06d-b183c42cf97f")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "R4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 208.28 81.28 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "1966bada-7175-45f9-aa31-3bce1c390911")
+ (property "Reference" "C4"
+ (at 212.09 80.0099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "47n"
+ (at 212.09 82.5499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 209.2452 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 208.28 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 208.28 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "8a9127b4-3cd7-48e1-ae61-6e282cf4fb4a")
+ )
+ (pin "1"
+ (uuid "852deccb-f366-4ff2-9d1c-d607ba78349e")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "C4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Amplifier_Operational:TL072")
+ (at 147.32 88.9 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2efa9711-edf4-43d8-bacb-dc6fd9db29a2")
+ (property "Reference" "U1"
+ (at 147.32 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "TL072"
+ (at 147.32 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 147.32 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl071.pdf"
+ (at 147.32 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 147.32 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "3"
+ (uuid "f4ecc2f6-8616-4b17-bea3-270bd481621b")
+ )
+ (pin "7"
+ (uuid "38f4adcc-6422-4ca3-a5ff-d713daf89782")
+ )
+ (pin "5"
+ (uuid "0c44ffbb-229d-4b50-9e6d-96f0685c7542")
+ )
+ (pin "2"
+ (uuid "c328a1a8-4f51-4d4f-b6f1-d32ff3b57e7a")
+ )
+ (pin "6"
+ (uuid "fb95cf1e-efb1-44a4-8b0c-8dc6ae216934")
+ )
+ (pin "8"
+ (uuid "e8add059-1e9b-48de-a19b-f9589c8ef21b")
+ )
+ (pin "1"
+ (uuid "696b9204-da20-4c50-a85a-137d44127289")
+ )
+ (pin "4"
+ (uuid "26508d59-6c21-4235-a445-ba1aab51f442")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 162.56 71.12 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "42848bad-0a9b-4696-ba9a-394634bb8ec3")
+ (property "Reference" "#FLG05"
+ (at 160.655 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 158.75 71.1199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 162.56 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 162.56 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 162.56 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "274e7e86-34cc-4fb8-8b12-9dc4d9a8a71d")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#FLG05")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:VSIN")
+ (at 93.98 101.6 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "65be704e-3bca-4f53-a87d-bad605313852")
+ (property "Reference" "V1"
+ (at 97.79 98.9301 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "VSIN"
+ (at 97.79 101.4701 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Voltage source, sinusoidal"
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=+ 2=-"
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Params" "dc=0 ampl=1 f=1k ac=1"
+ (at 97.79 104.0101 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Sim.Type" "SIN"
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "V"
+ (at 93.98 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "f1be6afa-f5a0-45f5-995d-279ff4d02625")
+ )
+ (pin "2"
+ (uuid "fda45d86-ba86-4211-aff6-091c9a47f41b")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "V1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 132.08 78.74 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "7c2bfae9-2b62-4c43-912d-7587c8e82228")
+ (property "Reference" "R2"
+ (at 134.62 77.4699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "27k"
+ (at 134.62 80.0099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 133.096 78.994 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 132.08 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 132.08 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "31f596dc-54a6-49d7-8095-73231f743eab")
+ )
+ (pin "1"
+ (uuid "7a24821a-d184-4aaf-87f5-f0142cadcc0c")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 212.09 63.5 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "82a8dc96-407c-4ef4-95d2-cbaee1ffbb39")
+ (property "Reference" "C3"
+ (at 212.09 55.88 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "47n"
+ (at 212.09 58.42 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 215.9 62.5348 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 212.09 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 212.09 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "86ce913e-5224-4607-abc1-344eca867bd5")
+ )
+ (pin "1"
+ (uuid "5514ddb4-399b-4ab0-868b-3cee91a73fb6")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "C3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+15V")
+ (at 167.64 58.42 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9044ac40-de3e-4f8b-b44c-ad05c344e034")
+ (property "Reference" "#PWR06"
+ (at 167.64 62.23 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 167.64 53.34 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 167.64 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 167.64 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 167.64 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "253251fc-2f9a-4f31-98fc-3cec57e01708")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#PWR06")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 120.65 86.36 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "92566591-01f0-4894-bafb-8e585306621f")
+ (property "Reference" "C2"
+ (at 120.65 78.74 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "220n"
+ (at 120.65 81.28 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 124.46 85.3948 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 120.65 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 120.65 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "e7d10746-031f-44bf-8680-ab1ca6fc9e86")
+ )
+ (pin "1"
+ (uuid "8c12a237-bfdd-4878-94ea-e776a0d80232")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Amplifier_Operational:TL072")
+ (at 170.18 66.04 0)
+ (unit 3)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "93d82354-7fbe-40c0-a85b-d330ca3206c8")
+ (property "Reference" "U1"
+ (at 168.91 64.7699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "TL072"
+ (at 168.91 67.3099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 170.18 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl071.pdf"
+ (at 170.18 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 170.18 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "3"
+ (uuid "f4ecc2f6-8616-4b17-bea3-270bd481621b")
+ )
+ (pin "7"
+ (uuid "38f4adcc-6422-4ca3-a5ff-d713daf89782")
+ )
+ (pin "5"
+ (uuid "0c44ffbb-229d-4b50-9e6d-96f0685c7542")
+ )
+ (pin "2"
+ (uuid "c328a1a8-4f51-4d4f-b6f1-d32ff3b57e7a")
+ )
+ (pin "6"
+ (uuid "fb95cf1e-efb1-44a4-8b0c-8dc6ae216934")
+ )
+ (pin "8"
+ (uuid "e8add059-1e9b-48de-a19b-f9589c8ef21b")
+ )
+ (pin "1"
+ (uuid "696b9204-da20-4c50-a85a-137d44127289")
+ )
+ (pin "4"
+ (uuid "26508d59-6c21-4235-a445-ba1aab51f442")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "U1")
+ (unit 3)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 133.35 63.5 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "957148fa-9a7a-4a98-94a7-020c95000106")
+ (property "Reference" "R1"
+ (at 133.35 57.15 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "27k"
+ (at 133.35 59.69 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 133.604 62.484 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 133.35 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 133.35 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "ac7a04bd-1d80-4b9b-b2b2-2ee6310207fe")
+ )
+ (pin "1"
+ (uuid "5b25009d-0460-4a4c-b31c-55e7b9f2848d")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 102.87 86.36 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9f8c2797-3f9d-42b1-9a18-b19ed8b80a7c")
+ (property "Reference" "C1"
+ (at 102.87 78.74 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "220n"
+ (at 102.87 81.28 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 106.68 85.3948 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 102.87 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 102.87 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "1cb948b5-43cb-440a-b7de-b0e41e75bd30")
+ )
+ (pin "1"
+ (uuid "18856541-e9d6-4b67-af16-75e42f03d23b")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 208.28 76.2 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ab0eadf3-4e0c-42f7-b0cd-f7bfa8a63da4")
+ (property "Reference" "#PWR02"
+ (at 208.28 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 208.28 70.9741 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 208.28 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 208.28 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 208.28 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "59f720f5-d766-44c7-b781-304c8d180666")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 132.08 73.66 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "b9c865bf-00ba-4829-b05f-ea64296e05f0")
+ (property "Reference" "#PWR01"
+ (at 132.08 67.31 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 132.08 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 132.08 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 132.08 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 132.08 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "a3ab1fcf-50cf-41ee-9884-c4784bcc9237")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 219.71 76.2 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c886cce8-57ad-4c34-9d92-3fedefe65c20")
+ (property "Reference" "#FLG04"
+ (at 221.615 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 223.52 76.1999 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 219.71 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 219.71 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 219.71 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ca1a5070-4aac-44b8-b7d3-42bf75757bcf")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#FLG04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:-15V")
+ (at 167.64 73.66 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "dee8b1d2-62a8-402e-9b50-ef605719ca13")
+ (property "Reference" "#PWR07"
+ (at 167.64 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 167.64 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 167.64 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 167.64 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 167.64 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4f56df86-a80f-4b52-85d6-92990506bc25")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#PWR07")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Amplifier_Operational:TL072")
+ (at 224.79 91.44 0)
+ (unit 2)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e27f1e83-114c-420a-ba3a-bcca4bd32c6d")
+ (property "Reference" "U1"
+ (at 224.79 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "TL072"
+ (at 224.79 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 224.79 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl071.pdf"
+ (at 224.79 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"
+ (at 224.79 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "3"
+ (uuid "f4ecc2f6-8616-4b17-bea3-270bd481621b")
+ )
+ (pin "7"
+ (uuid "38f4adcc-6422-4ca3-a5ff-d713daf89782")
+ )
+ (pin "5"
+ (uuid "0c44ffbb-229d-4b50-9e6d-96f0685c7542")
+ )
+ (pin "2"
+ (uuid "c328a1a8-4f51-4d4f-b6f1-d32ff3b57e7a")
+ )
+ (pin "6"
+ (uuid "fb95cf1e-efb1-44a4-8b0c-8dc6ae216934")
+ )
+ (pin "8"
+ (uuid "e8add059-1e9b-48de-a19b-f9589c8ef21b")
+ )
+ (pin "1"
+ (uuid "696b9204-da20-4c50-a85a-137d44127289")
+ )
+ (pin "4"
+ (uuid "26508d59-6c21-4235-a445-ba1aab51f442")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "U1")
+ (unit 2)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 177.8 58.42 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f550ef7e-5270-458c-b424-9add8e094610")
+ (property "Reference" "#FLG01"
+ (at 179.705 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 181.61 58.4199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 177.8 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 177.8 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 177.8 58.42 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "7947052c-398d-4b78-9c89-c063837905fd")
+ )
+ (instances
+ (project ""
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 176.53 88.9 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f7c53bec-ca5c-4876-b675-91787302672f")
+ (property "Reference" "R3"
+ (at 176.53 82.55 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 176.53 85.09 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 176.784 87.884 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 176.53 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 176.53 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "0d07bc8d-a147-413b-b83f-74531e46987d")
+ )
+ (pin "1"
+ (uuid "b3ee25f7-cda3-4d08-90bd-2a188e02b141")
+ )
+ (instances
+ (project "kicad_BandpassFilter_circuit"
+ (path "/07556898-d6ec-4597-8c54-15419c52c836"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/main.py b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/main.py
new file mode 100644
index 0000000000..5d4958d768
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/main.py
@@ -0,0 +1,103 @@
+"""Auto-generated cb task for KiCad submission 2c11fe94-d9da-47e4-8526-89fb97b19b6e."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "2c11fe94-d9da-47e4-8526-89fb97b19b6e"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''The given schematic shows a cascaded active filter system implemented with a TL072 dual op-amp. The first stage is a Sallen-Key high-pass filter followed by a Sallen-Key low-pass filter.
+Modify the circuit to lower the cutoff frequency of the low-pass stage by changing the low-pass capacitor from 47nF to 100nF. In addition, add a 10kΩ load resistor from the final output node (Vo2) to ground to evaluate its behavior under practical loading conditions. Keep all other components unchanged and provide the updated schematic.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/pyproject.toml
new file mode 100644
index 0000000000..253f6b5665
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-2c11fe94-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "The given schematic shows a cascaded active filter system implemented with a TL072 dual op-amp. The first stage is a Sallen-Key high-pass filter followed by a Sallen-Key low-pass filter. Modify the circuit to lower the cutoff frequency of the low-pass stage by changing the low-pass capacitor from 47nF to 100nF. In addition, add a 10kΩ load resistor from the final output node (Vo2) to ground to evaluate its behavior under practical loading conditions. Keep all other components unchanged and provide the updated schematic."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/reference.net
new file mode 100644
index 0000000000..8cd0af86a6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/2c11fe94/reference.net
@@ -0,0 +1,329 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Downloads/kicad_BandPassFilter_circuit_modify/kicad_BandPassFilter_circuit_modify.kicad_sch")
+ (date "2026-03-01T18:35:43-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_BandPassFilter_circuit_modify.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "220n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9f8c2797-3f9d-42b1-9a18-b19ed8b80a7c"))
+ (comp (ref "C2")
+ (value "220n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "92566591-01f0-4894-bafb-8e585306621f"))
+ (comp (ref "C3")
+ (value "47n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "82a8dc96-407c-4ef4-95d2-cbaee1ffbb39"))
+ (comp (ref "C4")
+ (value "100n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1966bada-7175-45f9-aa31-3bce1c390911"))
+ (comp (ref "R1")
+ (value "27k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "957148fa-9a7a-4a98-94a7-020c95000106"))
+ (comp (ref "R2")
+ (value "27k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7c2bfae9-2b62-4c43-912d-7587c8e82228"))
+ (comp (ref "R3")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f7c53bec-ca5c-4876-b675-91787302672f"))
+ (comp (ref "R4")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "16b2b4c6-971a-49b4-90fc-29b02cc5f66d"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a6a1b3d7-f85e-4cd3-bc2f-c885be0b8fe6"))
+ (comp (ref "U1")
+ (value "TL072")
+ (datasheet "http://www.ti.com/lit/ds/symlink/tl071.pdf")
+ (description "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/tl071.pdf")
+ (field (name "Description") "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"))
+ (libsource (lib "Amplifier_Operational") (part "TL072") (description "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "dual opamp"))
+ (property (name "ki_fp_filters") (value "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e27f1e83-114c-420a-ba3a-bcca4bd32c6d" "93d82354-7fbe-40c0-a85b-d330ca3206c8" "2efa9711-edf4-43d8-bacb-dc6fd9db29a2"))
+ (comp (ref "V1")
+ (value "VSIN")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (description "Voltage source, sinusoidal")
+ (fields
+ (field (name "Sim.Pins") "1=+ 2=-")
+ (field (name "Sim.Params") "dc=0 ampl=1 f=1k ac=1")
+ (field (name "Sim.Type") "SIN")
+ (field (name "Sim.Device") "V")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (field (name "Description") "Voltage source, sinusoidal"))
+ (libsource (lib "Simulation_SPICE") (part "VSIN") (description "Voltage source, sinusoidal"))
+ (property (name "Sim.Pins") (value "1=+ 2=-"))
+ (property (name "Sim.Params") (value "dc=0 ampl=1 f=1k ac=1"))
+ (property (name "Sim.Type") (value "SIN"))
+ (property (name "Sim.Device") (value "V"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_BandPassFilter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation ac vac"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "65be704e-3bca-4f53-a87d-bad605313852")))
+ (libparts
+ (libpart (lib "Amplifier_Operational") (part "TL072")
+ (description "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8")
+ (docs "http://www.ti.com/lit/ds/symlink/tl071.pdf")
+ (footprints
+ (fp "SOIC*3.9x4.9mm*P1.27mm*")
+ (fp "DIP*W7.62mm*")
+ (fp "TO*99*")
+ (fp "OnSemi*Micro8*")
+ (fp "TSSOP*3x3mm*P0.65mm*")
+ (fp "TSSOP*4.4x3mm*P0.65mm*")
+ (fp "MSOP*3x3mm*P0.65mm*")
+ (fp "SSOP*3.9x4.9mm*P0.635mm*")
+ (fp "LFCSP*2x2mm*P0.5mm*")
+ (fp "*SIP*")
+ (fp "SOIC*5.3x6.2mm*P1.27mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "TL072")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/tl071.pdf")
+ (field (name "Description") "Dual Low-Noise JFET-Input Operational Amplifiers, DIP-8/SOIC-8"))
+ (pins
+ (pin (num "1") (name "") (type "output"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "+") (type "input"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "+") (type "input"))
+ (pin (num "6") (name "-") (type "input"))
+ (pin (num "7") (name "") (type "output"))
+ (pin (num "8") (name "V+") (type "power_in"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Simulation_SPICE") (part "VSIN")
+ (description "Voltage source, sinusoidal")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (fields
+ (field (name "Reference") "V")
+ (field (name "Value") "VSIN")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for")
+ (field (name "Description") "Voltage source, sinusoidal")
+ (field (name "Sim.Pins") "1=+ 2=-")
+ (field (name "Sim.Params") "dc=0 ampl=1 f=1k ac=1")
+ (field (name "Sim.Type") "SIN")
+ (field (name "Sim.Device") "V"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Amplifier_Operational")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Amplifier_Operational.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "+15V") (class "Default")
+ (node (ref "U1") (pin "8") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "-15V") (class "Default")
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "/Vo1") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pintype "output"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "4") (name "/in") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "V1") (pin "1") (pintype "passive")))
+ (net (code "5") (name "GND") (class "Default")
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive"))
+ (node (ref "V1") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(C1-Pad2)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive")))
+ (net (code "7") (name "Net-(C3-Pad1)") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "8") (name "Net-(U1A-+)") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "+") (pintype "input")))
+ (net (code "9") (name "Net-(U1B-+)") (class "Default")
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "+") (pintype "input")))
+ (net (code "10") (name "Vo2") (class "Default")
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "6") (pinfunction "-") (pintype "input"))
+ (node (ref "U1") (pin "7") (pintype "output")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/34877be3/main.py b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/main.py
new file mode 100644
index 0000000000..3170c93e26
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 34877be3-b628-4b67-bfef-6ac7007e4514."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "34877be3-b628-4b67-bfef-6ac7007e4514"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='Please draw a clean schematic in KiCAD for a 9V battery driving two infrared LN271 LEDs. The battery positive terminal is first connected to a 100 ohm current limiting resistor followed by the two LEDs.',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/34877be3/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/pyproject.toml
new file mode 100644
index 0000000000..c44d171634
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-34877be3-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Please draw a clean schematic in KiCAD for a 9V battery driving two infrared LN271 LEDs. The battery positive terminal is first connected to a 100 ohm current limiting resistor followed by the two LEDs."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/34877be3/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/reference.net
new file mode 100644
index 0000000000..8fdf87ca38
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/34877be3/reference.net
@@ -0,0 +1,151 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_twoleds_circuit\\kicad_twoleds_circuit.kicad_sch")
+ (date "2026-02-21T08:55:40-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_twoleds_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "BT1")
+ (value "9V")
+ (datasheet "~")
+ (description "Multiple-cell battery")
+ (fields
+ (field (name "Sim.Device") "V")
+ (field (name "Sim.Type") "DC")
+ (field (name "Sim.Pins") "1=+ 2=-")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Multiple-cell battery"))
+ (libsource (lib "Device") (part "Battery") (description "Multiple-cell battery"))
+ (property (name "Sim.Device") (value "V"))
+ (property (name "Sim.Type") (value "DC"))
+ (property (name "Sim.Pins") (value "1=+ 2=-"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "batt voltage-source cell"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "5f208444-0d41-49ee-8550-b93a39c6259c"))
+ (comp (ref "D1")
+ (value "LD271")
+ (footprint "LED_THT:LED_D5.0mm_IRGrey")
+ (datasheet "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (description "940nm IR-LED, 5mm")
+ (fields
+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")
+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (field (name "Description") "940nm IR-LED, 5mm"))
+ (libsource (lib "LED") (part "LD271") (description "940nm IR-LED, 5mm"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "IR LED"))
+ (property (name "ki_fp_filters") (value "LED*5.0mm*IRGrey*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "db671492-52ef-4036-9b22-63809de3d580"))
+ (comp (ref "D2")
+ (value "LD271")
+ (footprint "LED_THT:LED_D5.0mm_IRGrey")
+ (datasheet "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (description "940nm IR-LED, 5mm")
+ (fields
+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")
+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (field (name "Description") "940nm IR-LED, 5mm"))
+ (libsource (lib "LED") (part "LD271") (description "940nm IR-LED, 5mm"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "IR LED"))
+ (property (name "ki_fp_filters") (value "LED*5.0mm*IRGrey*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3db23627-a8db-43c9-8f90-ac2d085e5e0b"))
+ (comp (ref "R1")
+ (value "100")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_twoleds_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7dff9775-d21d-46ed-83bf-d00909117faa")))
+ (libparts
+ (libpart (lib "Device") (part "Battery")
+ (description "Multiple-cell battery")
+ (docs "~")
+ (fields
+ (field (name "Reference") "BT")
+ (field (name "Value") "Battery")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Multiple-cell battery")
+ (field (name "Sim.Device") "V")
+ (field (name "Sim.Type") "DC")
+ (field (name "Sim.Pins") "1=+ 2=-"))
+ (pins
+ (pin (num "1") (name "+") (type "passive"))
+ (pin (num "2") (name "-") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "LED") (part "LD271")
+ (description "940nm IR-LED, 5mm")
+ (docs "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (footprints
+ (fp "LED*5.0mm*IRGrey*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LD271")
+ (field (name "Footprint") "LED_THT:LED_D5.0mm_IRGrey")
+ (field (name "Datasheet") "http://www.alliedelec.com/m/d/40788c34903a719969df15f1fbea1056.pdf")
+ (field (name "Description") "940nm IR-LED, 5mm"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "LED")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/LED.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "BT1") (pin "2") (pinfunction "-") (pintype "passive"))
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive")))
+ (net (code "2") (name "Net-(BT1-+)") (class "Default")
+ (node (ref "BT1") (pin "1") (pinfunction "+") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive")))
+ (net (code "3") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "4") (name "Net-(D1-K)") (class "Default")
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/main.py b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/main.py
new file mode 100644
index 0000000000..460b32203e
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/main.py
@@ -0,0 +1,109 @@
+"""Auto-generated cb task for KiCad submission 458f5f5c-1347-479c-a94b-9bf4748de65a."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "458f5f5c-1347-479c-a94b-9bf4748de65a"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a microphone preamplifier that conditions a raw mic signal into a clean, ADC-safe input for a 3.3 V microcontroller.
+* The circuit connects to the microphone using a 2-pole audio jack connector with both tip and shield switches. The connect detect terminals are not used and are simply shorted to each other.
+* Use one 56k kΩ resistor to provide a power bias to the microphone.
+* Use an LM741 op-amp powered from a +12 V single supply in a non-inverting configuration. Use two other 56 kΩ resistors to create a mid-rail bias reference for the opamp input. A 4.7 µF electrolytic capacitor is used to AC-couple the microphone signal into the biased opamp input.
+* Configure adjustable gain using a 50 kΩ potentiometer (RV1) in the feedback path, and include a 1.1 kΩ resistor and a 4.7 µF capacitor connected to the inverting input as part of the gain-setting and low-frequency shaping network.
+* At the output, include a 1.1 kΩ load resistor and AC-couple the output using a 4.7 µF capacitor.
+* After the coupling capacitor, add an ADC interface that strongly attenuates the signal using an 18 kΩ / 1.1 kΩ divider and clamps the ADC node with two Schottky diodes to the 3.3 V rail and ground for input protection.
+* Tie all grounds together and generate the complete schematic.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/pyproject.toml
new file mode 100644
index 0000000000..f9d2ece336
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-458f5f5c-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a microphone preamplifier that conditions a raw mic signal into a clean, ADC-safe input for a 3.3 V microcontroller. * The circuit connects to the microphone using a 2-pole audio jack connector with both tip and shield switches. The connect detect terminals are not used and are simply shorted to each other. * Use one 56k kΩ resistor to provide a power bias to the microphone. * Use an LM741 op-amp powered from a +12 V single supply in a non-inverting configuration. Use two other 56 kΩ resistors to create a mid-rail bias reference for the opamp input. A 4.7 µF electrolytic capacitor is used to AC-couple the microphone signal into the biased opamp input. * Configure adjustable gain using a 50 kΩ potentiometer (RV1) in the feedback path, and include a 1.1 kΩ resistor and a 4.7 µF capacitor connected to the inverting input as part of the gain-setting and low-frequency shaping network. * At the output, include a 1.1 kΩ load resistor and AC-couple the output using a 4.7 µF capacitor. * After the coupling capacitor, add an ADC interface that strongly attenuates the signal using an 18 kΩ / 1.1 kΩ divider and clamps the ADC node with two Schottky diodes to the 3.3 V rail and ground for input protection. * Tie all grounds together and generate the complete schematic."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/reference.net
new file mode 100644
index 0000000000..57f68e59be
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/458f5f5c/reference.net
@@ -0,0 +1,407 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\Review\\MicPreamp\\kicad_Mic PreampV2_circuit\\kicad_Mic PreampV2_circuit.kicad_sch")
+ (date "2026-03-25T21:22:22-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_Mic PreampV2_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "4.7uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "19f15bfa-cb87-4746-b187-ee81eb8c2143"))
+ (comp (ref "C2")
+ (value "4.7uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "d02c14f3-eaac-46c5-ba80-dfed2604ea88"))
+ (comp (ref "C3")
+ (value "4.7uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "18504931-1bbb-41b9-bb76-b0048b3a2ee8"))
+ (comp (ref "D1")
+ (value "D_Schottky")
+ (datasheet "~")
+ (description "Schottky diode")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Schottky diode"))
+ (libsource (lib "Device") (part "D_Schottky") (description "Schottky diode"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "diode Schottky"))
+ (property (name "ki_fp_filters") (value "TO-???* *_Diode_* *SingleDiode* D_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9c1f1bb2-9e9b-4b62-8e43-602749270454"))
+ (comp (ref "D2")
+ (value "D_Schottky")
+ (datasheet "~")
+ (description "Schottky diode")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Schottky diode"))
+ (libsource (lib "Device") (part "D_Schottky") (description "Schottky diode"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "diode Schottky"))
+ (property (name "ki_fp_filters") (value "TO-???* *_Diode_* *SingleDiode* D_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "56b7d90c-bbff-46a0-863e-ceee7a21842f"))
+ (comp (ref "J2")
+ (value "MIC_IN")
+ (datasheet "~")
+ (description "Audio Jack, 2 Poles (Mono / TS), Switched Pole (Normalling)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Audio Jack, 2 Poles (Mono / TS), Switched Pole (Normalling)"))
+ (libsource (lib "Connector_Audio") (part "AudioJack2_Switch") (description "Audio Jack, 2 Poles (Mono / TS), Switched Pole (Normalling)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "audio jack receptacle mono headphones phone TS connector"))
+ (property (name "ki_fp_filters") (value "Jack*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "cde6d4ae-e158-43af-bace-d30b692def80"))
+ (comp (ref "R1")
+ (value "56k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "26c5ef79-8b3b-4e5f-9f39-acde522d705e"))
+ (comp (ref "R2")
+ (value "56k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "d241578c-83a5-4f7d-8fdc-97ebd83c25c3"))
+ (comp (ref "R3")
+ (value "56k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "5ad8773c-5d68-4d83-8153-32441b717ce7"))
+ (comp (ref "R4")
+ (value "1k1")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "07462a38-9026-4b01-8ea1-10cacd5ef1d0"))
+ (comp (ref "R6")
+ (value "1k1")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4b428963-6f25-473c-a607-0658f4437f06"))
+ (comp (ref "R7")
+ (value "1k1")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "18daf6ba-4933-438f-ae83-acce98491d56"))
+ (comp (ref "R8")
+ (value "18k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "69dc0478-efd7-4b98-9315-b33b9fab144f"))
+ (comp (ref "RV1")
+ (value "50k")
+ (datasheet "~")
+ (description "Potentiometer, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Potentiometer, US symbol"))
+ (libsource (lib "Device") (part "R_Potentiometer_US") (description "Potentiometer, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "resistor variable"))
+ (property (name "ki_fp_filters") (value "Potentiometer*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "70124630-435e-4828-bd81-3366f191df97"))
+ (comp (ref "U1")
+ (value "LM741")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm741.pdf")
+ (description "Operational Amplifier, DIP-8/TO-99-8")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm741.pdf")
+ (field (name "Description") "Operational Amplifier, DIP-8/TO-99-8"))
+ (libsource (lib "Amplifier_Operational") (part "LM741") (description "Operational Amplifier, DIP-8/TO-99-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_Mic PreampV2_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "single opamp"))
+ (property (name "ki_fp_filters") (value "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TSSOP*3x3mm*P0.65mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bef4b309-8bbc-4a92-a50b-8818c4aa8af6")))
+ (libparts
+ (libpart (lib "Amplifier_Operational") (part "LM741")
+ (description "Operational Amplifier, DIP-8/TO-99-8")
+ (docs "http://www.ti.com/lit/ds/symlink/lm741.pdf")
+ (footprints
+ (fp "SOIC*3.9x4.9mm*P1.27mm*")
+ (fp "DIP*W7.62mm*")
+ (fp "TSSOP*3x3mm*P0.65mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM741")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm741.pdf")
+ (field (name "Description") "Operational Amplifier, DIP-8/TO-99-8"))
+ (pins
+ (pin (num "1") (name "NULL") (type "input"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "+") (type "input"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "NULL") (type "input"))
+ (pin (num "6") (name "") (type "output"))
+ (pin (num "7") (name "V+") (type "power_in"))
+ (pin (num "8") (name "NC") (type "no_connect"))))
+ (libpart (lib "Connector_Audio") (part "AudioJack2_Switch")
+ (description "Audio Jack, 2 Poles (Mono / TS), Switched Pole (Normalling)")
+ (docs "~")
+ (footprints
+ (fp "Jack*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "AudioJack2_Switch")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Audio Jack, 2 Poles (Mono / TS), Switched Pole (Normalling)"))
+ (pins
+ (pin (num "S") (name "") (type "passive"))
+ (pin (num "SN") (name "") (type "passive"))
+ (pin (num "T") (name "") (type "passive"))
+ (pin (num "TN") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized")
+ (description "Polarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "D_Schottky")
+ (description "Schottky diode")
+ (docs "~")
+ (footprints
+ (fp "TO-???*")
+ (fp "*_Diode_*")
+ (fp "*SingleDiode*")
+ (fp "D_*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "D_Schottky")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Schottky diode"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R_Potentiometer_US")
+ (description "Potentiometer, US symbol")
+ (docs "~")
+ (footprints
+ (fp "Potentiometer*"))
+ (fields
+ (field (name "Reference") "RV")
+ (field (name "Value") "R_Potentiometer_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Potentiometer, US symbol"))
+ (pins
+ (pin (num "1") (name "1") (type "passive"))
+ (pin (num "2") (name "2") (type "passive"))
+ (pin (num "3") (name "3") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Amplifier_Operational")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Amplifier_Operational.kicad_sym"))
+ (library (logical "Connector_Audio")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Connector_Audio.kicad_sym"))
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym")))
+ (nets
+ (net (code "1") (name "+3.3VADC") (class "Default")
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "R8") (pin "1") (pintype "passive")))
+ (net (code "2") (name "+12V") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "7") (pinfunction "V+") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "J2") (pin "S") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "2") (pintype "passive"))
+ (node (ref "R7") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "4") (name "Net-(C1-Pad1)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "J2") (pin "T") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "5") (name "Net-(C2-Pad1)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(C3-Pad1)") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "R6") (pin "1") (pintype "passive"))
+ (node (ref "RV1") (pin "1") (pinfunction "1") (pintype "passive"))
+ (node (ref "U1") (pin "6") (pintype "output")))
+ (net (code "7") (name "Net-(J2-PadSN)") (class "Default")
+ (node (ref "J2") (pin "SN") (pintype "passive"))
+ (node (ref "J2") (pin "TN") (pintype "passive")))
+ (net (code "8") (name "Net-(U1-+)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "+") (pintype "input")))
+ (net (code "9") (name "Net-(U1--)") (class "Default")
+ (node (ref "R4") (pin "1") (pintype "passive"))
+ (node (ref "RV1") (pin "2") (pinfunction "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "10") (name "Vout") (class "Default")
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "R7") (pin "1") (pintype "passive"))
+ (node (ref "R8") (pin "2") (pintype "passive")))
+ (net (code "11") (name "unconnected-(RV1-Pad3)") (class "Default")
+ (node (ref "RV1") (pin "3") (pinfunction "3") (pintype "passive+no_connect")))
+ (net (code "12") (name "unconnected-(U1-NC-Pad8)") (class "Default")
+ (node (ref "U1") (pin "8") (pinfunction "NC") (pintype "no_connect")))
+ (net (code "13") (name "unconnected-(U1-NULL-Pad1)") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "NULL") (pintype "input+no_connect")))
+ (net (code "14") (name "unconnected-(U1-NULL-Pad5)") (class "Default")
+ (node (ref "U1") (pin "5") (pinfunction "NULL") (pintype "input+no_connect")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/main.py b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/main.py
new file mode 100644
index 0000000000..7d908ce23b
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 4bd3e530-8e59-43cf-9c1f-1e9cdb742ef2."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "4bd3e530-8e59-43cf-9c1f-1e9cdb742ef2"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Give me a KiCad schematic for a simple +5V LED flasher using a 2N3904 transistor where a 2-lead self-flashing LED drives a second brighter LED. Use a 1k resistor and 100uF capacitor in the collector timing network, and use 10k and 4.7k resistors to bias the base and load the output.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/pyproject.toml
new file mode 100644
index 0000000000..2695a28cb6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-4bd3e530-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Give me a KiCad schematic for a simple +5V LED flasher using a 2N3904 transistor where a 2-lead self-flashing LED drives a second brighter LED. Use a 1k resistor and 100uF capacitor in the collector timing network, and use 10k and 4.7k resistors to bias the base and load the output."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/reference.net
new file mode 100644
index 0000000000..d14006384a
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4bd3e530/reference.net
@@ -0,0 +1,259 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Documents/ohm bench/kicad_bridgerectifier/kicad_SingleTransistorLEDFlasher_circuit/kicad_SingleTransistorLEDFlasher_circuit.kicad_sch")
+ (date "2026-02-28T13:28:22-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "100uF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "900deec3-0769-4cf8-a7d5-190f5db45f4b"))
+ (comp (ref "D1")
+ (value "LED_SELF_FLASHING")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a4da2574-94e7-4e19-abf3-b1ff2701e5c1"))
+ (comp (ref "D2")
+ (value "LED_SUPERBRIGHT")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f0d4731f-3571-42b1-ad3d-7e8d081f953d"))
+ (comp (ref "J1")
+ (value "Power_Input")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6c1bd4da-dfe5-4b42-9ef7-4a17c57060ed"))
+ (comp (ref "Q1")
+ (value "2N3904")
+ (footprint "Package_TO_SOT_THT:TO-92_Inline")
+ (datasheet "https://www.onsemi.com/pub/Collateral/2N3903-D.PDF")
+ (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92")
+ (fields
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=E 2=B 3=C")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/2N3903-D.PDF")
+ (field (name "Description") "0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92"))
+ (libsource (lib "Transistor_BJT") (part "2N3904") (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92"))
+ (property (name "Sim.Device") (value "NPN"))
+ (property (name "Sim.Pins") (value "1=E 2=B 3=C"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?92*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "8dda6cf6-781a-44a3-9217-293d36b8c599"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f5b0144c-6424-4df8-8aa7-8761e58c5ae0"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "015ff05b-116a-4cae-baef-74e1f57a6edb"))
+ (comp (ref "R3")
+ (value "4.7k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_SingleTransistorLEDFlasher_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1b812eb1-b439-4d9c-923d-2b7e74ea17a0")))
+ (libparts
+ (libpart (lib "Connector_Generic") (part "Conn_01x02")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Transistor_BJT") (part "2N3904")
+ (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92")
+ (docs "https://www.onsemi.com/pub/Collateral/2N3903-D.PDF")
+ (footprints
+ (fp "TO?92*"))
+ (fields
+ (field (name "Reference") "Q")
+ (field (name "Value") "2N3904")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/2N3903-D.PDF")
+ (field (name "Description") "0.2A Ic, 40V Vce, Small Signal NPN Transistor, TO-92")
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=E 2=B 3=C"))
+ (pins
+ (pin (num "1") (name "E") (type "passive"))
+ (pin (num "2") (name "B") (type "input"))
+ (pin (num "3") (name "C") (type "passive")))))
+ (libraries
+ (library (logical "Connector_Generic")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector_Generic.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Transistor_BJT")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Transistor_BJT.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "Q1") (pin "1") (pinfunction "E") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive")))
+ (net (code "3") (name "Net-(D1-K)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive")))
+ (net (code "4") (name "Net-(D2-K)") (class "Default")
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive")))
+ (net (code "5") (name "Net-(Q1-B)") (class "Default")
+ (node (ref "Q1") (pin "2") (pinfunction "B") (pintype "input"))
+ (node (ref "R2") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(Q1-C)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "Q1") (pin "3") (pinfunction "C") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/main.py b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/main.py
new file mode 100644
index 0000000000..a72bfd9ac7
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 4c913e30-9720-46b2-be29-408c558a54cd."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "4c913e30-9720-46b2-be29-408c558a54cd"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='Design a third-order Butterworth low-pass filter with a cutoff frequency of approximately 45 Hz. Implement it using an LM358 operational amplifier powered by ±12 V supplies. Use 10 kΩ resistors and 0.352 µF capacitors for the filter sections, and 1 kΩ resistors for the feedback network. Include a 2-pin input connector, a 2-pin output connector, and a 3-pin power connector for +12 V, GND, and −12 V. Generate the KiCad schematic and the KiCad netlist for the design.',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/pyproject.toml
new file mode 100644
index 0000000000..6e896f6fe6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-4c913e30-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a third-order Butterworth low-pass filter with a cutoff frequency of approximately 45 Hz. Implement it using an LM358 operational amplifier powered by ±12 V supplies. Use 10 kΩ resistors and 0.352 µF capacitors for the filter sections, and 1 kΩ resistors for the feedback network. Include a 2-pin input connector, a 2-pin output connector, and a 3-pin power connector for +12 V, GND, and −12 V. Generate the KiCad schematic and the KiCad netlist for the design."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/reference.net
new file mode 100644
index 0000000000..5d7396bf8c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/4c913e30/reference.net
@@ -0,0 +1,339 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Documents/ohm bench/kicad_butterworth3_lp_circuit/kicad_butterworth3_lp_circuit.kicad_sch")
+ (date "2026-02-23T14:08:23-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_butterworth3_lp_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "0.352u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6eddc6d8-45c0-4d42-9f51-bdff4485110f"))
+ (comp (ref "C2")
+ (value "0.352u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f385b6f0-d9f7-445e-b8a4-22f49b61d087"))
+ (comp (ref "C3")
+ (value "0.352u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2c993503-2fd4-467b-ad47-78d615f324d5"))
+ (comp (ref "J1")
+ (value "Conn_01x02")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "946f5156-3733-44e8-a45e-c7d60c7cb74e"))
+ (comp (ref "J2")
+ (value "Conn_01x02")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e7143be8-0384-411c-af4c-31301973d3c9"))
+ (comp (ref "J3")
+ (value "Conn_01x03")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x03") (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "b7c82a9f-e96c-4728-ba31-eb6de13b89c2"))
+ (comp (ref "R1")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ae6c4d1f-68b0-4fc6-913e-5ace564cf3ad"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "0552474e-fca8-4550-826d-96211903f79f"))
+ (comp (ref "R3")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c3c60c98-b13c-44be-8dd9-2abc896fc10f"))
+ (comp (ref "R4")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7caefe98-1cc5-4fe1-9f50-8d635aa0f50b"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f12cf436-891a-41e1-8375-841cd13ee227"))
+ (comp (ref "U1")
+ (value "LM358")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (field (name "Description") "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (libsource (lib "Amplifier_Operational") (part "LM358") (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_butterworth3_lp_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "dual opamp"))
+ (property (name "ki_fp_filters") (value "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c5e30078-017c-4870-af7e-cf8976f2b18b" "d6cf8bc9-8ee2-495c-a3ec-3618f35184df" "4118a45c-1550-4c17-8b95-bc9c97d3e4f1")))
+ (libparts
+ (libpart (lib "Amplifier_Operational") (part "LM358")
+ (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8")
+ (docs "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (footprints
+ (fp "SOIC*3.9x4.9mm*P1.27mm*")
+ (fp "DIP*W7.62mm*")
+ (fp "TO*99*")
+ (fp "OnSemi*Micro8*")
+ (fp "TSSOP*3x3mm*P0.65mm*")
+ (fp "TSSOP*4.4x3mm*P0.65mm*")
+ (fp "MSOP*3x3mm*P0.65mm*")
+ (fp "SSOP*3.9x4.9mm*P0.635mm*")
+ (fp "LFCSP*2x2mm*P0.5mm*")
+ (fp "*SIP*")
+ (fp "SOIC*5.3x6.2mm*P1.27mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM358")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (field (name "Description") "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (pins
+ (pin (num "1") (name "") (type "output"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "+") (type "input"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "+") (type "input"))
+ (pin (num "6") (name "-") (type "input"))
+ (pin (num "7") (name "") (type "output"))
+ (pin (num "8") (name "V+") (type "power_in"))))
+ (libpart (lib "Connector_Generic") (part "Conn_01x02")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Connector_Generic") (part "Conn_01x03")
+ (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x03")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))
+ (pin (num "3") (name "Pin_3") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Amplifier_Operational")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Amplifier_Operational.kicad_sym"))
+ (library (logical "Connector_Generic")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector_Generic.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym")))
+ (nets
+ (net (code "1") (name "+12V") (class "Default")
+ (node (ref "J3") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "U1") (pin "8") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "-12V") (class "Default")
+ (node (ref "J3") (pin "3") (pinfunction "Pin_3") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "J3") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "+") (pintype "input")))
+ (net (code "4") (name "Net-(C2-Pad1)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive")))
+ (net (code "5") (name "Net-(C2-Pad2)") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pintype "output")))
+ (net (code "6") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive")))
+ (net (code "7") (name "Net-(J2-Pin_1)") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive")))
+ (net (code "8") (name "Net-(U1A-+)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "+") (pintype "input")))
+ (net (code "9") (name "Net-(U1A--)") (class "Default")
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "10") (name "Net-(U1B--)") (class "Default")
+ (node (ref "U1") (pin "6") (pinfunction "-") (pintype "input"))
+ (node (ref "U1") (pin "7") (pintype "output")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_prl
new file mode 100644
index 0000000000..c110fd9c27
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_555timer_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro
new file mode 100644
index 0000000000..9114578721
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_555timer_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "fd1f7007-5e54-4932-b6d0-a78999cc93c1",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch
new file mode 100644
index 0000000000..2fcc51ca7f
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch
@@ -0,0 +1,2397 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "fd1f7007-5e54-4932-b6d0-a78999cc93c1")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C_US"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "capacitor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_US_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start -2.032 -1.27)
+ (mid 0 -0.5572)
+ (end 2.032 -1.27)
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 3.302)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:LED_Filled"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LED_Filled"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Light emitting diode, filled shape"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "ki_keywords" "LED diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "LED_Filled_0_1"
+ (polyline
+ (pts
+ (xy -3.048 -0.762) (xy -4.572 -2.286) (xy -3.81 -2.286) (xy -4.572 -2.286) (xy -4.572 -1.524)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.778 -0.762) (xy -3.302 -2.286) (xy -2.54 -2.286) (xy -3.302 -2.286) (xy -3.302 -1.524)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 0) (xy 1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 -1.27) (xy -1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 -1.27) (xy 1.27 1.27) (xy -1.27 0) (xy 1.27 -1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (symbol "LED_Filled_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Timer:LM555xN"
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at -10.16 8.89 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "LM555xN"
+ (at 2.54 8.89 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_DIP:DIP-8_W7.62mm"
+ (at 0 -22.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm555.pdf"
+ (at 0 -25.4 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Timer, 555 compatible, PDIP-8"
+ (at 0 -20.32 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "single timer 555"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "DIP*W7.62mm*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "LM555xN_0_0"
+ (pin power_in line
+ (at 0 -10.16 90)
+ (length 2.54)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at 2.54 10.16 270)
+ (length 2.54)
+ (name "VCC"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "8"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "LM555xN_0_1"
+ (rectangle
+ (start -7.62 7.62)
+ (end 7.62 -7.62)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "LM555xN_1_1"
+ (pin input line
+ (at -10.16 5.08 0)
+ (length 2.54)
+ (name "~{RST}"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -10.16 2.54 0)
+ (length 2.54)
+ (name "DISCH"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "7"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -10.16 -2.54 0)
+ (length 2.54)
+ (name "THRES"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "6"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -10.16 -5.08 0)
+ (length 2.54)
+ (name "TRIG"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin open_collector line
+ (at 0 10.16 270)
+ (length 2.54)
+ (name "CONT"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 10.16 0 180)
+ (length 2.54)
+ (name "OUT"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+9V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+9V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+9V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+9V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+9V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 139.7 54.61)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "0caf940c-4c9d-4c78-9831-1bfb8199ed3d")
+ )
+ (junction
+ (at 73.66 91.44)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "217727a7-921f-46de-b394-0cdc19423d62")
+ )
+ (junction
+ (at 139.7 59.69)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "27e4cfbc-d0d1-499a-906d-e333172ea0ad")
+ )
+ (junction
+ (at 138.43 139.7)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "313eee7a-c893-4176-b3db-bfd05ee6e279")
+ )
+ (junction
+ (at 85.09 90.17)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5210785f-c255-4c3c-8328-0aa281041c2f")
+ )
+ (junction
+ (at 138.43 134.62)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5464db62-b9ca-4581-9745-b473d415d167")
+ )
+ (junction
+ (at 139.7 50.8)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5c79bd77-a5ca-4be3-b154-0d534a0d087d")
+ )
+ (junction
+ (at 85.09 82.55)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a02d8012-ffd6-40a5-92a6-715cce548d17")
+ )
+ (junction
+ (at 93.98 134.62)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "b0f2dfb7-889c-40a2-b45b-2a7244879c03")
+ )
+ (junction
+ (at 137.16 134.62)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "dd7fc415-7de9-4814-8b1c-4bc9970e0dc1")
+ )
+ (wire
+ (pts
+ (xy 73.66 90.17) (xy 73.66 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "091e81e0-a084-424b-8f9e-f6a0691be636")
+ )
+ (wire
+ (pts
+ (xy 73.66 134.62) (xy 93.98 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "0c50b085-c54e-41ac-a717-5e9a665270b4")
+ )
+ (wire
+ (pts
+ (xy 138.43 144.78) (xy 138.43 139.7)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2a03aa87-4d8f-4809-9f94-b6e15c0a20d6")
+ )
+ (wire
+ (pts
+ (xy 73.66 91.44) (xy 73.66 113.03)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2aadadcf-e810-4560-b8d9-a6811dd42e62")
+ )
+ (wire
+ (pts
+ (xy 127 91.44) (xy 73.66 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2ba15906-0ec0-45d7-a955-4e8d2f5f297c")
+ )
+ (wire
+ (pts
+ (xy 93.98 120.65) (xy 93.98 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2d17b764-7a72-4e6c-8f83-36c0023272a1")
+ )
+ (wire
+ (pts
+ (xy 182.88 102.87) (xy 182.88 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "379bbe6b-f9a4-4f37-9ef9-a2c18f8d11ad")
+ )
+ (wire
+ (pts
+ (xy 182.88 123.19) (xy 182.88 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "398edb48-e54f-4342-8b35-e1a2bc8054a0")
+ )
+ (wire
+ (pts
+ (xy 85.09 90.17) (xy 73.66 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3e78c476-97b6-4669-a912-6667c39c0f8a")
+ )
+ (wire
+ (pts
+ (xy 138.43 134.62) (xy 182.88 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "450de7e1-0b51-4da7-bec5-1817e5491afe")
+ )
+ (wire
+ (pts
+ (xy 127 90.17) (xy 127 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "51798ee5-ba0a-4155-b7de-f82cc5a2afa0")
+ )
+ (wire
+ (pts
+ (xy 137.16 134.62) (xy 138.43 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "52c97890-eb63-4260-8983-b96a790e1572")
+ )
+ (wire
+ (pts
+ (xy 138.43 139.7) (xy 151.13 139.7)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6905e3bf-529e-493d-a884-d85397463962")
+ )
+ (wire
+ (pts
+ (xy 139.7 54.61) (xy 139.7 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8507feba-a02a-4781-9534-40f4095ddb5f")
+ )
+ (wire
+ (pts
+ (xy 73.66 120.65) (xy 73.66 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "91b2abd5-23e2-4173-a8fa-2a71e01edbc9")
+ )
+ (wire
+ (pts
+ (xy 147.32 81.28) (xy 182.88 81.28)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9638c889-21a4-49a6-a7aa-6af5a83353d5")
+ )
+ (wire
+ (pts
+ (xy 127 81.28) (xy 127 54.61)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9b52a668-3551-41a6-b800-d1e56535316f")
+ )
+ (wire
+ (pts
+ (xy 139.7 50.8) (xy 139.7 54.61)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a7734bbd-9bc4-4d5d-a6c9-1ba4973f8c23")
+ )
+ (wire
+ (pts
+ (xy 85.09 82.55) (xy 85.09 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a9568ac3-ef02-461c-9a90-07c8b86fb4be")
+ )
+ (wire
+ (pts
+ (xy 127 54.61) (xy 139.7 54.61)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "aaac435f-4e06-45ca-a9ec-8d83c92b6b53")
+ )
+ (wire
+ (pts
+ (xy 182.88 81.28) (xy 182.88 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ae0787b2-14f6-4c04-938b-cad44906d17c")
+ )
+ (wire
+ (pts
+ (xy 139.7 49.53) (xy 139.7 50.8)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b21909f2-dfc7-4b3a-8c1d-2b5603c3e7fd")
+ )
+ (wire
+ (pts
+ (xy 138.43 139.7) (xy 138.43 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bba626c2-a89b-453d-9419-566cf6a4cbf9")
+ )
+ (wire
+ (pts
+ (xy 139.7 50.8) (xy 153.67 50.8)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bdecd356-16c5-4a71-900c-7c8870d311ee")
+ )
+ (wire
+ (pts
+ (xy 93.98 134.62) (xy 137.16 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "be2eefec-620b-4c4f-bd0f-97d7eef88843")
+ )
+ (wire
+ (pts
+ (xy 85.09 74.93) (xy 85.09 82.55)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "beb2f755-34c3-4922-b3a6-3bfb73dd3de0")
+ )
+ (wire
+ (pts
+ (xy 137.16 96.52) (xy 137.16 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c0991d7a-3c11-4986-813f-26c8e106c34c")
+ )
+ (wire
+ (pts
+ (xy 85.09 59.69) (xy 139.7 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c57f5d9d-20e8-4b88-9743-c44b7c65be38")
+ )
+ (wire
+ (pts
+ (xy 147.32 81.28) (xy 147.32 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "db1111c4-6b73-4ddc-ae01-2d65fdba3f01")
+ )
+ (wire
+ (pts
+ (xy 85.09 67.31) (xy 85.09 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e2e54f3d-5e62-4254-a760-a8b88e1ad10a")
+ )
+ (wire
+ (pts
+ (xy 127 83.82) (xy 85.09 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e853a7e6-b0c0-49ed-bb4b-4c4e46b01bf7")
+ )
+ (wire
+ (pts
+ (xy 85.09 90.17) (xy 127 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eb3ce744-4e78-46c0-9c48-024d4ab1f5aa")
+ )
+ (wire
+ (pts
+ (xy 93.98 76.2) (xy 93.98 113.03)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f7c3115e-c514-4d15-9761-ea8b1ba3e700")
+ )
+ (wire
+ (pts
+ (xy 137.16 76.2) (xy 93.98 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fc106122-51b1-4ad8-b3a5-24a70e572a56")
+ )
+ (wire
+ (pts
+ (xy 139.7 59.69) (xy 139.7 76.2)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "feea492c-d701-4cc1-affd-0c47f17e030f")
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 85.09 86.36 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3e5db362-8c65-44df-b425-374a6fda779e")
+ (property "Reference" "R2"
+ (at 87.63 85.0899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R_US"
+ (at 87.63 87.6299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 86.106 86.614 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 85.09 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 85.09 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "be56e227-5e0e-40b3-a4f5-605bd2b4f8b9")
+ )
+ (pin "2"
+ (uuid "cd75dc85-74bd-4522-aa6c-655273be9218")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Timer:LM555xN")
+ (at 137.16 86.36 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "431999d5-2a12-403e-b028-8aa300b9cf42")
+ (property "Reference" "U1"
+ (at 151.13 79.9398 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LM555xN"
+ (at 151.13 82.4798 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Package_DIP:DIP-8_W7.62mm"
+ (at 137.16 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm555.pdf"
+ (at 137.16 111.76 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Timer, 555 compatible, PDIP-8"
+ (at 137.16 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "703e7679-8ce5-4649-b4c1-2d6d975fc433")
+ )
+ (pin "8"
+ (uuid "5fdd2548-4181-4199-adc4-a58a052fb769")
+ )
+ (pin "4"
+ (uuid "2205b31e-b6aa-449d-a0e6-d19daa2ce21c")
+ )
+ (pin "7"
+ (uuid "18306dfc-e818-43b8-ba7a-18783e139fd1")
+ )
+ (pin "6"
+ (uuid "59bd5201-2a6f-4497-81b5-671d6bebc027")
+ )
+ (pin "2"
+ (uuid "2a7cf241-86a1-4a6b-8efe-3d70c00ab287")
+ )
+ (pin "5"
+ (uuid "d365bd12-bee2-4bda-9d3f-0cee956ed802")
+ )
+ (pin "3"
+ (uuid "78784b93-4608-4333-9898-a81309c1844e")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 153.67 50.8 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "45c42eda-1b6c-4bc0-a693-e9b9801c9e5c")
+ (property "Reference" "#FLG01"
+ (at 155.575 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 157.48 50.7999 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 153.67 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 153.67 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 153.67 50.8 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "160b847f-3d86-4853-9a71-620f76d30cc3")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 93.98 116.84 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "58321bf7-666d-48ed-a5f0-8e9b378fac96")
+ (property "Reference" "C1"
+ (at 97.79 115.5699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 97.79 118.1099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 94.9452 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 93.98 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 93.98 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "f6554386-c7a5-4481-b18f-5b63b9369015")
+ )
+ (pin "2"
+ (uuid "b1006bf4-0241-40f9-a7b8-c1ecea148eb8")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+9V")
+ (at 139.7 49.53 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6c3d852b-c9df-4be7-bcd4-0efb08f78da7")
+ (property "Reference" "#PWR02"
+ (at 139.7 53.34 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+9V"
+ (at 139.7 44.45 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 139.7 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 139.7 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+9V\""
+ (at 139.7 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "51715544-c3da-4e45-9d75-9ef735bdbd27")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 151.13 139.7 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "8560f683-5e3c-4f38-9327-b3d951f62cee")
+ (property "Reference" "#FLG02"
+ (at 153.035 139.7 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 154.94 139.6999 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 151.13 139.7 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 151.13 139.7 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 151.13 139.7 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ea179f6b-bbcd-485f-a47d-6d7b96908813")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_US")
+ (at 73.66 116.84 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "904e1067-eb09-4f27-b453-1f7018636cea")
+ (property "Reference" "C2"
+ (at 77.47 115.8239 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C_US"
+ (at 77.47 118.3639 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 73.66 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 73.66 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "capacitor, US symbol"
+ (at 73.66 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "e424b3b4-73d6-4d65-910c-3f6baae68018")
+ )
+ (pin "2"
+ (uuid "4c124f99-2871-46b3-8822-67997eb0e6af")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 182.88 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "cca6031f-2645-44aa-bc81-f1640ed0a8ca")
+ (property "Reference" "R3"
+ (at 185.42 97.7899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R_US"
+ (at 185.42 100.3299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 183.896 99.314 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 182.88 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 182.88 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "b0a10148-9c47-4c97-91d6-a80ec319b4cb")
+ )
+ (pin "2"
+ (uuid "68cdee54-37f9-4cb1-a27c-5a0069220028")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 85.09 71.12 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e06ee1fc-67a4-42d4-808a-dc6d600bce80")
+ (property "Reference" "R1"
+ (at 87.63 69.8499 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "R_US"
+ (at 87.63 72.3899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 86.106 71.374 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 85.09 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 85.09 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "cd578cf1-350b-4bca-b3aa-a57080e30ee2")
+ )
+ (pin "2"
+ (uuid "c69d9385-ed44-44ed-8dbf-8d11b98b5dd5")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:LED_Filled")
+ (at 182.88 119.38 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f353cb6c-09e9-4701-b846-7528ff8f0034")
+ (property "Reference" "D1"
+ (at 186.69 118.4274 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "LED_Filled"
+ (at 186.69 120.9674 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 182.88 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 182.88 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Light emitting diode, filled shape"
+ (at 182.88 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 186.69 123.5074 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (pin "1"
+ (uuid "cd329e28-1c39-4772-bb92-4b696686479e")
+ )
+ (pin "2"
+ (uuid "5856d1f0-3392-45cd-9e12-e2642d745fcf")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "D1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 138.43 144.78 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ff9d2a9f-8752-4a6f-98f6-b7a1546f438e")
+ (property "Reference" "#PWR01"
+ (at 138.43 151.13 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 138.43 149.86 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 138.43 144.78 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 138.43 144.78 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 138.43 144.78 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "b2592e7e-387b-4ea1-8132-c44e240fd275")
+ )
+ (instances
+ (project ""
+ (path "/fd1f7007-5e54-4932-b6d0-a78999cc93c1"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/main.py b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/main.py
new file mode 100644
index 0000000000..f7c334745b
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 55f2eefb-6870-4d02-b68f-0c5c553c24ed."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "55f2eefb-6870-4d02-b68f-0c5c553c24ed"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Change the voltage source of the circuit from a 9V to 5V.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/pyproject.toml
new file mode 100644
index 0000000000..b7b721cbb2
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-55f2eefb-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Change the voltage source of the circuit from a 9V to 5V."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/reference.net
new file mode 100644
index 0000000000..d4d98c3de2
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/55f2eefb/reference.net
@@ -0,0 +1,241 @@
+(export (version "E")
+ (design
+ (source "/Users/davidguerrero/Documents/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch")
+ (date "2026-02-26T19:17:11-0600")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_555timer_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "C")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "58321bf7-666d-48ed-a5f0-8e9b378fac96"))
+ (comp (ref "C2")
+ (value "C_US")
+ (description "capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet"))
+ (field (name "Description") "capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_US") (description "capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "904e1067-eb09-4f27-b453-1f7018636cea"))
+ (comp (ref "D1")
+ (value "LED_Filled")
+ (datasheet "~")
+ (description "Light emitting diode, filled shape")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode, filled shape"))
+ (libsource (lib "Device") (part "LED_Filled") (description "Light emitting diode, filled shape"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f353cb6c-09e9-4701-b846-7528ff8f0034"))
+ (comp (ref "R1")
+ (value "R_US")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e06ee1fc-67a4-42d4-808a-dc6d600bce80"))
+ (comp (ref "R2")
+ (value "R_US")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3e5db362-8c65-44df-b425-374a6fda779e"))
+ (comp (ref "R3")
+ (value "R_US")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "cca6031f-2645-44aa-bc81-f1640ed0a8ca"))
+ (comp (ref "U1")
+ (value "LM555xN")
+ (footprint "Package_DIP:DIP-8_W7.62mm")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm555.pdf")
+ (description "Timer, 555 compatible, PDIP-8")
+ (fields
+ (field (name "Footprint") "Package_DIP:DIP-8_W7.62mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm555.pdf")
+ (field (name "Description") "Timer, 555 compatible, PDIP-8"))
+ (libsource (lib "Timer") (part "LM555xN") (description "Timer, 555 compatible, PDIP-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_555timer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "single timer 555"))
+ (property (name "ki_fp_filters") (value "DIP*W7.62mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "431999d5-2a12-403e-b028-8aa300b9cf42")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_US")
+ (description "capacitor, US symbol")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet"))
+ (field (name "Description") "capacitor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED_Filled")
+ (description "Light emitting diode, filled shape")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED_Filled")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode, filled shape")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Timer") (part "LM555xN")
+ (description "Timer, 555 compatible, PDIP-8")
+ (docs "http://www.ti.com/lit/ds/symlink/lm555.pdf")
+ (footprints
+ (fp "DIP*W7.62mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM555xN")
+ (field (name "Footprint") "Package_DIP:DIP-8_W7.62mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm555.pdf")
+ (field (name "Description") "Timer, 555 compatible, PDIP-8"))
+ (pins
+ (pin (num "1") (name "GND") (type "power_in"))
+ (pin (num "2") (name "TRIG") (type "input"))
+ (pin (num "3") (name "OUT") (type "output"))
+ (pin (num "4") (name "~{RST}") (type "input"))
+ (pin (num "5") (name "CONT") (type "open_collector"))
+ (pin (num "6") (name "THRES") (type "input"))
+ (pin (num "7") (name "DISCH") (type "input"))
+ (pin (num "8") (name "VCC") (type "power_in")))))
+ (libraries
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Timer")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Timer.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "~{RST}") (pintype "input"))
+ (node (ref "U1") (pin "8") (pinfunction "VCC") (pintype "power_in")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "GND") (pintype "power_in")))
+ (net (code "3") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive")))
+ (net (code "4") (name "Net-(U1-CONT)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "CONT") (pintype "open_collector")))
+ (net (code "5") (name "Net-(U1-DISCH)") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "7") (pinfunction "DISCH") (pintype "input")))
+ (net (code "6") (name "Net-(U1-OUT)") (class "Default")
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "OUT") (pintype "output")))
+ (net (code "7") (name "Net-(U1-THRES)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "TRIG") (pintype "input"))
+ (node (ref "U1") (pin "6") (pinfunction "THRES") (pintype "input")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_prl
new file mode 100644
index 0000000000..f41953de12
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_currentdivider_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro
new file mode 100644
index 0000000000..c8ffd7de55
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_currentdivider_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "3eaea746-02b4-4f17-9a89-9f4bc5e597cc",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_sch
new file mode 100644
index 0000000000..a5e0417ce6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_sch
@@ -0,0 +1,1065 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "3eaea746-02b4-4f17-9a89-9f4bc5e597cc")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+5V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+5V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 91.44 80.01)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "0b04f346-48cc-4e8c-a3b0-728cfbf94149")
+ )
+ (junction
+ (at 91.44 67.31)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "4942b16a-adc7-48f5-8aef-10a4e020dd80")
+ )
+ (junction
+ (at 91.44 66.04)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "afdfb5b3-d9eb-43c5-936d-26a7329dd777")
+ )
+ (junction
+ (at 91.44 78.74)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "d25bb689-4c6a-4288-8ab8-e1a27c420313")
+ )
+ (wire
+ (pts
+ (xy 91.44 64.77) (xy 91.44 66.04)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "075bc748-030d-499b-b0d2-7e44becfec64")
+ )
+ (wire
+ (pts
+ (xy 91.44 66.04) (xy 91.44 67.31)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1272bec1-8ed2-4c78-a768-12b595edf1cf")
+ )
+ (wire
+ (pts
+ (xy 102.87 67.31) (xy 102.87 69.85)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "21bcd2f7-6b93-4124-b41c-5a52aad6751f")
+ )
+ (wire
+ (pts
+ (xy 91.44 77.47) (xy 91.44 78.74)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2f21a73d-5616-4343-ab3b-2eaa8f6c870f")
+ )
+ (wire
+ (pts
+ (xy 91.44 67.31) (xy 102.87 67.31)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "31646edb-99c5-4631-ad5f-c950be81570c")
+ )
+ (wire
+ (pts
+ (xy 91.44 80.01) (xy 102.87 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "33cae541-6f56-4f57-9748-d2bafb944ffd")
+ )
+ (wire
+ (pts
+ (xy 91.44 67.31) (xy 91.44 69.85)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "49dce612-2ab1-402e-9148-5dba3983a024")
+ )
+ (wire
+ (pts
+ (xy 91.44 78.74) (xy 91.44 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "62f5b0eb-d2ac-4361-bce8-a6e812a90ff3")
+ )
+ (wire
+ (pts
+ (xy 102.87 80.01) (xy 102.87 77.47)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6e0b0732-95b6-43c3-9cd4-1a7195ce4fe9")
+ )
+ (wire
+ (pts
+ (xy 90.17 66.04) (xy 91.44 66.04)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8dc084bd-2246-4566-8b60-181b7852c79c")
+ )
+ (wire
+ (pts
+ (xy 91.44 80.01) (xy 91.44 82.55)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8dd82eeb-7a5f-46f2-ae7d-a0fe9eab818c")
+ )
+ (wire
+ (pts
+ (xy 90.17 78.74) (xy 91.44 78.74)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d8076603-69d6-4c89-9c10-3cd954a67ad6")
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 91.44 82.55 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "639d2689-81ff-4ea2-a0f7-27ef66ca0aca")
+ (property "Reference" "#PWR02"
+ (at 91.44 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 91.44 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 91.44 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 91.44 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 91.44 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "0f41b532-bfab-4162-8134-8def6562b7ec")
+ )
+ (instances
+ (project ""
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 91.44 64.77 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6e075105-340d-4b8b-b9a9-08145810afd6")
+ (property "Reference" "#PWR01"
+ (at 91.44 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 91.44 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 91.44 64.77 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 91.44 64.77 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 91.44 64.77 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1fc10697-297a-4a04-996b-750574d8b414")
+ )
+ (instances
+ (project ""
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 91.44 73.66 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9d9db960-ea1b-48ac-a647-99d2fafc5681")
+ (property "Reference" "R1"
+ (at 93.98 72.3899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "5k"
+ (at 93.98 74.9299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 92.456 73.914 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 91.44 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 91.44 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "78d5bfb5-718a-4cdf-89cb-46f05ba2eed6")
+ )
+ (pin "2"
+ (uuid "e6f9ca51-7011-4f4b-8320-46bfb928550e")
+ )
+ (instances
+ (project ""
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 90.17 66.04 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "b3d65a04-7390-4b62-b284-466aac0689b9")
+ (property "Reference" "#FLG01"
+ (at 88.265 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 86.36 66.0399 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 90.17 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 90.17 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 90.17 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1f8d4a46-2bc0-4f04-a2d1-8588a15ce980")
+ )
+ (instances
+ (project ""
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 102.87 73.66 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bafbe0de-ecd2-4a06-bd6b-7cb022e76eb6")
+ (property "Reference" "R2"
+ (at 105.41 72.3899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "5k"
+ (at 105.41 74.9299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 103.886 73.914 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 102.87 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 102.87 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "46f4a755-bbe9-4b4c-bea9-18bd5a5f50a6")
+ )
+ (pin "2"
+ (uuid "46b55a32-9865-471a-be9c-f5e548321ef2")
+ )
+ (instances
+ (project "kicad_currentdivider_circuit"
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 90.17 78.74 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f2a44f1a-21a1-49a3-b004-f6799a81e537")
+ (property "Reference" "#FLG02"
+ (at 88.265 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 86.36 78.7399 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 90.17 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 90.17 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 90.17 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "56b53894-0b3a-4ee3-8396-c082e067a648")
+ )
+ (instances
+ (project ""
+ (path "/3eaea746-02b4-4f17-9a89-9f4bc5e597cc"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/main.py b/libs/cua-bench/datasets/cua-bench-kicad/589da233/main.py
new file mode 100644
index 0000000000..e0622995dc
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 589da233-8be6-4506-868f-29df3cf0d0d1."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "589da233-8be6-4506-868f-29df3cf0d0d1"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Change the value of R2 so that R1 sees twice as much current as R2.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/589da233/pyproject.toml
new file mode 100644
index 0000000000..7382ddf073
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-589da233-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Change the value of R2 so that R1 sees twice as much current as R2."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/589da233/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/589da233/reference.net
new file mode 100644
index 0000000000..b1bd880481
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/589da233/reference.net
@@ -0,0 +1,77 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_currentdivider_circuit_modified\\kicad_currentdivider_circuit_modified.kicad_sch")
+ (date "2026-02-27T10:00:26-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_currentdivider_circuit_modified.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "R1")
+ (value "5k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_currentdivider_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9d9db960-ea1b-48ac-a647-99d2fafc5681"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_currentdivider_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bafbe0de-ecd2-4a06-bd6b-7cb022e76eb6")))
+ (libparts
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/main.py b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/main.py
new file mode 100644
index 0000000000..7204e807fe
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 5dbc9e02-3a8f-49bb-8561-40e4b0c5353e."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "5dbc9e02-3a8f-49bb-8561-40e4b0c5353e"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a 555 timer-based LED flasher circuit in astable mode using an NE555P. Use a 1kΩ resistor for R1, a 50kΩ resistor for R2, and a 10µF electrolytic capacitor for C1 to set the timing. Include a 0.01µF decoupling capacitor on the control pin, a 330Ω current-limiting resistor for the LED, and screw terminals for power input and signal output.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/pyproject.toml
new file mode 100644
index 0000000000..87e4fa07af
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-5dbc9e02-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a 555 timer-based LED flasher circuit in astable mode using an NE555P. Use a 1kΩ resistor for R1, a 50kΩ resistor for R2, and a 10µF electrolytic capacitor for C1 to set the timing. Include a 0.01µF decoupling capacitor on the control pin, a 330Ω current-limiting resistor for the LED, and screw terminals for power input and signal output."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/reference.net
new file mode 100644
index 0000000000..aace5a8936
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/5dbc9e02/reference.net
@@ -0,0 +1,262 @@
+(export (version "E")
+ (design
+ (source "E:\\Schematic_Project\\kicad_multivibrator_circuit\\kicad_multivibrator_circuit.kicad_sch")
+ (date "2026-02-28T16:55:57+0300")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_multivibrator_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "10u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "80becfc4-7ddd-474d-bded-378788354887"))
+ (comp (ref "D1")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "224f7b40-9b15-409c-86ee-307ab9bb631d"))
+ (comp (ref "J1")
+ (value "Screw_Terminal_01x02")
+ (datasheet "~")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector") (part "Screw_Terminal_01x02") (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "screw terminal"))
+ (property (name "ki_fp_filters") (value "TerminalBlock*:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a4a03df2-471b-4c49-9a60-ea02fa310568"))
+ (comp (ref "J2")
+ (value "Screw_Terminal_01x02")
+ (datasheet "~")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector") (part "Screw_Terminal_01x02") (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "screw terminal"))
+ (property (name "ki_fp_filters") (value "TerminalBlock*:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7a3cd974-01fa-46cd-9732-5d7c81926b4e"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "63a4d9d9-95bf-4a19-8a32-aefda74e3eab"))
+ (comp (ref "R2")
+ (value "50k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3f25cbef-6165-41c3-8c84-2ca34471e9b5"))
+ (comp (ref "R3")
+ (value "330")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a2264882-7418-41e6-acd8-2df4556dec31"))
+ (comp (ref "U1")
+ (value "NE555P")
+ (footprint "Package_DIP:DIP-8_W7.62mm")
+ (datasheet "http://www.ti.com/lit/ds/symlink/ne555.pdf")
+ (description "Precision Timers, 555 compatible, PDIP-8")
+ (fields
+ (field (name "Footprint") "Package_DIP:DIP-8_W7.62mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/ne555.pdf")
+ (field (name "Description") "Precision Timers, 555 compatible, PDIP-8"))
+ (libsource (lib "Timer") (part "NE555P") (description "Precision Timers, 555 compatible, PDIP-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_multivibrator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "single timer 555"))
+ (property (name "ki_fp_filters") (value "DIP*W7.62mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "17ba17e4-6ef6-4943-8658-3fa66af012b7")))
+ (libparts
+ (libpart (lib "Connector") (part "Screw_Terminal_01x02")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "TerminalBlock*:*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Screw_Terminal_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Timer") (part "NE555P")
+ (description "Precision Timers, 555 compatible, PDIP-8")
+ (docs "http://www.ti.com/lit/ds/symlink/ne555.pdf")
+ (footprints
+ (fp "DIP*W7.62mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "NE555P")
+ (field (name "Footprint") "Package_DIP:DIP-8_W7.62mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/ne555.pdf")
+ (field (name "Description") "Precision Timers, 555 compatible, PDIP-8"))
+ (pins
+ (pin (num "1") (name "GND") (type "power_in"))
+ (pin (num "2") (name "TRIG") (type "input"))
+ (pin (num "3") (name "OUT") (type "output"))
+ (pin (num "4") (name "~{RST}") (type "input"))
+ (pin (num "5") (name "CONT") (type "open_collector"))
+ (pin (num "6") (name "THRES") (type "input"))
+ (pin (num "7") (name "DISCH") (type "input"))
+ (pin (num "8") (name "VCC") (type "power_in")))))
+ (libraries
+ (library (logical "Connector")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Timer")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Timer.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "GND") (pintype "power_in")))
+ (net (code "2") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive")))
+ (net (code "3") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "~{RST}") (pintype "input"))
+ (node (ref "U1") (pin "8") (pinfunction "VCC") (pintype "power_in")))
+ (net (code "4") (name "Net-(U1-DISCH)") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "7") (pinfunction "DISCH") (pintype "input")))
+ (net (code "5") (name "Net-(U1-OUT)") (class "Default")
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "OUT") (pintype "output")))
+ (net (code "6") (name "Net-(U1-THRES)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "TRIG") (pintype "input"))
+ (node (ref "U1") (pin "6") (pinfunction "THRES") (pintype "input")))
+ (net (code "7") (name "unconnected-(U1-CONT-Pad5)") (class "Default")
+ (node (ref "U1") (pin "5") (pinfunction "CONT") (pintype "open_collector+no_connect")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/main.py b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/main.py
new file mode 100644
index 0000000000..64c873a652
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 6cb23037-01ec-48f7-9d6b-7d92da21b66d."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "6cb23037-01ec-48f7-9d6b-7d92da21b66d"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Give me a KiCad schematic for a 12V push-to-on LED timer circuit using a BC547 NPN and a BC557 PNP transistor. Use a 1000µF capacitor and a 2.2M resistor for the timing network, and use 1k resistors for the pull-up and base drive, with a 470Ω resistor for the LED.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/pyproject.toml
new file mode 100644
index 0000000000..c9c0fd8d93
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-6cb23037-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Give me a KiCad schematic for a 12V push-to-on LED timer circuit using a BC547 NPN and a BC557 PNP transistor. Use a 1000µF capacitor and a 2.2M resistor for the timing network, and use 1k resistors for the pull-up and base drive, with a 470Ω resistor for the LED."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/reference.net
new file mode 100644
index 0000000000..a0ef59d9a4
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/6cb23037/reference.net
@@ -0,0 +1,329 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Documents/ohm bench/kicad_PushToOnTimer_circuit/kicad_PushToOnTimer_circuit.kicad_sch")
+ (date "2026-02-28T15:30:40-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_PushToOnTimer_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "1000uF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3afedec6-c112-4b70-a4f3-417c16d3b959"))
+ (comp (ref "D1")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "18a0848c-5732-4465-9632-693878d52294"))
+ (comp (ref "J1")
+ (value "Power_Input")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ce84b474-4703-4730-bb8a-d3dbc63da52a"))
+ (comp (ref "Q1")
+ (value "BC547")
+ (footprint "Package_TO_SOT_THT:TO-92_Inline")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BC550-D.pdf")
+ (description "0.1A Ic, 45V Vce, Small Signal NPN Transistor, TO-92")
+ (fields
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=C 2=B 3=E")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BC550-D.pdf")
+ (field (name "Description") "0.1A Ic, 45V Vce, Small Signal NPN Transistor, TO-92"))
+ (libsource (lib "Transistor_BJT") (part "BC547") (description "0.1A Ic, 45V Vce, Small Signal NPN Transistor, TO-92"))
+ (property (name "Sim.Device") (value "NPN"))
+ (property (name "Sim.Pins") (value "1=C 2=B 3=E"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?92*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "768bbd6d-59d4-41cb-a3e1-0930fb2fc1a4"))
+ (comp (ref "Q2")
+ (value "BC557")
+ (footprint "Package_TO_SOT_THT:TO-92_Inline")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BC556BTA-D.pdf")
+ (description "0.1A Ic, 45V Vce, PNP Small Signal Transistor, TO-92")
+ (fields
+ (field (name "Sim.Device") "PNP")
+ (field (name "Sim.Pins") "1=C 2=B 3=E")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BC556BTA-D.pdf")
+ (field (name "Description") "0.1A Ic, 45V Vce, PNP Small Signal Transistor, TO-92"))
+ (libsource (lib "Transistor_BJT") (part "BC557") (description "0.1A Ic, 45V Vce, PNP Small Signal Transistor, TO-92"))
+ (property (name "Sim.Device") (value "PNP"))
+ (property (name "Sim.Pins") (value "1=C 2=B 3=E"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "PNP Transistor"))
+ (property (name "ki_fp_filters") (value "TO?92*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1129243a-892b-4d63-80e4-63425f74cec9"))
+ (comp (ref "R1")
+ (value "2.2M")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "33a334c2-43f2-4171-b430-ac3cd60a3a1a"))
+ (comp (ref "R2")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "846c7f87-f1dd-47ee-a7f9-e4f3ccb8444e"))
+ (comp (ref "R3")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3ea5241f-8d77-4c1a-8c4d-52c429b00b10"))
+ (comp (ref "R4")
+ (value "470Ω")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c5256b25-3d03-4940-86cf-343decdbef1d"))
+ (comp (ref "SW1")
+ (value "PUSH_TO_ON")
+ (datasheet "~")
+ (description "Push button switch, generic, two pins")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Push button switch, generic, two pins"))
+ (libsource (lib "Switch") (part "SW_Push") (description "Push button switch, generic, two pins"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PushToOnTimer_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "switch normally-open pushbutton push-button"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "cd30864d-db8c-4a53-94b5-f3a6838b4a5a")))
+ (libparts
+ (libpart (lib "Connector_Generic") (part "Conn_01x02")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Switch") (part "SW_Push")
+ (description "Push button switch, generic, two pins")
+ (docs "~")
+ (fields
+ (field (name "Reference") "SW")
+ (field (name "Value") "SW_Push")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Push button switch, generic, two pins"))
+ (pins
+ (pin (num "1") (name "1") (type "passive"))
+ (pin (num "2") (name "2") (type "passive"))))
+ (libpart (lib "Transistor_BJT") (part "BC547")
+ (description "0.1A Ic, 45V Vce, Small Signal NPN Transistor, TO-92")
+ (docs "https://www.onsemi.com/pub/Collateral/BC550-D.pdf")
+ (footprints
+ (fp "TO?92*"))
+ (fields
+ (field (name "Reference") "Q")
+ (field (name "Value") "BC547")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BC550-D.pdf")
+ (field (name "Description") "0.1A Ic, 45V Vce, Small Signal NPN Transistor, TO-92")
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=C 2=B 3=E"))
+ (pins
+ (pin (num "1") (name "C") (type "passive"))
+ (pin (num "2") (name "B") (type "input"))
+ (pin (num "3") (name "E") (type "passive"))))
+ (libpart (lib "Transistor_BJT") (part "BC557")
+ (description "0.1A Ic, 45V Vce, PNP Small Signal Transistor, TO-92")
+ (docs "https://www.onsemi.com/pub/Collateral/BC556BTA-D.pdf")
+ (footprints
+ (fp "TO?92*"))
+ (fields
+ (field (name "Reference") "Q")
+ (field (name "Value") "BC557")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-92_Inline")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BC556BTA-D.pdf")
+ (field (name "Description") "0.1A Ic, 45V Vce, PNP Small Signal Transistor, TO-92")
+ (field (name "Sim.Device") "PNP")
+ (field (name "Sim.Pins") "1=C 2=B 3=E"))
+ (pins
+ (pin (num "1") (name "C") (type "passive"))
+ (pin (num "2") (name "B") (type "input"))
+ (pin (num "3") (name "E") (type "passive")))))
+ (libraries
+ (library (logical "Connector_Generic")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector_Generic.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Switch")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Switch.kicad_sym"))
+ (library (logical "Transistor_BJT")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Transistor_BJT.kicad_sym")))
+ (nets
+ (net (code "1") (name "+12V") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "Q2") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "SW1") (pin "1") (pinfunction "1") (pintype "passive")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "Q1") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive")))
+ (net (code "3") (name "Net-(C1-Pad1)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "SW1") (pin "2") (pinfunction "2") (pintype "passive")))
+ (net (code "4") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "Q2") (pin "1") (pinfunction "C") (pintype "passive")))
+ (net (code "5") (name "Net-(D1-K)") (class "Default")
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "6") (name "Net-(Q1-B)") (class "Default")
+ (node (ref "Q1") (pin "2") (pinfunction "B") (pintype "input"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "7") (name "Net-(Q1-C)") (class "Default")
+ (node (ref "Q1") (pin "1") (pinfunction "C") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive")))
+ (net (code "8") (name "Net-(Q2-B)") (class "Default")
+ (node (ref "Q2") (pin "2") (pinfunction "B") (pintype "input"))
+ (node (ref "R3") (pin "2") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_prl
new file mode 100644
index 0000000000..808971cd8f
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_motor-driver_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pro
new file mode 100644
index 0000000000..ea1dea9f41
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_motor-driver_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "KiCad",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "18791c56-cdd0-4eb8-99a6-a8a950bd92dc",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_sch
new file mode 100644
index 0000000000..f40ed6324c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_sch
@@ -0,0 +1,3290 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "18791c56-cdd0-4eb8-99a6-a8a950bd92dc")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Connector:Conn_01x01_Pin"
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "J"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Conn_01x01_Pin"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic connector, single row, 01x01, script generated"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_locked" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "ki_keywords" "connector"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "Connector*:*_1x??_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Conn_01x01_Pin_1_1"
+ (rectangle
+ (start 0.8636 0.127)
+ (end 0 -0.127)
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy 0.8636 0)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (pin passive line
+ (at 5.08 0 180)
+ (length 3.81)
+ (name "Pin_1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Diode:1N4007"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1N4007"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 0 -4.445 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "1000V 1A General Purpose Rectifier Diode, DO-41"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "D*DO?41*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "1N4007_0_1"
+ (polyline
+ (pts
+ (xy -1.27 1.27) (xy -1.27 -1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy -1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "1N4007_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Motor:Motor_DC"
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "M"
+ (at 2.54 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "Motor_DC"
+ (at 2.54 -5.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left top)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 -2.286 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 -2.286 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "DC Motor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "DC Motor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "PinHeader*P2.54mm* TerminalBlock*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Motor_DC_0_0"
+ (polyline
+ (pts
+ (xy -1.27 -3.302) (xy -1.27 0.508) (xy 0 -2.032) (xy 1.27 0.508) (xy 1.27 -3.302)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "Motor_DC_0_1"
+ (polyline
+ (pts
+ (xy 0 2.032) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 1.7272) (xy 0 2.0828)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (circle
+ (center 0 -1.524)
+ (radius 3.2512)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -4.7752) (xy 0 -5.1816)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -7.62) (xy 0 -7.112)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "Motor_DC_1_1"
+ (pin passive line
+ (at 0 5.08 270)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -7.62 90)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Transistor_BJT:BDW93C"
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "Q"
+ (at 5.08 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "BDW93C"
+ (at 5.08 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical"
+ (at 5.08 -1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Description" "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "Darlington NPN Transistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "TO?220*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "BDW93C_0_1"
+ (polyline
+ (pts
+ (xy -2.54 0) (xy 0.635 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0.635 1.905) (xy 0.635 -1.905)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0.635 0) (xy 2.54 1.905) (xy 2.54 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (circle
+ (center 1.27 0)
+ (radius 2.8194)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "BDW93C_1_1"
+ (polyline
+ (pts
+ (xy 0.635 0.635) (xy 2.54 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0.635 -0.635) (xy 2.54 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 -1.778) (xy 1.778 -1.27) (xy 2.286 -2.286) (xy 1.27 -1.778)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ (pin input line
+ (at -5.08 0 0)
+ (length 2.54)
+ (name "B"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 2.54 5.08 270)
+ (length 2.54)
+ (name "C"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 2.54 -5.08 90)
+ (length 2.54)
+ (name "E"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:VCC"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "VCC"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"VCC\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "VCC_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "VCC_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 182.88 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "05cdb1d9-e3c5-4428-adc3-9fc7d898790d")
+ )
+ (junction
+ (at 157.48 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "0aaee3d1-ad1d-43a6-ad04-7626d502b9a5")
+ )
+ (junction
+ (at 119.38 77.47)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "0d7b5309-0ba5-42d5-947a-9685ec7f5da2")
+ )
+ (junction
+ (at 119.38 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "37fc2b9f-ed34-45e7-bb9e-f611d6600354")
+ )
+ (junction
+ (at 133.35 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "536514b4-f8b7-46e5-8221-fc53b27b108d")
+ )
+ (junction
+ (at 167.64 87.63)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "55c6e3c8-5c98-48c6-9d88-bc24bd30f05d")
+ )
+ (junction
+ (at 119.38 118.11)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5d79766d-6474-4ce0-ba11-b8e1e3314f2b")
+ )
+ (junction
+ (at 163.83 114.3)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "6aedfac6-c96d-4181-bec1-d25622bb361e")
+ )
+ (junction
+ (at 93.98 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "815ae185-edd1-464b-8ca1-4b992f5696ea")
+ )
+ (junction
+ (at 90.17 110.49)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "b29c6f1a-3df8-4497-9d84-53a61007c69d")
+ )
+ (junction
+ (at 119.38 81.28)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "e4766f2f-d0b3-4e89-a4b4-41f1c6f4d29c")
+ )
+ (junction
+ (at 119.38 119.38)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "f75a4a3e-5343-4956-b725-fc08a4fa1ba8")
+ )
+ (wire
+ (pts
+ (xy 203.2 90.17) (xy 203.2 128.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "03126b54-500b-47c0-a377-fb53a528fd3d")
+ )
+ (wire
+ (pts
+ (xy 119.38 101.6) (xy 133.35 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "06ef5885-6561-40ff-912f-f769715f855f")
+ )
+ (wire
+ (pts
+ (xy 133.35 81.28) (xy 133.35 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1c1aa84d-00e5-4199-b498-cff31ec2203b")
+ )
+ (wire
+ (pts
+ (xy 133.35 101.6) (xy 133.35 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "298fd2d6-d72d-4269-abe4-ec54f849b558")
+ )
+ (wire
+ (pts
+ (xy 182.88 85.09) (xy 182.88 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2f0f1dd8-54b6-40fd-b48e-3e820db528b5")
+ )
+ (wire
+ (pts
+ (xy 119.38 119.38) (xy 125.73 119.38)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "32654b5d-54b3-42c6-a1ae-a5e44ebb2936")
+ )
+ (wire
+ (pts
+ (xy 87.63 110.49) (xy 90.17 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3b3cdc78-b995-40fb-a3a1-73155983557c")
+ )
+ (wire
+ (pts
+ (xy 163.83 114.3) (xy 157.48 114.3)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "40074c97-16dd-40bd-92e5-c29bb9a0f797")
+ )
+ (wire
+ (pts
+ (xy 133.35 95.25) (xy 133.35 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4336e64a-6966-4e6d-ab25-8b942228efd4")
+ )
+ (wire
+ (pts
+ (xy 86.36 88.9) (xy 93.98 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4ba59316-e53d-44ae-bed4-3039c51d5f5a")
+ )
+ (wire
+ (pts
+ (xy 170.18 105.41) (xy 163.83 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4e9c45e4-30d7-4a78-ac17-8c94c51a9995")
+ )
+ (wire
+ (pts
+ (xy 119.38 83.82) (xy 119.38 81.28)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4f7b8114-3324-4558-bf34-217f6522effa")
+ )
+ (wire
+ (pts
+ (xy 170.18 118.11) (xy 170.18 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5106e60c-3293-4d89-b84a-c8709139c88e")
+ )
+ (wire
+ (pts
+ (xy 177.8 90.17) (xy 186.69 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "51c08df6-0f8f-4950-80fe-1bb8d7301dc8")
+ )
+ (wire
+ (pts
+ (xy 194.31 90.17) (xy 203.2 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5a9eaf9f-505b-4aea-9ee6-e6a9b25a0960")
+ )
+ (wire
+ (pts
+ (xy 167.64 81.28) (xy 167.64 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "62dd839f-9ffa-4558-8c83-d77003c1d300")
+ )
+ (wire
+ (pts
+ (xy 93.98 125.73) (xy 93.98 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "64a96cb8-a8af-458a-9df4-44533db762bd")
+ )
+ (wire
+ (pts
+ (xy 198.12 125.73) (xy 93.98 125.73)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "65e8bcb3-33a8-4162-af5d-d46423d4b45d")
+ )
+ (wire
+ (pts
+ (xy 170.18 85.09) (xy 182.88 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "73c2399d-1523-403b-8f56-adb7de0fbb41")
+ )
+ (wire
+ (pts
+ (xy 182.88 101.6) (xy 182.88 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "74372cdc-102e-4355-8cd2-07ac3123bd1a")
+ )
+ (wire
+ (pts
+ (xy 119.38 101.6) (xy 119.38 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7a7d7e5f-ceba-4b49-9580-7dc8c8f0c23b")
+ )
+ (wire
+ (pts
+ (xy 157.48 95.25) (xy 157.48 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7adb0604-e969-4f9a-8856-4fc5490e3c11")
+ )
+ (wire
+ (pts
+ (xy 198.12 110.49) (xy 198.12 125.73)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7be2a85f-096c-4d77-b118-1c668c34691c")
+ )
+ (wire
+ (pts
+ (xy 119.38 93.98) (xy 119.38 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8a4c81ab-fc5a-4262-b9b2-7469a541b73f")
+ )
+ (wire
+ (pts
+ (xy 194.31 110.49) (xy 198.12 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8d2c950d-6785-4939-8848-a9e9c46add3a")
+ )
+ (wire
+ (pts
+ (xy 163.83 105.41) (xy 163.83 114.3)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "92d95deb-42fb-48c7-92d1-50e73c7966d5")
+ )
+ (wire
+ (pts
+ (xy 157.48 101.6) (xy 157.48 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "95b0347e-35fc-4f29-9463-3668c1278687")
+ )
+ (wire
+ (pts
+ (xy 93.98 88.9) (xy 96.52 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9c3b5730-2665-4709-a9dc-ffdd394155fd")
+ )
+ (wire
+ (pts
+ (xy 119.38 81.28) (xy 133.35 81.28)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a074e87f-056a-4c5c-bd7b-467e001a9fc7")
+ )
+ (wire
+ (pts
+ (xy 104.14 88.9) (xy 111.76 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ace95bbe-982c-40f1-86aa-7e0214c39815")
+ )
+ (wire
+ (pts
+ (xy 157.48 87.63) (xy 167.64 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b16b4666-bf55-47f6-910f-15ee8687cc38")
+ )
+ (wire
+ (pts
+ (xy 167.64 95.25) (xy 170.18 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b2504aee-3f7e-4507-a301-fd0475cce4c2")
+ )
+ (wire
+ (pts
+ (xy 119.38 115.57) (xy 119.38 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b2633f40-067d-496b-a350-36d71a4a9228")
+ )
+ (wire
+ (pts
+ (xy 157.48 101.6) (xy 182.88 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b43b7b84-6325-440d-b2fa-91aa6781d2ca")
+ )
+ (wire
+ (pts
+ (xy 133.35 101.6) (xy 139.7 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bbc04b79-46c5-40ec-a8e5-485f8296ce01")
+ )
+ (wire
+ (pts
+ (xy 119.38 77.47) (xy 119.38 81.28)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c0a4d426-0824-415a-9066-05c0129bc61f")
+ )
+ (wire
+ (pts
+ (xy 163.83 114.3) (xy 163.83 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c2de732f-b1ed-4bee-96a0-25ed8f4c9c87")
+ )
+ (wire
+ (pts
+ (xy 203.2 128.27) (xy 90.17 128.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "cc47f2bb-eecc-47bd-85eb-38ee1bbbc777")
+ )
+ (wire
+ (pts
+ (xy 177.8 110.49) (xy 186.69 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d3395ffe-cead-4dc6-b1bf-f856122fe50b")
+ )
+ (wire
+ (pts
+ (xy 133.35 118.11) (xy 133.35 114.3)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d7cdd92d-6586-460c-bf17-4a1abf8e5a48")
+ )
+ (wire
+ (pts
+ (xy 119.38 77.47) (xy 125.73 77.47)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "df7c6b23-a96d-4325-8629-656c0353877e")
+ )
+ (wire
+ (pts
+ (xy 119.38 118.11) (xy 119.38 119.38)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e05dd83e-9790-496a-a92b-8b41e2ca2d75")
+ )
+ (wire
+ (pts
+ (xy 167.64 87.63) (xy 167.64 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e2479b01-bef0-4f68-8030-810c2080b684")
+ )
+ (wire
+ (pts
+ (xy 119.38 118.11) (xy 133.35 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ec54aa49-6fc8-4dba-84b1-4da3fc00afd6")
+ )
+ (wire
+ (pts
+ (xy 152.4 101.6) (xy 157.48 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f1083932-b338-4bba-8c6a-5b4186d63def")
+ )
+ (wire
+ (pts
+ (xy 90.17 128.27) (xy 90.17 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f8698643-f9a4-4f2b-a8f1-bddd3656310e")
+ )
+ (wire
+ (pts
+ (xy 182.88 118.11) (xy 170.18 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fa1914bf-6e1a-4a60-9464-cf7a91e5be20")
+ )
+ (wire
+ (pts
+ (xy 104.14 110.49) (xy 111.76 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fbc46be4-96f3-463b-8c08-0ae4b79cd7e4")
+ )
+ (wire
+ (pts
+ (xy 90.17 110.49) (xy 96.52 110.49)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fcdc9633-13f5-442f-8180-6fa7993c87d6")
+ )
+ (symbol
+ (lib_id "Transistor_BJT:BDW93C")
+ (at 172.72 110.49 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "04d3790a-41e2-4648-9132-5640fe3293c5")
+ (property "Reference" "Q4"
+ (at 178.816 112.522 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "BDW93C"
+ (at 178.816 115.062 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical"
+ (at 167.64 108.585 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf"
+ (at 172.72 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Description" "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"
+ (at 172.72 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4e4048d3-4c4c-4f9f-949b-e27febf36d97")
+ )
+ (pin "2"
+ (uuid "9b2df532-70b8-45de-b6ef-33ff16955c82")
+ )
+ (pin "3"
+ (uuid "4cc148ef-7ab2-439e-bad4-aacbbb3fd46c")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "Q4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:1N4007")
+ (at 133.35 91.44 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2425e7f4-363c-4a34-abc6-3fd8adaaec42")
+ (property "Reference" "D1"
+ (at 135.89 90.1699 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1N4007"
+ (at 135.89 92.7099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 128.905 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 133.35 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "1000V 1A General Purpose Rectifier Diode, DO-41"
+ (at 133.35 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 133.35 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 133.35 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9abcc243-d945-42ef-9ca8-d7a5407d78e5")
+ )
+ (pin "2"
+ (uuid "d1889f93-5f21-401a-8423-35258989e6d5")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "D1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Connector:Conn_01x01_Pin")
+ (at 81.28 88.9 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2d979b96-9ba5-4f57-b46e-72a14d79a570")
+ (property "Reference" "J1"
+ (at 81.915 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Conn_01x01_Pin"
+ (at 81.915 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 81.28 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 81.28 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic connector, single row, 01x01, script generated"
+ (at 81.28 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "cf7523ce-6827-4de8-8d39-06812a970cef")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "J1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Connector:Conn_01x01_Pin")
+ (at 82.55 110.49 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "32bdbd15-472c-4457-920a-cfd284a7c545")
+ (property "Reference" "J2"
+ (at 83.185 105.41 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Conn_01x01_Pin"
+ (at 83.185 107.95 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 82.55 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 82.55 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic connector, single row, 01x01, script generated"
+ (at 82.55 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "276710dc-5397-4e3d-9cd6-31200b0e8786")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "J2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Transistor_BJT:BDW93C")
+ (at 116.84 88.9 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3998a1f9-4306-49fd-a58b-f5a26398271c")
+ (property "Reference" "Q1"
+ (at 121.92 87.6299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "BDW93C"
+ (at 121.92 90.1699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical"
+ (at 121.92 90.805 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf"
+ (at 116.84 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Description" "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"
+ (at 116.84 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9c29955a-ccb5-49ec-ae88-376d99600306")
+ )
+ (pin "2"
+ (uuid "04813983-11d2-41db-a0c4-6552858db0bd")
+ )
+ (pin "3"
+ (uuid "78c57b5b-73d8-422e-bf39-8ca995dae334")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "Q1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:1N4007")
+ (at 157.48 110.49 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4344fba4-4ca7-4c58-9e94-eeffafa0c593")
+ (property "Reference" "D4"
+ (at 160.02 109.2199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1N4007"
+ (at 160.02 111.7599 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 153.035 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 157.48 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "1000V 1A General Purpose Rectifier Diode, DO-41"
+ (at 157.48 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 157.48 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 157.48 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "3116a971-a009-45a4-ba8a-251990517b8a")
+ )
+ (pin "2"
+ (uuid "269472b5-d8a1-483e-9c7a-f534e55c578f")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "D4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:VCC")
+ (at 119.38 77.47 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4f3d15b4-6211-49a1-83ac-d98d7a9de87d")
+ (property "Reference" "#PWR03"
+ (at 119.38 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "VCC"
+ (at 119.38 72.39 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 119.38 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 119.38 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"VCC\""
+ (at 119.38 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "7db9e7a6-e5db-4ba6-9b22-833e2f4dd580")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 100.33 110.49 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "517dabc4-c059-4957-97e3-4b05cec450a3")
+ (property "Reference" "R2"
+ (at 100.33 104.14 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 100.33 106.68 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 100.584 109.474 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 100.33 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 100.33 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "f0153705-4425-41d0-a8eb-e028159b0a3a")
+ )
+ (pin "1"
+ (uuid "a27009da-9131-42f8-b663-d70c7f88f171")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 190.5 90.17 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "544fc63c-3911-4f02-92d4-4a369be98c98")
+ (property "Reference" "R4"
+ (at 190.5 83.82 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 190.5 86.36 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 190.754 89.154 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 90.17 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 190.5 90.17 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "c7a60d4d-6bc5-42fd-9d2b-a6b6a830a315")
+ )
+ (pin "1"
+ (uuid "7e1470aa-7ed9-411b-844d-9ae2099c7dae")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "R4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 125.73 77.47 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "5722a428-c2c8-4469-88c0-2d572555c7ad")
+ (property "Reference" "#FLG01"
+ (at 127.635 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 129.54 77.4699 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 125.73 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 125.73 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 125.73 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "18cc6568-657d-411b-b47c-6bf35df230d4")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Transistor_BJT:BDW93C")
+ (at 172.72 90.17 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "9f2b075c-e20f-40a3-bee3-fcfd843a664d")
+ (property "Reference" "Q3"
+ (at 178.308 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "BDW93C"
+ (at 178.308 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical"
+ (at 167.64 88.265 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf"
+ (at 172.72 90.17 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Description" "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"
+ (at 172.72 90.17 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9c9a117a-0b10-4e13-b0c5-9d1d0742c2fd")
+ )
+ (pin "2"
+ (uuid "f3b6f51a-5b7a-45dc-87af-610788c3dc49")
+ )
+ (pin "3"
+ (uuid "d682b8c4-dafc-450a-8b9c-c6e31de5507b")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "Q3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 119.38 119.38 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "a6b3ce3c-39c0-4498-8298-c10e181d41c2")
+ (property "Reference" "#PWR01"
+ (at 119.38 125.73 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 119.38 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 119.38 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 119.38 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 119.38 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "a1cf5b57-abf4-450c-8b0b-8e434021d78f")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 163.83 118.11 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ac86ff02-312c-4c27-9061-202a773a6394")
+ (property "Reference" "#PWR02"
+ (at 163.83 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 163.83 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 163.83 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 163.83 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 163.83 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "506da571-c115-4e81-9b05-d9ba12f3dd38")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Transistor_BJT:BDW93C")
+ (at 116.84 110.49 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "d452ae7b-d83c-42ee-9f49-92066ac8be54")
+ (property "Reference" "Q2"
+ (at 121.92 109.2199 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "BDW93C"
+ (at 121.92 111.7599 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical"
+ (at 121.92 112.395 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf"
+ (at 116.84 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Description" "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"
+ (at 116.84 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "b5bccea5-2b5c-4385-849a-77f5343d9add")
+ )
+ (pin "2"
+ (uuid "595285ce-f47e-4a2f-9c0a-361ee5fef1bd")
+ )
+ (pin "3"
+ (uuid "0d3964f3-6dd5-4ab6-a234-0481a11c6315")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "Q2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:VCC")
+ (at 167.64 81.28 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "de76f3b7-82e4-4ded-a6ab-3f4c591bce37")
+ (property "Reference" "#PWR04"
+ (at 167.64 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "VCC"
+ (at 167.64 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 167.64 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 167.64 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"VCC\""
+ (at 167.64 81.28 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "6ab1621a-a6ec-44b6-af15-9c30e81b8e4c")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#PWR04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:1N4007")
+ (at 133.35 110.49 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e719c3bb-d456-4b83-8583-ba8c0537e835")
+ (property "Reference" "D2"
+ (at 135.89 109.2199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1N4007"
+ (at 135.89 111.7599 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 128.905 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 133.35 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "1000V 1A General Purpose Rectifier Diode, DO-41"
+ (at 133.35 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 133.35 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 133.35 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "779ab8ba-372b-4ef1-8461-150542fa9ca1")
+ )
+ (pin "2"
+ (uuid "283e37b9-885e-4b99-86b0-c14b3dd3af69")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "D2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 125.73 119.38 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e789cb30-4f2e-460e-88ae-33fff2cd2c3b")
+ (property "Reference" "#FLG02"
+ (at 127.635 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 129.54 119.3799 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 125.73 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 125.73 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 125.73 119.38 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "920bbc8f-43ff-4fad-adb3-8e25cdf65594")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Motor:Motor_DC")
+ (at 144.78 101.6 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ef1a63b0-3f65-4d96-a661-6eb48f1f10cf")
+ (property "Reference" "M1"
+ (at 147.32 93.98 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Motor_DC"
+ (at 147.32 96.52 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 147.066 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 147.066 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "DC Motor"
+ (at 144.78 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "27f600d5-fc10-491c-8b52-95fbfbd5568f")
+ )
+ (pin "1"
+ (uuid "26e79ee6-0bd5-490e-84a6-e7708231659e")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "M1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 190.5 110.49 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f11960a0-60d0-4812-bdab-f03ce65db3ea")
+ (property "Reference" "R3"
+ (at 190.5 104.14 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 190.5 106.68 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 190.754 109.474 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 190.5 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "b03f9dc2-0fd2-4eb7-9212-4d80ddac94a2")
+ )
+ (pin "1"
+ (uuid "66083ae2-2c2d-4e24-bcd5-f82f41755390")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:1N4007")
+ (at 157.48 91.44 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f6949ec6-a240-409d-af3a-99cb2772231a")
+ (property "Reference" "D3"
+ (at 160.02 90.1699 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1N4007"
+ (at 160.02 92.7099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal"
+ (at 153.035 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.vishay.com/docs/88503/1n4001.pdf"
+ (at 157.48 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "1000V 1A General Purpose Rectifier Diode, DO-41"
+ (at 157.48 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "D"
+ (at 157.48 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 157.48 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "35fd8383-7a4c-456f-b5e8-57717248ec22")
+ )
+ (pin "2"
+ (uuid "f24c5428-af43-435c-97e8-c6f89c1a5ee2")
+ )
+ (instances
+ (project "kicad_motor-driver_circuit"
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "D3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 100.33 88.9 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f81854df-5d79-4bbd-8724-8e63d8fda56a")
+ (property "Reference" "R1"
+ (at 100.33 82.55 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 100.33 85.09 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 100.584 87.884 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 100.33 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 100.33 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "3d73f92a-4d67-45ec-bd39-124ded0e7810")
+ )
+ (pin "1"
+ (uuid "bc2ad7ba-499e-4d20-b78c-6fd837ac0a21")
+ )
+ (instances
+ (project ""
+ (path "/18791c56-cdd0-4eb8-99a6-a8a950bd92dc"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/main.py b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/main.py
new file mode 100644
index 0000000000..fadce10070
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 733d278a-fae9-4489-8b54-87385b83cfca."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "733d278a-fae9-4489-8b54-87385b83cfca"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify the discrete BJT-based H-bridge motor driver shown in the attached schematic to improve switching behavior and reduce motor noise. Add a 100 nF ceramic capacitor across the motor terminals to suppress high-frequency switching spikes and electromagnetic interference (EMI). Add two 10 kΩ pull-down resistors on the two control input lines so the bridge defaults to OFF when the inputs are floating. Keep all existing components and connections unchanged.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_motor driver_circuit/kicad_motor driver_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/pyproject.toml
new file mode 100644
index 0000000000..af7f493738
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-733d278a-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify the discrete BJT-based H-bridge motor driver shown in the attached schematic to improve switching behavior and reduce motor noise. Add a 100 nF ceramic capacitor across the motor terminals to suppress high-frequency switching spikes and electromagnetic interference (EMI). Add two 10 kΩ pull-down resistors on the two control input lines so the bridge defaults to OFF when the inputs are floating. Keep all existing components and connections unchanged."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/733d278a/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/reference.net
new file mode 100644
index 0000000000..3ce7c450a0
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/733d278a/reference.net
@@ -0,0 +1,478 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Downloads/kicad_motor driver_circuit_modify/kicad_motor driver_circuit_modify.kicad_sch")
+ (date "2026-03-03T23:54:57-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_motor driver_circuit_modify.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "100nF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7fe355f9-7b3f-45e2-a154-c15568ee6e58"))
+ (comp (ref "D1")
+ (value "1N4007")
+ (footprint "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (description "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (fields
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (libsource (lib "Diode") (part "1N4007") (description "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (property (name "Sim.Device") (value "D"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode"))
+ (property (name "ki_fp_filters") (value "D*DO?41*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2425e7f4-363c-4a34-abc6-3fd8adaaec42"))
+ (comp (ref "D2")
+ (value "1N4007")
+ (footprint "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (description "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (fields
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (libsource (lib "Diode") (part "1N4007") (description "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (property (name "Sim.Device") (value "D"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode"))
+ (property (name "ki_fp_filters") (value "D*DO?41*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e719c3bb-d456-4b83-8583-ba8c0537e835"))
+ (comp (ref "D3")
+ (value "1N4007")
+ (footprint "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (description "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (fields
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (libsource (lib "Diode") (part "1N4007") (description "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (property (name "Sim.Device") (value "D"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode"))
+ (property (name "ki_fp_filters") (value "D*DO?41*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f6949ec6-a240-409d-af3a-99cb2772231a"))
+ (comp (ref "D4")
+ (value "1N4007")
+ (footprint "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (description "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (fields
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (libsource (lib "Diode") (part "1N4007") (description "1000V 1A General Purpose Rectifier Diode, DO-41"))
+ (property (name "Sim.Device") (value "D"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode"))
+ (property (name "ki_fp_filters") (value "D*DO?41*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4344fba4-4ca7-4c58-9e94-eeffafa0c593"))
+ (comp (ref "J1")
+ (value "Conn_01x01_Pin")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x01, script generated")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x01, script generated"))
+ (libsource (lib "Connector") (part "Conn_01x01_Pin") (description "Generic connector, single row, 01x01, script generated"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2d979b96-9ba5-4f57-b46e-72a14d79a570"))
+ (comp (ref "J2")
+ (value "Conn_01x01_Pin")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x01, script generated")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x01, script generated"))
+ (libsource (lib "Connector") (part "Conn_01x01_Pin") (description "Generic connector, single row, 01x01, script generated"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "32bdbd15-472c-4457-920a-cfd284a7c545"))
+ (comp (ref "M1")
+ (value "Motor_DC")
+ (datasheet "~")
+ (description "DC Motor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "DC Motor"))
+ (libsource (lib "Motor") (part "Motor_DC") (description "DC Motor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "DC Motor"))
+ (property (name "ki_fp_filters") (value "PinHeader*P2.54mm* TerminalBlock*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ef1a63b0-3f65-4d96-a661-6eb48f1f10cf"))
+ (comp (ref "Q1")
+ (value "BDW93C")
+ (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (field (name "Description") "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (libsource (lib "Transistor_BJT") (part "BDW93C") (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Darlington NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?220*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3998a1f9-4306-49fd-a58b-f5a26398271c"))
+ (comp (ref "Q2")
+ (value "BDW93C")
+ (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (field (name "Description") "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (libsource (lib "Transistor_BJT") (part "BDW93C") (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Darlington NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?220*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "d452ae7b-d83c-42ee-9f49-92066ac8be54"))
+ (comp (ref "Q3")
+ (value "BDW93C")
+ (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (field (name "Description") "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (libsource (lib "Transistor_BJT") (part "BDW93C") (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Darlington NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?220*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9f2b075c-e20f-40a3-bee3-fcfd843a664d"))
+ (comp (ref "Q4")
+ (value "BDW93C")
+ (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (datasheet "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (field (name "Description") "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (libsource (lib "Transistor_BJT") (part "BDW93C") (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Darlington NPN Transistor"))
+ (property (name "ki_fp_filters") (value "TO?220*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "04d3790a-41e2-4648-9132-5640fe3293c5"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f81854df-5d79-4bbd-8724-8e63d8fda56a"))
+ (comp (ref "R2")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "517dabc4-c059-4957-97e3-4b05cec450a3"))
+ (comp (ref "R3")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f11960a0-60d0-4812-bdab-f03ce65db3ea"))
+ (comp (ref "R4")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "544fc63c-3911-4f02-92d4-4a369be98c98"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "366d76b4-d3d5-4d27-8f4e-b73c43fadc1c"))
+ (comp (ref "R6")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_motor driver_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6a8170c5-2be4-4e66-bbe9-6e3db42285e0")))
+ (libparts
+ (libpart (lib "Connector") (part "Conn_01x01_Pin")
+ (description "Generic connector, single row, 01x01, script generated")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x01_Pin")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x01, script generated"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Diode") (part "1N4007")
+ (description "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (docs "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (footprints
+ (fp "D*DO?41*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "1N4007")
+ (field (name "Footprint") "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88503/1n4001.pdf")
+ (field (name "Description") "1000V 1A General Purpose Rectifier Diode, DO-41")
+ (field (name "Sim.Device") "D")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Motor") (part "Motor_DC")
+ (description "DC Motor")
+ (docs "~")
+ (footprints
+ (fp "PinHeader*P2.54mm*")
+ (fp "TerminalBlock*"))
+ (fields
+ (field (name "Reference") "M")
+ (field (name "Value") "Motor_DC")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "DC Motor"))
+ (pins
+ (pin (num "1") (name "+") (type "passive"))
+ (pin (num "2") (name "-") (type "passive"))))
+ (libpart (lib "Transistor_BJT") (part "BDW93C")
+ (description "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220")
+ (docs "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (footprints
+ (fp "TO?220*"))
+ (fields
+ (field (name "Reference") "Q")
+ (field (name "Value") "BDW93C")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
+ (field (name "Datasheet") "https://www.onsemi.com/pub/Collateral/BDW93C-D.pdf")
+ (field (name "Description") "12A Ic, 100V Vce, Power Darlington NPN Transistor, TO-220"))
+ (pins
+ (pin (num "1") (name "B") (type "input"))
+ (pin (num "2") (name "C") (type "passive"))
+ (pin (num "3") (name "E") (type "passive")))))
+ (libraries
+ (library (logical "Connector")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Diode")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Diode.kicad_sym"))
+ (library (logical "Motor")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Motor.kicad_sym"))
+ (library (logical "Transistor_BJT")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Transistor_BJT.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D4") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "Q2") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "Q4") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "2") (pintype "passive")))
+ (net (code "2") (name "Net-(D1-A)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "M1") (pin "1") (pinfunction "+") (pintype "passive"))
+ (node (ref "Q1") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "Q2") (pin "2") (pinfunction "C") (pintype "passive")))
+ (net (code "3") (name "Net-(D3-A)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "D3") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D4") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "M1") (pin "2") (pinfunction "-") (pintype "passive"))
+ (node (ref "Q3") (pin "3") (pinfunction "E") (pintype "passive"))
+ (node (ref "Q4") (pin "2") (pinfunction "C") (pintype "passive")))
+ (net (code "4") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive")))
+ (net (code "5") (name "Net-(J2-Pin_1)") (class "Default")
+ (node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(Q1-B)") (class "Default")
+ (node (ref "Q1") (pin "1") (pinfunction "B") (pintype "input"))
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "1") (pintype "passive")))
+ (net (code "7") (name "Net-(Q2-B)") (class "Default")
+ (node (ref "Q2") (pin "1") (pinfunction "B") (pintype "input"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive")))
+ (net (code "8") (name "Net-(Q3-B)") (class "Default")
+ (node (ref "Q3") (pin "1") (pinfunction "B") (pintype "input"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "9") (name "Net-(Q4-B)") (class "Default")
+ (node (ref "Q4") (pin "1") (pinfunction "B") (pintype "input"))
+ (node (ref "R3") (pin "1") (pintype "passive")))
+ (net (code "10") (name "VCC") (class "Default")
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "D3") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "Q1") (pin "2") (pinfunction "C") (pintype "passive"))
+ (node (ref "Q3") (pin "2") (pinfunction "C") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/main.py b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/main.py
new file mode 100644
index 0000000000..5695581b82
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/main.py
@@ -0,0 +1,109 @@
+"""Auto-generated cb task for KiCad submission 83490c3a-a8cb-4595-b795-5648c3d5bb0e."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "83490c3a-a8cb-4595-b795-5648c3d5bb0e"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a power tree in Kicad with the following attributes:
+ - Convert the input voltage of +12V to the backbone power of 3.3V by using the voltage switching module OKI-78SR-3.3/1.5-W36E-C.
+ - From the 3.3V power, use LDO regulators from the LT1761 series to create voltages of 2.5V, 1.8V, and 1.2V.
+ - To reduce noise, connect a 0.01uF capacitor to the BYPASS pin of each LDO.
+ - To reduce noise and increase stability for each voltage rail, add additional capacitors. For the switching module and each LDO, add for each
+ - An unpolarized input bypass capacitor of 1uF
+ - A polarized output capacitor of 10uF
+ - Label the output voltages as 3p3V, 2p5V, 1p8V, and 1p2V respectively.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/pyproject.toml
new file mode 100644
index 0000000000..0f25f4c763
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-83490c3a-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a power tree in Kicad with the following attributes: - Convert the input voltage of +12V to the backbone power of 3.3V by using the voltage switching module OKI-78SR-3.3/1.5-W36E-C. - From the 3.3V power, use LDO regulators from the LT1761 series to create voltages of 2.5V, 1.8V, and 1.2V. - To reduce noise, connect a 0.01uF capacitor to the BYPASS pin of each LDO. - To reduce noise and increase stability for each voltage rail, add additional capacitors. For the switching module and each LDO, add for each - An unpolarized input bypass capacitor of 1uF - A polarized output capacitor of 10uF - Label the output voltages as 3p3V, 2p5V, 1p8V, and 1p2V respectively."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/reference.net
new file mode 100644
index 0000000000..3f61440123
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/83490c3a/reference.net
@@ -0,0 +1,403 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_PowerTreeOKI78SRLT1761_circuit\\kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch")
+ (date "2026-03-01T10:54:06-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ff818e95-2100-4f5c-8b55-3a8f91d5953f"))
+ (comp (ref "C2")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3f58817e-128a-47f6-8dc2-250efee89c97"))
+ (comp (ref "C3")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4c6a03b0-0887-4a12-9e57-f067c362304a"))
+ (comp (ref "C4")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "b229b918-8b15-4982-85ee-0d18a6cfccf7"))
+ (comp (ref "C5")
+ (value ".01u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4ef3e9fb-d580-4ac8-9408-97eb285f945a"))
+ (comp (ref "C7")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c63d542a-d40c-47b9-9d93-fb42cd5ab15b"))
+ (comp (ref "C8")
+ (value ".01u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9d5d4eda-ae0d-49fa-b760-7c96e52a3180"))
+ (comp (ref "C9")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "5b454368-7a7e-4cac-9de7-fcb0d1d5e580"))
+ (comp (ref "C10")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ad46d167-1059-415e-afc3-db5696eb5f4e"))
+ (comp (ref "C11")
+ (value ".01u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f470abe2-69ea-40fd-9345-2ee894f3aac3"))
+ (comp (ref "C12")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c4488aa5-6518-417e-8bb9-8658445dbcb2"))
+ (comp (ref "U2")
+ (value "LT1761-1.8")
+ (footprint "Package_TO_SOT_SMD:TSOT-23-5")
+ (datasheet "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (description "MICROPOWER Low Noise 1.8V 100mA LDO regulator, TSOT-23-5")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 1.8V 100mA LDO regulator, TSOT-23-5"))
+ (libsource (lib "Regulator_Linear") (part "LT1761-1.8") (description "MICROPOWER Low Noise 1.8V 100mA LDO regulator, TSOT-23-5"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "REGULATOR POSITIVE POWER LDO"))
+ (property (name "ki_fp_filters") (value "TSOT?23*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "59f2d7bc-8ee9-4ef8-b723-f1b5567cbe53"))
+ (comp (ref "U3")
+ (value "LT1761-2.5")
+ (footprint "Package_TO_SOT_SMD:TSOT-23-5")
+ (datasheet "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (description "MICROPOWER Low Noise 2.5V 100mA LDO regulator, TSOT-23-5")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 2.5V 100mA LDO regulator, TSOT-23-5"))
+ (libsource (lib "Regulator_Linear") (part "LT1761-2.5") (description "MICROPOWER Low Noise 2.5V 100mA LDO regulator, TSOT-23-5"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "REGULATOR POSITIVE POWER LDO"))
+ (property (name "ki_fp_filters") (value "TSOT?23*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ad4394f0-4b7b-42e6-95e7-8e546c298fff"))
+ (comp (ref "U5")
+ (value "OKI-78SR-3.3_1.5-W36-C")
+ (footprint "Converter_DCDC:Converter_DCDC_Murata_OKI-78SR_Vertical")
+ (datasheet "https://power.murata.com/data/power/oki-78sr.pdf")
+ (description "1.5A Step-Down DC/DC-Regulator, 7-36V input, 3.3V fixed Output Voltage, LM78xx replacement, -40°C to +85°C, OKI-78SR_Vertical")
+ (fields
+ (field (name "Footprint") "Converter_DCDC:Converter_DCDC_Murata_OKI-78SR_Vertical")
+ (field (name "Datasheet") "https://power.murata.com/data/power/oki-78sr.pdf")
+ (field (name "Description") "1.5A Step-Down DC/DC-Regulator, 7-36V input, 3.3V fixed Output Voltage, LM78xx replacement, -40°C to +85°C, OKI-78SR_Vertical"))
+ (libsource (lib "Converter_DCDC") (part "OKI-78SR-3.3_1.5-W36-C") (description "1.5A Step-Down DC/DC-Regulator, 7-36V input, 3.3V fixed Output Voltage, LM78xx replacement, -40°C to +85°C, OKI-78SR_Vertical"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "dc-dc murata Step-Down DC/DC-Regulator"))
+ (property (name "ki_fp_filters") (value "Converter*DCDC*Murata*OKI*78SR*Vertical*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "53c17b44-09db-42b4-9361-3b20086c036e"))
+ (comp (ref "U6")
+ (value "LT1761-1.2")
+ (footprint "Package_TO_SOT_SMD:TSOT-23-5")
+ (datasheet "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (description "MICROPOWER Low Noise 1.2V 100mA LDO regulator, TSOT-23-5")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 1.2V 100mA LDO regulator, TSOT-23-5"))
+ (libsource (lib "Regulator_Linear") (part "LT1761-1.2") (description "MICROPOWER Low Noise 1.2V 100mA LDO regulator, TSOT-23-5"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_PowerTreeOKI78SRLT1761_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "REGULATOR POWER LDO POSITIVE"))
+ (property (name "ki_fp_filters") (value "TSOT?23*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e8ce7cf4-597a-452c-ac77-78187af3376e")))
+ (libparts
+ (libpart (lib "Converter_DCDC") (part "OKI-78SR-3.3_1.5-W36-C")
+ (description "1.5A Step-Down DC/DC-Regulator, 7-36V input, 3.3V fixed Output Voltage, LM78xx replacement, -40°C to +85°C, OKI-78SR_Vertical")
+ (docs "https://power.murata.com/data/power/oki-78sr.pdf")
+ (footprints
+ (fp "Converter*DCDC*Murata*OKI*78SR*Vertical*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "OKI-78SR-3.3_1.5-W36-C")
+ (field (name "Footprint") "Converter_DCDC:Converter_DCDC_Murata_OKI-78SR_Vertical")
+ (field (name "Datasheet") "https://power.murata.com/data/power/oki-78sr.pdf")
+ (field (name "Description") "1.5A Step-Down DC/DC-Regulator, 7-36V input, 3.3V fixed Output Voltage, LM78xx replacement, -40°C to +85°C, OKI-78SR_Vertical"))
+ (pins
+ (pin (num "1") (name "IN") (type "power_in"))
+ (pin (num "2") (name "GND") (type "power_in"))
+ (pin (num "3") (name "OUT") (type "power_out"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized_US")
+ (description "Polarized capacitor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Regulator_Linear") (part "LT1761-1.2")
+ (description "MICROPOWER Low Noise 1.2V 100mA LDO regulator, TSOT-23-5")
+ (docs "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (footprints
+ (fp "TSOT?23*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LT1761-1.2")
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 1.2V 100mA LDO regulator, TSOT-23-5"))
+ (pins
+ (pin (num "1") (name "VIN") (type "power_in"))
+ (pin (num "2") (name "GND") (type "power_in"))
+ (pin (num "3") (name "~{SHDN}") (type "input"))
+ (pin (num "4") (name "BYP") (type "passive"))
+ (pin (num "5") (name "VOUT") (type "power_out"))))
+ (libpart (lib "Regulator_Linear") (part "LT1761-1.8")
+ (description "MICROPOWER Low Noise 1.8V 100mA LDO regulator, TSOT-23-5")
+ (docs "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (footprints
+ (fp "TSOT?23*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LT1761-1.8")
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 1.8V 100mA LDO regulator, TSOT-23-5"))
+ (pins
+ (pin (num "1") (name "VIN") (type "power_in"))
+ (pin (num "2") (name "GND") (type "power_in"))
+ (pin (num "3") (name "~{SHDN}") (type "input"))
+ (pin (num "4") (name "BYP") (type "passive"))
+ (pin (num "5") (name "VOUT") (type "power_out"))))
+ (libpart (lib "Regulator_Linear") (part "LT1761-2.5")
+ (description "MICROPOWER Low Noise 2.5V 100mA LDO regulator, TSOT-23-5")
+ (docs "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (footprints
+ (fp "TSOT?23*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LT1761-2.5")
+ (field (name "Footprint") "Package_TO_SOT_SMD:TSOT-23-5")
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/1761sff.pdf")
+ (field (name "Description") "MICROPOWER Low Noise 2.5V 100mA LDO regulator, TSOT-23-5"))
+ (pins
+ (pin (num "1") (name "VIN") (type "power_in"))
+ (pin (num "2") (name "GND") (type "power_in"))
+ (pin (num "3") (name "~{SHDN}") (type "input"))
+ (pin (num "4") (name "BYP") (type "passive"))
+ (pin (num "5") (name "VOUT") (type "power_out")))))
+ (libraries
+ (library (logical "Converter_DCDC")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Converter_DCDC.kicad_sym"))
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Regulator_Linear")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Regulator_Linear.kicad_sym")))
+ (nets
+ (net (code "1") (name "+12V") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "U5") (pin "1") (pinfunction "IN") (pintype "power_in")))
+ (net (code "2") (name "/1p2V") (class "Default")
+ (node (ref "C11") (pin "1") (pintype "passive"))
+ (node (ref "C12") (pin "1") (pintype "passive"))
+ (node (ref "U6") (pin "5") (pinfunction "VOUT") (pintype "power_out")))
+ (net (code "3") (name "/1p8V") (class "Default")
+ (node (ref "C8") (pin "1") (pintype "passive"))
+ (node (ref "C9") (pin "1") (pintype "passive"))
+ (node (ref "U2") (pin "5") (pinfunction "VOUT") (pintype "power_out")))
+ (net (code "4") (name "/2p5V") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "C5") (pin "1") (pintype "passive"))
+ (node (ref "U3") (pin "5") (pinfunction "VOUT") (pintype "power_out")))
+ (net (code "5") (name "3p3V") (class "Default")
+ (node (ref "C10") (pin "1") (pintype "passive"))
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "C7") (pin "1") (pintype "passive"))
+ (node (ref "U2") (pin "1") (pinfunction "VIN") (pintype "power_in"))
+ (node (ref "U2") (pin "3") (pinfunction "~{SHDN}") (pintype "input"))
+ (node (ref "U3") (pin "1") (pinfunction "VIN") (pintype "power_in"))
+ (node (ref "U3") (pin "3") (pinfunction "~{SHDN}") (pintype "input"))
+ (node (ref "U5") (pin "3") (pinfunction "OUT") (pintype "power_out"))
+ (node (ref "U6") (pin "1") (pinfunction "VIN") (pintype "power_in"))
+ (node (ref "U6") (pin "3") (pinfunction "~{SHDN}") (pintype "input")))
+ (net (code "6") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C10") (pin "2") (pintype "passive"))
+ (node (ref "C12") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "C7") (pin "2") (pintype "passive"))
+ (node (ref "C9") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "2") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "U3") (pin "2") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "U5") (pin "2") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "U6") (pin "2") (pinfunction "GND") (pintype "power_in")))
+ (net (code "7") (name "Net-(U2-BYP)") (class "Default")
+ (node (ref "C8") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "4") (pinfunction "BYP") (pintype "passive")))
+ (net (code "8") (name "Net-(U3-BYP)") (class "Default")
+ (node (ref "C5") (pin "2") (pintype "passive"))
+ (node (ref "U3") (pin "4") (pinfunction "BYP") (pintype "passive")))
+ (net (code "9") (name "Net-(U6-BYP)") (class "Default")
+ (node (ref "C11") (pin "2") (pintype "passive"))
+ (node (ref "U6") (pin "4") (pinfunction "BYP") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_prl
new file mode 100644
index 0000000000..46bc3e8d56
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_tbd_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro
new file mode 100644
index 0000000000..88b50ae97a
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_tbd_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "612c414a-eb6b-4a07-bc42-fb8c7f2843f9",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_sch
new file mode 100644
index 0000000000..e84479d3bf
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_sch
@@ -0,0 +1,1994 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "612c414a-eb6b-4a07-bc42-fb8c7f2843f9")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Simulation_SPICE:OPAMP"
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at 3.81 3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 3.81 -3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "simulation"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "OPAMP_0_1"
+ (polyline
+ (pts
+ (xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "OPAMP_1_1"
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 7.62 270)
+ (length 3.81)
+ (name "V+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 -7.62 90)
+ (length 3.81)
+ (name "V-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+5V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+5V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:-5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "-5V_0_0"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "-5V_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy 0.762 1.27) (xy 0 2.54) (xy -0.762 1.27) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (text "Modified from https://www.ti.com/lit/an/sboa293a/sboa293a.pdf"
+ (exclude_from_sim no)
+ (at 136.652 118.872 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ (uuid "e8af95aa-0240-4d9f-9e7d-03eac998bfc7")
+ )
+ (junction
+ (at 151.13 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "108d0535-5f0b-4b45-984b-4c87e87b7616")
+ )
+ (junction
+ (at 134.62 106.68)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "1eee902a-3304-463d-b3d9-2df80f7e819f")
+ )
+ (junction
+ (at 151.13 74.93)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "3739abaa-73be-4455-bf55-ac04ab0f4842")
+ )
+ (junction
+ (at 115.57 91.44)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "42e30223-2c9e-4233-b2dd-3147ec3fe80f")
+ )
+ (junction
+ (at 115.57 74.93)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "4bc93b04-eb00-477d-95d7-2eebae633679")
+ )
+ (junction
+ (at 115.57 96.52)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "895bffbb-f81e-4525-a9c5-4ed3e3cb95f6")
+ )
+ (junction
+ (at 134.62 82.55)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "d59ed271-488c-4f8f-8229-0fe9b9d8bc0b")
+ )
+ (wire
+ (pts
+ (xy 138.43 106.68) (xy 134.62 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1e5e8b1e-9630-40cb-907c-f8e7c316a484")
+ )
+ (wire
+ (pts
+ (xy 151.13 74.93) (xy 138.43 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "229b34c9-f50c-4b95-b2d3-50c78c1f1333")
+ )
+ (wire
+ (pts
+ (xy 130.81 74.93) (xy 115.57 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "362bd2f3-dd5f-489f-86a3-e6eae1db8315")
+ )
+ (wire
+ (pts
+ (xy 134.62 101.6) (xy 134.62 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3f18e9f1-ecfc-4673-abc4-c7e68dde6c54")
+ )
+ (wire
+ (pts
+ (xy 115.57 96.52) (xy 129.54 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5ec77373-41c6-4014-ad61-d3adf9cb82b5")
+ )
+ (wire
+ (pts
+ (xy 151.13 93.98) (xy 151.13 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "695a90e5-dcdb-4bad-a86d-4fc670eeedfb")
+ )
+ (wire
+ (pts
+ (xy 130.81 63.5) (xy 115.57 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "72dafdae-8ca0-44c2-b01b-70242c11f1dd")
+ )
+ (wire
+ (pts
+ (xy 144.78 93.98) (xy 151.13 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "77406767-3a5d-46b0-b7f4-39467bb9603c")
+ )
+ (wire
+ (pts
+ (xy 115.57 100.33) (xy 115.57 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "83e0367a-ebbb-49b0-9975-dc25673a2fe5")
+ )
+ (wire
+ (pts
+ (xy 115.57 74.93) (xy 115.57 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "95716531-8b8a-42e5-a335-5f9caeee2e88")
+ )
+ (wire
+ (pts
+ (xy 115.57 63.5) (xy 115.57 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9fc31d88-4045-4757-9b48-72bf7e21c7b6")
+ )
+ (wire
+ (pts
+ (xy 151.13 93.98) (xy 158.75 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a65fc37f-bd4f-4182-968b-7ab916b819f7")
+ )
+ (wire
+ (pts
+ (xy 151.13 63.5) (xy 151.13 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "af336018-56a4-4c0c-b09b-f81249f1fc54")
+ )
+ (wire
+ (pts
+ (xy 110.49 91.44) (xy 115.57 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "be46b33e-dad0-42e5-8ca2-a4481a412464")
+ )
+ (wire
+ (pts
+ (xy 114.3 96.52) (xy 115.57 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "df638a78-52d0-4549-9a04-b9f4e753ea54")
+ )
+ (wire
+ (pts
+ (xy 134.62 82.55) (xy 134.62 86.36)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e5a6c9cd-915a-443d-8ea1-667a2dc76c86")
+ )
+ (wire
+ (pts
+ (xy 138.43 63.5) (xy 151.13 63.5)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e7b9cb16-b27b-48a9-9555-4fd2e2d7deee")
+ )
+ (wire
+ (pts
+ (xy 133.35 82.55) (xy 134.62 82.55)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eaaec103-cb6d-4f57-9d93-b8f81af51e99")
+ )
+ (wire
+ (pts
+ (xy 138.43 82.55) (xy 134.62 82.55)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f5cd63df-e13a-4725-84ed-104abcd2dfc9")
+ )
+ (wire
+ (pts
+ (xy 115.57 91.44) (xy 129.54 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f7d6f444-5a8c-4d3f-bee5-18b18f0cda60")
+ )
+ (wire
+ (pts
+ (xy 133.35 106.68) (xy 134.62 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f9573a22-0bd1-42cf-b2b1-59c73af4c0fe")
+ )
+ (wire
+ (pts
+ (xy 97.79 91.44) (xy 102.87 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fd3e11ce-2d85-4b0a-b39d-a23614f234e3")
+ )
+ (global_label "IN"
+ (shape input)
+ (at 97.79 91.44 180)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ (uuid "661aa2e2-dcd3-44be-9433-0381e7d0a6c6")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 92.8695 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ (hide yes)
+ )
+ )
+ )
+ (global_label "OUT"
+ (shape output)
+ (at 158.75 93.98 0)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ (uuid "d703a2c4-9661-4d30-b310-d825d772a936")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 165.3638 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 138.43 106.68 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "0bd5a820-9509-49dd-96a3-ca7d7fc17214")
+ (property "Reference" "#PWR01"
+ (at 138.43 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 138.43 101.6 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 138.43 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 138.43 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 138.43 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "c71f0044-1724-48c0-86ff-4138991532cb")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 133.35 82.55 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "0c2b675b-2320-476e-a434-f3f2bab25e15")
+ (property "Reference" "#FLG01"
+ (at 131.445 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 129.54 82.5499 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 133.35 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 133.35 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 133.35 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "901c321b-43fd-4780-8e9e-d2089118d994")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 114.3 96.52 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "217dc006-3a07-498c-9914-371ca922f251")
+ (property "Reference" "#FLG03"
+ (at 112.395 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 110.49 96.5199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 114.3 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 114.3 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 114.3 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "b03c4608-e624-4e37-9203-78c3cc12d873")
+ )
+ (instances
+ (project "kicad_activelowpass_circuit"
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#FLG03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 133.35 106.68 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4859cc9f-4b48-47da-b8ed-06c9a9b19254")
+ (property "Reference" "#FLG02"
+ (at 131.445 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 129.54 106.6799 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 133.35 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 133.35 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 133.35 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "e31b8e1d-5ebf-4082-bb52-6cf3bec501bb")
+ )
+ (instances
+ (project "kicad_activelowpass_circuit"
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 115.57 100.33 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "485a6290-047f-4bc0-8579-04a3e7e350a1")
+ (property "Reference" "#PWR03"
+ (at 115.57 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 115.57 105.41 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 115.57 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 115.57 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 115.57 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "78f6d0e4-8cd9-4a1d-8ef5-eae83c77f709")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:-5V")
+ (at 138.43 82.55 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "5f2cbb28-9fe0-476d-aa8a-43eb5d2afa1c")
+ (property "Reference" "#PWR02"
+ (at 138.43 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-5V"
+ (at 138.43 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 138.43 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 138.43 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-5V\""
+ (at 138.43 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1a5e8954-68d1-485d-9c50-d9b99ada43d6")
+ )
+ (instances
+ (project "kicad_tbd_circuit"
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 134.62 74.93 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "a5c5ddf5-6dfa-431a-8898-0164bb345ae3")
+ (property "Reference" "R2"
+ (at 134.62 68.58 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "20k"
+ (at 134.62 71.12 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 134.874 73.914 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 134.62 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 134.62 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "81613e01-d636-4f20-b61b-c9d51287da98")
+ )
+ (pin "1"
+ (uuid "9056f921-008e-44e6-b80d-617bfd1e95ab")
+ )
+ (instances
+ (project "kicad_tbd_circuit"
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 106.68 91.44 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bb7232b2-9850-4caf-af5d-665fa5ca4dc2")
+ (property "Reference" "R1"
+ (at 106.68 85.09 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "1k"
+ (at 106.68 87.63 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 106.934 90.424 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 106.68 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 106.68 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "5bb5ae3f-7dde-4727-9d27-c61c8641268f")
+ )
+ (pin "1"
+ (uuid "0e356ba8-2802-43d0-8883-29177777f800")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 134.62 63.5 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "cfe75c65-4ad7-4149-86ad-f66d25875ed4")
+ (property "Reference" "C1"
+ (at 134.62 55.88 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "3nF"
+ (at 134.62 58.42 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 138.43 62.5348 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 134.62 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 134.62 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "98d64e75-a445-4b06-a175-1b213d0644aa")
+ )
+ (pin "1"
+ (uuid "3dccbdc1-e53f-40c4-9657-c5e5ac5be439")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:OPAMP")
+ (at 137.16 93.98 0)
+ (mirror x)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "f9b4f543-93c3-4e21-b15e-9fd73ac86ea7")
+ (property "Reference" "U1"
+ (at 144.78 99.1302 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 144.78 97.2251 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 137.16 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "3"
+ (uuid "698a08e2-c998-4539-b768-5b9681f2b877")
+ )
+ (pin "2"
+ (uuid "4c7fadb4-4602-43ae-a176-8996a4947408")
+ )
+ (pin "4"
+ (uuid "d2bb36ca-5250-4c1a-bbe5-a8d50e86d6c3")
+ )
+ (pin "1"
+ (uuid "597b5550-51a2-4282-9805-3c03a4954312")
+ )
+ (pin "5"
+ (uuid "c4e23110-dd43-4223-b78f-7c8c1db7895f")
+ )
+ (instances
+ (project ""
+ (path "/612c414a-eb6b-4a07-bc42-fb8c7f2843f9"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/main.py b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/main.py
new file mode 100644
index 0000000000..52964ce621
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 84ec333e-3a9d-4aa6-ab8b-8575bbf2dbab."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "84ec333e-3a9d-4aa6-ab8b-8575bbf2dbab"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify the circuit to set the pole frequency to 4kHz but keep the passband gain the same.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/pyproject.toml
new file mode 100644
index 0000000000..921d2c9861
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-84ec333e-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify the circuit to set the pole frequency to 4kHz but keep the passband gain the same."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/reference.net
new file mode 100644
index 0000000000..58c8360879
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/84ec333e/reference.net
@@ -0,0 +1,160 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_activelowpass_circuit_modified\\kicad_activelowpass_circuit_modified.kicad_sch")
+ (date "2026-02-28T20:32:55-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_activelowpass_circuit_modified.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "2nF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_activelowpass_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "cfe75c65-4ad7-4149-86ad-f66d25875ed4"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_activelowpass_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bb7232b2-9850-4caf-af5d-665fa5ca4dc2"))
+ (comp (ref "R2")
+ (value "20k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_activelowpass_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a5c5ddf5-6dfa-431a-8898-0164bb345ae3"))
+ (comp (ref "U1")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_activelowpass_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f9b4f543-93c3-4e21-b15e-9fd73ac86ea7")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Simulation_SPICE") (part "OPAMP")
+ (description "Operational amplifier, single")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "${SIM.PARAMS}")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single")
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp"))
+ (pins
+ (pin (num "1") (name "+") (type "input"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "V+") (type "power_in"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "") (type "output")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "U1") (pin "3") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "-5V") (class "Default")
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "4") (name "IN") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive")))
+ (net (code "5") (name "Net-(U1--)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "6") (name "OUT") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pintype "output")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/main.py b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/main.py
new file mode 100644
index 0000000000..d9807bd8e4
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 854b8a80-36a7-4ba9-8acd-fdb7ddf40806."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "854b8a80-36a7-4ba9-8acd-fdb7ddf40806"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a transistor-based astable multivibrator circuit. Use two BF457 NPN transistors. For the timing network, use two 10kΩ base resistors and two 10µF electrolytic capacitors. Each collector should drive an LED through a 330Ω current-limiting resistor.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/pyproject.toml
new file mode 100644
index 0000000000..a605e5f160
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-854b8a80-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a transistor-based astable multivibrator circuit. Use two BF457 NPN transistors. For the timing network, use two 10kΩ base resistors and two 10µF electrolytic capacitors. Each collector should drive an LED through a 330Ω current-limiting resistor."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/reference.net
new file mode 100644
index 0000000000..2c86dea585
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/854b8a80/reference.net
@@ -0,0 +1,318 @@
+(export (version "E")
+ (design
+ (source "E:\\Schematic_Project\\Kicad_555timer_circuit\\KiCad_LED Flip Flop_circuit\\KiCad_LED Flip Flop_circuit.kicad_sch")
+ (date "2026-02-28T17:12:44+0300")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "KiCad_LED Flip Flop_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bcabd2b4-2d07-4039-ae92-5b9897caacc4"))
+ (comp (ref "C2")
+ (value "10u")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "11404f76-528e-41b2-88e1-0d31661cf409"))
+ (comp (ref "D1")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "705b1d79-4264-4cd3-b3c6-bd81232c39f3"))
+ (comp (ref "D2")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "b4ae732c-dd78-48de-8127-af3f9a0c4e3b"))
+ (comp (ref "J1")
+ (value "Conn_01x02_Pin")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (libsource (lib "Connector") (part "Conn_01x02_Pin") (description "Generic connector, single row, 01x02, script generated"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "aa41d29c-7300-456b-9d7a-ff594edf37b5"))
+ (comp (ref "Q1")
+ (value "BF457")
+ (footprint "Package_TO_SOT_THT:TO-126-3_Vertical")
+ (datasheet "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (description "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126")
+ (fields
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=E 2=C 3=B")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-126-3_Vertical")
+ (field (name "Datasheet") "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (field (name "Description") "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126"))
+ (libsource (lib "Transistor_BJT") (part "BF457") (description "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126"))
+ (property (name "Sim.Device") (value "NPN"))
+ (property (name "Sim.Pins") (value "1=E 2=C 3=B"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "NPN HV High Voltage Transistor"))
+ (property (name "ki_fp_filters") (value "TO?126*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "497fb627-d5cd-4355-b927-ab04902ccfbc"))
+ (comp (ref "Q2")
+ (value "BF457")
+ (footprint "Package_TO_SOT_THT:TO-126-3_Vertical")
+ (datasheet "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (description "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126")
+ (fields
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=E 2=C 3=B")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-126-3_Vertical")
+ (field (name "Datasheet") "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (field (name "Description") "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126"))
+ (libsource (lib "Transistor_BJT") (part "BF457") (description "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126"))
+ (property (name "Sim.Device") (value "NPN"))
+ (property (name "Sim.Pins") (value "1=E 2=C 3=B"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "NPN HV High Voltage Transistor"))
+ (property (name "ki_fp_filters") (value "TO?126*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3ed5a9e8-8b7c-4037-91e4-746ecaabe3ec"))
+ (comp (ref "R1")
+ (value "330")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "84cb34b6-c2be-4b91-afee-58b9e115b60a"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "95b59eb4-22f6-41ec-9f00-3b205651e189"))
+ (comp (ref "R3")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f93aca0a-1627-459a-8517-6cf4cccff5da"))
+ (comp (ref "R4")
+ (value "330")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "KiCad_LED Flip Flop_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "381ba857-05ec-4fc8-97bb-a3391e306224")))
+ (libparts
+ (libpart (lib "Connector") (part "Conn_01x02_Pin")
+ (description "Generic connector, single row, 01x02, script generated")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02_Pin")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized")
+ (description "Polarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Transistor_BJT") (part "BF457")
+ (description "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126")
+ (docs "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (footprints
+ (fp "TO?126*"))
+ (fields
+ (field (name "Reference") "Q")
+ (field (name "Value") "BF457")
+ (field (name "Footprint") "Package_TO_SOT_THT:TO-126-3_Vertical")
+ (field (name "Datasheet") "https://www.pcpaudio.com/pcpfiles/transistores/BF457-8-9.pdf")
+ (field (name "Description") "0.1A Ic, 160V Vce, High Voltage NPN Transistor, TO-126")
+ (field (name "Sim.Device") "NPN")
+ (field (name "Sim.Pins") "1=E 2=C 3=B"))
+ (pins
+ (pin (num "1") (name "E") (type "passive"))
+ (pin (num "2") (name "C") (type "passive"))
+ (pin (num "3") (name "B") (type "input")))))
+ (libraries
+ (library (logical "Connector")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Transistor_BJT")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Transistor_BJT.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "Q1") (pin "1") (pinfunction "E") (pintype "passive"))
+ (node (ref "Q2") (pin "1") (pinfunction "E") (pintype "passive")))
+ (net (code "2") (name "Net-(D1-A)") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "3") (name "Net-(D1-K)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "Q1") (pin "2") (pinfunction "C") (pintype "passive")))
+ (net (code "4") (name "Net-(D2-A)") (class "Default")
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive")))
+ (net (code "5") (name "Net-(D2-K)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "Q2") (pin "2") (pinfunction "C") (pintype "passive")))
+ (net (code "6") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "7") (name "Net-(Q1-B)") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "Q1") (pin "3") (pinfunction "B") (pintype "input"))
+ (node (ref "R3") (pin "2") (pintype "passive")))
+ (net (code "8") (name "Net-(Q2-B)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "Q2") (pin "3") (pinfunction "B") (pintype "input"))
+ (node (ref "R2") (pin "2") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_prl
new file mode 100644
index 0000000000..b9459778e1
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_MicrophoneAmp_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro
new file mode 100644
index 0000000000..42bcea85ed
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_MicrophoneAmp_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_sch
new file mode 100644
index 0000000000..e94fffe754
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_sch
@@ -0,0 +1,2983 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:Microphone"
+ (pin_names
+ (offset 0.0254)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "MK"
+ (at -3.81 1.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "Microphone"
+ (at -3.81 -0.635 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 2.54 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 2.54 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Microphone"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "microphone"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Microphone_0_1"
+ (polyline
+ (pts
+ (xy -2.54 2.54) (xy -2.54 -2.54)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (circle
+ (center 0 0)
+ (radius 2.54)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0.254 3.81) (xy 0.762 3.81)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0.508 4.064) (xy 0.508 3.556)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "Microphone_1_1"
+ (pin passive line
+ (at 0 5.08 270)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -5.08 90)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Simulation_SPICE:OPAMP"
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at 3.81 3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 3.81 -3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "simulation"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "OPAMP_0_1"
+ (polyline
+ (pts
+ (xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "OPAMP_1_1"
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 7.62 270)
+ (length 3.81)
+ (name "V+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 -7.62 90)
+ (length 3.81)
+ (name "V-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+5V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+5V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (text "Modified from \nhttps://www.ti.com/lit/an/sboa290a/sboa290a.pdf?ts=1772372956330"
+ (exclude_from_sim no)
+ (at 103.886 157.988 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ (uuid "96f05e55-079d-4137-9b9f-b3560bf594d0")
+ )
+ (junction
+ (at 124.46 106.68)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "04f94602-cefc-4870-b0ff-ca4eff59a7ae")
+ )
+ (junction
+ (at 99.06 93.98)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "1f2c6d0d-fce9-4f1a-8dff-5e2a2c78e5f7")
+ )
+ (junction
+ (at 99.06 106.68)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "6380c321-b9a2-4343-a642-385f15ac76b3")
+ )
+ (junction
+ (at 166.37 134.62)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "664427f1-269f-44fc-b397-5a98f74cb618")
+ )
+ (junction
+ (at 142.24 134.62)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "8fc82c45-e3bd-45b2-9df4-8dcbefc4adf0")
+ )
+ (junction
+ (at 142.24 146.05)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a3162763-5e40-405f-8380-e445cda45c06")
+ )
+ (junction
+ (at 166.37 109.22)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "b41ac10f-b5d7-4646-96e2-bdb43dad3925")
+ )
+ (junction
+ (at 99.06 124.46)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "d448af4e-6afb-4647-871d-855ad7517804")
+ )
+ (junction
+ (at 189.23 109.22)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "dc178162-78d1-43f5-8637-47a738d73314")
+ )
+ (wire
+ (pts
+ (xy 124.46 106.68) (xy 124.46 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "13a5378a-520a-429f-aa3d-5043178bdcdf")
+ )
+ (wire
+ (pts
+ (xy 142.24 111.76) (xy 142.24 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "18f19594-73e2-45c4-881a-a8d74d71bd4d")
+ )
+ (wire
+ (pts
+ (xy 142.24 134.62) (xy 151.13 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1e9ecdb1-9985-4a32-a39f-7592b30ff2d8")
+ )
+ (wire
+ (pts
+ (xy 142.24 146.05) (xy 142.24 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2267906f-3c8c-4185-9af6-65da020feab6")
+ )
+ (wire
+ (pts
+ (xy 97.79 124.46) (xy 99.06 124.46)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2c0b0e7e-aacd-4d6b-a253-e93df930a5bc")
+ )
+ (wire
+ (pts
+ (xy 99.06 106.68) (xy 99.06 111.76)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "30fd3046-f421-46c4-821c-3838cc1ca6f6")
+ )
+ (wire
+ (pts
+ (xy 116.84 106.68) (xy 124.46 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "32d6ed6a-4ea5-42e5-97d6-7337935bd24d")
+ )
+ (wire
+ (pts
+ (xy 124.46 116.84) (xy 124.46 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3339f0bf-b974-45ee-ae6e-1cde7a9c41f9")
+ )
+ (wire
+ (pts
+ (xy 124.46 106.68) (xy 147.32 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3631afa7-a82b-49bc-8b58-bbb7d4b9bbe0")
+ )
+ (wire
+ (pts
+ (xy 151.13 146.05) (xy 142.24 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "396d2896-3ce3-4bbf-8f3f-66dcfb081c81")
+ )
+ (wire
+ (pts
+ (xy 162.56 109.22) (xy 166.37 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3b1f2e5c-46f3-42d2-929e-c901ac8f5413")
+ )
+ (wire
+ (pts
+ (xy 147.32 111.76) (xy 142.24 111.76)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3e2e150b-c2e3-4671-9e01-22911ea0ecba")
+ )
+ (wire
+ (pts
+ (xy 99.06 106.68) (xy 109.22 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3f335a36-0304-4948-bcd9-76c593e231bd")
+ )
+ (wire
+ (pts
+ (xy 137.16 146.05) (xy 142.24 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "43d9a3bc-15a5-4a90-a0e3-1d586e259fb9")
+ )
+ (wire
+ (pts
+ (xy 99.06 121.92) (xy 99.06 124.46)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4cb773c3-046a-470a-a2a6-db798160f3f8")
+ )
+ (wire
+ (pts
+ (xy 181.61 109.22) (xy 189.23 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4d96e472-6e2b-48f8-ad28-3cb00ae0a218")
+ )
+ (wire
+ (pts
+ (xy 96.52 93.98) (xy 99.06 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5af79b5e-0db5-446d-a661-d8b5a31a0f24")
+ )
+ (wire
+ (pts
+ (xy 152.4 116.84) (xy 152.4 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5cbc4b16-56ae-470e-86cd-68087080f19b")
+ )
+ (wire
+ (pts
+ (xy 99.06 92.71) (xy 99.06 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7b21ec2a-0a76-49a9-8afd-23418167246f")
+ )
+ (wire
+ (pts
+ (xy 152.4 99.06) (xy 152.4 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8b082456-42dd-4bde-8deb-12a8323c11cb")
+ )
+ (wire
+ (pts
+ (xy 189.23 119.38) (xy 189.23 121.92)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "98f0e9ce-4173-4bb9-9e81-f53bd2576a7b")
+ )
+ (wire
+ (pts
+ (xy 158.75 134.62) (xy 166.37 134.62)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9a01c4d5-2e7c-4d71-aaff-7cd3b2dcbbef")
+ )
+ (wire
+ (pts
+ (xy 99.06 124.46) (xy 99.06 127)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9d71e194-a370-4f8a-8b09-638820041bd3")
+ )
+ (wire
+ (pts
+ (xy 189.23 109.22) (xy 195.58 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a212fa78-af07-444f-a232-4ce85fa134ed")
+ )
+ (wire
+ (pts
+ (xy 166.37 146.05) (xy 158.75 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a346479e-9f34-4205-9c52-0c3a04eb17b7")
+ )
+ (wire
+ (pts
+ (xy 124.46 104.14) (xy 124.46 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ad018be7-7dbd-4895-9c37-1ddde3a6d007")
+ )
+ (wire
+ (pts
+ (xy 166.37 134.62) (xy 166.37 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ad423473-2fb5-4d90-86d9-ae7389602de7")
+ )
+ (wire
+ (pts
+ (xy 189.23 109.22) (xy 189.23 111.76)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c8a1cf4b-963e-433c-813b-b6eebfed7f47")
+ )
+ (wire
+ (pts
+ (xy 166.37 134.62) (xy 166.37 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ca684a6b-722a-4f15-8a0c-184fa1c963c1")
+ )
+ (wire
+ (pts
+ (xy 99.06 93.98) (xy 99.06 95.25)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ce59c8b6-4a2b-4995-aa5e-389069e23605")
+ )
+ (wire
+ (pts
+ (xy 166.37 109.22) (xy 173.99 109.22)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "cee47346-c30e-462c-a4d5-fa57303283f4")
+ )
+ (wire
+ (pts
+ (xy 124.46 93.98) (xy 124.46 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d37b0df9-2ca5-454b-b9d8-c1c435b925cb")
+ )
+ (wire
+ (pts
+ (xy 118.11 146.05) (xy 120.65 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d8e871cc-028d-4716-b36c-f5536308bff9")
+ )
+ (wire
+ (pts
+ (xy 99.06 102.87) (xy 99.06 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e8aed13a-d566-45eb-bc6e-0ffecae86e01")
+ )
+ (wire
+ (pts
+ (xy 128.27 146.05) (xy 129.54 146.05)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fa7b0b15-f526-418b-8a5d-5c726a460df8")
+ )
+ (global_label "VOut"
+ (shape output)
+ (at 195.58 109.22 0)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ (uuid "e3eca67b-8e00-4633-aace-d2b8d5a72efe")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 198.8192 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 177.8 109.22 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "04d8c7cf-66f2-48ba-b7a4-aee38b0d1bc6")
+ (property "Reference" "C4"
+ (at 177.8 101.6 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "3.3u"
+ (at 177.8 104.14 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 181.61 108.2548 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 177.8 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 177.8 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "c4b0d45f-7904-4c5a-86db-c8c7e7227203")
+ )
+ (pin "1"
+ (uuid "a9f55af5-7b6c-47f9-a4fa-564c0db8cf68")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "C4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 124.46 146.05 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "1869bdd6-3599-441b-bc2b-2d55f4a67803")
+ (property "Reference" "C2"
+ (at 124.46 138.43 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "47u"
+ (at 124.46 140.97 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 128.27 145.0848 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 124.46 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 124.46 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "8276ac98-0cf0-4757-bf09-82900ce82767")
+ )
+ (pin "1"
+ (uuid "e34afa59-8525-4e61-8582-ab6af9bf63ed")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 154.94 146.05 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2e40c2fd-011a-4daa-a127-7f5e0711f5c2")
+ (property "Reference" "C3"
+ (at 154.94 138.43 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "120p"
+ (at 154.94 140.97 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 158.75 145.0848 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 154.94 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 154.94 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "f0303621-ecd7-4d2e-9b75-c9aa17913d5e")
+ )
+ (pin "1"
+ (uuid "bf361bf6-a253-493d-8fc5-e11790b5e63c")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "C3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 124.46 113.03 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "2f45bd7a-8caf-47ce-8a42-603d659dae35")
+ (property "Reference" "R3"
+ (at 127 111.7599 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "200k"
+ (at 127 114.2999 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 125.476 113.284 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 124.46 113.03 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 124.46 113.03 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "6ed180de-d9fb-43dd-87a8-85f7c7e013c9")
+ )
+ (pin "2"
+ (uuid "2aa8c717-7a1b-46ef-89cc-45f2e586631d")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:OPAMP")
+ (at 154.94 109.22 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3a528c51-964b-46b9-b40f-9217fc5fbd2b")
+ (property "Reference" "U1"
+ (at 162.56 104.0698 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 162.56 105.9749 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 154.94 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "5"
+ (uuid "b1ebf131-cc8e-4a16-ac41-7e107db8b881")
+ )
+ (pin "2"
+ (uuid "d49d7ede-bb85-4dad-98b6-f9d7dd267ea4")
+ )
+ (pin "1"
+ (uuid "0f0895af-42b7-4a44-937a-04b2683c12ed")
+ )
+ (pin "4"
+ (uuid "c68d579a-365b-4811-b96c-a8ba9d7e082f")
+ )
+ (pin "3"
+ (uuid "2dd4d98d-d56e-4b74-905b-fe3e4ab79aba")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 124.46 118.11 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4594ec45-391d-4f94-ae1d-4d555d7cfc38")
+ (property "Reference" "#PWR04"
+ (at 124.46 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 124.46 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 124.46 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 124.46 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 124.46 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "752247c5-18b5-45d1-9f78-d402c8aad547")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:Microphone")
+ (at 99.06 116.84 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "7c3dc31d-56f0-401b-bfa0-d52617355ca4")
+ (property "Reference" "MK1"
+ (at 102.87 114.8714 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "Microphone"
+ (at 102.87 117.4114 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 99.06 114.3 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 99.06 114.3 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Microphone"
+ (at 99.06 116.84 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "37565d56-cc4d-49ce-b31c-5059e975b0be")
+ )
+ (pin "1"
+ (uuid "680511a2-4632-47c7-8a61-409f5a6afaf6")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "MK1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 189.23 121.92 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "7d1be3c7-4df8-4d16-875b-40726136ffe5")
+ (property "Reference" "#PWR01"
+ (at 189.23 128.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 189.23 127 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 189.23 121.92 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 189.23 121.92 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 189.23 121.92 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9c3a145c-2cce-42a1-9a60-aa734c07253e")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 113.03 106.68 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "8031b63b-00b5-4a8b-b63b-cf0d034d43e4")
+ (property "Reference" "C1"
+ (at 113.03 99.06 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "330n"
+ (at 113.03 101.6 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 116.84 105.7148 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 113.03 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 113.03 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "a330804c-7e17-4b96-a317-09c5a5135b06")
+ )
+ (pin "1"
+ (uuid "7dac9a28-2ecf-489a-bf9a-717055ca5d01")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 99.06 92.71 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "8653c719-5bcb-4445-85cb-79f499f17f25")
+ (property "Reference" "#PWR06"
+ (at 99.06 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 99.06 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 99.06 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 99.06 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 99.06 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "e2f3f3bd-3eb9-4f09-a48e-39a1e1e48c55")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR06")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 99.06 127 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9513145e-f5e2-4ecd-be15-212e640927bb")
+ (property "Reference" "#PWR05"
+ (at 99.06 133.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 99.06 132.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 99.06 127 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 99.06 127 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 99.06 127 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "46761964-53c2-4d16-a0ec-6466a5055699")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR05")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 124.46 100.33 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "9729f409-e394-4840-8457-6e5fd755c7e7")
+ (property "Reference" "R2"
+ (at 127 99.0599 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "200k"
+ (at 127 101.5999 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 125.476 100.584 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 124.46 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 124.46 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "0833957f-837a-4890-9869-207b0598faa5")
+ )
+ (pin "2"
+ (uuid "c396b2a9-8084-4d7a-9197-8ecf033d2080")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 118.11 146.05 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ac51347c-dbc4-4f25-9dc9-324367e5ab05")
+ (property "Reference" "#PWR03"
+ (at 111.76 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 114.3 146.0499 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 118.11 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 118.11 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 118.11 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "7fbf5b8b-87b9-4782-bc22-7ad4f93f25f8")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 124.46 93.98 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "af25c576-cafc-4752-80da-d709217fd72e")
+ (property "Reference" "#PWR07"
+ (at 124.46 97.79 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 124.46 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 124.46 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 124.46 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 124.46 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9609611c-5525-428c-9a69-86e86a3fa406")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR07")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 152.4 118.11 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "b873b172-be08-4c44-9fa9-51a1ce0aaeef")
+ (property "Reference" "#PWR02"
+ (at 152.4 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 152.4 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 152.4 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 152.4 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 152.4 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "23297a41-362e-4b4d-a9d8-588e3004975f")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 133.35 146.05 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c745d8f4-c4da-4790-b313-66a63e7767e1")
+ (property "Reference" "R4"
+ (at 133.35 139.7 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "787"
+ (at 133.35 142.24 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 133.604 145.034 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 133.35 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 133.35 146.05 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "48719cc3-4408-402f-89d2-0847cd077d81")
+ )
+ (pin "2"
+ (uuid "484cb7b4-5985-4c13-a47f-b782058aba99")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 99.06 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ca1e26b2-3be7-40fe-ae8f-1b4cde7955a4")
+ (property "Reference" "R1"
+ (at 101.6 97.7899 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "6.19k"
+ (at 101.6 100.3299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 100.076 99.314 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 99.06 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 99.06 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4b02e34b-52b4-4680-96f7-f453012331df")
+ )
+ (pin "2"
+ (uuid "ecf17699-b42a-4d60-b461-384afc121f2b")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 189.23 115.57 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ce0cb861-cb6b-4d14-be8c-79ea818437bd")
+ (property "Reference" "R6"
+ (at 191.77 114.2999 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "10k"
+ (at 191.77 116.8399 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 190.246 115.824 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 189.23 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 189.23 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1845ed5e-0d94-416e-94fa-06f45dbb7524")
+ )
+ (pin "2"
+ (uuid "424c8f0d-6272-40b7-b1bc-00ede15f75f9")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R6")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 152.4 99.06 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "d459f88c-9bf6-4c01-ab13-f76faf2df56b")
+ (property "Reference" "#PWR08"
+ (at 152.4 102.87 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 152.4 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 152.4 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 152.4 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 152.4 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "d14ae15b-f56b-4d63-9577-2de3dd396b45")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#PWR08")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 96.52 93.98 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "d7d61bad-50c9-434d-8b50-97e524197547")
+ (property "Reference" "#FLG01"
+ (at 94.615 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 92.71 93.9799 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 96.52 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 96.52 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 96.52 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "17fde56c-c3b2-4558-a951-27e37db1887b")
+ )
+ (instances
+ (project ""
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 154.94 134.62 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "f3ea7c1d-b768-4110-b010-98a3e41452c3")
+ (property "Reference" "R5"
+ (at 154.94 128.27 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 154.94 130.81 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 155.194 133.604 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 154.94 134.62 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 154.94 134.62 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "914b4c24-07c6-40ca-b22a-182dfce32cf3")
+ )
+ (pin "2"
+ (uuid "41441562-cc4c-471f-ad8d-569cd255f0b7")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "R5")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 97.79 124.46 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "fcff5b58-c91d-4c71-8f81-578ccd8585e3")
+ (property "Reference" "#FLG02"
+ (at 95.885 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 93.98 124.4599 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 97.79 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 97.79 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 97.79 124.46 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "760837b5-71dc-4e88-bb3e-5a9584edd589")
+ )
+ (instances
+ (project "kicad_MicrophoneAmp_circuit"
+ (path "/f01c96dc-0a5a-4e79-a94f-ba1b4b6b17e4"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/main.py b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/main.py
new file mode 100644
index 0000000000..dd5151c0e9
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission 9ca3ef44-a054-461a-94ee-f76b39ca8147."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "9ca3ef44-a054-461a-94ee-f76b39ca8147"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify the value of R1 to center the DC bias of the electret microphone output and provide the maximum, non-distorted voltage output range. Treat the electret microphone as a current sink with a typical draw of 0.5 mA.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/pyproject.toml
new file mode 100644
index 0000000000..6c259db41f
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-9ca3ef44-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify the value of R1 to center the DC bias of the electret microphone output and provide the maximum, non-distorted voltage output range. Treat the electret microphone as a current sink with a typical draw of 0.5 mA."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/reference.net
new file mode 100644
index 0000000000..62c41435d3
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/9ca3ef44/reference.net
@@ -0,0 +1,309 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\2_7 MicrophoneAmp\\kicad_MicrophoneAmp_circuit_modified\\kicad_MicrophoneAmp_circuit_modified.kicad_sch")
+ (date "2026-03-01T15:30:09-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_MicrophoneAmp_circuit_modified.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "330n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "8031b63b-00b5-4a8b-b63b-cf0d034d43e4"))
+ (comp (ref "C2")
+ (value "47u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1869bdd6-3599-441b-bc2b-2d55f4a67803"))
+ (comp (ref "C3")
+ (value "120p")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2e40c2fd-011a-4daa-a127-7f5e0711f5c2"))
+ (comp (ref "C4")
+ (value "3.3u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "04d8c7cf-66f2-48ba-b7a4-aee38b0d1bc6"))
+ (comp (ref "MK1")
+ (value "Microphone")
+ (datasheet "~")
+ (description "Microphone")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Microphone"))
+ (libsource (lib "Device") (part "Microphone") (description "Microphone"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "microphone"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "7c3dc31d-56f0-401b-bfa0-d52617355ca4"))
+ (comp (ref "R1")
+ (value "5k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ca1e26b2-3be7-40fe-ae8f-1b4cde7955a4"))
+ (comp (ref "R2")
+ (value "200k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9729f409-e394-4840-8457-6e5fd755c7e7"))
+ (comp (ref "R3")
+ (value "200k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "2f45bd7a-8caf-47ce-8a42-603d659dae35"))
+ (comp (ref "R4")
+ (value "787")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c745d8f4-c4da-4790-b313-66a63e7767e1"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "f3ea7c1d-b768-4110-b010-98a3e41452c3"))
+ (comp (ref "R6")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ce0cb861-cb6b-4d14-be8c-79ea818437bd"))
+ (comp (ref "U1")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_MicrophoneAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3a528c51-964b-46b9-b40f-9217fc5fbd2b")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "Microphone")
+ (description "Microphone")
+ (docs "~")
+ (fields
+ (field (name "Reference") "MK")
+ (field (name "Value") "Microphone")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Microphone"))
+ (pins
+ (pin (num "1") (name "-") (type "passive"))
+ (pin (num "2") (name "+") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Simulation_SPICE") (part "OPAMP")
+ (description "Operational amplifier, single")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "${SIM.PARAMS}")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single")
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp"))
+ (pins
+ (pin (num "1") (name "+") (type "input"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "V+") (type "power_in"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "") (type "output")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "MK1") (pin "1") (pinfunction "-") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "Net-(C2-Pad2)") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "4") (name "Net-(C3-Pad2)") (class "Default")
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pintype "output")))
+ (net (code "5") (name "Net-(MK1-+)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "MK1") (pin "2") (pinfunction "+") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(U1-+)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "7") (name "Net-(U1--)") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "8") (name "VOut") (class "Default")
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "1") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/main.py b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/main.py
new file mode 100644
index 0000000000..f2eb3fa9b6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/main.py
@@ -0,0 +1,101 @@
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "a6414tw4"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Use KiCad schematic designer to create an empty netlist file.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/pyproject.toml
new file mode 100644
index 0000000000..a20b0bfab7
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-a6414tw4-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Use KiCad schematic designer to create an empty netlist file."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/reference.net
new file mode 100644
index 0000000000..d911048f65
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6414tw4/reference.net
@@ -0,0 +1,25 @@
+(export (version "E")
+ (design
+ (source "/Users/arminparchami/Downloads/test/test.kicad_sch")
+ (date "2026-03-29T17:38:59-0700")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "test.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components)
+ (libparts)
+ (libraries)
+ (nets))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/main.py b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/main.py
new file mode 100644
index 0000000000..643a02a7f7
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission a6dd38a9-71df-42b7-99a4-d3e33bb01c5b."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "a6dd38a9-71df-42b7-99a4-d3e33bb01c5b"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='Design a passive RC band-pass filter for audio signals with corner frequencies near 1 kHz and 10 kHz. Implement it as a cascaded high-pass stage followed by a low-pass stage using 10 kΩ resistors, a 15 nF capacitor for the high-pass section, and a 1.5 nF capacitor for the low-pass section. Include 2-pin input and output connectors sharing a common ground. Create the KiCad schematic and export the KiCad netlist for the design.',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/pyproject.toml
new file mode 100644
index 0000000000..989f2e2c77
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-a6dd38a9-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a passive RC band-pass filter for audio signals with corner frequencies near 1 kHz and 10 kHz. Implement it as a cascaded high-pass stage followed by a low-pass stage using 10 kΩ resistors, a 15 nF capacitor for the high-pass section, and a 1.5 nF capacitor for the low-pass section. Include 2-pin input and output connectors sharing a common ground. Create the KiCad schematic and export the KiCad netlist for the design."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/reference.net
new file mode 100644
index 0000000000..a8f2941a22
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/a6dd38a9/reference.net
@@ -0,0 +1,177 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Documents/ohm bench/kicad_rcbandpass_circuit/kicad_rcbandpass_circuit.kicad_sch")
+ (date "2026-02-22T14:41:31-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_rcbandpass_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "15n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "790705cd-ad1b-4f17-b39e-c3feb7af9236"))
+ (comp (ref "C2")
+ (value "1.5n")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bc796f6b-3552-4360-a4b9-5b9816d183f8"))
+ (comp (ref "J1")
+ (value "Conn_01x02")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9a8843db-5e25-4baf-8547-012d8ac44ec5"))
+ (comp (ref "J2")
+ (value "Conn_01x02")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector_Generic") (part "Conn_01x02") (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "be29d561-5f75-40a8-9f96-873de0f5a065"))
+ (comp (ref "R1")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "73aefd80-e318-4113-bcc3-4b43afc5684f"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (libsource (lib "Device") (part "R") (description "Resistor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_rcbandpass_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9cd6d5b6-8574-46ae-8f8d-f6ba9a345ae6")))
+ (libparts
+ (libpart (lib "Connector_Generic") (part "Conn_01x02")
+ (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R")
+ (description "Resistor")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Connector_Generic")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector_Generic.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym")))
+ (nets
+ (net (code "1") (name "GND") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "2") (name "Net-(C1-Pad1)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive")))
+ (net (code "3") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive")))
+ (net (code "4") (name "Net-(J2-Pin_1)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7148878/main.py b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/main.py
new file mode 100644
index 0000000000..74f21cac9c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission b7148878-ca7a-409c-a6c5-e1c6cff7858b."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "b7148878-ca7a-409c-a6c5-e1c6cff7858b"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='Design a KiCad-style schematic of a two opamp circuit that converts a bipolar +/- 10 V analog signal to a positive 0 to 5V analog signal that can be delivered to an ADC or microcontroller.\n\n\t• The first opamp (U1) buffers the input signal and is configured as a follower: \n\t\t○ Pin 1 is directly connected to overall circuit input.\n\t\t○ Pin 2 is connected directly to Pin 5\n\t\t○ Pin 3 is connected to a +15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 4 is connected to a -15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 5 is also connected to a 100 kOhm resistor (R1).\n\t• The second opamp (U2) is configured to provide voltage division and shifting.\n\t\t○ Pin 1 is connected to the shift voltage. This is generated by connecting a 4.096 Vdc reference to a 10 kOhm resistor (R3) followed by a 162 ohm resistor (R4). The other end of R4 is connected in parallel to a 10 kOhm resistor, 1 uF unpolarized capacitor, and Pin 1.\n\t\t○ Pin 2 is connected to the other side of R1 mentioned above.\n\t\t○ Pin 2 is also connected to a parallel combination of a 23 kOhm resistor (R2) and a 43 pF unpolarized capacitor (C1). The other end of this combination is connected to Pin 5\n\t\t○ Pin 3 is connected to a +5 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 4 is connected to ground.\n\t\t○ Pin 5 is also connected to a 10 kOhm load, which provides a path to ground during startup transients.\n\t\t○ Pin 5 also provides the overall circuit output.\n\t• Reference: This circuit is modified from "Analog Engineer\'s Circuit Cookbook: Amplifiers", Texas Instruments, 2nd Ed 2019, p. 162.',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7148878/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/pyproject.toml
new file mode 100644
index 0000000000..a858cc10f0
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-b7148878-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a KiCad-style schematic of a two opamp circuit that converts a bipolar +/- 10 V analog signal to a positive 0 to 5V analog signal that can be delivered to an ADC or microcontroller.\n\n\t• The first opamp (U1) buffers the input signal and is configured as a follower: \n\t\t○ Pin 1 is directly connected to overall circuit input.\n\t\t○ Pin 2 is connected directly to Pin 5\n\t\t○ Pin 3 is connected to a +15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 4 is connected to a -15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 5 is also connected to a 100 kOhm resistor (R1).\n\t• The second opamp (U2) is configured to provide voltage division and shifting.\n\t\t○ Pin 1 is connected to the shift voltage. This is generated by connecting a 4.096 Vdc reference to a 10 kOhm resistor (R3) followed by a 162 ohm resistor (R4). The other end of R4 is connected in parallel to a 10 kOhm resistor, 1 uF unpolarized capacitor, and Pin 1.\n\t\t○ Pin 2 is connected to the other side of R1 mentioned above.\n\t\t○ Pin 2 is also connected to a parallel combination of a 23 kOhm resistor (R2) and a 43 pF unpolarized capacitor (C1). The other end of this combination is connected to Pin 5\n\t\t○ Pin 3 is connected to a +5 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t○ Pin 4 is connected to ground.\n\t\t○ Pin 5 is also connected to a 10 kOhm load, which provides a path to ground during startup transients.\n\t\t○ Pin 5 also provides the overall circuit output.\n\t• Reference: This circuit is modified from \"Analog Engineer\"
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7148878/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/reference.net
new file mode 100644
index 0000000000..004e909eae
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7148878/reference.net
@@ -0,0 +1,328 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_bipolartosinglesupply_circuit\\kicad_bipolartosinglesupply_circuit.kicad_sch")
+ (date "2026-02-22T11:25:15-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_bipolartosinglesupply_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "43pF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bb1782e1-ffea-4d5b-99e1-d8a97d3a6ac1"))
+ (comp (ref "C2")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a83c4ad1-bf01-42b8-8367-58b619c1e61b"))
+ (comp (ref "C3")
+ (value "0.1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "ca1e386a-d738-4f59-b314-9bb75a078d81"))
+ (comp (ref "C4")
+ (value "0.1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "79f82622-ade9-454d-8603-1279851fa459"))
+ (comp (ref "C5")
+ (value "0.1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "0542e09d-0ff3-4d9f-9fb4-de41bdf33eaf"))
+ (comp (ref "R1")
+ (value "100k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "cbe9f8dc-3a23-400e-b312-ac9993958f42"))
+ (comp (ref "R2")
+ (value "23k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6348ad09-cf5a-4a99-97ef-8ae70879bd4d"))
+ (comp (ref "R3")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "237829b7-7a74-4dd1-8cb9-6d30548b1b6d"))
+ (comp (ref "R4")
+ (value "162")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "281bfb06-ff52-45a1-9ed8-318a39f444fe"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e6708322-0eb6-4c0f-b91d-2e024ba1a35b"))
+ (comp (ref "R6")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "79476ad8-c406-4087-b3e8-ad23313c8e7b"))
+ (comp (ref "U1")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "babc0de7-228e-44bf-95e6-8c745252b721"))
+ (comp (ref "U2")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_bipolartosinglesupply_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "a5b97f60-c76a-4b72-b8bd-ac3b0c14f874")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Simulation_SPICE") (part "OPAMP")
+ (description "Operational amplifier, single")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "${SIM.PARAMS}")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single")
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp"))
+ (pins
+ (pin (num "1") (name "+") (type "input"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "V+") (type "power_in"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "") (type "output")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "3") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "+15V") (class "Default")
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "V+") (pintype "power_in")))
+ (net (code "3") (name "+VRef 4.096V") (class "Default")
+ (node (ref "R3") (pin "1") (pintype "passive")))
+ (net (code "4") (name "-15V") (class "Default")
+ (node (ref "C5") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "5") (name "/Vmid") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input"))
+ (node (ref "U1") (pin "5") (pintype "output")))
+ (net (code "6") (name "/Vshift") (class "Default")
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "2") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "7") (name "GND") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "C5") (pin "1") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive"))
+ (node (ref "R6") (pin "1") (pintype "passive"))
+ (node (ref "U2") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "8") (name "Net-(R3-Pad2)") (class "Default")
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive")))
+ (net (code "9") (name "Net-(U2--)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U2") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "10") (name "Output") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "5") (pintype "output")))
+ (net (code "11") (name "Vin") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "+") (pintype "input")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/main.py b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/main.py
new file mode 100644
index 0000000000..2a6b77bc45
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission b7e51b92-fe0a-4e3c-b87f-e9f445fd288d."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "b7e51b92-fe0a-4e3c-b87f-e9f445fd288d"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a dual-rail schematic using an LM358 configured as an inverting amplifier with a 10x gain and a grounded buffer. Connect the non-inverting input of the first stage to ground via a 1kΩ resistor (R1), apply the input signal through a 1kΩ resistor (R3) to the inverting input, and place a 10kΩ feedback resistor (R2) between the output and inverting input. For the second stage, create a unity-gain buffer by shorting the output to the inverting input while grounding the non-inverting input, and ensure the entire IC is powered at ±15V.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/pyproject.toml
new file mode 100644
index 0000000000..8d98b9e42f
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-b7e51b92-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a dual-rail schematic using an LM358 configured as an inverting amplifier with a 10x gain and a grounded buffer. Connect the non-inverting input of the first stage to ground via a 1kΩ resistor (R1), apply the input signal through a 1kΩ resistor (R3) to the inverting input, and place a 10kΩ feedback resistor (R2) between the output and inverting input. For the second stage, create a unity-gain buffer by shorting the output to the inverting input while grounding the non-inverting input, and ensure the entire IC is powered at ±15V."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/reference.net
new file mode 100644
index 0000000000..3ef1a63071
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/b7e51b92/reference.net
@@ -0,0 +1,188 @@
+(export (version "E")
+ (design
+ (source "E:\\Schematic_Project\\kicad_negativamplifier_circuit\\kicad_negativamplifier_circuit.kicad_sch")
+ (date "2026-02-28T15:25:58+0300")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_negativamplifier_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "J1")
+ (value "Conn_01x02_Pin")
+ (datasheet "~")
+ (description "Generic connector, single row, 01x02, script generated")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (libsource (lib "Connector") (part "Conn_01x02_Pin") (description "Generic connector, single row, 01x02, script generated"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_negativamplifier_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "connector"))
+ (property (name "ki_fp_filters") (value "Connector*:*_1x??_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "b4470cdb-993d-48f4-a971-0ff9ace2f756"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_negativamplifier_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9cede995-7ac6-46bc-a270-ec10f2e3ed34"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_negativamplifier_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "64ae6a6b-9b46-4d03-93aa-6bcfbeeee09e"))
+ (comp (ref "R3")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_negativamplifier_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "235e6a3d-3a77-4f04-8670-eadf78e8ccd6"))
+ (comp (ref "U1")
+ (value "LM358")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (field (name "Description") "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (libsource (lib "Amplifier_Operational") (part "LM358") (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_negativamplifier_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "dual opamp"))
+ (property (name "ki_fp_filters") (value "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "9696c601-f45f-462b-a4f3-83a33fe2dd5b" "bfed97ae-4a66-4a9b-b388-f3fb4ca7b14c" "4bbf0b3a-f6bc-4ad1-a484-a3e2a5774804")))
+ (libparts
+ (libpart (lib "Amplifier_Operational") (part "LM358")
+ (description "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8")
+ (docs "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (footprints
+ (fp "SOIC*3.9x4.9mm*P1.27mm*")
+ (fp "DIP*W7.62mm*")
+ (fp "TO*99*")
+ (fp "OnSemi*Micro8*")
+ (fp "TSSOP*3x3mm*P0.65mm*")
+ (fp "TSSOP*4.4x3mm*P0.65mm*")
+ (fp "MSOP*3x3mm*P0.65mm*")
+ (fp "SSOP*3.9x4.9mm*P0.635mm*")
+ (fp "LFCSP*2x2mm*P0.5mm*")
+ (fp "*SIP*")
+ (fp "SOIC*5.3x6.2mm*P1.27mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM358")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf")
+ (field (name "Description") "Low-Power, Dual Operational Amplifiers, DIP-8/SOIC-8/TO-99-8"))
+ (pins
+ (pin (num "1") (name "") (type "output"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "+") (type "input"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "+") (type "input"))
+ (pin (num "6") (name "-") (type "input"))
+ (pin (num "7") (name "") (type "output"))
+ (pin (num "8") (name "V+") (type "power_in"))))
+ (libpart (lib "Connector") (part "Conn_01x02_Pin")
+ (description "Generic connector, single row, 01x02, script generated")
+ (docs "~")
+ (footprints
+ (fp "Connector*:*_1x??_*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Conn_01x02_Pin")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic connector, single row, 01x02, script generated"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive")))))
+ (libraries
+ (library (logical "Amplifier_Operational")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Amplifier_Operational.kicad_sym"))
+ (library (logical "Connector")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "C:\\Users\\ghaft\\AppData\\Local\\Programs\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym")))
+ (nets
+ (net (code "1") (name "+15V") (class "Default")
+ (node (ref "U1") (pin "8") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "-15V") (class "Default")
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "+") (pintype "input")))
+ (net (code "4") (name "Net-(J1-Pin_1)") (class "Default")
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive")))
+ (net (code "5") (name "Net-(U1A-+)") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "+") (pintype "input")))
+ (net (code "6") (name "Net-(U1A--)") (class "Default")
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "7") (name "Net-(U1B--)") (class "Default")
+ (node (ref "U1") (pin "6") (pinfunction "-") (pintype "input"))
+ (node (ref "U1") (pin "7") (pintype "output")))
+ (net (code "8") (name "Vout") (class "Default")
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pintype "output")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/main.py b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/main.py
new file mode 100644
index 0000000000..752bc272da
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission ba34f1c3-3460-413b-9849-e70dcda1954a."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "ba34f1c3-3460-413b-9849-e70dcda1954a"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Draw a KiCad schematic for a voltage reference circuit using the AD586. It must be powered off an analog 9V power supply. The reference needs to be low noise, so connect a 1 uF capacitor to the noise reduction pin. We also need very high accuracy output, so connect an external 10k trim resistor to the IC as well. Finally, clearly label the output.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/pyproject.toml
new file mode 100644
index 0000000000..5efd138dcd
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-ba34f1c3-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Draw a KiCad schematic for a voltage reference circuit using the AD586. It must be powered off an analog 9V power supply. The reference needs to be low noise, so connect a 1 uF capacitor to the noise reduction pin. We also need very high accuracy output, so connect an external 10k trim resistor to the IC as well. Finally, clearly label the output."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/reference.net
new file mode 100644
index 0000000000..359d3d722f
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ba34f1c3/reference.net
@@ -0,0 +1,145 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_voltageref_circuit\\kicad_voltageref_circuit.kicad_sch")
+ (date "2026-02-27T11:40:19-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_voltageref_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "1u")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltageref_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "4da7e6c5-7dc6-4f13-9e27-9ce8a46516fb"))
+ (comp (ref "RV1")
+ (value "10k")
+ (datasheet "~")
+ (description "Potentiometer")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Potentiometer"))
+ (libsource (lib "Device") (part "R_Potentiometer") (description "Potentiometer"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltageref_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "resistor variable"))
+ (property (name "ki_fp_filters") (value "Potentiometer*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "34a779e9-c740-4f9e-a9cb-9db76335c600"))
+ (comp (ref "U1")
+ (value "AD586")
+ (datasheet "https://www.analog.com/media/en/technical-documentation/data-sheets/AD586.pdf")
+ (description "High Precision, 5V Reference, DIP-8, SO-8")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/AD586.pdf")
+ (field (name "Description") "High Precision, 5V Reference, DIP-8, SO-8"))
+ (libsource (lib "Reference_Voltage") (part "AD586") (description "High Precision, 5V Reference, DIP-8, SO-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_voltageref_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "voltage reference"))
+ (property (name "ki_fp_filters") (value "DIP*W7.62mm* SOIC*3.9x4.9mm*P1.27mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "acf79ef4-e9ce-4fd3-a4ac-771fa7266e90")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_Potentiometer")
+ (description "Potentiometer")
+ (docs "~")
+ (footprints
+ (fp "Potentiometer*"))
+ (fields
+ (field (name "Reference") "RV")
+ (field (name "Value") "R_Potentiometer")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Potentiometer"))
+ (pins
+ (pin (num "1") (name "1") (type "passive"))
+ (pin (num "2") (name "2") (type "passive"))
+ (pin (num "3") (name "3") (type "passive"))))
+ (libpart (lib "Reference_Voltage") (part "AD586")
+ (description "High Precision, 5V Reference, DIP-8, SO-8")
+ (docs "https://www.analog.com/media/en/technical-documentation/data-sheets/AD586.pdf")
+ (footprints
+ (fp "DIP*W7.62mm*")
+ (fp "SOIC*3.9x4.9mm*P1.27mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "AD586")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://www.analog.com/media/en/technical-documentation/data-sheets/AD586.pdf")
+ (field (name "Description") "High Precision, 5V Reference, DIP-8, SO-8"))
+ (pins
+ (pin (num "1") (name "NC") (type "no_connect"))
+ (pin (num "2") (name "V+") (type "power_in"))
+ (pin (num "3") (name "NC") (type "no_connect"))
+ (pin (num "4") (name "GND") (type "power_in"))
+ (pin (num "5") (name "TRIM") (type "input"))
+ (pin (num "6") (name "VOUT") (type "power_out"))
+ (pin (num "7") (name "NC") (type "no_connect"))
+ (pin (num "8") (name "NR") (type "input")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Reference_Voltage")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Reference_Voltage.kicad_sym")))
+ (nets
+ (net (code "1") (name "+9VA") (class "Default")
+ (node (ref "U1") (pin "2") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "RV1") (pin "3") (pinfunction "3") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "GND") (pintype "power_in")))
+ (net (code "3") (name "Net-(U1-NR)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "8") (pinfunction "NR") (pintype "input")))
+ (net (code "4") (name "Net-(U1-TRIM)") (class "Default")
+ (node (ref "RV1") (pin "2") (pinfunction "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "TRIM") (pintype "input")))
+ (net (code "5") (name "Output") (class "Default")
+ (node (ref "RV1") (pin "1") (pinfunction "1") (pintype "passive"))
+ (node (ref "U1") (pin "6") (pinfunction "VOUT") (pintype "power_out")))
+ (net (code "6") (name "unconnected-(U1-NC-Pad1)") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "NC") (pintype "no_connect")))
+ (net (code "7") (name "unconnected-(U1-NC-Pad3)") (class "Default")
+ (node (ref "U1") (pin "3") (pinfunction "NC") (pintype "no_connect")))
+ (net (code "8") (name "unconnected-(U1-NC-Pad7)") (class "Default")
+ (node (ref "U1") (pin "7") (pinfunction "NC") (pintype "no_connect")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/main.py b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/main.py
new file mode 100644
index 0000000000..05a2857910
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission c4baee36-ea0a-4451-81f0-fd540d47326c."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "c4baee36-ea0a-4451-81f0-fd540d47326c"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='Design a KiCad-style schematic of a switching, step-down voltage regulator to convert 48 Vdc to 3.3 Vdc. Use the LM2576HVS-3.3 from Texas Instruments. \n\n\t• Pin 1 is the input and should be connected to both the input of 48 Vdc and a polarized capacitor (C1) of 100 uF. C1 has its negative terminal connected to ground. \n\t• Pin 2 is connected to both a catch diode 1N5822 cathode and an inductor of 100 uH. The other end of the diode is connected to ground. The other end of the inductor is connected to both Pin 4 and the positive end of polarized capacitor (C2) of 1000 uF. The other end of C2 is grounded.\nPins 3 and 5 should be connected directly to ground.',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/pyproject.toml
new file mode 100644
index 0000000000..b4e04d9c20
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-c4baee36-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a KiCad-style schematic of a switching, step-down voltage regulator to convert 48 Vdc to 3.3 Vdc. Use the LM2576HVS-3.3 from Texas Instruments. \n\n\t• Pin 1 is the input and should be connected to both the input of 48 Vdc and a polarized capacitor (C1) of 100 uF. C1 has its negative terminal connected to ground. \n\t• Pin 2 is connected to both a catch diode 1N5822 cathode and an inductor of 100 uH. The other end of the diode is connected to ground. The other end of the inductor is connected to both Pin 4 and the positive end of polarized capacitor (C2) of 1000 uF. The other end of C2 is grounded.\nPins 3 and 5 should be connected directly to ground."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/reference.net
new file mode 100644
index 0000000000..d7006d1d22
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/c4baee36/reference.net
@@ -0,0 +1,187 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_smps3p3V_circuit\\kicad_smps3p3V_circuit.kicad_sch")
+ (date "2026-02-21T12:06:27-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_smps3p3V_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "100 uF")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_smps3p3V_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "95cf1836-42cc-4b4a-a657-eb9803fc427f"))
+ (comp (ref "C2")
+ (value "1000 uF")
+ (datasheet "~")
+ (description "Polarized capacitor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (libsource (lib "Device") (part "C_Polarized_US") (description "Polarized capacitor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_smps3p3V_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "fa5c0dad-89f9-42f6-97ef-2ecc0f62b328"))
+ (comp (ref "D1")
+ (value "1N5822")
+ (footprint "Diode_THT:D_DO-201AD_P15.24mm_Horizontal")
+ (datasheet "http://www.vishay.com/docs/88526/1n5820.pdf")
+ (description "40V 3A Schottky Barrier Rectifier Diode, DO-201AD")
+ (fields
+ (field (name "Footprint") "Diode_THT:D_DO-201AD_P15.24mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88526/1n5820.pdf")
+ (field (name "Description") "40V 3A Schottky Barrier Rectifier Diode, DO-201AD"))
+ (libsource (lib "Diode") (part "1N5822") (description "40V 3A Schottky Barrier Rectifier Diode, DO-201AD"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_smps3p3V_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "diode Schottky"))
+ (property (name "ki_fp_filters") (value "D*DO?201AD*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "aaa3ea98-14db-4883-9a02-a08eff6f8bf6"))
+ (comp (ref "L1")
+ (value "100 uH")
+ (datasheet "~")
+ (description "Inductor, small symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Inductor, small symbol"))
+ (libsource (lib "Device") (part "L_Small") (description "Inductor, small symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_smps3p3V_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "inductor choke coil reactor magnetic"))
+ (property (name "ki_fp_filters") (value "Choke_* *Coil* Inductor_* L_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "8ff96771-ecbe-4f26-bc6e-ba732cc8ed7c"))
+ (comp (ref "U1")
+ (value "LM2576HVS-3.3")
+ (footprint "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm2576.pdf")
+ (description "3.3V, 3A, SIMPLE SWITCHER® Step-Down Voltage Regulator, High Voltage Input, TO-263")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2576.pdf")
+ (field (name "Description") "3.3V, 3A, SIMPLE SWITCHER® Step-Down Voltage Regulator, High Voltage Input, TO-263"))
+ (libsource (lib "Regulator_Switching") (part "LM2576HVS-3.3") (description "3.3V, 3A, SIMPLE SWITCHER® Step-Down Voltage Regulator, High Voltage Input, TO-263"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_smps3p3V_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "Step-Down Voltage Regulator 3.3V 3A High Voltage"))
+ (property (name "ki_fp_filters") (value "TO?263*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "36ce7af2-e21f-4b1c-9b78-e82d1e4c2b0b")))
+ (libparts
+ (libpart (lib "Device") (part "C_Polarized_US")
+ (description "Polarized capacitor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "L_Small")
+ (description "Inductor, small symbol")
+ (docs "~")
+ (footprints
+ (fp "Choke_*")
+ (fp "*Coil*")
+ (fp "Inductor_*")
+ (fp "L_*"))
+ (fields
+ (field (name "Reference") "L")
+ (field (name "Value") "L_Small")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Inductor, small symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Diode") (part "1N5822")
+ (description "40V 3A Schottky Barrier Rectifier Diode, DO-201AD")
+ (docs "http://www.vishay.com/docs/88526/1n5820.pdf")
+ (footprints
+ (fp "D*DO?201AD*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "1N5822")
+ (field (name "Footprint") "Diode_THT:D_DO-201AD_P15.24mm_Horizontal")
+ (field (name "Datasheet") "http://www.vishay.com/docs/88526/1n5820.pdf")
+ (field (name "Description") "40V 3A Schottky Barrier Rectifier Diode, DO-201AD"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Regulator_Switching") (part "LM2576HVS-3.3")
+ (description "3.3V, 3A, SIMPLE SWITCHER® Step-Down Voltage Regulator, High Voltage Input, TO-263")
+ (docs "http://www.ti.com/lit/ds/symlink/lm2576.pdf")
+ (footprints
+ (fp "TO?263*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM2576HVS-3.3")
+ (field (name "Footprint") "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2576.pdf")
+ (field (name "Description") "3.3V, 3A, SIMPLE SWITCHER® Step-Down Voltage Regulator, High Voltage Input, TO-263"))
+ (pins
+ (pin (num "1") (name "VIN") (type "power_in"))
+ (pin (num "2") (name "OUT") (type "output"))
+ (pin (num "3") (name "GND") (type "power_in"))
+ (pin (num "4") (name "FB") (type "input"))
+ (pin (num "5") (name "~{ON}/OFF") (type "input")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Diode")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Diode.kicad_sym"))
+ (library (logical "Regulator_Switching")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Regulator_Switching.kicad_sym")))
+ (nets
+ (net (code "1") (name "+48V") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "VIN") (pintype "power_in")))
+ (net (code "2") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "GND") (pintype "power_in"))
+ (node (ref "U1") (pin "5") (pinfunction "~{ON}/OFF") (pintype "input")))
+ (net (code "3") (name "Net-(D1-K)") (class "Default")
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "L1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "OUT") (pintype "output")))
+ (net (code "4") (name "Net-(U1-FB)") (class "Default")
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "L1") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "FB") (pintype "input")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_prl
new file mode 100644
index 0000000000..65fb3281b8
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_InstrumentationAmp_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro
new file mode 100644
index 0000000000..78ed6ad2e1
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_InstrumentationAmp_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "01636ee1-7473-481e-a8f8-d4e018e33ee8",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_sch
new file mode 100644
index 0000000000..361102cb61
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_sch
@@ -0,0 +1,3094 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "01636ee1-7473-481e-a8f8-d4e018e33ee8")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Simulation_SPICE:OPAMP"
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at 3.81 3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 3.81 -3.175 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "simulation"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "OPAMP_0_1"
+ (polyline
+ (pts
+ (xy 5.08 0) (xy -5.08 5.08) (xy -5.08 -5.08) (xy 5.08 0)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "OPAMP_1_1"
+ (pin input line
+ (at -7.62 2.54 0)
+ (length 2.54)
+ (name "+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -7.62 -2.54 0)
+ (length 2.54)
+ (name "-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 7.62 270)
+ (length 3.81)
+ (name "V+"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at -2.54 -7.62 90)
+ (length 3.81)
+ (name "V-"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 7.62 0 180)
+ (length 2.54)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+15V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+15V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+15V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:-15V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "-15V_0_0"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "-15V_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy 0.762 1.27) (xy 0 2.54) (xy -0.762 1.27) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (text "Modified from\nhttps://www.ti.com/lit/an/sboa282a/sboa282a.pdf?ts=1772363312470"
+ (exclude_from_sim no)
+ (at 126.492 142.24 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ (uuid "4b447cd1-f17c-4794-8f3b-9b3f42593820")
+ )
+ (junction
+ (at 82.55 85.09)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "07a160c2-a393-4edd-b211-9674b91193b2")
+ )
+ (junction
+ (at 181.61 87.63)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "16c6a27b-33e3-499a-8550-c436dde8082b")
+ )
+ (junction
+ (at 121.92 115.57)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "2b77f5b7-3074-4b65-8d11-1cae3d55af37")
+ )
+ (junction
+ (at 82.55 99.06)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "303ee48e-9558-4dbe-8e95-06942de88090")
+ )
+ (junction
+ (at 104.14 68.58)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "3a7f4a52-4218-4369-b03e-bca618e68b67")
+ )
+ (junction
+ (at 121.92 59.69)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5cfcf683-4b18-4a9a-86c6-56264f8a0aae")
+ )
+ (junction
+ (at 152.4 59.69)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "6745d990-eaed-4e97-bd6d-28ae8d2e13ea")
+ )
+ (junction
+ (at 76.2 118.11)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "723373c9-6549-4606-ba0c-512f30259dbf")
+ )
+ (junction
+ (at 76.2 57.15)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "7a76cc0e-f1c4-4b6a-857e-2d6babc6dc68")
+ )
+ (junction
+ (at 152.4 115.57)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "8252b38e-db66-43d3-a600-624758acb647")
+ )
+ (junction
+ (at 179.07 120.65)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "9b561f54-79d6-4cd7-a7eb-079fe8316be9")
+ )
+ (junction
+ (at 104.14 49.53)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "af1ab6ec-3c40-4384-ae60-ea64916b07ad")
+ )
+ (wire
+ (pts
+ (xy 105.41 105.41) (xy 111.76 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "059f5659-ee7f-4254-8efd-e8c4804c5439")
+ )
+ (wire
+ (pts
+ (xy 121.92 59.69) (xy 132.08 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "122883df-82ca-48d1-83f8-114ae66fd036")
+ )
+ (wire
+ (pts
+ (xy 76.2 57.15) (xy 99.06 57.15)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1d081bf4-457f-4e42-a032-7313e5fbd525")
+ )
+ (wire
+ (pts
+ (xy 82.55 99.06) (xy 82.55 113.03)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "20b9a418-eaac-40d2-91b0-6e5e468eba83")
+ )
+ (wire
+ (pts
+ (xy 71.12 118.11) (xy 76.2 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "247e3ae9-8c90-428f-b0c3-d8d23137444f")
+ )
+ (wire
+ (pts
+ (xy 121.92 99.06) (xy 121.92 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2c836482-8349-43c3-9167-ed530b9a713c")
+ )
+ (wire
+ (pts
+ (xy 170.18 95.25) (xy 170.18 100.33)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2eb02e0e-28aa-4622-9cf0-bb207e696819")
+ )
+ (wire
+ (pts
+ (xy 82.55 62.23) (xy 82.55 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2ffa5600-94ef-45f4-a2a7-fcbf4ce99fa0")
+ )
+ (wire
+ (pts
+ (xy 152.4 115.57) (xy 140.97 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "32489acd-c007-4835-9836-dd6252a1db75")
+ )
+ (wire
+ (pts
+ (xy 163.83 115.57) (xy 152.4 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "362c3c99-d0d4-430c-bcfb-5395e33d792c")
+ )
+ (wire
+ (pts
+ (xy 139.7 59.69) (xy 152.4 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "39b981ec-460a-463e-92cc-6f2cb1bfcebe")
+ )
+ (wire
+ (pts
+ (xy 100.33 99.06) (xy 82.55 99.06)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3c514425-480a-42dc-9ed8-7d26c5e18f69")
+ )
+ (wire
+ (pts
+ (xy 82.55 85.09) (xy 100.33 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "40ea5ce6-d94a-4646-a014-1b3bb1ea1f8b")
+ )
+ (wire
+ (pts
+ (xy 104.14 67.31) (xy 104.14 68.58)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4b42d5d1-6fea-4db6-9462-6350f6744738")
+ )
+ (wire
+ (pts
+ (xy 82.55 87.63) (xy 82.55 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "517f852d-7ffb-4512-8ee0-2c408cf2d6b0")
+ )
+ (wire
+ (pts
+ (xy 111.76 105.41) (xy 111.76 106.68)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5589ca88-b2c2-4d99-93fc-4897e05c67f8")
+ )
+ (wire
+ (pts
+ (xy 170.18 80.01) (xy 170.18 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5ef6e4fc-d017-4779-9c81-a8811ff8c78f")
+ )
+ (wire
+ (pts
+ (xy 114.3 59.69) (xy 121.92 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6bc30739-1cfe-4cfa-9192-d82937059e68")
+ )
+ (wire
+ (pts
+ (xy 170.18 74.93) (xy 175.26 74.93)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "77767f76-513f-4b9b-a9ca-e41cc4c254df")
+ )
+ (wire
+ (pts
+ (xy 104.14 48.26) (xy 104.14 49.53)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "791d52bd-4b54-455c-8ee1-3e21bf00bc4d")
+ )
+ (wire
+ (pts
+ (xy 105.41 123.19) (xy 105.41 128.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7b5c1513-b32a-4f8f-b2b5-6416e12bd3ce")
+ )
+ (wire
+ (pts
+ (xy 102.87 68.58) (xy 104.14 68.58)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "828a11ed-78ae-4c97-aabc-2cab49078033")
+ )
+ (wire
+ (pts
+ (xy 152.4 85.09) (xy 152.4 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8364bd24-a6ff-4d05-a89f-1dce959f1abb")
+ )
+ (wire
+ (pts
+ (xy 107.95 99.06) (xy 121.92 99.06)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "846acbbf-e229-401d-8bbe-c36d278f927f")
+ )
+ (wire
+ (pts
+ (xy 107.95 85.09) (xy 121.92 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "97768ca6-bbe8-49a6-86b4-b75a61d0f572")
+ )
+ (wire
+ (pts
+ (xy 82.55 113.03) (xy 100.33 113.03)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "97dc0762-0067-4f14-b5e0-b391bca65493")
+ )
+ (wire
+ (pts
+ (xy 181.61 87.63) (xy 187.96 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9883c9f6-67c1-4258-9f58-0dd64cae5b4b")
+ )
+ (wire
+ (pts
+ (xy 71.12 57.15) (xy 76.2 57.15)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9b01b3ae-f58a-4e60-90aa-539381c32002")
+ )
+ (wire
+ (pts
+ (xy 179.07 120.65) (xy 179.07 123.19)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9c010e30-4588-4ada-a23e-b8977b4e9c90")
+ )
+ (wire
+ (pts
+ (xy 76.2 118.11) (xy 100.33 118.11)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9c28a0de-cca4-41e2-9b8d-cc532ff2a378")
+ )
+ (wire
+ (pts
+ (xy 133.35 115.57) (xy 121.92 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a233823b-4e37-4dfd-8d35-3dd47738f002")
+ )
+ (wire
+ (pts
+ (xy 111.76 128.27) (xy 105.41 128.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a72e094c-368d-4b08-b9a3-e798e5c99938")
+ )
+ (wire
+ (pts
+ (xy 152.4 59.69) (xy 163.83 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ab62e5ae-2064-4c18-b400-5542d3c614ad")
+ )
+ (wire
+ (pts
+ (xy 165.1 85.09) (xy 152.4 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ad42a2c4-94db-40dc-8445-986ce1c0e969")
+ )
+ (wire
+ (pts
+ (xy 179.07 115.57) (xy 179.07 120.65)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "af2a31ab-991a-402d-8d6d-6dda5d1b87ac")
+ )
+ (wire
+ (pts
+ (xy 181.61 59.69) (xy 181.61 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b3b4b52d-3be6-457f-9f90-66055571a098")
+ )
+ (wire
+ (pts
+ (xy 104.14 49.53) (xy 104.14 52.07)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "c62aaccc-be10-441f-ac3a-b9681ce23063")
+ )
+ (wire
+ (pts
+ (xy 171.45 115.57) (xy 179.07 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "cdc57e33-0133-4090-ba13-f27af7ff5260")
+ )
+ (wire
+ (pts
+ (xy 104.14 68.58) (xy 104.14 69.85)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d9f511c1-66b1-4540-9328-1a8e529f1c41")
+ )
+ (wire
+ (pts
+ (xy 82.55 95.25) (xy 82.55 99.06)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "db7cd2b9-8743-4be7-8207-0768aff83be8")
+ )
+ (wire
+ (pts
+ (xy 121.92 85.09) (xy 121.92 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "de9add17-42d0-480a-aebd-a59e8f728c54")
+ )
+ (wire
+ (pts
+ (xy 99.06 62.23) (xy 82.55 62.23)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "dede02ab-f15a-4c43-808b-f6d50bc1fc7b")
+ )
+ (wire
+ (pts
+ (xy 165.1 90.17) (xy 152.4 90.17)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "df17366d-b721-4e82-a12c-283bbbfee616")
+ )
+ (wire
+ (pts
+ (xy 152.4 90.17) (xy 152.4 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e3b5ce2f-e320-4ded-92b8-3d7b88038e75")
+ )
+ (wire
+ (pts
+ (xy 102.87 49.53) (xy 104.14 49.53)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e8c6ade3-9ece-479f-a6e4-f760afcb6963")
+ )
+ (wire
+ (pts
+ (xy 177.8 120.65) (xy 179.07 120.65)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ebf1df5d-799f-42ab-ba4f-e0ad7f1b78e0")
+ )
+ (wire
+ (pts
+ (xy 121.92 115.57) (xy 115.57 115.57)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ee3de4d3-e591-48b6-963c-aa5e9380728d")
+ )
+ (wire
+ (pts
+ (xy 180.34 87.63) (xy 181.61 87.63)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eefadba8-6706-483d-82a8-4dde8d7537af")
+ )
+ (wire
+ (pts
+ (xy 170.18 100.33) (xy 175.26 100.33)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f839b237-d5b3-4229-9abb-af0fd36eb090")
+ )
+ (wire
+ (pts
+ (xy 105.41 107.95) (xy 105.41 105.41)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fa0d489f-6a92-428b-9f0d-16b0b357cd71")
+ )
+ (wire
+ (pts
+ (xy 171.45 59.69) (xy 181.61 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fd05ea0c-6d26-43a2-b2c8-e4813634cdda")
+ )
+ (global_label "OUTPUT"
+ (shape output)
+ (at 187.96 87.63 0)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ (uuid "1af5e055-8e1b-45b8-89cc-e132a5e88729")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 198.1419 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ )
+ (global_label "IN_M"
+ (shape input)
+ (at 71.12 57.15 180)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ (uuid "6497d5ec-4040-45ca-8744-48d1b82e9d76")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 63.7805 57.15 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ (hide yes)
+ )
+ )
+ )
+ (global_label "IN_P"
+ (shape input)
+ (at 71.12 118.11 180)
+ (fields_autoplaced yes)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ (uuid "aa1c3198-882b-4f6f-8e86-12766ec8e81a")
+ (property "Intersheetrefs" "${INTERSHEET_REFS}"
+ (at 63.9619 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ (hide yes)
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:-15V")
+ (at 175.26 74.93 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "0eae50e6-e9fe-41f7-b201-40d4a5c9abdc")
+ (property "Reference" "#PWR05"
+ (at 175.26 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 175.26 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 175.26 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 175.26 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 175.26 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "b6ba4d2b-2177-4a5a-9085-bc0a543625ba")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR05")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 167.64 115.57 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "1c492f50-932f-463a-a8a1-b251683f73b1")
+ (property "Reference" "R4"
+ (at 167.64 109.22 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 167.64 111.76 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 167.894 114.554 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 167.64 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 167.64 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "b54d3907-f001-42e8-baa9-3fde22c92691")
+ )
+ (pin "1"
+ (uuid "c234a2fb-8875-412f-9c53-19247ca9b85a")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+15V")
+ (at 104.14 48.26 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "3e843235-87c2-4e53-aa70-93482d04befd")
+ (property "Reference" "#PWR01"
+ (at 104.14 52.07 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 104.14 43.18 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 104.14 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 104.14 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 104.14 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "44ecae37-7d00-4dc6-bf30-0dafa2e317d5")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 102.87 68.58 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "4844443c-9a3c-44a1-9714-64b0042962b0")
+ (property "Reference" "#FLG05"
+ (at 100.965 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 99.06 68.5799 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 102.87 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 102.87 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 102.87 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "9efd6000-c35d-44ec-90e9-2f96667fd44c")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#FLG05")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 135.89 59.69 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "485d55d8-740e-48bb-93a0-cd0bece0aa14")
+ (property "Reference" "R1"
+ (at 135.89 53.34 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 135.89 55.88 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 136.144 58.674 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 135.89 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 135.89 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "215df408-b3ca-4ebf-a0ad-78fba579fa34")
+ )
+ (pin "1"
+ (uuid "575a56f7-91ec-4636-bf93-024f2a00044b")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 76.2 118.11 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "50381cf7-03fa-43cd-ad95-08bfee2b1941")
+ (property "Reference" "#FLG04"
+ (at 76.2 116.205 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 76.2 113.03 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 76.2 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 76.2 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 76.2 118.11 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4fd5288c-bae7-40dd-a600-34f43cb13948")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#FLG04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:OPAMP")
+ (at 106.68 59.69 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "5d213eb8-39b4-43f8-80e1-157097510af9")
+ (property "Reference" "U1"
+ (at 114.3 54.5398 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 114.3 56.4449 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 106.68 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "4"
+ (uuid "a6993d5b-bfbe-4b68-85f7-02ecb5ff720d")
+ )
+ (pin "3"
+ (uuid "8402fa63-35ce-4029-a235-02b049e400fc")
+ )
+ (pin "2"
+ (uuid "3a36d54c-05bc-4352-8f5e-e17d41d240f2")
+ )
+ (pin "5"
+ (uuid "93e3a3e5-bebd-4d27-b19d-c303a1b773d9")
+ )
+ (pin "1"
+ (uuid "a80729dd-e492-4cc0-9e82-ef991b6bf65c")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:OPAMP")
+ (at 107.95 115.57 0)
+ (mirror x)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "5ddd324a-93ce-4c73-936b-7766774e475a")
+ (property "Reference" "U2"
+ (at 115.57 120.7202 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 115.57 118.8151 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 107.95 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "4"
+ (uuid "a13c898c-dffc-428b-b958-a5107dfa727f")
+ )
+ (pin "3"
+ (uuid "f500c160-a0cc-447c-98c9-9f0fce5b370e")
+ )
+ (pin "2"
+ (uuid "e83910a6-96aa-4dc5-bd06-32f2f1123ba7")
+ )
+ (pin "5"
+ (uuid "369a8fa1-8f25-4b70-a644-cf08a2addc99")
+ )
+ (pin "1"
+ (uuid "28cdc2b3-fa93-4beb-bff3-4644427e77fe")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "U2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 167.64 59.69 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6090e560-c06c-41c5-986c-260c345770f3")
+ (property "Reference" "R2"
+ (at 167.64 53.34 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 167.64 55.88 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 167.894 58.674 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 167.64 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 167.64 59.69 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "f4659e08-6cb6-42a5-a8ce-dbf920a45a0e")
+ )
+ (pin "1"
+ (uuid "9f62ade3-dc21-4d62-8e2f-fa7d8e63d91f")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 104.14 85.09 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "752af825-701a-4253-a56b-eb965aff1b55")
+ (property "Reference" "R6"
+ (at 104.14 78.74 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 104.14 81.28 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 104.394 84.074 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 104.14 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 104.14 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "9216fe67-b407-41ee-b115-51060c1d6b21")
+ )
+ (pin "1"
+ (uuid "bd5a8376-c57a-4042-8679-d41a0a3089ce")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R6")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 76.2 57.15 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "8732b863-0313-4a15-849e-019bab421ad3")
+ (property "Reference" "#FLG03"
+ (at 76.2 55.245 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 76.2 52.07 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 76.2 57.15 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 76.2 57.15 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 76.2 57.15 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "c9279c43-560f-4761-88de-10be4cc8e3b4")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#FLG03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Simulation_SPICE:OPAMP")
+ (at 172.72 87.63 0)
+ (mirror x)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "876a07ad-980c-400a-a06e-76e02a005e33")
+ (property "Reference" "U3"
+ (at 180.34 92.7802 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "${SIM.PARAMS}"
+ (at 180.34 90.8751 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Operational amplifier, single"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=in+ 2=in- 3=vcc 4=vee 5=out"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Device" "SUBCKT"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "kicad_builtin_opamp"
+ (at 172.72 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "4"
+ (uuid "36b69130-aa60-45d5-b470-13f50644eeb8")
+ )
+ (pin "3"
+ (uuid "a1e16ad0-7cf4-4fda-8ab8-3c44221c7b57")
+ )
+ (pin "2"
+ (uuid "0d285d4e-08c6-4f19-859c-0f06fb24c19c")
+ )
+ (pin "5"
+ (uuid "230ec42e-8293-42c4-b547-8174c7b8ae88")
+ )
+ (pin "1"
+ (uuid "3df08536-6999-41dc-98fb-5a13af23638e")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "U3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+15V")
+ (at 111.76 128.27 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "88a40083-bd89-4cc3-9ba1-1e8706de2b78")
+ (property "Reference" "#PWR03"
+ (at 111.76 132.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 111.76 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 111.76 128.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 111.76 128.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 111.76 128.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "f73a0cdb-ce70-4161-9092-4175ea7f1231")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:-15V")
+ (at 104.14 69.85 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bea64655-d73c-44dd-8344-d487fbe7e770")
+ (property "Reference" "#PWR04"
+ (at 104.14 66.04 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 104.14 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 104.14 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 104.14 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 104.14 69.85 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "a0d2b612-8e06-4bda-9468-feb696af1af1")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 177.8 120.65 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bfcbe60a-080f-4869-9d6b-04264c2e2894")
+ (property "Reference" "#FLG02"
+ (at 175.895 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 173.99 120.6499 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 177.8 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 177.8 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 177.8 120.65 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "712ca2fc-f096-46ea-bf42-54e91a0f1d85")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 137.16 115.57 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "d063afd1-1833-46ca-aef5-534d53e9cbb5")
+ (property "Reference" "R3"
+ (at 137.16 109.22 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 137.16 111.76 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 137.414 114.554 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 137.16 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 137.16 115.57 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "f8110c87-c8f7-4955-8aa3-f60d9888dbe7")
+ )
+ (pin "1"
+ (uuid "7df164b4-8f09-45bc-ae96-e3b8036e7ce1")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:-15V")
+ (at 111.76 106.68 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "d443ddd2-9ad8-4f27-81db-330225b7f1b8")
+ (property "Reference" "#PWR06"
+ (at 111.76 102.87 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "-15V"
+ (at 111.76 111.76 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 111.76 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 111.76 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"-15V\""
+ (at 111.76 106.68 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ee305c75-e6b7-4039-9243-a6a8e1bc5699")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR06")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 82.55 91.44 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "dd6c55c8-51b3-40db-8e0b-cba27665fee1")
+ (property "Reference" "R10"
+ (at 85.09 90.1699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "2k"
+ (at 85.09 92.7099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 81.534 91.186 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 82.55 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 82.55 91.44 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "0b14642c-2bfd-4f12-83df-862aba1c065e")
+ )
+ (pin "1"
+ (uuid "6c7be694-28f9-4a00-9d32-7947ee66e334")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R10")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 104.14 99.06 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "e1417b82-4067-4767-85af-ad3eb3cf4ee6")
+ (property "Reference" "R5"
+ (at 104.14 92.71 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "10k"
+ (at 104.14 95.25 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 104.394 98.044 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 104.14 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 104.14 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "6c3d6dcf-a844-46ab-9732-be8f452f0ecb")
+ )
+ (pin "1"
+ (uuid "8ae54034-c537-495c-8e71-e14c25077b44")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "R5")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 102.87 49.53 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e640969e-7d09-46c7-951d-ad4d5e0befb9")
+ (property "Reference" "#FLG01"
+ (at 100.965 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 99.06 49.5299 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 102.87 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 102.87 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 102.87 49.53 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1187a417-9420-4045-ad40-e413b87a3ccb")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+15V")
+ (at 175.26 100.33 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ec090840-8595-449f-8d7a-32464ddbb5a6")
+ (property "Reference" "#PWR02"
+ (at 175.26 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+15V"
+ (at 175.26 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 175.26 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 175.26 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+15V\""
+ (at 175.26 100.33 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "fcfe1418-5150-464f-a343-8c9f619b957a")
+ )
+ (instances
+ (project "kicad_InstrumentationAmp_circuit"
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 179.07 123.19 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "ff5901dd-38c8-4281-bc08-1ca78c964abe")
+ (property "Reference" "#PWR07"
+ (at 179.07 129.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 179.07 128.27 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 179.07 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 179.07 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 179.07 123.19 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "da94a7b0-f9ce-4b49-9a69-f87a9573bfdd")
+ )
+ (instances
+ (project ""
+ (path "/01636ee1-7473-481e-a8f8-d4e018e33ee8"
+ (reference "#PWR07")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/main.py b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/main.py
new file mode 100644
index 0000000000..6cd4779061
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission d1c655da-ce1c-446d-bee2-1e8cde8a62cc."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "d1c655da-ce1c-446d-bee2-1e8cde8a62cc"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Modify the overall gain of the circuit by changing R10 to 2.80kOhm.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/pyproject.toml
new file mode 100644
index 0000000000..c15e234850
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-d1c655da-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Modify the overall gain of the circuit by changing R10 to 2.80kOhm."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/reference.net
new file mode 100644
index 0000000000..a8b361165c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d1c655da/reference.net
@@ -0,0 +1,274 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_InstrumentationAmp_circuit_modified\\kicad_InstrumentationAmp_circuit_modified.kicad_sch")
+ (date "2026-03-01T20:14:56-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_InstrumentationAmp_circuit_modified.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "R1")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "485d55d8-740e-48bb-93a0-cd0bece0aa14"))
+ (comp (ref "R2")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6090e560-c06c-41c5-986c-260c345770f3"))
+ (comp (ref "R3")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "d063afd1-1833-46ca-aef5-534d53e9cbb5"))
+ (comp (ref "R4")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1c492f50-932f-463a-a8a1-b251683f73b1"))
+ (comp (ref "R5")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e1417b82-4067-4767-85af-ad3eb3cf4ee6"))
+ (comp (ref "R6")
+ (value "10k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "752af825-701a-4253-a56b-eb965aff1b55"))
+ (comp (ref "R10")
+ (value "2.80k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "dd6c55c8-51b3-40db-8e0b-cba27665fee1"))
+ (comp (ref "U1")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "5d213eb8-39b4-43f8-80e1-157097510af9"))
+ (comp (ref "U2")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "5ddd324a-93ce-4c73-936b-7766774e475a"))
+ (comp (ref "U3")
+ (value "~")
+ (datasheet "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (description "Operational amplifier, single")
+ (fields
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single"))
+ (libsource (lib "Simulation_SPICE") (part "OPAMP") (description "Operational amplifier, single"))
+ (property (name "Sim.Pins") (value "1=in+ 2=in- 3=vcc 4=vee 5=out"))
+ (property (name "Sim.Device") (value "SUBCKT"))
+ (property (name "Sim.Library") (value "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"))
+ (property (name "Sim.Name") (value "kicad_builtin_opamp"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_InstrumentationAmp_circuit_modified.kicad_sch"))
+ (property (name "ki_keywords") (value "simulation"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "876a07ad-980c-400a-a06e-76e02a005e33")))
+ (libparts
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Simulation_SPICE") (part "OPAMP")
+ (description "Operational amplifier, single")
+ (docs "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "${SIM.PARAMS}")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec__SUBCKT_Subcircuits")
+ (field (name "Description") "Operational amplifier, single")
+ (field (name "Sim.Pins") "1=in+ 2=in- 3=vcc 4=vee 5=out")
+ (field (name "Sim.Device") "SUBCKT")
+ (field (name "Sim.Library") "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp")
+ (field (name "Sim.Name") "kicad_builtin_opamp"))
+ (pins
+ (pin (num "1") (name "+") (type "input"))
+ (pin (num "2") (name "-") (type "input"))
+ (pin (num "3") (name "V+") (type "power_in"))
+ (pin (num "4") (name "V-") (type "power_in"))
+ (pin (num "5") (name "") (type "output")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Simulation_SPICE")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Simulation_SPICE.kicad_sym")))
+ (nets
+ (net (code "1") (name "+15V") (class "Default")
+ (node (ref "U1") (pin "3") (pinfunction "V+") (pintype "power_in"))
+ (node (ref "U2") (pin "3") (pinfunction "V+") (pintype "power_in"))
+ (node (ref "U3") (pin "3") (pinfunction "V+") (pintype "power_in")))
+ (net (code "2") (name "-15V") (class "Default")
+ (node (ref "U1") (pin "4") (pinfunction "V-") (pintype "power_in"))
+ (node (ref "U2") (pin "4") (pinfunction "V-") (pintype "power_in"))
+ (node (ref "U3") (pin "4") (pinfunction "V-") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "R4") (pin "2") (pintype "passive")))
+ (net (code "4") (name "IN_M") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "5") (name "IN_P") (class "Default")
+ (node (ref "U2") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "6") (name "Net-(R1-Pad1)") (class "Default")
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "R6") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pintype "output")))
+ (net (code "7") (name "Net-(R3-Pad1)") (class "Default")
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "R5") (pin "2") (pintype "passive"))
+ (node (ref "U2") (pin "5") (pintype "output")))
+ (net (code "8") (name "Net-(U1--)") (class "Default")
+ (node (ref "R10") (pin "2") (pintype "passive"))
+ (node (ref "R6") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "9") (name "Net-(U2--)") (class "Default")
+ (node (ref "R10") (pin "1") (pintype "passive"))
+ (node (ref "R5") (pin "1") (pintype "passive"))
+ (node (ref "U2") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "10") (name "Net-(U3-+)") (class "Default")
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "R4") (pin "1") (pintype "passive"))
+ (node (ref "U3") (pin "1") (pinfunction "+") (pintype "input")))
+ (net (code "11") (name "Net-(U3--)") (class "Default")
+ (node (ref "R1") (pin "2") (pintype "passive"))
+ (node (ref "R2") (pin "1") (pintype "passive"))
+ (node (ref "U3") (pin "2") (pinfunction "-") (pintype "input")))
+ (net (code "12") (name "OUTPUT") (class "Default")
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "U3") (pin "5") (pintype "output")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pcb b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pcb
@@ -0,0 +1,2 @@
+(kicad_pcb (version 20241229) (generator "pcbnew") (generator_version "9.0")
+)
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_prl b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_prl
new file mode 100644
index 0000000000..ff283ec301
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_prl
@@ -0,0 +1,98 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "shapes": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ "vias",
+ "footprint_text",
+ "footprint_anchors",
+ "ratsnest",
+ "grid",
+ "footprints_front",
+ "footprints_back",
+ "footprint_values",
+ "footprint_references",
+ "tracks",
+ "drc_errors",
+ "drawing_sheet",
+ "bitmaps",
+ "pads",
+ "zones",
+ "drc_warnings",
+ "drc_exclusions",
+ "locked_item_shadows",
+ "conflict_shadows",
+ "shapes"
+ ],
+ "visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "git": {
+ "repo_type": "",
+ "repo_username": "",
+ "ssh_key": ""
+ },
+ "meta": {
+ "filename": "kicad_buck converter_circuit.kicad_prl",
+ "version": 5
+ },
+ "net_inspector_panel": {
+ "col_hidden": [],
+ "col_order": [],
+ "col_widths": [],
+ "custom_group_rules": [],
+ "expanded_rows": [],
+ "filter_by_net_name": true,
+ "filter_by_netclass": true,
+ "filter_text": "",
+ "group_by_constraint": false,
+ "group_by_netclass": false,
+ "show_unconnected_nets": false,
+ "show_zero_pad_nets": false,
+ "sort_ascending": true,
+ "sorting_column": -1
+ },
+ "open_jobsets": [],
+ "project": {
+ "files": []
+ },
+ "schematic": {
+ "selection_filter": {
+ "graphics": true,
+ "images": true,
+ "labels": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pins": true,
+ "symbols": true,
+ "text": true,
+ "wires": true
+ }
+ }
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pro b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pro
new file mode 100644
index 0000000000..71c7c4eef6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pro
@@ -0,0 +1,418 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {},
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "rules": {},
+ "track_widths": [],
+ "via_dimensions": []
+ },
+ "ipc2581": {
+ "dist": "",
+ "distpn": "",
+ "internal_id": "",
+ "mfg": "",
+ "mpn": ""
+ },
+ "layer_pairs": [],
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "footprint_filter": "ignore",
+ "footprint_link_issues": "warning",
+ "four_way_junction": "ignore",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "label_multiple_wires": "warning",
+ "lib_symbol_issues": "warning",
+ "lib_symbol_mismatch": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "warning",
+ "no_connect_dangling": "warning",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "same_local_global_label": "warning",
+ "similar_label_and_power": "warning",
+ "similar_labels": "warning",
+ "similar_power": "warning",
+ "simulation_model_issue": "ignore",
+ "single_global_label": "ignore",
+ "unannotated": "error",
+ "unconnected_wire_endpoint": "warning",
+ "undefined_netclass": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "kicad_buck converter_circuit.kicad_pro",
+ "version": 3
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "priority": 2147483647,
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.2,
+ "via_diameter": 0.6,
+ "via_drill": 0.3,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 4
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "plot": "",
+ "pos_files": "",
+ "specctra_dsn": "",
+ "step": "",
+ "svg": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "bom_export_filename": "${PROJECTNAME}.csv",
+ "bom_fmt_presets": [],
+ "bom_fmt_settings": {
+ "field_delimiter": ",",
+ "keep_line_breaks": false,
+ "keep_tabs": false,
+ "name": "CSV",
+ "ref_delimiter": ",",
+ "ref_range_delimiter": "",
+ "string_delimiter": "\""
+ },
+ "bom_presets": [],
+ "bom_settings": {
+ "exclude_dnp": false,
+ "fields_ordered": [
+ {
+ "group_by": false,
+ "label": "Reference",
+ "name": "Reference",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Qty",
+ "name": "${QUANTITY}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Value",
+ "name": "Value",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "DNP",
+ "name": "${DNP}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from BOM",
+ "name": "${EXCLUDE_FROM_BOM}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Exclude from Board",
+ "name": "${EXCLUDE_FROM_BOARD}",
+ "show": true
+ },
+ {
+ "group_by": true,
+ "label": "Footprint",
+ "name": "Footprint",
+ "show": true
+ },
+ {
+ "group_by": false,
+ "label": "Datasheet",
+ "name": "Datasheet",
+ "show": true
+ }
+ ],
+ "filter_string": "",
+ "group_symbols": true,
+ "include_excluded_from_bom": true,
+ "name": "Default Editing",
+ "sort_asc": true,
+ "sort_field": "Reference"
+ },
+ "connection_grid_size": 50.0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.375,
+ "operating_point_overlay_i_precision": 3,
+ "operating_point_overlay_i_range": "~A",
+ "operating_point_overlay_v_precision": 3,
+ "operating_point_overlay_v_range": "~V",
+ "overbar_offset_ratio": 1.23,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.15
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "KiCad",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "space_save_all_events": true,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_dissipations": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "b290c1ca-58b4-4d04-a4c7-efdea698d9a4",
+ "Root"
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_sch b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_sch
new file mode 100644
index 0000000000..19401f5703
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_sch
@@ -0,0 +1,4194 @@
+(kicad_sch
+ (version 20250114)
+ (generator "eeschema")
+ (generator_version "9.0")
+ (uuid "b290c1ca-58b4-4d04-a4c7-efdea698d9a4")
+ (paper "A4")
+ (lib_symbols
+ (symbol "Connector:Screw_Terminal_01x02"
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "J"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "Screw_Terminal_01x02"
+ (at 0 -5.08 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "screw terminal"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "TerminalBlock*:*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "Screw_Terminal_01x02_1_1"
+ (rectangle
+ (start -1.27 1.27)
+ (end 1.27 -3.81)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ (polyline
+ (pts
+ (xy -0.5334 0.3302) (xy 0.3302 -0.508)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -0.5334 -2.2098) (xy 0.3302 -3.048)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -0.3556 0.508) (xy 0.508 -0.3302)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -0.3556 -2.032) (xy 0.508 -2.8702)
+ )
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (circle
+ (center 0 0)
+ (radius 0.635)
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (circle
+ (center 0 -2.54)
+ (radius 0.635)
+ (stroke
+ (width 0.1524)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (pin passive line
+ (at -5.08 0 0)
+ (length 3.81)
+ (name "Pin_1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at -5.08 -2.54 0)
+ (length 3.81)
+ (name "Pin_2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "C_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 0.762) (xy 2.032 0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -2.032 -0.762) (xy 2.032 -0.762)
+ )
+ (stroke
+ (width 0.508)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:C_Polarized"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0.254)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "C"
+ (at 0.635 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "C_Polarized"
+ (at 0.635 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 0.9652 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "cap capacitor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "CP_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "C_Polarized_0_1"
+ (rectangle
+ (start -2.286 0.508)
+ (end 2.286 1.016)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.778 2.286) (xy -0.762 2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 2.794) (xy -1.27 1.778)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (rectangle
+ (start 2.286 -0.508)
+ (end -2.286 -1.016)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type outline)
+ )
+ )
+ )
+ (symbol "C_Polarized_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 2.794)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:L"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "L"
+ (at -1.27 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "L"
+ (at 1.905 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Inductor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "inductor choke coil reactor magnetic"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "Choke_* *Coil* Inductor_* L_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "L_0_1"
+ (arc
+ (start 0 2.54)
+ (mid 0.6323 1.905)
+ (end 0 1.27)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 1.27)
+ (mid 0.6323 0.635)
+ (end 0 0)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 0)
+ (mid 0.6323 -0.635)
+ (end 0 -1.27)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (arc
+ (start 0 -1.27)
+ (mid 0.6323 -1.905)
+ (end 0 -2.54)
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "L_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:LED"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LED"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Light emitting diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "LED diode"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "LED_0_1"
+ (polyline
+ (pts
+ (xy -3.048 -0.762) (xy -4.572 -2.286) (xy -3.81 -2.286) (xy -4.572 -2.286) (xy -4.572 -1.524)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.778 -0.762) (xy -3.302 -2.286) (xy -2.54 -2.286) (xy -3.302 -2.286) (xy -3.302 -1.524)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 0) (xy 1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy -1.27 -1.27) (xy -1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 -1.27) (xy 1.27 1.27) (xy -1.27 0) (xy 1.27 -1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "LED_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Device:R_US"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "R"
+ (at 2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "R_US"
+ (at -2.54 0 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 1.016 -0.254 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "R res resistor"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "R_*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "R_US_0_1"
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.286) (xy 1.016 1.905) (xy 0 1.524) (xy -1.016 1.143) (xy 0 0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0.762) (xy 1.016 0.381) (xy 0 0) (xy -1.016 -0.381) (xy 0 -0.762)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -0.762) (xy 1.016 -1.143) (xy 0 -1.524) (xy -1.016 -1.905) (xy 0 -2.286)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 -2.286) (xy 0 -2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "R_US_1_1"
+ (pin passive line
+ (at 0 3.81 270)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 0 -3.81 90)
+ (length 1.27)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Diode:MBRS340"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "MBRS340"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_SMD:D_SMC"
+ (at 0 -8.636 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf"
+ (at 0 -6.604 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)"
+ (at 0 -4.572 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "diode Schottky"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "*D*SMC*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "MBRS340_0_1"
+ (polyline
+ (pts
+ (xy -1.905 0.635) (xy -1.905 1.27) (xy -1.27 1.27) (xy -1.27 -1.27) (xy -0.635 -1.27) (xy -0.635 -0.635)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy -1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "MBRS340_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Diode:SS34"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "D"
+ (at 0 2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "SS34"
+ (at 0 -2.54 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_SMD:D_SMA"
+ (at 0 -4.445 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.vishay.com/docs/88751/ss32.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "40V 3A Schottky Diode, SMA"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "diode Schottky"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "D*SMA*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "SS34_0_1"
+ (polyline
+ (pts
+ (xy -1.905 0.635) (xy -1.905 1.27) (xy -1.27 1.27) (xy -1.27 -1.27) (xy -0.635 -1.27) (xy -0.635 -0.635)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27)
+ )
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 1.27 0) (xy -1.27 0)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "SS34_1_1"
+ (pin passive line
+ (at -3.81 0 0)
+ (length 2.54)
+ (name "K"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin passive line
+ (at 3.81 0 180)
+ (length 2.54)
+ (name "A"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Mechanical:MountingHole_Pad"
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 1.016)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom no)
+ (on_board yes)
+ (property "Reference" "H"
+ (at 0 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "MountingHole_Pad"
+ (at 0 4.445 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Mounting Hole with connection"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "mounting hole"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "MountingHole*Pad*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "MountingHole_Pad_0_1"
+ (circle
+ (center 0 1.27)
+ (radius 1.27)
+ (stroke
+ (width 1.27)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "MountingHole_Pad_1_1"
+ (pin input line
+ (at 0 -2.54 90)
+ (length 2.54)
+ (name "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "Regulator_Switching:LM2596S-5"
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "U"
+ (at -10.16 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "LM2596S-5"
+ (at 0 6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_SMD:TO-263-5_TabPin3"
+ (at 1.27 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm2596.pdf"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "5V 3A Step-Down Voltage Regulator, TO-263"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "Step-Down Voltage Regulator 5V 3A"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_fp_filters" "TO?263*"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "LM2596S-5_0_1"
+ (rectangle
+ (start -10.16 5.08)
+ (end 10.16 -5.08)
+ (stroke
+ (width 0.254)
+ (type default)
+ )
+ (fill
+ (type background)
+ )
+ )
+ )
+ (symbol "LM2596S-5_1_1"
+ (pin power_in line
+ (at -12.7 2.54 0)
+ (length 2.54)
+ (name "VIN"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at -12.7 -2.54 0)
+ (length 2.54)
+ (name "~{ON}/OFF"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "5"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin power_in line
+ (at 0 -7.62 90)
+ (length 2.54)
+ (name "GND"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "3"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin input line
+ (at 12.7 2.54 180)
+ (length 2.54)
+ (name "FB"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "4"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ (pin output line
+ (at 12.7 -2.54 180)
+ (length 2.54)
+ (name "OUT"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "2"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:+5V"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "+5V_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "+5V_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:GND"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -6.35 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "GND_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "GND_1_1"
+ (pin power_in line
+ (at 0 0 270)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:PWR_FLAG"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#FLG"
+ (at 0 1.905 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 0 3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "flag power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "PWR_FLAG_0_0"
+ (pin power_out line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (symbol "PWR_FLAG_0_1"
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ (symbol "power:VDC"
+ (power)
+ (pin_numbers
+ (hide yes)
+ )
+ (pin_names
+ (offset 0)
+ (hide yes)
+ )
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (property "Reference" "#PWR"
+ (at 0 -3.81 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "VDC"
+ (at 0 3.556 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"VDC\""
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "ki_keywords" "global power"
+ (at 0 0 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (symbol "VDC_0_1"
+ (polyline
+ (pts
+ (xy -0.762 1.27) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 2.54) (xy 0.762 1.27)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ (polyline
+ (pts
+ (xy 0 0) (xy 0 2.54)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (fill
+ (type none)
+ )
+ )
+ )
+ (symbol "VDC_1_1"
+ (pin power_in line
+ (at 0 0 90)
+ (length 0)
+ (name "~"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (number "1"
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ )
+ )
+ (embedded_fonts no)
+ )
+ )
+ (junction
+ (at 78.74 83.82)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "073b8483-3e95-41de-a978-7e790bc6f573")
+ )
+ (junction
+ (at 157.48 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "18b4cc91-36ef-4d5e-ab1c-7bde8f2aaaae")
+ )
+ (junction
+ (at 78.74 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "1935d0a0-25ab-448b-b6f7-dd288b3917e6")
+ )
+ (junction
+ (at 111.76 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "20f7fee2-6cce-4bc7-90f9-8423ff673462")
+ )
+ (junction
+ (at 128.27 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "26d6af35-8404-497c-8023-9cbb46ed4ec4")
+ )
+ (junction
+ (at 157.48 80.01)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "3b4765c4-131b-411e-8061-28b5d6fada8b")
+ )
+ (junction
+ (at 96.52 83.82)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "5ca28eec-2baf-49fe-ba98-5836bb5a8261")
+ )
+ (junction
+ (at 143.51 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "6f1ed860-ff27-4e3a-badb-136c90f72186")
+ )
+ (junction
+ (at 96.52 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "7f443855-4cbd-4c0a-a24e-849be7af7ed6")
+ )
+ (junction
+ (at 88.9 101.6)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "963cb6e1-8ec3-4ad5-923b-2e53ea1b1718")
+ )
+ (junction
+ (at 111.76 104.14)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a3753786-fbd0-4dbd-bda9-3af95df5eba5")
+ )
+ (junction
+ (at 143.51 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "ccde7998-81e4-4f98-8fb9-2381e08c7c9d")
+ )
+ (junction
+ (at 88.9 83.82)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "dc8c5cd3-d9cc-4629-943a-f1ee0e63ee37")
+ )
+ (junction
+ (at 128.27 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "de5c22eb-764d-4ff1-9ce5-ce8177d0d93e")
+ )
+ (junction
+ (at 157.48 88.9)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "e1b65265-867d-4094-b602-e7f299d287d0")
+ )
+ (junction
+ (at 63.5 83.82)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "e3fb91c9-5a76-4c4f-b15a-f6d6f0004d7e")
+ )
+ (junction
+ (at 157.48 85.09)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "eec9ee99-78c7-4c6a-a8d3-3f690f70565d")
+ )
+ (junction
+ (at 63.5 80.01)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "f941a022-a0f3-416f-af38-65bb81bdda68")
+ )
+ (no_connect
+ (at 187.96 87.63)
+ (uuid "3eef1b19-8d4f-40ba-b76b-05fa71f89828")
+ )
+ (no_connect
+ (at 187.96 95.25)
+ (uuid "45138605-56b3-446b-87d5-4120e165ae24")
+ )
+ (no_connect
+ (at 187.96 104.14)
+ (uuid "db7de237-0276-4d39-b695-c5ab7e01a029")
+ )
+ (no_connect
+ (at 187.96 78.74)
+ (uuid "edd06105-30b8-4021-924e-b5fdcc1dc3a0")
+ )
+ (wire
+ (pts
+ (xy 96.52 76.2) (xy 96.52 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "0180b0a8-cf43-4a4a-9c84-7c7bfc49930b")
+ )
+ (wire
+ (pts
+ (xy 88.9 83.82) (xy 88.9 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "01c7fa25-7236-4355-a841-113c7843b4a4")
+ )
+ (wire
+ (pts
+ (xy 128.27 101.6) (xy 143.51 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "02e7b63b-c9f6-4f71-8cae-56f5f143748b")
+ )
+ (wire
+ (pts
+ (xy 99.06 88.9) (xy 96.52 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "037e3d6d-8e39-409d-b1ce-1af61fc7097e")
+ )
+ (wire
+ (pts
+ (xy 143.51 88.9) (xy 157.48 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "14a5b510-618e-4066-8e4a-60698d8244f0")
+ )
+ (wire
+ (pts
+ (xy 63.5 80.01) (xy 63.5 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1af3cfee-d51f-4dcf-982d-8414e67a19dc")
+ )
+ (wire
+ (pts
+ (xy 78.74 96.52) (xy 78.74 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "1d897529-d9c9-4fc9-8a04-34f5b59a2804")
+ )
+ (wire
+ (pts
+ (xy 63.5 83.82) (xy 68.58 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2cc74efb-5339-4cd1-8b8b-1e64ff1f03ac")
+ )
+ (wire
+ (pts
+ (xy 175.26 92.71) (xy 175.26 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2cd7bd18-88a1-40f2-b7d8-f1ec01c59c8c")
+ )
+ (wire
+ (pts
+ (xy 157.48 80.01) (xy 157.48 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2d7ee0b9-6fdf-429b-8fce-c2ac28c8ea17")
+ )
+ (wire
+ (pts
+ (xy 111.76 93.98) (xy 111.76 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3361a87f-2cac-4841-8478-870649b16c7c")
+ )
+ (wire
+ (pts
+ (xy 76.2 83.82) (xy 78.74 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "356c1ae2-c229-454e-9794-fbbf7ae69df3")
+ )
+ (wire
+ (pts
+ (xy 78.74 101.6) (xy 88.9 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "379a3fcb-4784-4af1-98e0-252e3ecca065")
+ )
+ (wire
+ (pts
+ (xy 111.76 104.14) (xy 111.76 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3845306f-9b96-414f-95ce-efde728c2445")
+ )
+ (wire
+ (pts
+ (xy 128.27 88.9) (xy 130.81 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3926d27a-d210-4b83-a9e0-b7262106c5d2")
+ )
+ (wire
+ (pts
+ (xy 151.13 80.01) (xy 157.48 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "3f12af41-985b-47e7-b8ef-ff91249985cd")
+ )
+ (wire
+ (pts
+ (xy 143.51 83.82) (xy 143.51 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "40bc86f5-ee42-42b2-9a0a-196d7700494f")
+ )
+ (wire
+ (pts
+ (xy 124.46 88.9) (xy 128.27 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "47bc738b-17cc-4e70-8761-dd35e3d8e701")
+ )
+ (wire
+ (pts
+ (xy 128.27 99.06) (xy 128.27 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "4fb2d8d2-aa9b-4ff3-9a42-405312a50491")
+ )
+ (wire
+ (pts
+ (xy 124.46 83.82) (xy 143.51 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "5dfb8ae7-4a23-4cec-a996-71a83366a5a9")
+ )
+ (wire
+ (pts
+ (xy 63.5 93.98) (xy 63.5 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "688cf3db-7424-4b81-8abd-413bf10149ee")
+ )
+ (wire
+ (pts
+ (xy 143.51 88.9) (xy 143.51 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6a1accea-0793-43a9-a608-bc8639de7001")
+ )
+ (wire
+ (pts
+ (xy 63.5 91.44) (xy 63.5 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "6a42286a-e0aa-4b2f-9d53-f0e04f00b72a")
+ )
+ (wire
+ (pts
+ (xy 128.27 88.9) (xy 128.27 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "79552055-e45f-49bc-8cb1-f51b56a740b3")
+ )
+ (wire
+ (pts
+ (xy 88.9 96.52) (xy 88.9 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7aefd3e0-f31c-46e3-8d46-df8d350f233b")
+ )
+ (wire
+ (pts
+ (xy 60.96 93.98) (xy 63.5 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "7d54cd8d-de63-4eea-bd3c-a8098d0162c2")
+ )
+ (wire
+ (pts
+ (xy 111.76 101.6) (xy 128.27 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "80e9b698-6f06-4853-b207-5e4f956657d7")
+ )
+ (wire
+ (pts
+ (xy 157.48 96.52) (xy 157.48 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "8c525f42-3d11-4eeb-97de-5cee4e736501")
+ )
+ (wire
+ (pts
+ (xy 175.26 101.6) (xy 157.48 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9045f55f-c18d-4e51-9f5f-4f088f5fc343")
+ )
+ (wire
+ (pts
+ (xy 138.43 88.9) (xy 143.51 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9d188c56-2ed9-4de5-bd98-d392aebc8583")
+ )
+ (wire
+ (pts
+ (xy 96.52 88.9) (xy 96.52 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "9e615406-e957-486b-a621-4fc0aa9f8f4d")
+ )
+ (wire
+ (pts
+ (xy 59.69 80.01) (xy 63.5 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "a7f4a607-9a9b-46e0-ad1f-87e087916aa5")
+ )
+ (wire
+ (pts
+ (xy 157.48 85.09) (xy 157.48 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "ad821dba-94d0-44c3-b959-a6e40dfd193f")
+ )
+ (wire
+ (pts
+ (xy 78.74 83.82) (xy 78.74 88.9)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "af00d08f-5a14-4add-9e47-5648a6dd83fc")
+ )
+ (wire
+ (pts
+ (xy 104.14 104.14) (xy 111.76 104.14)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b2cda87d-1581-4c51-8ea8-eb050ca3f1a6")
+ )
+ (wire
+ (pts
+ (xy 160.02 96.52) (xy 157.48 96.52)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b3895ed7-05bd-4473-981b-bfacb7df411c")
+ )
+ (wire
+ (pts
+ (xy 88.9 83.82) (xy 96.52 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "b5aaa141-9eab-4f7a-8543-55daaa9b9d93")
+ )
+ (wire
+ (pts
+ (xy 63.5 101.6) (xy 78.74 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bba9f83c-8843-495e-997e-d0027f094769")
+ )
+ (wire
+ (pts
+ (xy 96.52 83.82) (xy 99.06 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bf4eda52-71da-483d-b439-ed5e921e21ec")
+ )
+ (wire
+ (pts
+ (xy 88.9 101.6) (xy 96.52 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d5b913a5-1ffe-43b0-82b2-88dd329875e1")
+ )
+ (wire
+ (pts
+ (xy 78.74 83.82) (xy 88.9 83.82)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d68e7209-e450-4768-9ad1-7ef7f56e6db3")
+ )
+ (wire
+ (pts
+ (xy 60.96 91.44) (xy 63.5 91.44)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "d71620e2-81fa-4ef5-8b5c-b91439e1a033")
+ )
+ (wire
+ (pts
+ (xy 143.51 99.06) (xy 143.51 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "e5ee6d2c-ff00-4721-9fc2-0ea011f8e4d9")
+ )
+ (wire
+ (pts
+ (xy 143.51 101.6) (xy 157.48 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eaa7e243-7bc6-4f4d-9d0c-bd2cc71ce99e")
+ )
+ (wire
+ (pts
+ (xy 157.48 93.98) (xy 160.02 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eab974e8-0b30-4738-bfc0-74e930acc3bc")
+ )
+ (wire
+ (pts
+ (xy 157.48 85.09) (xy 175.26 85.09)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "eb067035-35b7-46f7-9977-cde01eed79b7")
+ )
+ (wire
+ (pts
+ (xy 157.48 88.9) (xy 157.48 93.98)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "f9179306-b21f-4804-9628-7357157eaa79")
+ )
+ (wire
+ (pts
+ (xy 157.48 78.74) (xy 157.48 80.01)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fa3112d4-db8f-4f31-acb8-58af61b4d124")
+ )
+ (wire
+ (pts
+ (xy 96.52 101.6) (xy 111.76 101.6)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "fcb5634a-dff1-4406-9de3-6a958b34f578")
+ )
+ (label "Vin"
+ (at 96.52 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left bottom)
+ )
+ (uuid "71bdbb03-1cdc-4b13-894d-77c7ef5c8a50")
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 96.52 76.2 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "09b03c52-bd99-40d6-90f5-235379ccce0e")
+ (property "Reference" "#FLG04"
+ (at 96.52 74.295 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 96.52 71.12 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 96.52 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 96.52 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 96.52 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "06d6ec6d-5bfe-4749-b0e9-494f1258218e")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#FLG04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_Polarized")
+ (at 78.74 92.71 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "0c1b5d66-f79a-439e-893a-e930dd69825f")
+ (property "Reference" "C1"
+ (at 70.104 91.694 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "220uF"
+ (at 70.104 94.234 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 79.7052 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 78.74 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 78.74 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "cf3e5bf6-6344-4d70-a160-d2172f57e977")
+ )
+ (pin "1"
+ (uuid "4a2b7517-a7a1-45ea-8cdc-f8bc23372e11")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "C1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:L")
+ (at 134.62 88.9 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "0f999c54-b949-415b-9e96-c48469e77e90")
+ (property "Reference" "L1"
+ (at 134.62 83.82 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "33uH"
+ (at 134.62 86.36 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 134.62 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 134.62 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Inductor"
+ (at 134.62 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "dac2aeb6-b410-4f74-a4c5-daa0503c09fc")
+ )
+ (pin "2"
+ (uuid "f9b8544b-ea76-403b-b133-f713d58c20ae")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "L1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:MBRS340")
+ (at 72.39 83.82 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "11c4554c-0f5d-4109-a4c0-4a20f4754e23")
+ (property "Reference" "D1"
+ (at 72.7075 77.47 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "MBRS340"
+ (at 72.7075 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Diode_SMD:D_SMC"
+ (at 72.39 75.184 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf"
+ (at 72.39 77.216 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)"
+ (at 72.39 79.248 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "7803c046-1084-4315-abcf-76af9b6738e9")
+ )
+ (pin "1"
+ (uuid "c90d7a4f-05ba-44ad-b344-1e2e8288bd68")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "D1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Mechanical:MountingHole_Pad")
+ (at 190.5 87.63 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom no)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "1f9cf42b-ac08-4eaa-86c9-84a338b35e68")
+ (property "Reference" "H2"
+ (at 194.31 86.3599 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "MountingHole_Pad"
+ (at 194.31 88.8999 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 190.5 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Mounting Hole with connection"
+ (at 190.5 87.63 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ebd3b01d-06bd-45f0-b8d2-e17a1e4db322")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "H2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
+ (at 111.76 104.14 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "25db6fcd-f740-4e0e-9dc3-b8989cd0e2e6")
+ (property "Reference" "#PWR04"
+ (at 111.76 110.49 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 111.76 109.22 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 111.76 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 111.76 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 111.76 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "e031bea5-d03e-41b9-a91e-e8d81a1f4686")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#PWR04")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:VDC")
+ (at 63.5 80.01 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "5efaed47-fc02-4d5c-9017-d443f19a8196")
+ (property "Reference" "#PWR01"
+ (at 63.5 83.82 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "VDC"
+ (at 63.5 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 63.5 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 63.5 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"VDC\""
+ (at 63.5 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ae36a8dd-595e-4400-a493-7116060904fa")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#PWR01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 104.14 104.14 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6a289532-f6c1-4563-9280-44f2288c4c3f")
+ (property "Reference" "#FLG01"
+ (at 102.235 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 100.33 104.1399 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 104.14 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 104.14 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 104.14 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "62b54639-da16-4bec-ae29-66341d7d877f")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#FLG01")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Diode:SS34")
+ (at 128.27 95.25 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6aadc796-8dde-4e11-b752-1e9dc2d18773")
+ (property "Reference" "D2"
+ (at 130.81 93.6624 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "SS34"
+ (at 130.81 96.2024 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" "Diode_SMD:D_SMA"
+ (at 123.825 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "https://www.vishay.com/docs/88751/ss32.pdf"
+ (at 128.27 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "40V 3A Schottky Diode, SMA"
+ (at 128.27 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "392af9e0-ea64-4aea-88be-4e46793938c2")
+ )
+ (pin "2"
+ (uuid "01bc3c45-e8f3-46d0-b3cc-5173e53eb9e4")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "D2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Mechanical:MountingHole_Pad")
+ (at 190.5 78.74 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom no)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "6d43cfaa-f897-4b0a-99c5-302ef68a3cb5")
+ (property "Reference" "H1"
+ (at 194.31 77.4699 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "MountingHole_Pad"
+ (at 194.31 80.0099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 190.5 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Mounting Hole with connection"
+ (at 190.5 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "cf59ef0b-9c6c-43fa-8607-63eb08c44d19")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "H1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Connector:Screw_Terminal_01x02")
+ (at 165.1 93.98 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "74846fe7-0722-4054-9ba5-28a433aa752e")
+ (property "Reference" "J2"
+ (at 163.83 91.694 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "DB128V-5.08-2P"
+ (at 155.448 90.678 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 165.1 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 165.1 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"
+ (at 165.1 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "ead5c642-33c6-4164-a524-1282ff340eee")
+ )
+ (pin "2"
+ (uuid "297a6072-ae57-4ab3-9b44-4d9eb744d45a")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "J2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:+5V")
+ (at 157.48 78.74 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "75cf38c3-c62c-47c9-9868-bc51de32d074")
+ (property "Reference" "#PWR02"
+ (at 157.48 82.55 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+5V"
+ (at 157.48 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 157.48 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 157.48 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+5V\""
+ (at 157.48 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "53957935-191f-471b-b701-b956ee61af18")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#PWR02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 151.13 80.01 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "8cacd62d-606f-44e9-88e5-ce29699d637a")
+ (property "Reference" "#FLG03"
+ (at 149.225 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 147.32 80.0099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 151.13 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 151.13 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 151.13 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "04ba9eca-52f9-41fc-af02-2e659bea8f13")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#FLG03")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Regulator_Switching:LM2596S-5")
+ (at 111.76 86.36 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "941b89d3-7bfc-457d-8472-ec4903f95946")
+ (property "Reference" "U1"
+ (at 111.76 76.2 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "LM2596S-5"
+ (at 111.76 78.74 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" "Package_TO_SOT_SMD:TO-263-5_TabPin3"
+ (at 113.03 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ (italic yes)
+ )
+ (justify left)
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm2596.pdf"
+ (at 111.76 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "5V 3A Step-Down Voltage Regulator, TO-263"
+ (at 111.76 86.36 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "5"
+ (uuid "421deb1b-a109-4197-ad13-9516b4d258ad")
+ )
+ (pin "1"
+ (uuid "b694600d-9e14-41ea-81ae-a49a0166d581")
+ )
+ (pin "3"
+ (uuid "e3efa135-1d66-4fe6-9b6b-e8fcb23abb4f")
+ )
+ (pin "4"
+ (uuid "721bfeaa-a18a-4442-9b77-c5fe4b845113")
+ )
+ (pin "2"
+ (uuid "5579e57c-5dbc-4a2d-994c-36e7f9b76445")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "U1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:PWR_FLAG")
+ (at 59.69 80.01 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "a9d69e59-41d5-4f65-b1de-46c61039a5b5")
+ (property "Reference" "#FLG02"
+ (at 57.785 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "PWR_FLAG"
+ (at 55.88 80.0099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 59.69 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 59.69 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Special symbol for telling ERC where power comes from"
+ (at 59.69 80.01 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "11894485-3fd5-41b3-b61b-0b46965fd0e6")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "#FLG02")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Mechanical:MountingHole_Pad")
+ (at 190.5 95.25 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom no)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "bb5404a2-0844-4c88-9862-02145617d76c")
+ (property "Reference" "H3"
+ (at 194.31 93.9799 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "MountingHole_Pad"
+ (at 194.31 96.5199 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 190.5 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Mounting Hole with connection"
+ (at 190.5 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "82dfcff6-88a7-464c-b163-1858a0f8603f")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "H3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C")
+ (at 88.9 92.71 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c1dd2b30-0533-40b4-9306-60c338e48a93")
+ (property "Reference" "C2"
+ (at 92.71 91.4399 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1uF"
+ (at 92.71 93.9799 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 89.8652 96.52 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 88.9 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Unpolarized capacitor"
+ (at 88.9 92.71 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "3009a89e-2e90-4908-a9a3-e779077cef7d")
+ )
+ (pin "1"
+ (uuid "52fdc9fc-4b38-4236-8a29-d7a6e8127cb0")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "C2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:C_Polarized")
+ (at 143.51 95.25 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "c4ae4692-e973-4948-8f6c-1503ccd4f038")
+ (property "Reference" "C3"
+ (at 147.32 93.0909 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "220uF"
+ (at 147.32 95.6309 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 144.4752 99.06 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 143.51 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Polarized capacitor"
+ (at 143.51 95.25 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "6b09bf16-0b6b-44ec-b8f6-14c8a4779600")
+ )
+ (pin "2"
+ (uuid "e02fad3f-1e47-4396-b07a-29d399d61f3c")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "C3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Connector:Screw_Terminal_01x02")
+ (at 55.88 93.98 180)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (uuid "de16f441-41cc-4bc7-980f-9abd06ee2d93")
+ (property "Reference" "J1"
+ (at 55.88 85.09 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Value" "DB128V-5.08-2P"
+ (at 54.356 87.884 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 55.88 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 55.88 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"
+ (at 55.88 93.98 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "884c0fda-e688-45f7-9f1f-8893498ec46c")
+ )
+ (pin "2"
+ (uuid "1e4d3967-35ec-4012-9880-3793fcf00f17")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "J1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:LED")
+ (at 175.26 97.79 90)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e28e1efa-961f-4e7b-bafc-023a107294dd")
+ (property "Reference" "D3"
+ (at 179.07 98.1074 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Value" "LED"
+ (at 179.07 100.6474 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify right)
+ )
+ )
+ (property "Footprint" ""
+ (at 175.26 97.79 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 175.26 97.79 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Light emitting diode"
+ (at 175.26 97.79 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Pins" "1=K 2=A"
+ (at 175.26 97.79 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "303628b3-c576-4b42-b58c-2521266dc826")
+ )
+ (pin "1"
+ (uuid "f455d49b-a653-430c-b1d9-c9697222d74d")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "D3")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Mechanical:MountingHole_Pad")
+ (at 190.5 104.14 270)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom no)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "e82f05e2-8800-4049-8f5c-638d43b898cf")
+ (property "Reference" "H4"
+ (at 194.31 102.8699 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "MountingHole_Pad"
+ (at 194.31 105.4099 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 190.5 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 190.5 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Mounting Hole with connection"
+ (at 190.5 104.14 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "460f23ac-da3f-4da3-9015-e726d2a9e0cb")
+ )
+ (instances
+ (project "kicad_buck converter_circuit"
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "H4")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R_US")
+ (at 175.26 88.9 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "fc921aff-14cf-4e25-b834-d7b414807808")
+ (property "Reference" "R1"
+ (at 177.8 87.6299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "1k"
+ (at 177.8 90.1699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 176.276 89.154 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 175.26 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor, US symbol"
+ (at 175.26 88.9 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4b5983bf-cfbd-4913-8a3a-76ef8126b81e")
+ )
+ (pin "2"
+ (uuid "16c542da-bdfb-4dbc-98db-f32fb5a5cd6b")
+ )
+ (instances
+ (project ""
+ (path "/b290c1ca-58b4-4d04-a4c7-efdea698d9a4"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (sheet_instances
+ (path "/"
+ (page "1")
+ )
+ )
+ (embedded_fonts no)
+)
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/main.py b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/main.py
new file mode 100644
index 0000000000..1bfeaa2e44
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/main.py
@@ -0,0 +1,102 @@
+"""Auto-generated cb task for KiCad submission d5947ae7-19bf-42dc-92c4-c9ca182d6d8d."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "d5947ae7-19bf-42dc-92c4-c9ca182d6d8d"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Revise the 5V fixed-output LM2596S-5 buck converter shown in the attached schematic to improve stability and transient performance by strengthening both input and output filtering while keeping the overall topology unchanged. Add a 100 nF ceramic capacitor for improved high-frequency output noise suppression and include a 10 µF ceramic capacitor to enhance input decoupling during switching events. Increase the output bulk capacitance from 220 µF to 470 µF to improve load transient response and energy buffering capability. All other components and connections remain unchanged.''',
+ metadata={"difficulty": 'medium', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path='/home/cua/kicad_project/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pro')
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/pyproject.toml
new file mode 100644
index 0000000000..20d4dba72c
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-d5947ae7-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Revise the 5V fixed-output LM2596S-5 buck converter shown in the attached schematic to improve stability and transient performance by strengthening both input and output filtering while keeping the overall topology unchanged. Add a 100 nF ceramic capacitor for improved high-frequency output noise suppression and include a 10 µF ceramic capacitor to enhance input decoupling during switching events. Increase the output bulk capacitance from 220 µF to 470 µF to improve load transient response and energy buffering capability. All other components and connections remain unchanged."
+difficulty = "medium"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/reference.net
new file mode 100644
index 0000000000..54fa3a3ef6
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/d5947ae7/reference.net
@@ -0,0 +1,491 @@
+(export (version "E")
+ (design
+ (source "/Users/merkebgirmay/Downloads/kicad_buck converter_circuit_modify/kicad_buck converter_circuit_modify.kicad_sch")
+ (date "2026-03-03T08:42:27-0800")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_buck converter_circuit_modify.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "220uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "0c1b5d66-f79a-439e-893a-e930dd69825f"))
+ (comp (ref "C2")
+ (value "1uF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c1dd2b30-0533-40b4-9306-60c338e48a93"))
+ (comp (ref "C3")
+ (value "470uF")
+ (datasheet "~")
+ (description "Polarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (libsource (lib "Device") (part "C_Polarized") (description "Polarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "CP_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c4ae4692-e973-4948-8f6c-1503ccd4f038"))
+ (comp (ref "C4")
+ (value "100nF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "c3c4fc17-d5d5-4824-a0ab-be46a7c20aae"))
+ (comp (ref "C5")
+ (value "10nF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bd5df948-b9d2-40e2-b035-86d807afe4fe"))
+ (comp (ref "D1")
+ (value "MBRS340")
+ (footprint "Diode_SMD:D_SMC")
+ (datasheet "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf")
+ (description "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)")
+ (fields
+ (field (name "Footprint") "Diode_SMD:D_SMC")
+ (field (name "Datasheet") "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf")
+ (field (name "Description") "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)"))
+ (libsource (lib "Diode") (part "MBRS340") (description "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode Schottky"))
+ (property (name "ki_fp_filters") (value "*D*SMC*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "11c4554c-0f5d-4109-a4c0-4a20f4754e23"))
+ (comp (ref "D2")
+ (value "SS34")
+ (footprint "Diode_SMD:D_SMA")
+ (datasheet "https://www.vishay.com/docs/88751/ss32.pdf")
+ (description "40V 3A Schottky Diode, SMA")
+ (fields
+ (field (name "Footprint") "Diode_SMD:D_SMA")
+ (field (name "Datasheet") "https://www.vishay.com/docs/88751/ss32.pdf")
+ (field (name "Description") "40V 3A Schottky Diode, SMA"))
+ (libsource (lib "Diode") (part "SS34") (description "40V 3A Schottky Diode, SMA"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "diode Schottky"))
+ (property (name "ki_fp_filters") (value "D*SMA*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6aadc796-8dde-4e11-b752-1e9dc2d18773"))
+ (comp (ref "D3")
+ (value "LED")
+ (datasheet "~")
+ (description "Light emitting diode")
+ (fields
+ (field (name "Sim.Pins") "1=K 2=A")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode"))
+ (libsource (lib "Device") (part "LED") (description "Light emitting diode"))
+ (property (name "Sim.Pins") (value "1=K 2=A"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "LED diode"))
+ (property (name "ki_fp_filters") (value "LED* LED_SMD:* LED_THT:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e28e1efa-961f-4e7b-bafc-023a107294dd"))
+ (comp (ref "H1")
+ (value "MountingHole_Pad")
+ (datasheet "~")
+ (description "Mounting Hole with connection")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Mounting Hole with connection"))
+ (libsource (lib "Mechanical") (part "MountingHole_Pad") (description "Mounting Hole with connection"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "exclude_from_bom"))
+ (property (name "ki_keywords") (value "mounting hole"))
+ (property (name "ki_fp_filters") (value "MountingHole*Pad*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "6d43cfaa-f897-4b0a-99c5-302ef68a3cb5"))
+ (comp (ref "H2")
+ (value "MountingHole_Pad")
+ (datasheet "~")
+ (description "Mounting Hole with connection")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Mounting Hole with connection"))
+ (libsource (lib "Mechanical") (part "MountingHole_Pad") (description "Mounting Hole with connection"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "exclude_from_bom"))
+ (property (name "ki_keywords") (value "mounting hole"))
+ (property (name "ki_fp_filters") (value "MountingHole*Pad*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "1f9cf42b-ac08-4eaa-86c9-84a338b35e68"))
+ (comp (ref "H3")
+ (value "MountingHole_Pad")
+ (datasheet "~")
+ (description "Mounting Hole with connection")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Mounting Hole with connection"))
+ (libsource (lib "Mechanical") (part "MountingHole_Pad") (description "Mounting Hole with connection"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "exclude_from_bom"))
+ (property (name "ki_keywords") (value "mounting hole"))
+ (property (name "ki_fp_filters") (value "MountingHole*Pad*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "bb5404a2-0844-4c88-9862-02145617d76c"))
+ (comp (ref "H4")
+ (value "MountingHole_Pad")
+ (datasheet "~")
+ (description "Mounting Hole with connection")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Mounting Hole with connection"))
+ (libsource (lib "Mechanical") (part "MountingHole_Pad") (description "Mounting Hole with connection"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "exclude_from_bom"))
+ (property (name "ki_keywords") (value "mounting hole"))
+ (property (name "ki_fp_filters") (value "MountingHole*Pad*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "e82f05e2-8800-4049-8f5c-638d43b898cf"))
+ (comp (ref "J1")
+ (value "DB128V-5.08-2P")
+ (datasheet "~")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector") (part "Screw_Terminal_01x02") (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "screw terminal"))
+ (property (name "ki_fp_filters") (value "TerminalBlock*:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "de16f441-41cc-4bc7-980f-9abd06ee2d93"))
+ (comp (ref "J2")
+ (value "DB128V-5.08-2P")
+ (datasheet "~")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (libsource (lib "Connector") (part "Screw_Terminal_01x02") (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "screw terminal"))
+ (property (name "ki_fp_filters") (value "TerminalBlock*:*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "74846fe7-0722-4054-9ba5-28a433aa752e"))
+ (comp (ref "L1")
+ (value "33uH")
+ (datasheet "~")
+ (description "Inductor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Inductor"))
+ (libsource (lib "Device") (part "L") (description "Inductor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "inductor choke coil reactor magnetic"))
+ (property (name "ki_fp_filters") (value "Choke_* *Coil* Inductor_* L_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "0f999c54-b949-415b-9e96-c48469e77e90"))
+ (comp (ref "R1")
+ (value "1k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "fc921aff-14cf-4e25-b834-d7b414807808"))
+ (comp (ref "U1")
+ (value "LM2596S-5")
+ (footprint "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (datasheet "http://www.ti.com/lit/ds/symlink/lm2596.pdf")
+ (description "5V 3A Step-Down Voltage Regulator, TO-263")
+ (fields
+ (field (name "Footprint") "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2596.pdf")
+ (field (name "Description") "5V 3A Step-Down Voltage Regulator, TO-263"))
+ (libsource (lib "Regulator_Switching") (part "LM2596S-5") (description "5V 3A Step-Down Voltage Regulator, TO-263"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_buck converter_circuit_modify.kicad_sch"))
+ (property (name "ki_keywords") (value "Step-Down Voltage Regulator 5V 3A"))
+ (property (name "ki_fp_filters") (value "TO?263*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "941b89d3-7bfc-457d-8472-ec4903f95946")))
+ (libparts
+ (libpart (lib "Connector") (part "Screw_Terminal_01x02")
+ (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
+ (docs "~")
+ (footprints
+ (fp "TerminalBlock*:*"))
+ (fields
+ (field (name "Reference") "J")
+ (field (name "Value") "Screw_Terminal_01x02")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
+ (pins
+ (pin (num "1") (name "Pin_1") (type "passive"))
+ (pin (num "2") (name "Pin_2") (type "passive"))))
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "C_Polarized")
+ (description "Polarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "CP_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C_Polarized")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Polarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "L")
+ (description "Inductor")
+ (docs "~")
+ (footprints
+ (fp "Choke_*")
+ (fp "*Coil*")
+ (fp "Inductor_*")
+ (fp "L_*"))
+ (fields
+ (field (name "Reference") "L")
+ (field (name "Value") "L")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Inductor"))
+ (pins
+ (pin (num "1") (name "1") (type "passive"))
+ (pin (num "2") (name "2") (type "passive"))))
+ (libpart (lib "Device") (part "LED")
+ (description "Light emitting diode")
+ (docs "~")
+ (footprints
+ (fp "LED*")
+ (fp "LED_SMD:*")
+ (fp "LED_THT:*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "LED")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Light emitting diode")
+ (field (name "Sim.Pins") "1=K 2=A"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Diode") (part "MBRS340")
+ (description "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)")
+ (docs "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf")
+ (footprints
+ (fp "*D*SMC*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "MBRS340")
+ (field (name "Footprint") "Diode_SMD:D_SMC")
+ (field (name "Datasheet") "https://www.onsemi.com/download/data-sheet/pdf/mbrs340t3-d.pdf")
+ (field (name "Description") "40V 3A Schottky Barrier Rectifier Diode, SMC (DO-214AB)"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Diode") (part "SS34")
+ (description "40V 3A Schottky Diode, SMA")
+ (docs "https://www.vishay.com/docs/88751/ss32.pdf")
+ (footprints
+ (fp "D*SMA*"))
+ (fields
+ (field (name "Reference") "D")
+ (field (name "Value") "SS34")
+ (field (name "Footprint") "Diode_SMD:D_SMA")
+ (field (name "Datasheet") "https://www.vishay.com/docs/88751/ss32.pdf")
+ (field (name "Description") "40V 3A Schottky Diode, SMA"))
+ (pins
+ (pin (num "1") (name "K") (type "passive"))
+ (pin (num "2") (name "A") (type "passive"))))
+ (libpart (lib "Mechanical") (part "MountingHole_Pad")
+ (description "Mounting Hole with connection")
+ (docs "~")
+ (footprints
+ (fp "MountingHole*Pad*"))
+ (fields
+ (field (name "Reference") "H")
+ (field (name "Value") "MountingHole_Pad")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Mounting Hole with connection"))
+ (pins
+ (pin (num "1") (name "1") (type "input"))))
+ (libpart (lib "Regulator_Switching") (part "LM2596S-5")
+ (description "5V 3A Step-Down Voltage Regulator, TO-263")
+ (docs "http://www.ti.com/lit/ds/symlink/lm2596.pdf")
+ (footprints
+ (fp "TO?263*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "LM2596S-5")
+ (field (name "Footprint") "Package_TO_SOT_SMD:TO-263-5_TabPin3")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/lm2596.pdf")
+ (field (name "Description") "5V 3A Step-Down Voltage Regulator, TO-263"))
+ (pins
+ (pin (num "1") (name "VIN") (type "power_in"))
+ (pin (num "2") (name "OUT") (type "output"))
+ (pin (num "3") (name "GND") (type "power_in"))
+ (pin (num "4") (name "FB") (type "input"))
+ (pin (num "5") (name "~{ON}/OFF") (type "input")))))
+ (libraries
+ (library (logical "Connector")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Connector.kicad_sym"))
+ (library (logical "Device")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Device.kicad_sym"))
+ (library (logical "Diode")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Diode.kicad_sym"))
+ (library (logical "Mechanical")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Mechanical.kicad_sym"))
+ (library (logical "Regulator_Switching")
+ (uri "/Applications/KiCad/KiCad.app/Contents/SharedSupport/symbols//Regulator_Switching.kicad_sym")))
+ (nets
+ (net (code "1") (name "+5V") (class "Default")
+ (node (ref "C3") (pin "1") (pintype "passive"))
+ (node (ref "C4") (pin "1") (pintype "passive"))
+ (node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "L1") (pin "2") (pinfunction "2") (pintype "passive"))
+ (node (ref "R1") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "4") (pinfunction "FB") (pintype "input")))
+ (net (code "2") (name "/Vin") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "C2") (pin "1") (pintype "passive"))
+ (node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "U1") (pin "1") (pinfunction "VIN") (pintype "power_in")))
+ (net (code "3") (name "GND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "C2") (pin "2") (pintype "passive"))
+ (node (ref "C3") (pin "2") (pintype "passive"))
+ (node (ref "C4") (pin "2") (pintype "passive"))
+ (node (ref "C5") (pin "2") (pintype "passive"))
+ (node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "D3") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
+ (node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
+ (node (ref "U1") (pin "3") (pinfunction "GND") (pintype "power_in")))
+ (net (code "4") (name "Net-(D2-K)") (class "Default")
+ (node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
+ (node (ref "L1") (pin "1") (pinfunction "1") (pintype "passive"))
+ (node (ref "U1") (pin "2") (pinfunction "OUT") (pintype "output")))
+ (net (code "5") (name "Net-(D3-A)") (class "Default")
+ (node (ref "D3") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "R1") (pin "2") (pintype "passive")))
+ (net (code "6") (name "Net-(U1-~{ON}{slash}OFF)") (class "Default")
+ (node (ref "C5") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "5") (pinfunction "~{ON}/OFF") (pintype "input")))
+ (net (code "7") (name "VDC") (class "Default")
+ (node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
+ (node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive")))
+ (net (code "8") (name "unconnected-(H1-Pad1)") (class "Default")
+ (node (ref "H1") (pin "1") (pinfunction "1") (pintype "input+no_connect")))
+ (net (code "9") (name "unconnected-(H2-Pad1)") (class "Default")
+ (node (ref "H2") (pin "1") (pinfunction "1") (pintype "input+no_connect")))
+ (net (code "10") (name "unconnected-(H3-Pad1)") (class "Default")
+ (node (ref "H3") (pin "1") (pinfunction "1") (pintype "input+no_connect")))
+ (net (code "11") (name "unconnected-(H4-Pad1)") (class "Default")
+ (node (ref "H4") (pin "1") (pinfunction "1") (pintype "input+no_connect")))))
\ No newline at end of file
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/main.py b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/main.py
new file mode 100644
index 0000000000..2dddca7eb5
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/main.py
@@ -0,0 +1,108 @@
+"""Auto-generated cb task for KiCad submission ff6dfdde-721f-4044-99ce-b6fdd26350dd."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "ff6dfdde-721f-4044-99ce-b6fdd26350dd"
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description='''Design a circuit in KiCad using the chip ISO1211 to connect a 24V field input digital signal in a noisy environment to a 3.3V microcontroller.
+ - From the field input, add in a low pass filter with a resistor of 2.5k and capacitor of 10nF before connecting to the SENSE pin.
+ - The SENSE pin should also be connected to pin 7 with a 562 ohm resistor.
+ - The second side of the digital isolator will be used to directly interface to the microcontroller.
+ - ENABLE should be tied to the microcontroller power for robustness in a noisy environment.
+ - The ground on the field side of the isolator should be connected to FGND, and the ground on the microcontroller side should be connected to GND1.
+Clearly label the FIELD_INPUT, the HEAT_SINK connection on pin 5, and the circuit OUTPUT to the microcontroller.''',
+ metadata={"difficulty": 'easy', "submission_id": _SUBMISSION_ID},
+ )
+ ]
+
+
[email protected]_task(split="train")
+async def start(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ await session.apps.kicad.install(with_shortcut=True)
+
+ initial_dir = _HARNESS_DIR / "initial"
+ for local_path in sorted(initial_dir.rglob("*")):
+ if not local_path.is_file():
+ continue
+ rel = local_path.relative_to(initial_dir)
+ remote_path = f"{_REMOTE_PROJECT_DIR}/{rel.as_posix()}"
+ remote_dir = f"{_REMOTE_PROJECT_DIR}/{rel.parent.as_posix()}"
+ await session.run_command(f"mkdir -p '{remote_dir}'", check=False)
+ await session.write_bytes(remote_path, local_path.read_bytes())
+
+ try:
+ await session.apps.kicad.launch(project_path=None)
+ except Exception:
+ pass
+ await asyncio.sleep(5)
+
+
[email protected]_task(split="train")
+async def solve(task_cfg: cb.Task, session: cb.DesktopSession) -> None:
+ """Oracle solver: upload reference.net directly to the expected output path."""
+ await session.run_command(f"mkdir -p '{_REMOTE_PROJECT_DIR}'", check=False)
+ await session.write_bytes(
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ (_HARNESS_DIR / "reference.net").read_bytes(),
+ )
+
+
[email protected]_task(split="train")
+async def evaluate(task_cfg: cb.Task, session: cb.DesktopSession) -> float:
+ from cua_bench.netlist_compare import (
+ compare_kicad_netlists,
+ load_reference_netlist,
+ )
+
+ reference = load_reference_netlist(_HARNESS_DIR / "reference.net", _HARNESS_DIR)
+
+ # Try common netlist output locations first
+ candidate_paths = [
+ f"{_REMOTE_PROJECT_DIR}/{_SUBMISSION_ID}.net",
+ f"{_REMOTE_PROJECT_DIR}/output.net",
+ ]
+ for path in candidate_paths:
+ result = await session.run_command(f"cat '{path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Search for any .net file in the project dir
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.net' | head -1", check=False
+ )
+ net_path = result.get("stdout", "").strip()
+ if net_path:
+ result = await session.run_command(f"cat '{net_path}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ # Fall back: agent edited schematic without exporting — use kicad-cli to generate netlist
+ result = await session.run_command(
+ f"find {_REMOTE_PROJECT_DIR} -name '*.kicad_sch' | head -1", check=False
+ )
+ sch_path = result.get("stdout", "").strip()
+ if sch_path:
+ out_net = "/tmp/kicad_eval_output.net"
+ await session.run_command(
+ f"kicad-cli sch export netlist '{sch_path}' -o '{out_net}'",
+ check=False,
+ )
+ result = await session.run_command(f"cat '{out_net}'", check=False)
+ candidate = result.get("stdout", "")
+ if candidate.strip():
+ return compare_kicad_netlists(candidate, reference)
+
+ return 0.0
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/pyproject.toml b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/pyproject.toml
new file mode 100644
index 0000000000..342f1c2052
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "cua-bench-kicad-ff6dfdde-env"
+version = "0.1.0"
+license = "MIT"
+authors = [
+ { name = "Snorkel AI" },
+ { name = "Cua" }
+]
+requires-python = ">=3.11"
+
+[tool.cua-bench]
+description = "Design a circuit in KiCad using the chip ISO1211 to connect a 24V field input digital signal in a noisy environment to a 3.3V microcontroller. - From the field input, add in a low pass filter with a resistor of 2.5k and capacitor of 10nF before connecting to the SENSE pin. - The SENSE pin should also be connected to pin 7 with a 562 ohm resistor. - The second side of the digital isolator will be used to directly interface to the microcontroller. - ENABLE should be tied to the microcontroller power for robustness in a noisy environment. - The ground on the field side of the isolator should be connected to FGND, and the ground on the microcontroller side should be connected to GND1. Clearly label the FIELD_INPUT, the HEAT_SINK connection on pin 5, and the circuit OUTPUT to the microcontroller."
+difficulty = "easy"
+category = "eda"
+tags = ["kicad", "schematic", "eda"]
diff --git a/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/reference.net b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/reference.net
new file mode 100644
index 0000000000..acebfa1bdb
--- /dev/null
+++ b/libs/cua-bench/datasets/cua-bench-kicad/ff6dfdde/reference.net
@@ -0,0 +1,160 @@
+(export (version "E")
+ (design
+ (source "C:\\Users\\gayli\\Documents\\Work\\SnorkelAI\\Ohm Bench\\kicad_digitalisolator_circuit\\kicad_digitalisolator_circuit.kicad_sch")
+ (date "2026-02-27T16:44:36-1000")
+ (tool "Eeschema 9.0.7")
+ (sheet (number "1") (name "/") (tstamps "/")
+ (title_block
+ (title)
+ (company)
+ (rev)
+ (date)
+ (source "kicad_digitalisolator_circuit.kicad_sch")
+ (comment (number "1") (value ""))
+ (comment (number "2") (value ""))
+ (comment (number "3") (value ""))
+ (comment (number "4") (value ""))
+ (comment (number "5") (value ""))
+ (comment (number "6") (value ""))
+ (comment (number "7") (value ""))
+ (comment (number "8") (value ""))
+ (comment (number "9") (value "")))))
+ (components
+ (comp (ref "C1")
+ (value "10nF")
+ (datasheet "~")
+ (description "Unpolarized capacitor")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (libsource (lib "Device") (part "C") (description "Unpolarized capacitor"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_digitalisolator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "cap capacitor"))
+ (property (name "ki_fp_filters") (value "C_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "de448efe-8149-4b15-92ee-48cbb9fad9fd"))
+ (comp (ref "R2")
+ (value "2.5k")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_digitalisolator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "76798380-e9de-4aef-ab38-46ed20c93900"))
+ (comp (ref "R3")
+ (value "562")
+ (datasheet "~")
+ (description "Resistor, US symbol")
+ (fields
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (libsource (lib "Device") (part "R_US") (description "Resistor, US symbol"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_digitalisolator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "R res resistor"))
+ (property (name "ki_fp_filters") (value "R_*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "3e7fef72-4321-450f-bd0d-429136af0e0a"))
+ (comp (ref "U1")
+ (value "ISO1211")
+ (footprint "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm")
+ (datasheet "http://www.ti.com/lit/ds/symlink/iso1211.pdf")
+ (description "Isolated, 1 Channel, 24 to 60V Digital Input Receiver, SOIC-8")
+ (fields
+ (field (name "Footprint") "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/iso1211.pdf")
+ (field (name "Description") "Isolated, 1 Channel, 24 to 60V Digital Input Receiver, SOIC-8"))
+ (libsource (lib "Isolator") (part "ISO1211") (description "Isolated, 1 Channel, 24 to 60V Digital Input Receiver, SOIC-8"))
+ (property (name "Sheetname") (value "Root"))
+ (property (name "Sheetfile") (value "kicad_digitalisolator_circuit.kicad_sch"))
+ (property (name "ki_keywords") (value "isolated digital input"))
+ (property (name "ki_fp_filters") (value "SOIC*3.9x4.9mm*P1.27mm*"))
+ (sheetpath (names "/") (tstamps "/"))
+ (tstamps "42484a31-1690-4ed3-ac65-1264346a71c6")))
+ (libparts
+ (libpart (lib "Device") (part "C")
+ (description "Unpolarized capacitor")
+ (docs "~")
+ (footprints
+ (fp "C_*"))
+ (fields
+ (field (name "Reference") "C")
+ (field (name "Value") "C")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Unpolarized capacitor"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Device") (part "R_US")
+ (description "Resistor, US symbol")
+ (docs "~")
+ (footprints
+ (fp "R_*"))
+ (fields
+ (field (name "Reference") "R")
+ (field (name "Value") "R_US")
+ (field (name "Footprint"))
+ (field (name "Datasheet") "~")
+ (field (name "Description") "Resistor, US symbol"))
+ (pins
+ (pin (num "1") (name "") (type "passive"))
+ (pin (num "2") (name "") (type "passive"))))
+ (libpart (lib "Isolator") (part "ISO1211")
+ (description "Isolated, 1 Channel, 24 to 60V Digital Input Receiver, SOIC-8")
+ (docs "http://www.ti.com/lit/ds/symlink/iso1211.pdf")
+ (footprints
+ (fp "SOIC*3.9x4.9mm*P1.27mm*"))
+ (fields
+ (field (name "Reference") "U")
+ (field (name "Value") "ISO1211")
+ (field (name "Footprint") "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm")
+ (field (name "Datasheet") "http://www.ti.com/lit/ds/symlink/iso1211.pdf")
+ (field (name "Description") "Isolated, 1 Channel, 24 to 60V Digital Input Receiver, SOIC-8"))
+ (pins
+ (pin (num "1") (name "VCC1") (type "power_in"))
+ (pin (num "2") (name "EN") (type "input"))
+ (pin (num "3") (name "OUT") (type "tri_state"))
+ (pin (num "4") (name "GND1") (type "power_in"))
+ (pin (num "5") (name "SUB") (type "passive"))
+ (pin (num "6") (name "FGND") (type "power_in"))
+ (pin (num "7") (name "IN") (type "input"))
+ (pin (num "8") (name "SENSE") (type "input")))))
+ (libraries
+ (library (logical "Device")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Device.kicad_sym"))
+ (library (logical "Isolator")
+ (uri "C:\\Program Files\\KiCad\\9.0\\share\\kicad\\symbols\\/Isolator.kicad_sym")))
+ (nets
+ (net (code "1") (name "+3V3") (class "Default")
+ (node (ref "U1") (pin "1") (pinfunction "VCC1") (pintype "power_in"))
+ (node (ref "U1") (pin "2") (pinfunction "EN") (pintype "input")))
+ (net (code "2") (name "FGND") (class "Default")
+ (node (ref "C1") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "6") (pinfunction "FGND") (pintype "power_in")))
+ (net (code "3") (name "FIELD_INPUT") (class "Default")
+ (node (ref "R2") (pin "1") (pintype "passive")))
+ (net (code "4") (name "GND1") (class "Default")
+ (node (ref "U1") (pin "4") (pinfunction "GND1") (pintype "power_in")))
+ (net (code "5") (name "HEAT_SINK") (class "Default")
+ (node (ref "U1") (pin "5") (pinfunction "SUB") (pintype "passive")))
+ (net (code "6") (name "Net-(U1-IN)") (class "Default")
+ (node (ref "R3") (pin "2") (pintype "passive"))
+ (node (ref "U1") (pin "7") (pinfunction "IN") (pintype "input")))
+ (net (code "7") (name "Net-(U1-SENSE)") (class "Default")
+ (node (ref "C1") (pin "1") (pintype "passive"))
+ (node (ref "R2") (pin "2") (pintype "passive"))
+ (node (ref "R3") (pin "1") (pintype "passive"))
+ (node (ref "U1") (pin "8") (pinfunction "SENSE") (pintype "input")))
+ (net (code "8") (name "OUTPUT") (class "Default")
+ (node (ref "U1") (pin "3") (pinfunction "OUT") (pintype "tri_state")))))
\ No newline at end of file