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.

Add packaging (#1874)

Wonderplex068fca52d8a2
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c2db3d0c77..cecc47f463 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -6,7 +6,7 @@
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
- "extensions.ignoreRecommendations": false,
+ "extensions.ignoreRecommendations": true,
"python.formatting.provider": "black",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
diff --git a/README.md b/README.md
index 3dfe9a86d0..932e06f220 100644
--- a/README.md
+++ b/README.md
@@ -1,228 +1,261 @@
-<div align="center">
- <a href="https://cua.ai" target="_blank" rel="noopener noreferrer">
- <picture>
- <source media="(prefers-color-scheme: dark)" alt="Cua logo" width="150" srcset="img/logo_white.svg">
- <source media="(prefers-color-scheme: light)" alt="Cua logo" width="150" srcset="img/logo_black.svg">
- <img alt="Cua logo" width="150" src="img/logo_black.svg">
- </picture>
- </a>
-
- <p align="center">Build, benchmark, and deploy agents that use computers</p>
-
- <p align="center">
- <a href="https://cua.ai" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/cua.ai-0ea5e9" alt="cua.ai"></a>
- <a href="https://discord.gg/mVnXXpdE85" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Discord-Join%20Server-10b981?logo=discord&logoColor=white" alt="Discord"></a>
- <a href="https://x.com/trycua" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/twitter/follow/trycua?style=social" alt="Twitter"></a>
- <a href="https://cua.ai/docs" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Docs-0ea5e9.svg" alt="Documentation"></a>
- <br>
-<a href="https://trendshift.io/repositories/13685" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13685" alt="trycua%2Fcua | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
- </p>
-
-</div>
-
-## Choose Your Path
-
-<div align="center">
- <table>
- <tr>
- <td colspan="3" align="center">
- <a href="#cua-driver---background-computer-use-on-macos-and-windows-with-linux-pre-release">
- <img src="img/card-cua-driver.png" alt="Cua Driver — The background computer-use agent" width="888">
- </a>
- </td>
- </tr>
- <tr>
- <td align="center">
- <a href="#cua---agentic-ui-automation--code-execution">
- <img src="img/card-cua-sandbox.png" alt="Cua &amp; Cua Sandbox" width="280">
- </a>
- </td>
- <td align="center">
- <a href="#cua-bench---benchmarks--rl-environments">
- <img src="img/card-cua-bench.png" alt="Cua Bench" width="280">
- </a>
- </td>
- <td align="center">
- <a href="#lume---macos-virtualization">
- <img src="img/card-cua-lume.png" alt="Lume" width="280">
- </a>
- </td>
- </tr>
- </table>
-</div>
+# Snorkel TerminalBench+ Edition 2 Data Sample
----
+**Version:** February 2026 (v2.0)
-## Cua Driver - Background computer-use on macOS and Windows, with Linux pre-release
+## Disclaimer
-Drive native desktop apps **in the background** — agents click, type, and verify without stealing the cursor or focus. Use the same CLI and MCP server on macOS and Windows from Claude Code, Cursor, Codex, OpenClaw, and custom clients. Linux support is available as a pre-release backend while platform testing is still in progress.
+Disclaimer: These materials and data samples are provided solely for evaluation and discussion purposes and do not constitute a delivery under any existing agreement between Snorkel AI, Inc. and the recipient. All rights, title, and interest in these materials and data samples remain the exclusive property of Snorkel AI, Inc. The recipient may not copy, distribute, or use these materials or data samples for any commercial or competitive purpose without Snorkel AI Inc.'s prior written consent or a separately executed license agreement. The materials and data samples are provided "AS IS" and without warranties of any kind. By accessing or using the materials or data samples, the recipient agrees to these terms.
-**macOS / Linux pre-release**
+## Overview
-```sh
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh)"
-```
+Terminal-Bench is a benchmark designed to evaluate large language model (LLM) agents in realistic, interactive computing environments, where they must execute complex, multi-step workflows using command-line tools and programming languages. It covers a diverse range of domains including software engineering, data science, machine learning, DevOps, database management, security, and scientific computing.
-**Windows (PowerShell)**
+This dataset represents samples from **Snorkel TerminalBench+ Edition 2**, the second entry in the Snorkel Agentic Coding Data Series. Snorkel is a leading contributor to Terminal-Bench 2.0. More details on our contributions: https://snorkel.ai/blog/evaluating-coding-agent-capabilities-with-terminal-bench-snorkels-role-in-building-the-next-generation-benchmark/
-```powershell
-irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex
-```
+## What's New in Edition 2
-Full tool reference, architecture notes, and the optional agent skill pack live here: [`libs/cua-driver/README.md`](libs/cua-driver/README.md).
+Edition 1 (released December 2025) provided 6,000 expert-authored tasks testing individual competencies in isolation. Edition 2 moves beyond single-skill evaluation to composite, multi-step tasks that mirror real engineering workflows — requiring agents to chain competencies across milestones in larger, more complex environments. Together, the two editions form a sequenced training curriculum. Edition 2 is one of several editions planned for release throughout 2026. The Terminal-Bench+ series will deliver 15,000+ expert-authored tasks.
----
+### Key Innovations
-## Cua - Agent-Ready Sandboxes for Any OS
+**1. Milestone-Based Evaluation**
-Build agents that see screens, click buttons, and complete tasks autonomously. One API for any VM or container image — cloud or local.
+Edition 2 introduces tasks divided into 2–5 independently verifiable milestones that the agent must complete in sequence. Each milestone has its own test verifiers and rubrics, yielding 3–5x more training signal per task. This enables diagnostic precision — instead of knowing the agent failed, you know it failed at milestone 3 after succeeding at milestones 1 and 2.
-```sh
-pip install cua
-```
+**2. Real-World Context Layers**
-<!-- <img src="img/cua-architecture.png" alt="Cua Architecture" width="100%"> -->
+Edition 1 defines what type of problem an agent must solve. Edition 2 adds a second axis defining the conditions under which the agent must work. These cut across all task types:
-```python
-# Requires Python 3.11 or later
-from cua import Sandbox, Image
+| Context Layer | What It Tests |
+|---|---|
+| Long Context | Reasoning over 50,000+ token documents that cannot be parsed programmatically |
+| API Integration | Building, debugging, and interacting with APIs where source code is in the environment |
+| DB Interaction | Solving problems through direct database querying (SQL, NoSQL, vector databases) |
+| UI Building | Creating and modifying UIs verified via Playwright and Vitest |
+| Tool-Specific | Working with niche tools that have complex SDKs but limited training data representation |
-# Same API regardless of OS or runtime
-async with Sandbox.ephemeral(Image.linux()) as sb: # or .macos() .windows() .android()
- result = await sb.shell.run("echo hello")
- screenshot = await sb.screenshot()
- await sb.mouse.click(100, 200)
- await sb.keyboard.type("Hello from Cua!")
- await sb.mobile.gesture((100, 500), (100, 200)) # multi-touch gestures
-```
+**3. Codebase Scale Variation**
-| | Linux container | Linux VM | macOS | Windows | Android | BYOI (.qcow2, .iso) |
-| ------------------ | --------------- | -------- | ----- | ------- | ------- | ------------------- |
-| **Cloud (cua.ai)** | ✅ | ✅ | ✅ | ✅ | ✅ | 🔜 soon |
-| **Local (QEMU)** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
+Edition 1 tasks operate in contained environments. Edition 2 systematically varies environment complexity with labeled codebase sizes:
-**[Get Started](https://cua.ai/docs/cua/guide/get-started/set-up-sandbox)** | **[Examples](https://cua.ai/docs/cua/examples)** | **[API Reference](https://cua.ai/docs/cua/reference/agent-sdk)**
+| Scale | Description |
+|---|---|
+| Large | 200+ files, production-scale with documentation and test suites |
+| Small | 20+ files, aligned to smaller services and projects |
+| Minimal | Little to no codebase context — pure terminal tasks |
----
+### Edition 1 vs. Edition 2 at a Glance
-## CuaBot - Co-op computer-use for any agent
+| Dimension | Edition 1 | Edition 2 |
+|---|---|---|
+| Task scope | Atomic (1 competency per task) | Composite (2–5 competencies chained across milestones) |
+| Evaluation | Pass/fail + rubrics | Milestone-level verifiers + rubrics per milestone |
+| Reward signal | Binary (1 signal per task) | Dense trajectory (per milestone + per rubric) |
+| Real-world context | — | Long Context, API Integration, DB Interaction, UI Building, Tool-Specific |
+| Codebase scale | Not differentiated | Large / Small / Minimal, labeled in metadata |
+| Languages | Primarily Python | Python ≤50%, 5+ languages at ≥5%, multi-language tasks |
+| Difficulty calibration | GPT-5, Claude Sonnet 4.5 | GPT-5.2, Claude Opus 4.6 |
-<div align="center">
- <img src="img/cuabot-screenshot.png" alt="cuabot screenshot" width="720">
-</div>
+## Task Type Taxonomy
-`cuabot` gives any coding agent a seamless sandbox for computer-use. Individual windows appear natively on your desktop with H.265, shared clipboard, and audio.
+The tasks in this dataset span multiple categories that reflect real-world technical work:
-```bash
-npx cuabot # Setup onboarding
-```
+- **Software Engineering:** Tasks focused on developing or testing features and algorithms, fixing bugs and improving/optimizing existing features, implementing tests, or maintaining software projects.
-```bash
-# Run any agent in a sandbox
-cuabot claude # Claude Code
-cuabot openclaw # OpenClaw in the sandbox
+- **Machine Learning / Model Training / Inference:** Tasks requiring training, fine-tuning, running inference, or evaluating machine learning models, including dependency setup, running training loops, and managing data pipelines for ML tasks.
-# Run any GUI workflow in a sandbox
-cuabot chromium
-cuabot --screenshot
-cuabot --type "hello"
-cuabot --click <x> <y> [button]
-```
+- **System/Environment Setup & Configuration:** Tasks involving OS-level configuration, user management, package management, processes, or installing, configuring, and bringing up services, networks, and environments.
-Built-in support for `agent-browser` and `agent-device` (iOS, Android) out of the box.
+- **Build / Compilation / Dependency Management:** Compile code, manage dependencies, and build components.
-<div align="center">
+- **Data / File Processing / ETL / Scripting:** Tasks that transform, parse, filter, and aggregate datasets or files and directories to generate derived output.
-**[Get Started](https://cua.ai/docs/cuabot/guide/getting-started/introduction)** | **[Installation](https://cua.ai/docs/cuabot/guide/getting-started/installation)** | First spotted at [ClawCon](https://www.claw-con.com/)
+- **Interactive / Simulation Tasks / Games:** Tasks centered on game-like or simulated environments, interactive puzzles, or simulation games that run in the terminal.
-<img height="64" alt="cuaXclawdbot_nbg" src="https://github.com/user-attachments/assets/8b92237d-6e9b-4b3a-ae9a-b3560622ec1d" />
+- **Debugging / Repair / Fixing Tasks:** Tasks that require identifying, diagnosing, and fixing errors in scripts, codebases, or system configurations.
-</div>
+- **Security / Cryptography / Vulnerability Demonstration:** Tasks related to cryptography, authentication, permissions, penetration-style tests, exploits, validating vulnerabilities, reverse engineering, or security configuration.
----
+- **Scientific Computing:** Tasks using scientific libraries or workflows, such as numerical computation, simulations, or domain-specific research code.
-## Cua-Bench - Benchmarks & RL Environments
+## Data Sample
-Evaluate computer-use agents on OSWorld, ScreenSpot, Windows Arena, and custom tasks. Export trajectories for training.
+This sample contains **50 tasks** from the Snorkel TerminalBench+ offering spanning software engineering, scientific computing, debugging, data processing, security, machine learning, system administration, system setup & configuration, and games categories.
-<!-- <img src="img/cua-bench-architecture.png" alt="Cua-Bench Architecture" width="100%"> -->
+### Difficulty Tiers
-```bash
-# Install and create base image
-cd cua-bench
-uv tool install -e . && cb image create linux-docker
+Each task is categorized based on model performance using GPT-5.2 + Terminus 2 agent and Claude Opus 4.6 + Terminus 2 agent. Difficulty tiers are defined as follows:
-# Run benchmark with agent
-cb run dataset datasets/cua-bench-basic --agent cua-agent --max-parallel 4
-```
+| Tier | Definition |
+|---|---|
+| **Frontier** | Accuracy <= 20% on best model |
+| **Advanced Plus** | Accuracy <= 20% on worst model (exclusive of Frontier) |
+| **Advanced** | 20% < Accuracy <= 60% on worst model |
+| **Core** | 60% < Accuracy <= 80% on worst model |
-**[Get Started](https://cua.ai/docs/cuabench/guide/getting-started/first-steps)** | **[Partner With Us](https://cuabench.ai/)** | **[Registry](https://cuabench.ai/registry)** | **[CLI Reference](https://cua.ai/docs/cuabench/reference/cli-reference)**
+The difficulty breakdown of these 50 sample tasks is:
----
+- 6 Frontier
+- 24 Advanced Plus
+- 19 Advanced
+- 1 Core
-## Lume - macOS Virtualization
+## Task Structure
-Create and manage macOS/Linux VMs with near-native performance on Apple Silicon using Apple's Virtualization.Framework.
+Each task directory contains the following required files:
-<!-- <img src="img/lume-architecture.png" alt="Lume Architecture" width="100%"> -->
+- **`task.toml`** - Contains the task metadata including difficulty level, category, timeout settings, and other configuration parameters
-```bash
-# Install Lume
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"
+- **`instruction.md`** - Detailed task instructions in Markdown format that describe what needs to be accomplished
-# Pull & start a macOS VM
-lume run macos-sequoia-vanilla:latest
-```
+- **`environment/Dockerfile`** - Defines the Docker environment and dependencies required to run the task
-**[Get Started](https://cua.ai/docs/lume)** | **[FAQ](https://cua.ai/docs/lume/guide/getting-started/faq)** | **[CLI Reference](https://cua.ai/docs/lume/reference/cli-reference)**
+- **`solution/solve.sh`** - Reference solution created by a human expert demonstrating how to complete the task correctly
----
+- **`tests/test.sh`** - Shell script that executes the test suite to verify task completion
-## Packages
+- **`tests/test_outputs.py`** - Deterministic Python tests that check whether the task was solved correctly based on the final state of the environment (or `tests/test_outputs.spec.ts` for Playwright-verified UI tasks)
-| Package | Description |
-| --------------------------------------------------------------------------- | ---------------------------------------------------------- |
-| [cuabot](https://docs.trycua.com/cuabot/guide/getting-started/introduction) | Multi-agent computer-use sandbox CLI |
-| [cua-agent](https://cua.ai/docs/cua/reference/agent-sdk) | AI agent framework for computer-use tasks |
-| [cua-sandbox](https://cua.ai/docs/cua/reference/sandbox-sdk) | SDK for creating and controlling sandboxes |
-| [cua-computer-server](https://cua.ai/docs/cua/reference/sandbox-sdk) | Driver for UI interactions and code execution in sandboxes |
-| [cua-bench](https://cua.ai/docs/cuabench) | Benchmarks and RL environments for computer-use |
-| [lume](https://cua.ai/docs/lume) | macOS/Linux VM management on Apple Silicon |
-| [lumier](https://cua.ai/docs/lume/guide/advanced/lumier) | Docker-compatible interface for Lume VMs |
+- **`rubrics.txt`** - Evaluation criteria for LLM-as-judge scoring of the agent's trace, covering both process and outcome (or multiple `rubrics_x.txt` files for milestone tasks)
-## Resources
+Note: Tasks may also include additional files such as `milestones.md`, per-milestone test files (`tests/test_m*.py`), per-milestone solution scripts (`solution/solve*.sh`), and other data or configuration files specific to the task requirements.
-- [Documentation](https://cua.ai/docs) — Guides, examples, and API reference
-- [Blog](https://www.cua.ai/blog) — Tutorials, updates, and research
-- [Discord](https://discord.com/invite/mVnXXpdE85) — Community support and discussions
-- [GitHub Issues](https://github.com/trycua/cua/issues) — Bug reports and feature requests
+## Task Summaries
-## Contributing
+This sample includes the following tasks:
-We welcome contributions! See our [Contributing Guidelines](CONTRIBUTING.md) for details.
+### Software Engineering (18 tasks)
-## License
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `api-incident-escalation-repair-v5` | Advanced | Repair a broken Flask on-call service — fix incident listing, risk scoring, and escalation plan generation across 3 milestones. |
+| `cartpole-ppo-reward-shaping-grid-search` | Advanced Plus | Fix a broken PPO reward-grid search script for CartPole-v1 producing JSON/CSV artifacts with Pareto flags. |
+| `ci-pipeline-monitor` | Advanced | Fix a CI pipeline monitor extracting build logs and computing health metrics across 4 milestones. |
+| `data-migration-pipeline` | Advanced Plus | Fix a warehouse migration pipeline pulling shipment CSVs into SQLite with transformation and reporting across 4 milestones. |
+| `doc-analysis-api` | Advanced Plus | Extend a Flask app with a document analysis API supporting full-text search and TF-IDF processing across 3 milestones. |
+| `expense-report` | Advanced | Fix an expense report processor that reads JSON files, converts currencies, and generates reports across 4 milestones. |
+| `fix-json-patch` | Advanced Plus | Fix a broken RFC 6902 JSON Patch and RFC 6901 JSON Pointer implementation (small codebase). |
+| `github-actions-yaml-fix_20260307_134248` | Advanced Plus | Fix multiple errors in a GitHub Actions CI YAML preventing the pipeline from running (small codebase). |
+| `go-microservice-user-api` | Advanced Plus | Build a Go microservice with user CRUD operations on SQLite, fixing a broken database connection skeleton (small codebase). |
+| `gym-gridworld-multi-objective-pareto-cli` | Core | Fix a broken multi-objective Gymnasium grid-world CLI producing Pareto-optimal configs with JSON/CSV reports. |
+| `headless-git-release-surgery` | Advanced Plus | Fix a git repository left in a broken release state after partial cherry-pick/revert work and complete the 2.4.1 release. |
+| `jwt_auth_service_evolution_task` | Frontier | Build a Flask authentication microservice evolving through JWT auth, OAuth2 server, and social login across 3 milestones. |
+| `kuhn-poker-cfr-plus-selfplay-cli` | Advanced | Fix a broken CFR+ self-play implementation for Kuhn Poker producing correct exploitability and policy JSON. |
+| `kuhn-poker-openspiel-cfr-plus-policy-export` | Frontier | Fix an OpenSpiel Kuhn Poker CFR+ trainer and export average policy meeting strict exploitability thresholds. |
+| `multi-agent-pursuit-evasion-selfplay-ppo` | Frontier | Fix a broken multi-agent pursuit-evasion RL prototype with PPO self-play training. |
+| `redis-caching-express-js` | Advanced Plus | Review and fix a Redis-based caching layer added to an Express.js API. |
+| `text-analysis-visualization-react` | Advanced Plus | Build a CLI text analysis workflow for large documents and a React UI for visualizing generated insights. |
+| `unicode-filename-normalizer-cli` | Advanced | Fix a broken Python CLI that normalizes filesystem names for a migration script. |
-MIT License — see [LICENSE](LICENSE.md) for details.
+### Scientific Computing (10 tasks)
-Third-party components have their own licenses:
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `battery-dispatch-opt` | Advanced Plus | Write a dispatch controller for a grid-scale battery energy storage system to optimize buy/sell decisions. |
+| `chem-kinetics-sim` | Frontier | Build a CHEMKIN-format kinetics simulator across 4 milestones: thermodynamic parsing, rate constants, ODE integration, and sensitivity analysis. |
+| `dc-workload-opt` | Advanced | Write a resource controller for a data center with an indoor battery storage system to optimize workload scheduling (small codebase). |
+| `geochem-reactive-transport` | Advanced Plus | Build a geochemical reactive transport simulator with thermodynamics, equilibrium, and reactive flow across 4 milestones. |
+| `multiref-qchem-engine` | Advanced Plus | Build a multi-configurational quantum chemistry engine implementing CI, CASSCF, NEVPT2, and FMO2 methods across 4 milestones. |
+| `phase-coupling-inference` | Advanced Plus | Infer coupling coefficients from recordings of 30 coupled phase oscillators over 5000 timesteps. |
+| `pumped-hydro-dispatch` | Advanced Plus | Write a dispatch controller for a pumped hydro storage facility to optimize grid power usage and water pumping. |
+| `qchem-output-parser` | Advanced Plus | Build a Python library parsing output files from 5 quantum chemistry programs with UV-Vis simulation and thermochemistry across 4 milestones. |
+| `sparse-preconditioner-synthesis` | Advanced | Fix a sparse linear system solver driver that loads problem specs and applies preconditioning (small codebase). |
+| `xc-functional-library-v2` | Advanced | Build a Python exchange-correlation functional library with LDA, GGA, and hybrid functionals across 3 milestones. |
-- [Kasm](libs/kasm/LICENSE) (MIT)
-- [OmniParser](https://github.com/microsoft/OmniParser/blob/master/LICENSE) (CC-BY-4.0)
-- Optional `cua-agent[omni]` includes ultralytics (AGPL-3.0)
+### Debugging / Repair (6 tasks)
-## Trademarks
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `c-react-stats-task` | Advanced Plus | Fix a three-layer data visualization dashboard with a C statistical engine, Express API, and React frontend across 3 milestones (small codebase). |
+| `circuit-debugger` | Advanced Plus | Debug a logic circuit server with 8 two-input gates by probing inputs/outputs to identify the faulty gate. |
+| `etl-csv-image-tool` | Advanced Plus | Fix an Express/SQLite ETL pipeline for CSV ingestion, statistical analysis, and image processing across 3 milestones. |
+| `flaky-test-suite-debugging` | Advanced | Diagnose and fix a flaky Python test suite whose failures depend on execution order and shared state. |
+| `kotlin-mlflow-task` | Advanced | Debug a Kotlin linear regression project with MLflow tracking — fix build, model training, and inference API across 3 milestones. |
+| `python-docker-c-extension-fix` | Advanced Plus | Fix a Python application with a C extension module that builds successfully but crashes at runtime (small codebase). |
-Apple, macOS, Ubuntu, Canonical, and Microsoft are trademarks of their respective owners. This project is not affiliated with or endorsed by these companies.
+### Data Processing (5 tasks)
----
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `csv-profiler-cli-updated` | Advanced Plus | Build a CLI tool to profile CSV datasets with statistical summaries and visualization. |
+| `data-contract-compliance-enforcer-v5` | Advanced Plus | Enforce data contract compliance in a warehouse snapshot pipeline with schema auditing and quality checks across 3 milestones. |
+| `grand-slam-upset-index-v4` | Advanced | Build a ranked Grand Slam upset index from 1990–2024 match CSV data, grouped by surface and decade, with JSON output. |
+| `panel-position-extractor-v8` | Advanced Plus | Extract per-speaker positions and agreements from a ~55k-word panel transcript and produce structured JSON output. |
+| `sql-agent` | Frontier | Explore an unknown SQLite database, decode encoded values via a codec registry, and reconstruct a secret token through foreign key chain analysis. |
-<div align="center">
+### Security (5 tasks)
-[![Stargazers over time](https://starchart.cc/trycua/cua.svg?variant=adaptive)](https://starchart.cc/trycua/cua)
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `issue-x509-server-certificates` | Advanced | Build a small PKI with OpenSSL: root CA, intermediate CA, and multiple X.509 server certificates with appropriate extensions. |
+| `linux-elf-malware-correlator` | Advanced | Analyze a Linux ELF malware sample — unpack if UPX-packed, run static analysis, and correlate with threat intel across 4 milestones. |
+| `linux-persistence-hunter-remediator-cli` | Advanced Plus | Build a CLI tool to hunt stealthy Linux persistence mechanisms and generate a remediation report across 4 milestones. |
+| `opaque-wire-decode` | Frontier | Reverse-engineer an undocumented industrial monitoring protocol from a binary capture and decode 397 length-prefixed messages. |
+| `secure-flask-api` | Advanced Plus | Audit and fix security vulnerabilities in a Flask REST API handling user registration, JWT authentication, and profile management (small codebase). |
-Thank you to all our [GitHub Sponsors](https://github.com/sponsors/trycua)!
+### Machine Learning (2 tasks)
-<img width="300" alt="coderabbit-cli" src="https://github.com/user-attachments/assets/23a98e38-7897-4043-8ef7-eb990520dccc" />
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `debug-ml-training-pipeline` | Advanced | Fix a broken binary classifier training pipeline with a custom weighted focal loss on an imbalanced dataset (small codebase). |
+| `parallel-rollout-prioritized-replay-buffer` | Advanced | Fix a broken RL utility implementing parallel rollouts with a prioritized experience replay buffer. |
-</div>
+### System Administration (1 task)
+
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `cis-level1-linux-compliance-cli` | Advanced | Build a CIS Level 1 Linux compliance checker that evaluates system controls and emits a remediation script across 4 milestones. |
+
+### System Setup & Configuration (1 task)
+
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `terraform-gcp-env` | Advanced | Create production-ready Terraform config for a GCP environment with VPC, Cloud SQL, GCS, and Redis with remote state. |
+
+### Games (2 tasks)
+
+| Task | Difficulty | Description |
+|------|------------|-------------|
+| `blind-auction` | Advanced | Play a blind auction game via HTTP API — maximize winnings across 8 rounds by bidding strategically on items. |
+| `process-scheduler` | Advanced | Interact with a CPU job scheduler server to produce optimal process schedules for 5 evaluation seeds. |
+
+## Milestone Tasks
+
+The following tasks use a milestone-based structure where the agent must complete sequential stages of increasing complexity:
+
+- **`api-incident-escalation-repair-v5`** (3 milestones): Repair incident listing/filtering/pagination; repair risk scoring; generate escalation plan with checksum.
+
+- **`c-react-stats-task`** (3 milestones): Build System & Server Startup; Statistical Computation; Visualization & Integration.
+
+- **`chem-kinetics-sim`** (4 milestones): Parse CHEMKIN thermodynamic properties; compute rate constants with Troe falloff; integrate reactor ODEs; perform sensitivity and rate-of-production analysis.
+
+- **`ci-pipeline-monitor`** (4 milestones): Fix data parsing and aggregation; fix flaky test detection and build health; fix stage ranking and report summary; fix trend analysis.
+
+- **`cis-level1-linux-compliance-cli`** (4 milestones): Load benchmark JSON and implement control parser; scan system settings and evaluate controls; produce compliance report JSON; emit POSIX-compliant remediation script.
+
+- **`data-contract-compliance-enforcer-v5`** (3 milestones): Build schema auditor; build quality and freshness checks; build compliance summarizer.
+
+- **`data-migration-pipeline`** (4 milestones): Fix data loading; fix processing and reporting; fix data enrichment; fix audit trail.
+
+- **`doc-analysis-api`** (3 milestones): Set up document fetching API endpoints; implement full-document analysis with TF-IDF, bigrams, and similarity; build results listing and aggregate statistics.
+
+- **`etl-csv-image-tool`** (3 milestones): CSV Ingestion Pipeline; Analysis Engine; Advanced Analytics and Dashboard.
+
+- **`expense-report`** (4 milestones): Fix data loading and parsing; correct reporting scope and limit checks; fix approver dict mutation and categorizer sorting; resolve numeric tax edge-cases and per-diem dates.
+
+- **`geochem-reactive-transport`** (4 milestones): Thermodynamic database parser and activity coefficient models; Gibbs energy minimization with Newton-Raphson; 1D reactive transport with MUSCL advection-dispersion; mineral saturation indices and benchmark validation.
+
+- **`jwt_auth_service_evolution_task`** (3 milestones): JWT Authentication Foundation; OAuth2 Authorization Server; Social Login Integration.
+
+- **`kotlin-mlflow-task`** (3 milestones): Fix Kotlin build environment; fix model training with correct normalization and MLflow integration; fix inference API route paths and prediction denormalization.
+
+- **`linux-elf-malware-correlator`** (4 milestones): Detect and unpack UPX sample; produce static imports and strings; run strace and capture syscalls; correlate and output structured report JSON.
+
+- **`linux-persistence-hunter-remediator-cli`** (4 milestones): Hunter CLI with inventory mode; classification against allowlist; safe remediation with atomic report; validate mode confirming persistence state.
+
+- **`multiref-qchem-engine`** (4 milestones): Full CI with Davidson diagonalization; CASSCF orbital optimization; NEVPT2 perturbation theory; restricted Hartree-Fock and FMO2.
+
+- **`qchem-output-parser`** (4 milestones): Gaussian/ORCA parsers with core unit conversion; NWChem/GAMESS/Psi4 parsers with auto-detection; UV-Vis simulation and thermochemistry; JSON serialization and CLI.
+
+- **`xc-functional-library-v2`** (3 milestones): LDA functionals with analytical derivatives; GGA functionals with gradient-dependent derivatives; hybrid functionals with expression parser and finite-difference verification.
diff --git a/libs/cua-bench/cua_bench/agents/cua_agent.py b/libs/cua-bench/cua_bench/agents/cua_agent.py
index 01b28d1c14..22ce7ec5bf 100644
--- a/libs/cua-bench/cua_bench/agents/cua_agent.py
+++ b/libs/cua-bench/cua_bench/agents/cua_agent.py
@@ -92,7 +92,7 @@ class CuaAgent(BaseAgent):
action = ClickAction(x=x, y=y)
elif button == "right":
action = RightClickAction(x=x, y=y)
- elif button == "middle":
+ elif button in ("middle", "wheel"):
action = MiddleClickAction(x=x, y=y)
else:
raise ValueError(f"Unknown button type: {button}")
diff --git a/libs/cua-bench/cua_bench/apps/kicad.py b/libs/cua-bench/cua_bench/apps/kicad.py
index 5d3391337d..fe13b58fd9 100644
--- a/libs/cua-bench/cua_bench/apps/kicad.py
+++ b/libs/cua-bench/cua_bench/apps/kicad.py
@@ -3,7 +3,6 @@
from __future__ import annotations
import asyncio
-import re
from pathlib import Path
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
@@ -193,8 +192,9 @@ def _parse_kicad_netlist(content: str) -> Dict[str, Any]:
def _normalize_value(value: str) -> str:
"""Normalize component value for loose comparison (e.g. '100' vs '100Ω')."""
- v = value.strip()
- return re.sub(r"\s*[ΩohmOHM]\s*$", "", v, flags=re.IGNORECASE)
+ from cua_bench.netlist_compare import _normalize_value as normalize
+
+ return normalize(value)
def _component_key(c: dict) -> Tuple[str, str, str]:
@@ -262,18 +262,22 @@ class KiCad(App):
*,
with_shortcut: bool = True,
) -> None:
- """Install KiCad on Linux via PPA."""
- result = await self.session.run_command(
- "sudo add-apt-repository --yes ppa:kicad/kicad-9.0-releases && "
- "sudo apt update && "
- "sudo apt install -y --install-recommends kicad",
- check=False,
- )
-
+ """Ensure KiCad is available on Linux and optionally create a shortcut."""
verify = await self.session.run_command(
"command -v kicad >/dev/null 2>&1 && echo FOUND || echo NOT_FOUND",
check=False,
)
+ if _stdout(verify) != "FOUND":
+ result = await self.session.run_command(
+ "sudo add-apt-repository --yes ppa:kicad/kicad-9.0-releases && "
+ "sudo apt update && "
+ "sudo apt install -y --install-recommends kicad",
+ check=False,
+ )
+ verify = await self.session.run_command(
+ "command -v kicad >/dev/null 2>&1 && echo FOUND || echo NOT_FOUND",
+ check=False,
+ )
if _stdout(verify) != "FOUND":
raise RuntimeError(
f"KiCad install failed: {_stdout(result)}"
@@ -304,20 +308,21 @@ class KiCad(App):
project_path: Optional[str] = None,
) -> None:
"""Launch KiCad on Linux."""
- cmd = "kicad"
+ kicad_args = ["/usr/bin/kicad"]
if project_path:
- cmd += f" '{project_path}'"
- done, pending = await asyncio.wait(
- [
- asyncio.ensure_future(
- self.session.run_command(f"{cmd} &", check=False)
- ),
- asyncio.ensure_future(asyncio.sleep(3)),
- ],
- return_when=asyncio.FIRST_COMPLETED,
+ kicad_args.append(project_path)
+ kicad_args_repr = repr(kicad_args)
+ launch_script = (
+ "import subprocess, os; "
+ f"subprocess.Popen({kicad_args_repr}, "
+ "env={**os.environ, 'DISPLAY': ':1'}, "
+ "close_fds=True, start_new_session=True, "
+ "stdin=open('/dev/null'), "
+ "stdout=open('/dev/null', 'w'), "
+ "stderr=open('/dev/null', 'w'))"
)
- for task in pending:
- task.cancel()
+ await self.session.run_command(f"python3 -c \"{launch_script}\"", check=False)
+ await asyncio.sleep(15)
@uninstall("linux")
async def uninstall_linux(self: "BoundApp", **kwargs) -> None:
@@ -472,7 +477,9 @@ class KiCad(App):
"""
netlist = await self.read_netlist(netlist_path=netlist_path)
if netlist_path.rstrip("/").endswith(".net"):
- return _parse_kicad_netlist(netlist)["components"]
+ from cua_bench.netlist_compare import parse_kicad_netlist
+
+ return parse_kicad_netlist(netlist)["components"]
return _parse_spice_components(netlist)
async def compare_netlist(
@@ -501,13 +508,16 @@ class KiCad(App):
Returns:
Score 0.0 (no match) to 1.0 (exact match).
"""
+ from cua_bench.netlist_compare import compare_kicad_netlists
+
candidate = await self.read_netlist(netlist_path=candidate_path)
reference = Path(reference_path).read_text(encoding="utf-8", errors="replace")
- return _compare_kicad_netlists(
+ return compare_kicad_netlists(
candidate,
reference,
require_same_components=require_same_components,
require_same_nets=require_same_nets,
+ require_same_net_names=False,
)
async def simulate_operating_point(
diff --git a/libs/cua-bench/cua_bench/batch/solver.py b/libs/cua-bench/cua_bench/batch/solver.py
index a17152df17..e10aadd9b4 100644
--- a/libs/cua-bench/cua_bench/batch/solver.py
+++ b/libs/cua-bench/cua_bench/batch/solver.py
@@ -245,8 +245,8 @@ async def main():
print(f"Running task {task_index}: {task_cfg.description}")
# Create output directory
- output_dir = Path("/tmp/td_output")
- output_dir.mkdir(exist_ok=True)
+ output_dir = Path(os.environ.get("CUA_OUTPUT_DIR", "/tmp/td_output"))
+ output_dir.mkdir(exist_ok=True, parents=True)
# Start tracing
try:
@@ -282,8 +282,8 @@ async def main():
print(f"Warning: Failed to record reset event: {e}")
# Create output directory (after task setup)
- output_dir = Path("/tmp/td_output")
- output_dir.mkdir(exist_ok=True)
+ output_dir = Path(os.environ.get("CUA_OUTPUT_DIR", "/tmp/td_output"))
+ output_dir.mkdir(exist_ok=True, parents=True)
# Run solver or agent
if not args["dump_mode"]:
diff --git a/libs/cua-bench/cua_bench/cli/commands/run.py b/libs/cua-bench/cua_bench/cli/commands/run.py
index 431c8a2f94..d6e9c8c794 100644
--- a/libs/cua-bench/cua_bench/cli/commands/run.py
+++ b/libs/cua-bench/cua_bench/cli/commands/run.py
@@ -950,6 +950,8 @@ async def _cmd_run_task_async(args) -> int:
# Log provider
if provider_type in ("simulated", "webtop"):
print(f"{GREY}Provider: simulated - agent will use local Playwright session{RESET}")
+ elif provider_type == "daytona":
+ print(f"{GREY}Provider: daytona - running fully remote in Daytona sandboxes{RESET}")
elif provider_type in ("native", "computer"):
print(f"{GREY}Provider: native - using 2-container architecture{RESET}")
else:
@@ -1057,6 +1059,8 @@ async def _cmd_run_task_async(args) -> int:
# Show environment type based on provider
if provider_type in ("simulated", "webtop"):
print(" Environment: simulated (Playwright)")
+ elif provider_type == "daytona":
+ print(f" Environment: {image_name} (daytona)")
else:
print(f" Environment: {image_name} ({env_type})")
@@ -1324,6 +1328,8 @@ async def _cmd_run_task_detached(args) -> int:
# Add provider type to command (will be passed to subprocess which calls run_task)
if provider_type in ("simulated", "webtop"):
cmd.extend(["--provider-type", "simulated"])
+ elif provider_type == "daytona":
+ cmd.extend(["--provider-type", "daytona"])
# Forward --with paths to subprocess (resolve to absolute so CWD changes don't matter)
for dev_path in getattr(args, "dev_paths", None) or []:
@@ -1435,6 +1441,8 @@ async def _cmd_run_dataset_async(args) -> int:
# Log provider
if provider_type in ("simulated", "webtop"):
print(f"{GREY}Provider: simulated - agents will use local Playwright sessions{RESET}")
+ elif provider_type == "daytona":
+ print(f"{GREY}Provider: daytona - running fully remote in Daytona sandboxes{RESET}")
elif provider_type in ("native", "computer"):
print(f"{GREY}Provider: native - using 2-container architecture{RESET}")
else:
@@ -1443,7 +1451,8 @@ async def _cmd_run_dataset_async(args) -> int:
# Apply task filter if specified
task_filter = getattr(args, "task_filter", None)
if task_filter:
- tasks = [t for t in tasks if fnmatch.fnmatch(t.name, task_filter)]
+ _patterns = [p.strip() for p in task_filter.split(",")]
+ tasks = [t for t in tasks if any(fnmatch.fnmatch(t.name, p) for p in _patterns)]
if not tasks:
print(f"{RED}Error: No tasks match filter: {task_filter}{RESET}")
return 1
@@ -1736,6 +1745,8 @@ async def _cmd_run_dataset_async(args) -> int:
# Show environment based on provider
if provider_type in ("simulated", "webtop"):
print(f" {BOLD}Env:{RESET} simulated (Playwright)")
+ elif provider_type == "daytona":
+ print(f" {BOLD}Image:{RESET} {image_name} (daytona)")
else:
print(f" {BOLD}Image:{RESET} {image_name}")
@@ -1784,6 +1795,10 @@ async def _cmd_run_dataset_async(args) -> int:
cmd.extend(["--task-filter", task_filter])
if user_output_dir:
cmd.extend(["--output-dir", str(user_output_dir)])
+ if provider_type in ("simulated", "webtop"):
+ cmd.extend(["--provider-type", "simulated"])
+ elif provider_type == "daytona":
+ cmd.extend(["--provider-type", "daytona"])
# Set UTF-8 encoding
env_vars = os.environ.copy()
diff --git a/libs/cua-bench/cua_bench/computers/remote.py b/libs/cua-bench/cua_bench/computers/remote.py
index b6dbccf544..5ef89b797d 100644
--- a/libs/cua-bench/cua_bench/computers/remote.py
+++ b/libs/cua-bench/cua_bench/computers/remote.py
@@ -159,10 +159,24 @@ class RemoteDesktopSession:
if api_url:
parsed = urlparse(self._api_url)
self._api_host = parsed.hostname or "localhost"
- self._api_port = parsed.port or 5000
+ # Use the standard default port for the scheme when no port is explicit.
+ # Daytona proxy URLs (https://8000-xxx.proxy.net) have no port in the
+ # URL; the internal port is already encoded in the hostname.
+ if parsed.port:
+ self._api_port = parsed.port
+ elif parsed.scheme == "https":
+ self._api_port = 443
+ else:
+ self._api_port = 80
+ # Force TLS (WSS/HTTPS) when the URL scheme is HTTPS. The Computer SDK
+ # uses api_key presence to choose between ws/wss and http/https. We set a
+ # sentinel value here so the SDK picks WSS/HTTPS without triggering the
+ # auth-handshake (that only fires when vm_name is ALSO set).
+ self._force_tls = parsed.scheme == "https"
else:
self._api_host = "localhost"
self._api_port = 8000 # Default SDK port
+ self._force_tls = False
# Parse VNC URL for port
vnc_parsed = urlparse(vnc_url) if vnc_url else None
@@ -262,7 +276,7 @@ class RemoteDesktopSession:
from computer import Computer
if self._client_only_mode:
- # Client-only mode: connect to pre-existing server
+ # Client-only mode: connect to pre-existing server.
self._computer = Computer(
os_type=self._os_type,
use_host_computer_server=True,
@@ -270,6 +284,28 @@ class RemoteDesktopSession:
api_port=self._api_port,
noVNC_port=self._vnc_port,
)
+ if getattr(self, "_force_tls", False):
+ # The Computer SDK's use_host_computer_server mode always creates the
+ # interface without api_key, which means it uses ws:// and http://.
+ # For HTTPS proxy URLs (e.g. Daytona), we must use wss:// and https://.
+ # Bypass Computer.run() and create the interface directly with api_key
+ # so the SDK uses TLS. No vm_name → no auth handshake is sent.
+ from computer.interface.factory import InterfaceFactory
+
+ interface = InterfaceFactory.create_interface_for_os(
+ os=self._os_type,
+ ip_address=self._api_host,
+ api_port=self._api_port,
+ api_key="__tls__",
+ )
+ self._computer._interface = interface
+ self._computer._original_interface = interface
+ # Skip wait_for_ready(): the SDK's readiness check tries a WebSocket
+ # upgrade which HTTPS reverse proxies (e.g. Daytona) don't support,
+ # causing a 60-second timeout. Server readiness was already confirmed
+ # by DaytonaHarness._wait_for_env_ready() polling /status.
+ self._initialized = True
+ return
else:
# Full lifecycle mode: SDK manages container/VM
image = self._image
diff --git a/libs/cua-bench/cua_bench/netlist_compare.py b/libs/cua-bench/cua_bench/netlist_compare.py
new file mode 100644
index 0000000000..c0b646ee66
--- /dev/null
+++ b/libs/cua-bench/cua_bench/netlist_compare.py
@@ -0,0 +1,406 @@
+"""Reusable KiCad netlist comparison for tasks that generate .net files.
+
+Parse KiCad s-expression netlists and compare candidate output to a reference
+by component set (ref, value, lib/part) and net connectivity. Use from
+evaluate by passing task metadata with ``reference_netlist`` (path to the
+reference .net file, relative to the task directory).
+"""
+
+from __future__ import annotations
+
+import re
+from decimal import Decimal, InvalidOperation
+from pathlib import Path
+from typing import Any
+
+_VALUE_RE = re.compile(
+ r"""
+ ^\s*
+ (?P<number>[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?)
+ \s*
+ (?P<prefix>[pnumkKMGgµμ]|[mM][eE][gG])?
+ \s*
+ (?P<unit>
+ Ω
+ |[oO][hH][mM][sS]?
+ |[fF](?:[aA][rR][aA][dD][sS]?)?
+ |[vV](?:[oO][lL][tT][sS]?)?
+ |[hH](?:[eE][nN][rR][yY][sS]?)?
+ |[rR]
+ )?
+ \s*$
+ """,
+ re.VERBOSE,
+)
+
+_SI_MULTIPLIERS = {
+ "": Decimal("1"),
+ "p": Decimal("1e-12"),
+ "n": Decimal("1e-9"),
+ "u": Decimal("1e-6"),
+ "µ": Decimal("1e-6"),
+ "μ": Decimal("1e-6"),
+ "m": Decimal("1e-3"),
+ "k": Decimal("1e3"),
+ "K": Decimal("1e3"),
+ "M": Decimal("1e6"),
+ "g": Decimal("1e9"),
+ "G": Decimal("1e9"),
+}
+
+
+def _tokenize_sexpr(text: str) -> list[str]:
+ """Tokenize s-expression: '(', ')', quoted strings, symbols."""
+ tokens: list[str] = []
+ i = 0
+ n = len(text)
+ while i < n:
+ if text[i].isspace():
+ i += 1
+ continue
+ if text[i] == "(":
+ tokens.append("(")
+ i += 1
+ continue
+ if text[i] == ")":
+ tokens.append(")")
+ i += 1
+ continue
+ if text[i] == '"':
+ j = i + 1
+ while j < n and text[j] != '"':
+ if text[j] == "\\":
+ j += 2
+ continue
+ j += 1
+ tokens.append(text[i : j + 1])
+ i = j + 1
+ continue
+ # symbol
+ j = i
+ while j < n and not text[j].isspace() and text[j] not in "()":
+ j += 1
+ tokens.append(text[i:j])
+ i = j
+ return tokens
+
+
+def _parse_sexpr(tokens: list[str], pos: int) -> tuple[Any, int]:
+ """Parse tokens into nested lists. Returns (tree, next_pos)."""
+ if pos >= len(tokens):
+ return [], pos
+ if tokens[pos] != "(":
+ return tokens[pos], pos + 1
+ pos += 1
+ result: list[Any] = []
+ while pos < len(tokens) and tokens[pos] != ")":
+ elem, pos = _parse_sexpr(tokens, pos)
+ result.append(elem)
+ return result, (pos + 1) if pos < len(tokens) else pos
+
+
+def _find_in_tree(tree: Any, name: str) -> list[Any] | None:
+ """Find (name ...) in tree. KiCad netlist has (export ... (design ...) (components ...) (nets ...))."""
+ if not isinstance(tree, list) or not tree:
+ return None
+ if tree[0] == name:
+ return tree
+ for child in tree:
+ found = _find_in_tree(child, name)
+ if found is not None:
+ return found
+ return None
+
+
+def _get_field(node: list[Any], key: str) -> str | None:
+ """From (comp (ref "X") (value "Y") ...) get value for key (ref, value, etc.)."""
+ for item in node[1:]:
+ if isinstance(item, list) and len(item) >= 2 and item[0] == key:
+ v = item[1]
+ if isinstance(v, str) and v.startswith('"') and v.endswith('"'):
+ return v[1:-1].replace('\\"', '"')
+ return str(v) if v is not None else None
+ return None
+
+
+def _get_libsource(node: list[Any]) -> tuple[str | None, str | None]:
+ """From (comp ... (libsource (lib "L") (part "P")) ...) return (lib, part)."""
+ for item in node[1:]:
+ if isinstance(item, list) and item and item[0] == "libsource":
+ lib = _get_field(item, "lib")
+ part = _get_field(item, "part")
+ return (lib, part)
+ return (None, None)
+
+
+def _collect_comp_refs(node: list[Any], out: list[dict[str, Any]]) -> None:
+ """Recursively find (comp ...) and append {ref, value, lib, part} to out."""
+ if not isinstance(node, list):
+ return
+ if node and node[0] == "comp":
+ ref = _get_field(node, "ref")
+ value = _get_field(node, "value")
+ lib, part = _get_libsource(node)
+ if ref is not None:
+ out.append({"ref": ref, "value": value or "", "lib": lib or "", "part": part or ""})
+ return
+ for child in node:
+ _collect_comp_refs(child, out)
+
+
+def parse_kicad_netlist(content: str) -> dict[str, Any]:
+ """Parse KiCad .net (s-expression) content into components and nets.
+
+ Returns:
+ {
+ "components": [{"ref": "R1", "value": "100", "lib": "Device", "part": "R_US"}, ...],
+ "nets": [((ref, pin), (ref, pin), ...), ...] # each net is sorted tuple of (ref, pin)
+ }
+ """
+ content = content.strip()
+ if not content:
+ return {"components": [], "nets": []}
+
+ # Handle (export ...) wrapper
+ tokens = _tokenize_sexpr(content)
+ if not tokens or tokens[0] != "(":
+ return {"components": [], "nets": []}
+ tree, _ = _parse_sexpr(tokens, 0)
+
+ components: list[dict[str, Any]] = []
+ comps_section = _find_in_tree(tree, "components")
+ if comps_section is not None:
+ _collect_comp_refs(comps_section, components)
+
+ nets: list[tuple[tuple[str, str], ...]] = []
+ net_names: list[str] = []
+ nets_section = _find_in_tree(tree, "nets")
+ if nets_section is not None:
+ for child in nets_section[1:]:
+ if isinstance(child, list) and child and child[0] == "net":
+ name = _get_field(child, "name")
+ if name:
+ net_names.append(name)
+ nodes: list[tuple[str, str]] = []
+ for sub in child[1:]:
+ if isinstance(sub, list) and sub and sub[0] == "node":
+ r = _get_field(sub, "ref")
+ p = _get_field(sub, "pin")
+ if r is not None and p is not None:
+ nodes.append((r, p))
+ if nodes:
+ nets.append(tuple(sorted(nodes)))
+
+ return {"components": components, "nets": nets, "net_names": net_names}
+
+
+def _normalize_value(value: str) -> str:
+ """Normalize component value for comparison (e.g. '2.80kOhm' vs '2800')."""
+ if not value:
+ return ""
+ v = value.strip()
+ match = _VALUE_RE.match(v)
+ if not match:
+ return v
+
+ try:
+ number = Decimal(match.group("number"))
+ except InvalidOperation:
+ return v
+
+ prefix = match.group("prefix") or ""
+ multiplier = Decimal("1e6") if prefix.lower() == "meg" else _SI_MULTIPLIERS[prefix]
+ normalized = (number * multiplier).normalize()
+ result = format(normalized, "f")
+ if "." in result:
+ result = result.rstrip("0").rstrip(".")
+ return result or "0"
+
+
+def _component_key(c: dict[str, Any]) -> tuple[str, str, str]:
+ """Sort key for components: ref prefix (R, D, BT, etc.), normalized value, part."""
+ ref = c.get("ref", "")
+ prefix = ref.rstrip("0123456789") or ref
+ value = _normalize_value(c.get("value", ""))
+ part = (c.get("part") or c.get("value") or "").strip()
+ return (prefix.upper(), value, part)
+
+
+def _nets_match(ref_nets: list, cand_nets: list) -> bool:
+ """True if both have the same set of nets (same (ref, pin) sets)."""
+ ref_set = set(ref_nets)
+ cand_set = set(cand_nets)
+ return ref_set == cand_set
+
+
+def compare_kicad_netlists(
+ candidate_content: str,
+ reference_content: str,
+ *,
+ require_same_components: bool = True,
+ require_same_nets: bool = True,
+ require_same_net_names: bool = True,
+ _override_candidate: dict[str, Any] | None = None,
+ verbose: bool = True,
+) -> float:
+ """Compare candidate KiCad netlist to reference. Returns score in [0.0, 1.0].
+
+ - If both empty or invalid, returns 0.0.
+ - Components are compared by set of (ref_prefix, normalized value, part).
+ Order and ref numbers (R1 vs R2) can differ; count and types must match.
+ - Nets are compared by set of connections: each net is a set of (ref, pin).
+ Net names/codes are ignored; topology must match.
+
+ Args:
+ candidate_content: Raw content of the candidate .net file.
+ reference_content: Raw content of the reference .net file.
+ require_same_components: If True, component set must match for full score.
+ require_same_nets: If True, net set must match for full score.
+
+ Returns:
+ Score 0.0 (no match) to 1.0 (exact match). If both components and nets
+ are required, returns 1.0 only when both match; otherwise returns
+ weighted average (0.5 each when both required).
+ """
+ ref = parse_kicad_netlist(reference_content)
+ cand = _override_candidate if _override_candidate is not None else parse_kicad_netlist(candidate_content)
+
+ if not ref["components"] and not ref["nets"]:
+ # Reference is empty/invalid: treat as no reference
+ return 0.0 if (cand["components"] or cand["nets"]) else 1.0
+
+ scores: list[float] = []
+ checks: dict[str, bool] = {}
+
+ if require_same_components:
+ ref_keys = sorted(_component_key(c) for c in ref["components"])
+ cand_keys = sorted(_component_key(c) for c in cand["components"])
+ comp_ok = ref_keys == cand_keys
+ scores.append(1.0 if comp_ok else 0.0)
+ checks["components"] = comp_ok
+
+ if require_same_nets:
+ nets_ok = _nets_match(ref["nets"], cand["nets"])
+ scores.append(1.0 if nets_ok else 0.0)
+ checks["nets"] = nets_ok
+
+ if require_same_net_names:
+ ref_names = set(ref.get("net_names", []))
+ cand_names = set(cand.get("net_names", []))
+ # Only compare if reference has net names to compare against
+ names_ok = (not ref_names) or (ref_names == cand_names)
+ scores.append(1.0 if names_ok else 0.0)
+ checks["net_names"] = names_ok
+
+ if not scores:
+ return 1.0
+
+ score = sum(scores) / len(scores)
+
+ if verbose:
+ parts = ", ".join(f"{k}={'PASS' if v else 'FAIL'}" for k, v in checks.items())
+ print(f"Netlist comparison: {parts} → {score:.3f}")
+
+ return score
+
+
+def parse_kicad_schematic(content: str) -> dict[str, Any]:
+ """Parse a KiCad .kicad_sch file and extract placed component instances.
+
+ Returns the same shape as parse_kicad_netlist (components list, empty nets)
+ so it can be compared against a reference netlist using compare_kicad_netlists.
+
+ Components are extracted from top-level ``(symbol (lib_id "Lib:Part") ...)``
+ nodes (placed instances), not from ``lib_symbols`` definitions.
+ """
+ content = content.strip()
+ if not content:
+ return {"components": [], "nets": []}
+
+ tokens = _tokenize_sexpr(content)
+ if not tokens or tokens[0] != "(":
+ return {"components": [], "nets": []}
+ tree, _ = _parse_sexpr(tokens, 0)
+
+ # tree is ["kicad_sch", ...]
+ components: list[dict[str, Any]] = []
+ net_names: list[str] = []
+
+ for child in tree[1:]:
+ if not isinstance(child, list) or not child:
+ continue
+ if child[0] != "symbol":
+ continue
+ # Instance: first element after "symbol" is a list starting with "lib_id"
+ # Definition (inside lib_symbols): first element is a quoted string
+ if len(child) < 2 or not isinstance(child[1], list):
+ continue
+ if not child[1] or child[1][0] != "lib_id":
+ continue
+
+ # Extract lib_id value e.g. "Device:R"
+ lib_id_raw = child[1][1] if len(child[1]) > 1 else ""
+ if isinstance(lib_id_raw, str) and lib_id_raw.startswith('"'):
+ lib_id_raw = lib_id_raw[1:-1]
+ lib, _, part = lib_id_raw.partition(":")
+
+ # Extract Reference and Value from properties
+ ref = None
+ value = None
+ for item in child[1:]:
+ if not isinstance(item, list) or len(item) < 3:
+ continue
+ if item[0] != "property":
+ continue
+ prop_name = item[1]
+ if isinstance(prop_name, str) and prop_name.startswith('"'):
+ prop_name = prop_name[1:-1]
+ prop_val = item[2]
+ if isinstance(prop_val, str) and prop_val.startswith('"'):
+ prop_val = prop_val[1:-1]
+ if prop_name == "Reference":
+ ref = prop_val
+ elif prop_name == "Value":
+ value = prop_val
+
+ if ref is not None and not ref.startswith("#"):
+ components.append({
+ "ref": ref,
+ "value": value or "",
+ "lib": lib,
+ "part": part or value or "",
+ })
+ # Power symbols define net names (e.g. lib_id "power:+5V" → net "+5V")
+ if lib == "power" and value and not value.startswith("PWR_FLAG"):
+ net_names.append(value)
+
+ return {"components": components, "nets": [], "net_names": net_names}
+
+
+def compare_schematic_to_netlist(
+ schematic_content: str,
+ reference_content: str,
+) -> float:
+ """Compare a candidate .kicad_sch against a reference .net by component set.
+
+ Nets cannot be extracted from a schematic without running KiCad, so only
+ components are compared. Returns 1.0 if component sets match, 0.0 otherwise.
+ """
+ cand = parse_kicad_schematic(schematic_content)
+ return compare_kicad_netlists(
+ # Build a minimal .net string isn't needed — pass parsed data via a shim
+ # Instead reuse compare_kicad_netlists with require_same_nets=False
+ "",
+ reference_content,
+ require_same_components=True,
+ require_same_nets=False,
+ _override_candidate=cand,
+ )
+
+
+def load_reference_netlist(reference_path: str | Path, task_dir: Path) -> str:
+ """Load reference netlist file. Path can be absolute or relative to task_dir."""
+ p = Path(reference_path)
+ if not p.is_absolute():
+ p = task_dir / p
+ return p.read_text(encoding="utf-8", errors="replace")
diff --git a/libs/cua-bench/cua_bench/runner/daytona_harness.py b/libs/cua-bench/cua_bench/runner/daytona_harness.py
new file mode 100644
index 0000000000..dd1cb8f57a
--- /dev/null
+++ b/libs/cua-bench/cua_bench/runner/daytona_harness.py
@@ -0,0 +1,288 @@
+"""Daytona harness for cua-bench.
+
+Manages a single Daytona sandbox that runs both the env (KiCad desktop) and
+the solver. Computer-use traffic stays on localhost:8000 inside the sandbox,
+so no base64-exec calls are needed during the agent loop.
+"""
+
+import os
+import threading
+import time
+import urllib.request
+from pathlib import Path
+from typing import Dict, List, Optional
+
+
+class DaytonaHarness:
+ """Manages a single Daytona sandbox for task execution.
+
+ Architecture:
+ - One sandbox runs supervisord (VNC + noVNC + cua-computer-server).
+ - The solver also runs inside the sandbox, connecting to localhost:8000.
+ - Only 2-3 process.exec() calls are made (bootstrap + solver launch).
+ """
+
+ def __init__(self) -> None:
+ """Initialize DaytonaHarness.
+
+ Reads DAYTONA_API_KEY from environment (required).
+ Reads DAYTONA_API_URL from environment (optional; defaults to Daytona cloud).
+
+ Raises:
+ ImportError: If daytona-sdk is not installed.
+ ValueError: If DAYTONA_API_KEY is not set.
+ """
+ api_key = os.environ.get("DAYTONA_API_KEY")
+ if not api_key:
+ raise ValueError(
+ "DAYTONA_API_KEY not set. Please export DAYTONA_API_KEY=<your key> "
+ "before running with --provider-type daytona."
+ )
+
+ try:
+ from daytona_sdk import Daytona, DaytonaConfig
+ except ImportError:
+ raise ImportError(
+ "daytona-sdk is required for the daytona provider.\n"
+ "Install it with: pip install 'cua-bench[daytona]'"
+ )
+
+ api_url = os.environ.get("DAYTONA_API_URL")
+ if api_url:
+ self._daytona = Daytona(DaytonaConfig(api_key=api_key, api_url=api_url))
+ else:
+ self._daytona = Daytona(DaytonaConfig(api_key=api_key))
+
+ self._sandbox = None
+ self._keepalive_stop = threading.Event()
+ self._keepalive_thread: Optional[threading.Thread] = None
+
+ async def start_env_sandbox(
+ self,
+ image: str,
+ env_vars: Optional[Dict[str, str]] = None,
+ ) -> str:
+ """Create and start the sandbox.
+
+ The snapshot must have supervisord baked in as its entrypoint, so it
+ starts automatically — no process.exec() calls are made here.
+
+ Args:
+ image: Daytona snapshot name (with supervisord entrypoint baked in).
+ env_vars: Environment variables to bake into the sandbox at creation.
+
+ Returns:
+ Forwarded API URL for the cua-computer-server (port 8000).
+ """
+ from daytona_sdk.common.daytona import CreateSandboxFromSnapshotParams
+
+ params = CreateSandboxFromSnapshotParams(
+ snapshot=image,
+ env_vars=env_vars or {},
+ auto_stop_interval=0,
+ )
+ self._sandbox = self._daytona.create(params, timeout=300)
+ sb = self._sandbox
+ print(
+ f" [harness] Sandbox created:"
+ f" id={sb.id}"
+ f" state={sb.state}"
+ f" auto_stop_interval={sb.auto_stop_interval}",
+ flush=True,
+ )
+
+ # Explicitly disable auto-stop post-creation (platform may override the param).
+ try:
+ self._sandbox.set_autostop_interval(0)
+ print(" [harness] set_autostop_interval(0) OK", flush=True)
+ except Exception as exc:
+ print(f" [harness] WARNING: set_autostop_interval failed: {exc}", flush=True)
+
+ # Get signed URL for port 8000 (health-check only; solver uses localhost)
+ signed = self._sandbox.create_signed_preview_url(8000, expires_in_seconds=28800)
+ url = signed.url
+ self._wait_for_env_ready(url)
+
+ # Start a lightweight keepalive thread: REST-only, no process.exec() calls.
+ self._keepalive_stop.clear()
+ self._keepalive_thread = threading.Thread(
+ target=self._keepalive_loop, daemon=True
+ )
+ self._keepalive_thread.start()
+
+ return url
+
+ def _keepalive_loop(self) -> None:
+ """Periodically refresh sandbox activity via REST (no process.exec calls)."""
+ interval = 20 # every 20 seconds
+ t0 = time.monotonic()
+ while not self._keepalive_stop.wait(interval):
+ if self._sandbox is None:
+ break
+ elapsed = int(time.monotonic() - t0)
+ try:
+ self._sandbox.refresh_activity()
+ except Exception as e:
+ print(f" [keepalive T+{elapsed}s] refresh_activity FAILED: {e}", flush=True)
+ try:
+ self._sandbox.refresh_data()
+ sb = self._sandbox
+ print(
+ f" [keepalive T+{elapsed}s]"
+ f" state={sb.state}"
+ f" auto_stop={sb.auto_stop_interval}",
+ flush=True,
+ )
+ except Exception as e:
+ print(f" [keepalive T+{elapsed}s] refresh_data FAILED: {e}", flush=True)
+
+ def _wait_for_env_ready(
+ self,
+ api_url: str,
+ timeout: int = 900,
+ interval: int = 10,
+ ) -> None:
+ """Poll the cua-computer-server health endpoint until it responds."""
+ health_url = api_url.rstrip("/") + "/status"
+ deadline = time.monotonic() + timeout
+ print(f" Waiting for env sandbox to be ready at {api_url} ...", flush=True)
+ while time.monotonic() < deadline:
+ try:
+ with urllib.request.urlopen(health_url, timeout=5) as resp:
+ if resp.status == 200:
+ print(" Env sandbox ready.", flush=True)
+ return
+ except Exception:
+ pass
+ time.sleep(interval)
+ raise TimeoutError(
+ f"Env sandbox at {api_url} did not become ready within {timeout}s"
+ )
+
+ def upload_solver_code(self, cua_bench_root: Path) -> None:
+ """Upload the cua_bench package directly to /tmp/solver_src/ in the sandbox.
+
+ Uses fs.upload_files() to send each file individually — no exec/unzip needed.
+
+ Args:
+ cua_bench_root: Local path to the cua_bench package directory.
+ """
+ from daytona_sdk.common.filesystem import FileUpload
+
+ files = []
+ for file in cua_bench_root.rglob("*"):
+ if file.is_file() and "__pycache__" not in file.parts:
+ arcname = file.relative_to(cua_bench_root.parent)
+ dest = f"/tmp/solver_src/{arcname}"
+ files.append(FileUpload(source=str(file), destination=dest))
+
+ total_kb = sum(Path(f.source).stat().st_size for f in files) // 1024
+ print(f" [harness] Uploading solver source ({len(files)} files, {total_kb} KB) ...", flush=True)
+ self._sandbox.fs.upload_files(files)
+ print(" [harness] Solver source uploaded.", flush=True)
+
+ def upload_task_files(self, task_path: Path) -> str:
+ """Upload the task directory to /tmp/task_env/ inside the sandbox.
+
+ Uses fs.upload_files() to send each file individually — no exec/unzip needed.
+
+ Args:
+ task_path: Local path to the task directory.
+
+ Returns:
+ Remote path where the task was uploaded (/tmp/task_env).
+ """
+ from daytona_sdk.common.filesystem import FileUpload
+
+ remote_task_dir = "/tmp/task_env"
+ files = []
+ for file in task_path.rglob("*"):
+ if file.is_file():
+ dest = f"{remote_task_dir}/{file.relative_to(task_path)}"
+ files.append(FileUpload(source=str(file), destination=dest))
+
+ self._sandbox.fs.upload_files(files)
+ return remote_task_dir
+
+ def run_solver_in_sandbox(
+ self,
+ command: List[str],
+ env_vars: Dict[str, str],
+ pythonpath_prepend: str = "/tmp/solver_src",
+ timeout: Optional[int] = None,
+ ) -> tuple[int, str]:
+ """Run the solver command inside the sandbox and return (exit_code, logs).
+
+ Uses the sessions API (not process.exec) to avoid the SDK's base64+exec
+ wrapping which triggers Daytona's abuse detection.
+
+ Args:
+ command: Solver argv list.
+ env_vars: Extra environment variables for the solver.
+ pythonpath_prepend: Path to prepend to PYTHONPATH inside the sandbox.
+ timeout: Max seconds to wait (None = wait forever).
+
+ Returns:
+ (exit_code, stdout+stderr output)
+ """
+ from daytona_sdk.common.process import SessionExecuteRequest
+
+ # Replace the local python interpreter path with the sandbox venv python
+ if command and (command[0].endswith("python") or command[0].endswith("python3")):
+ command = ["/opt/venv/bin/python3"] + command[1:]
+
+ full_env = dict(env_vars)
+ existing_pp = full_env.get("PYTHONPATH", "")
+ full_env["PYTHONPATH"] = (
+ f"{pythonpath_prepend}:{existing_pp}" if existing_pp else pythonpath_prepend
+ )
+ full_env["CUA_ENV_API_URL"] = "http://localhost:8000"
+
+ # Build env export prefix and full command string
+ env_prefix = " ".join(f'{k}="{v}"' for k, v in full_env.items())
+ cmd_str = f"{env_prefix} {' '.join(command)}"
+ print(f" [harness] Launching solver via session: {' '.join(command)}", flush=True)
+
+ session_id = "solver"
+ print(" [harness] Creating session...", flush=True)
+ self._sandbox.process.create_session(session_id)
+ print(" [harness] Session created.", flush=True)
+
+ # Fire the command asynchronously
+ resp = self._sandbox.process.execute_session_command(
+ session_id,
+ SessionExecuteRequest(command=cmd_str, run_async=True),
+ )
+ cmd_id = resp.cmd_id
+ print(f" [harness] Session command launched: cmd_id={cmd_id}", flush=True)
+
+ # Poll for completion
+ deadline = time.monotonic() + timeout if timeout else None
+ poll_interval = 10
+ t0 = time.monotonic()
+ while True:
+ if deadline and time.monotonic() > deadline:
+ print(" [harness] Solver timed out.", flush=True)
+ return -1, ""
+ time.sleep(poll_interval)
+ elapsed = int(time.monotonic() - t0)
+ result = self._sandbox.process.get_session_command(session_id, cmd_id)
+ exit_code = getattr(result, "exit_code", None)
+ print(f" [harness] poll T+{elapsed}s exit_code={exit_code}", flush=True)
+ if exit_code is not None:
+ logs = getattr(result, "output", "") or ""
+ return exit_code, logs
+
+ async def cleanup(self) -> None:
+ """Delete the sandbox."""
+ self._keepalive_stop.set()
+ if self._keepalive_thread is not None:
+ self._keepalive_thread.join(timeout=2)
+ self._keepalive_thread = None
+
+ if self._sandbox is not None:
+ try:
+ self._daytona.delete(self._sandbox)
+ except Exception:
+ pass
+ self._sandbox = None
diff --git a/libs/cua-bench/cua_bench/runner/task_runner.py b/libs/cua-bench/cua_bench/runner/task_runner.py
index 6ca704343e..3722e66d02 100644
--- a/libs/cua-bench/cua_bench/runner/task_runner.py
+++ b/libs/cua-bench/cua_bench/runner/task_runner.py
@@ -35,7 +35,7 @@ from .docker_utils import (
# Environment type configurations
ENV_CONFIGS = {
"linux-docker": {
- "image": "trycua/cua-xfce:latest",
+ "image": "nikri/kicad-snorkel:20260316b",
"internal_vnc_port": 6901,
"internal_api_port": 8000,
"requires_kvm": False,
@@ -250,8 +250,27 @@ class TaskRunner:
if cleanup_before:
await full_cleanup()
- # Determine if this is a simulated provider
+ # Determine if this is a simulated or daytona provider
is_simulated = provider_type in ("simulated", "webtop")
+ is_daytona = provider_type == "daytona"
+
+ # Route to Daytona harness (fully remote, no local Docker)
+ if is_daytona:
+ return await self._run_task_daytona(
+ env_path=env_path,
+ task_index=task_index,
+ env_type=env_type,
+ golden_name=golden_name,
+ agent=agent,
+ agent_image=agent_image,
+ agent_command=agent_command,
+ agent_import_path=agent_import_path,
+ model=model,
+ max_steps=max_steps,
+ oracle=oracle,
+ output_dir=output_dir,
+ timeout=timeout,
+ )
# Validate env_type (skip validation for simulated since we don't use it)
if not is_simulated and env_type not in ENV_CONFIGS:
@@ -955,6 +974,152 @@ class TaskRunner:
remove_on_exit=False, # Don't auto-remove, we need logs
)
+ async def _run_task_daytona(
+ self,
+ env_path: Path,
+ task_index: int,
+ env_type: str,
+ golden_name: Optional[str],
+ agent: Optional[str],
+ agent_image: Optional[str],
+ agent_command: Optional[List[str]],
+ agent_import_path: Optional[str],
+ model: Optional[str],
+ max_steps: int,
+ oracle: bool,
+ output_dir: Optional[str],
+ timeout: Optional[int],
+ ) -> "TaskResult":
+ """Run a task inside a single Daytona sandbox.
+
+ Both the env desktop (supervisord/VNC/cua-computer-server) and the
+ solver run inside the same sandbox. Computer-use traffic stays on
+ localhost:8000, so no base64-exec calls are needed during the agent loop.
+ """
+ import signal
+ import sys
+
+ from .daytona_harness import DaytonaHarness
+
+ harness = DaytonaHarness()
+
+ # Resolve env-type name → actual Docker image
+ _raw = golden_name or env_type or ""
+ env_image = ENV_CONFIGS.get(_raw, {}).get("image") or _raw or "nikri/kicad-snorkel:20260316b"
+
+ # API keys and env vars to bake into the sandbox at creation time
+ # (avoids passing secrets via process.exec env which triggers abuse detection)
+ creation_env: Dict[str, str] = {}
+ for key in (
+ "ANTHROPIC_API_KEY",
+ "OPENAI_API_KEY",
+ "GOOGLE_API_KEY",
+ "CUA_API_KEY",
+ ):
+ val = os.environ.get(key)
+ if val:
+ creation_env[key] = val
+
+ # Build solver command (runs inside the sandbox, so use sandbox python)
+ if agent_command:
+ command = agent_command
+ else:
+ command = ["/opt/venv/bin/python3", "-m", "cua_bench.batch.solver", "/tmp/task_env"]
+ command.extend(["--task-index", str(task_index)])
+ if not oracle:
+ command.append("--eval")
+ if agent:
+ command.extend(["--agent", agent])
+ if agent_import_path:
+ command.extend(["--agent-import-path", agent_import_path])
+ if model:
+ command.extend(["--model", model])
+ if max_steps:
+ command.extend(["--max-steps", str(max_steps)])
+
+ # Register SIGTERM handler so cleanup runs even when the process is killed
+ def _sigterm_handler(signum, frame):
+ import asyncio as _asyncio
+ import threading
+
+ def _cleanup():
+ loop = _asyncio.new_event_loop()
+ loop.run_until_complete(harness.cleanup())
+ loop.close()
+
+ t = threading.Thread(target=_cleanup, daemon=True)
+ t.start()
+ t.join(timeout=15)
+ raise SystemExit(0)
+
+ old_handler = signal.signal(signal.SIGTERM, _sigterm_handler)
+
+ try:
+ # 1. Start sandbox (bootstraps supervisord, waits for computer-server ready)
+ await harness.start_env_sandbox(image=env_image, env_vars=creation_env)
+
+ # 2. Upload local cua_bench source so the solver runs the local version
+ cua_bench_root = Path(__file__).parent.parent.absolute()
+ if cua_bench_root.exists() and (cua_bench_root / "batch").exists():
+ harness.upload_solver_code(cua_bench_root)
+
+ # 3. Upload task files to /tmp/task_env inside sandbox
+ harness.upload_task_files(env_path)
+
+ # 4. Build solver env vars (secrets already baked in at creation)
+ solver_env: Dict[str, str] = {
+ "CUA_ENV_API_URL": "http://localhost:8000",
+ "CUA_ENV_VNC_URL": "",
+ "CUA_ENV_TYPE": "linux",
+ "CUA_PROVIDER": "daytona",
+ "BATCH_TASK_INDEX": str(task_index),
+ "BATCH_TASK_COUNT": "1",
+ "CUA_TELEMETRY_DISABLED": "1",
+ }
+ if output_dir:
+ # Write trajectories to /tmp/td_output inside sandbox; we'll
+ # fetch them back below if needed.
+ solver_env["CUA_OUTPUT_DIR"] = "/tmp/td_output"
+
+ # 5. Run solver inside sandbox (blocks until solver exits)
+ loop = asyncio.get_event_loop()
+ exit_code, agent_logs = await loop.run_in_executor(
+ None,
+ lambda: harness.run_solver_in_sandbox(
+ command=command,
+ env_vars=solver_env,
+ timeout=timeout or 0,
+ ),
+ )
+
+ # 6. Write logs to local output_dir if requested
+ if output_dir and agent_logs:
+ log_file = Path(output_dir) / "run.log"
+ log_file.parent.mkdir(parents=True, exist_ok=True)
+ log_file.write_text(agent_logs, encoding="utf-8", errors="replace")
+
+ return TaskResult(
+ success=exit_code == 0,
+ exit_code=exit_code,
+ agent_logs=agent_logs,
+ env_logs="",
+ output_dir=output_dir,
+ )
+
+ except Exception as e:
+ return TaskResult(
+ success=False,
+ exit_code=-1,
+ agent_logs="",
+ env_logs="",
+ output_dir=output_dir,
+ error=str(e),
+ )
+
+ finally:
+ signal.signal(signal.SIGTERM, old_handler)
+ await harness.cleanup()
+
async def _cleanup_task(self, task_id: str) -> None:
"""Clean up task resources (containers, network, overlay, optionally images).
diff --git a/libs/cua-bench/pyproject.toml b/libs/cua-bench/pyproject.toml
index 966efdcf9a..9c40513e66 100644
--- a/libs/cua-bench/pyproject.toml
+++ b/libs/cua-bench/pyproject.toml
@@ -54,6 +54,7 @@ dependencies = [
# CUA SDK
"cua-computer>=0.4.19",
"cua-core>=0.3.0,<0.4.0",
+ "cua-agent",
"playwright>=1.55.0",
]
@@ -63,6 +64,16 @@ all = [
"cua-bench[browser,agents,cloud,otel,spice]",
]
+# Daytona cloud sandbox execution
+daytona = [
+ "daytona-sdk>=0.1.0",
+]
+
+# Packaging scripts (e.g. package_kicad_submission.py)
+packaging = [
+ "boto3>=1.26.0",
+]
+
# Browser automation (for simulated environments)
browser = [
"playwright>=1.40.0",
@@ -176,6 +187,9 @@ ignore = ["E501"]
asyncio_mode = "auto"
testpaths = ["cua_bench/tests"]
+[tool.uv.sources]
+cua-agent = { path = "../python/agent", editable = true }
+
[dependency-groups]
dev = [
"pytest>=8.4.2",
diff --git a/libs/cua-bench/scripts/GUIDE.md b/libs/cua-bench/scripts/GUIDE.md
new file mode 100644
index 0000000000..50f3096770
--- /dev/null
+++ b/libs/cua-bench/scripts/GUIDE.md
@@ -0,0 +1,122 @@
+# Ohm-Bench: Packaging & Evaluation Guide
+
+## Prerequisites
+
+```bash
+cd libs/cua-bench
+uv sync
+echo "ANTHROPIC_API_KEY=sk-ant-..." > .env
+echo "OPENAI_API_KEY=sk-..." >> .env
+```
+
+Build the environment image (KiCad 9 pre-installed):
+```bash
+cd libs/xfce
+docker build -t trycua/cua-xfce:latest .
+```
+
+---
+
+## 1. Packaging a Submission
+
+Converts a DaaS submission JSON into a self-contained `scripts/tasks/<id>/` directory.
+
+```bash
+uv run python scripts/package_kicad_submission.py <submission.json> --output scripts/tasks/
+```
+
+**Input JSON fields required:**
+- `submission_id` — unique ID (becomes the task directory name)
+- `circuit_prompt` — task description shown to the agent
+- `netlist.s3Uri` — S3 URI of the reference netlist zip
+- `circuit_pcb_file.s3Uri` — S3 URI of the initial KiCad project zip
+
+**Output structure:**
+```
+scripts/tasks/<submission_id>/
+ main.py # cb task harness
+ reference.net # ground-truth KiCad netlist
+ initial/ # initial KiCad project files shown to agent
+ <project>/
+ *.kicad_sch
+ *.kicad_pcb
+ ...
+```
+
+---
+
+## 2. Running Evaluations
+
+### Single task (quick test)
+
+```bash
+uv run cb run dataset scripts/tasks --task-filter "<submission_id>" \
+ --agent cua-agent --model anthropic/claude-opus-4-6 --max-steps 150
+```
+
+### Multiple specific tasks
+
+```bash
+uv run cb run dataset scripts/tasks \
+ --task-filter "154d0750,1625e97a,2c11fe94" \
+ --agent cua-agent --model anthropic/claude-opus-4-6 \
+ --max-parallel 5 --max-steps 150
+```
+
+### Full dataset
+
+```bash
+uv run cb run dataset scripts/tasks \
+ --agent cua-agent --model anthropic/claude-opus-4-6 \
+ --max-parallel 5 --max-steps 150
+```
+
+### Monitor a run
+
+```bash
+uv run cb run watch <run_id>
+uv run cb run info <run_id>
+```
+
+---
+
+## 3. Calibration (N attempts per task per model)
+
+Runs each task N times with Claude and N times with OpenAI, then computes pass rates and difficulty tiers.
+
+```bash
+# Specific tasks, 5 attempts each, 1000 max steps
+uv run python scripts/run_calibration.py \
+ --tasks "154d0750,1625e97a,2c11fe94,34877be3,458f5f5c" \
+ --attempts 5 \
+ --max-steps 1000
+```
+
+```bash
+# All tasks (runs sequentially: all claude attempts, then all openai attempts)
+uv run python scripts/run_calibration.py \
+ --tasks "$(ls scripts/tasks | grep -v '.json' | tr '\n' ',' | sed 's/,$//')" \
+ --attempts 5 \
+ --max-steps 1000
+```
+
+**What it does per task:**
+1. Launches `--attempts` simultaneous `cb run dataset` calls with `anthropic/claude-opus-4-6`
+2. Waits for all to finish
+3. Launches `--attempts` simultaneous calls with `openai/computer-use-preview`
+4. Waits for all to finish
+5. Moves to next task
+
+---
+
+## 4. Cleaning Up
+
+Kill all running containers between runs:
+```bash
+docker ps -a --format "{{.Names}}" | grep "cua-" | xargs -r docker rm -f
+```
+
+Stop all active cb runs:
+```bash
+uv run cb run list | grep "^[a-f0-9]" | awk '{print $1}' | xargs -I{} uv run cb run stop {}
+```
diff --git a/libs/cua-bench/scripts/calibrate_tasks.py b/libs/cua-bench/scripts/calibrate_tasks.py
new file mode 100755
index 0000000000..83f0105701
--- /dev/null
+++ b/libs/cua-bench/scripts/calibrate_tasks.py
@@ -0,0 +1,288 @@
+#!/usr/bin/env python3
+"""Calibrate KiCad task difficulty by running each task N times per model.
+
+Usage:
+ python scripts/calibrate_tasks.py [--attempts N] [--parallel P] [--tasks-dir DIR]
+
+Outputs:
+ scripts/tasks/calibration.json — per-task pass rates and difficulty tiers
+"""
+
+from __future__ import annotations
+
+import argparse
+import json
+import os
+import subprocess
+import sys
+import time
+from pathlib import Path
+
+# ---------------------------------------------------------------------------
+# Config
+# ---------------------------------------------------------------------------
+
+SCRIPT_DIR = Path(__file__).parent
+TASKS_DIR = SCRIPT_DIR / "tasks"
+OUTPUT_FILE = TASKS_DIR / "calibration.json"
+
+MODELS = [
+ ("claude", "anthropic/claude-opus-4-6"),
+ ("openai", "openai/computer-use-preview"),
+]
+
+DEFAULT_ATTEMPTS = 5
+DEFAULT_PARALLEL = 6
+DEFAULT_MAX_STEPS = 150
+
+# Difficulty tiers (from TBench spec, based on worst-model accuracy)
+# Frontier: best model ≤ 20%
+# Advanced Plus: worst model ≤ 20% (and not Frontier)
+# Advanced: 20% < worst ≤ 60%
+# Core: 60% < worst ≤ 80%
+# Easy: worst > 80%
+
+
+def _tier(claude_rate: float, openai_rate: float) -> str:
+ best = max(claude_rate, openai_rate)
+ worst = min(claude_rate, openai_rate)
+ if best <= 0.20:
+ return "frontier"
+ if worst <= 0.20:
+ return "advanced_plus"
+ if worst <= 0.60:
+ return "advanced"
+ if worst <= 0.80:
+ return "core"
+ return "easy"
+
+
+# ---------------------------------------------------------------------------
+# Helpers
+# ---------------------------------------------------------------------------
+
+def _load_env() -> dict[str, str]:
+ env_file = SCRIPT_DIR.parent / ".env"
+ if env_file.exists():
+ for line in env_file.read_text().splitlines():
+ line = line.strip()
+ if line and not line.startswith("#") and "=" in line:
+ k, _, v = line.partition("=")
+ key, val = k.strip(), v.strip()
+ os.environ[key] = val # export into current process too
+ return os.environ.copy()
+
+
+def _cb() -> str:
+ return str(SCRIPT_DIR.parent / ".venv" / "bin" / "cb")
+
+
+def _run_dataset(model_name: str, model_id: str, parallel: int,
+ max_steps: int, tasks_dir: Path,
+ task_ids: list[str], attempts: int) -> str:
+ """Build a temp dir with `attempts` copies of each task, run as one dataset."""
+ import tempfile, shutil
+ tmp = Path(tempfile.mkdtemp(prefix="cb_calib_"))
+ try:
+ for task_id in task_ids:
+ for i in range(attempts):
+ dst = tmp / f"{task_id}_{i}"
+ shutil.copytree(tasks_dir / task_id, dst)
+ cmd = [
+ _cb(), "run", "dataset", str(tmp),
+ "--agent", "cua-agent",
+ "--model", model_id,
+ "--max-parallel", str(parallel),
+ "--max-steps", str(max_steps),
+ ]
+ print(f" [{model_name}] Starting {len(task_ids)} tasks × {attempts} attempts "
+ f"(parallel={parallel}): {' '.join(cmd)}")
+ result = subprocess.run(cmd, capture_output=True, text=True, cwd=str(SCRIPT_DIR.parent))
+ for line in result.stdout.splitlines():
+ if "Run ID:" in line:
+ return line.split("Run ID:")[-1].strip().split()[0]
+ raise RuntimeError(f"Could not parse run ID:\n{result.stdout}\n{result.stderr}")
+ finally:
+ shutil.rmtree(tmp, ignore_errors=True)
+
+
+def _wait_for_run(run_id: str, poll_interval: int = 30) -> None:
+ """Poll cb run list until all sessions for this run are in a terminal state."""
+ cb = _cb()
+ print(f" Waiting for run {run_id}...", end="", flush=True)
+ while True:
+ result = subprocess.run(
+ [cb, "run", "list"],
+ capture_output=True, text=True,
+ cwd=str(SCRIPT_DIR.parent),
+ )
+ lines = [l for l in result.stdout.splitlines() if run_id[:8] in l]
+ if lines:
+ terminal = [l for l in lines if any(
+ s in l for s in ("completed", "failed", "error", "done", "0.", "1.")
+ )]
+ if len(terminal) == len(lines):
+ print(" done.")
+ return
+ print(".", end="", flush=True)
+ time.sleep(poll_interval)
+
+
+def _get_run_output_dir(run_id: str) -> Path | None:
+ """Find the output directory for a run from cb run info."""
+ cb = _cb()
+ result = subprocess.run(
+ [cb, "run", "info", run_id],
+ capture_output=True, text=True,
+ cwd=str(SCRIPT_DIR.parent),
+ )
+ for line in result.stdout.splitlines():
+ if "Output:" in line or "output" in line.lower():
+ parts = line.split(":", 1)
+ if len(parts) == 2:
+ p = Path(parts[1].strip())
+ if p.exists():
+ return p
+ # Fallback: search default location
+ default = Path.home() / ".local" / "share" / "cua-bench" / "runs" / run_id
+ if default.exists():
+ return default
+ return None
+
+
+def _extract_scores(run_output_dir: Path) -> dict[str, float]:
+ """Extract per-task scores from a run output directory.
+
+ Returns {task_id: score} where score is 0.0–1.0.
+ """
+ scores: dict[str, float] = {}
+ if not run_output_dir or not run_output_dir.exists():
+ return scores
+
+ try:
+ from datasets import load_from_disk
+ except ImportError:
+ # Fallback: parse run.log for "Evaluation result:"
+ for log in run_output_dir.rglob("run.log"):
+ task_id = log.parent.name.split("_")[0]
+ for line in log.read_text().splitlines():
+ if "Evaluation result:" in line:
+ try:
+ scores[task_id] = float(line.split(":")[-1].strip())
+ except ValueError:
+ pass
+ return scores
+
+ for trace_dir in run_output_dir.rglob("task_*_trace"):
+ session_dir = trace_dir.parent
+ task_id = session_dir.name.split("_")[0]
+ try:
+ ds = load_from_disk(str(trace_dir))
+ for row in ds:
+ if row.get("event_name") == "evaluate":
+ data = json.loads(row["data_json"])
+ scores[task_id] = float(data.get("result", 0.0))
+ break
+ except Exception:
+ # Fallback to run.log
+ log = session_dir / "run.log"
+ if log.exists():
+ for line in log.read_text().splitlines():
+ if "Evaluation result:" in line:
+ try:
+ scores[task_id] = float(line.split(":")[-1].strip())
+ except ValueError:
+ pass
+ return scores
+
+
+# ---------------------------------------------------------------------------
+# Main
+# ---------------------------------------------------------------------------
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description="Calibrate KiCad task difficulty")
+ parser.add_argument("--attempts", type=int, default=DEFAULT_ATTEMPTS,
+ help=f"Number of attempts per model (default: {DEFAULT_ATTEMPTS})")
+ parser.add_argument("--parallel", type=int, default=DEFAULT_PARALLEL,
+ help=f"Max parallel tasks per run (default: {DEFAULT_PARALLEL})")
+ parser.add_argument("--max-steps", type=int, default=DEFAULT_MAX_STEPS,
+ help=f"Max steps per task (default: {DEFAULT_MAX_STEPS})")
+ parser.add_argument("--tasks-dir", type=Path, default=TASKS_DIR)
+ parser.add_argument("--output", type=Path, default=OUTPUT_FILE)
+ parser.add_argument("--task-filter", type=str, default=None,
+ help="Comma-separated task IDs to run (e.g. '55f2eefb,d1c655da')")
+ args = parser.parse_args()
+
+ # Load .env into os.environ so cb and any subprocesses pick it up
+ _load_env()
+
+ # Discover task IDs (optionally filtered)
+ all_task_ids = sorted(
+ p.name for p in args.tasks_dir.iterdir()
+ if p.is_dir() and (p / "main.py").exists()
+ )
+ if args.task_filter:
+ patterns = [p.strip() for p in args.task_filter.split(",")]
+ task_ids = [t for t in all_task_ids if any(t.startswith(p) or t == p for p in patterns)]
+ else:
+ task_ids = all_task_ids
+ print(f"Found {len(task_ids)} tasks: {task_ids}")
+
+ # Accumulate scores: {task_id: {model_name: [score, ...]}}
+ all_scores: dict[str, dict[str, list[float]]] = {
+ tid: {m: [] for m, _ in MODELS} for tid in task_ids
+ }
+
+ for model_name, model_id in MODELS:
+ print(f"\n=== Model: {model_name} ({model_id}) ===")
+ for attempt in range(args.attempts):
+ run_id = _run_dataset(
+ model_name, model_id, attempt,
+ args.parallel, args.max_steps,
+ args.tasks_dir, task_ids,
+ )
+ _wait_for_run(run_id)
+ out_dir = _get_run_output_dir(run_id)
+ scores = _extract_scores(out_dir)
+ print(f" Attempt {attempt+1} scores: {scores}")
+ for task_id in task_ids:
+ score = scores.get(task_id, 0.0)
+ all_scores[task_id][model_name].append(score)
+
+ # Compute pass rates and tiers
+ results: dict[str, dict] = {}
+ for task_id in task_ids:
+ task_scores = all_scores[task_id]
+ rates = {
+ m: (sum(task_scores[m]) / len(task_scores[m]) if task_scores[m] else 0.0)
+ for m, _ in MODELS
+ }
+ tier = _tier(rates["claude"], rates["openai"])
+ results[task_id] = {
+ "pass_rates": rates,
+ "attempts": args.attempts,
+ "difficulty": tier,
+ "raw_scores": task_scores,
+ }
+ print(f" {task_id}: claude={rates['claude']:.2f} openai={rates['openai']:.2f} → {tier}")
+
+ # Summary
+ tier_counts: dict[str, int] = {}
+ for r in results.values():
+ tier_counts[r["difficulty"]] = tier_counts.get(r["difficulty"], 0) + 1
+ print(f"\nDifficulty distribution: {tier_counts}")
+
+ # Write manifest
+ manifest = {
+ "version": "1.0",
+ "models": {m: mid for m, mid in MODELS},
+ "attempts_per_model": args.attempts,
+ "tasks": results,
+ }
+ args.output.write_text(json.dumps(manifest, indent=2))
+ print(f"\nWrote {args.output}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libs/cua-bench/scripts/diagnose_daytona.py b/libs/cua-bench/scripts/diagnose_daytona.py
new file mode 100644
index 0000000000..8b19f1f291
--- /dev/null
+++ b/libs/cua-bench/scripts/diagnose_daytona.py
@@ -0,0 +1,170 @@
+"""Diagnostic script to understand why aiohttp /cmd calls fail from subprocess context."""
+
+import asyncio
+import os
+import subprocess
+import sys
+import time
+import urllib.request
+from pathlib import Path
+
+# Load .env
+env_file = Path(__file__).parent.parent / ".env"
+if env_file.exists():
+ for line in env_file.read_text().splitlines():
+ line = line.strip()
+ if line and not line.startswith("#") and "=" in line:
+ k, v = line.split("=", 1)
+ os.environ.setdefault(k, v)
+
+
+async def test_url(url: str, label: str):
+ """Test aiohttp POST to /cmd."""
+ import aiohttp
+
+ cmd_url = url.rstrip("/") + "/cmd"
+ payload = {"command": "run_command", "params": {"command": "echo hello"}}
+ headers = {"Content-Type": "application/json"}
+
+ print(f"\n[{label}] POST {cmd_url}")
+ try:
+ async with aiohttp.ClientSession() as session:
+ async with session.post(cmd_url, json=payload, headers=headers, timeout=aiohttp.ClientTimeout(total=30)) as resp:
+ body = await resp.text()
+ print(f" status={resp.status} headers={dict(resp.headers)}")
+ print(f" body={body[:200]!r}")
+ except Exception as e:
+ print(f" ERROR: {e}")
+
+
+async def test_status(url: str, label: str):
+ """Test urllib GET to /status."""
+ status_url = url.rstrip("/") + "/status"
+ print(f"\n[{label}] GET {status_url}")
+ try:
+ with urllib.request.urlopen(status_url, timeout=10) as resp:
+ body = resp.read().decode()
+ print(f" status={resp.status} body={body[:100]!r}")
+ except Exception as e:
+ print(f" ERROR: {e}")
+
+
+async def main():
+ api_key = os.environ.get("DAYTONA_API_KEY")
+ api_url_env = os.environ.get("DAYTONA_API_URL")
+
+ if not api_key:
+ print("ERROR: DAYTONA_API_KEY not set")
+ sys.exit(1)
+
+ print("Importing Daytona SDK...")
+ from daytona_sdk import Daytona, DaytonaConfig
+ from daytona_sdk.common.daytona import CreateSandboxFromSnapshotParams
+ from daytona_sdk.common.sandbox import Resources
+
+ daytona = Daytona(DaytonaConfig(api_key=api_key, api_url=api_url_env))
+
+ print("Creating sandbox from snapshot nikri/kicad-snorkel:latest...")
+ params = CreateSandboxFromSnapshotParams(
+ snapshot="nikri/kicad-snorkel:latest",
+ env_vars={},
+ auto_stop_interval=0,
+ resources=Resources(cpu=2, memory=4, disk=10),
+ )
+ sandbox = daytona.create(params)
+ print(f" Sandbox ID: {sandbox.id}")
+
+ # Bootstrap supervisord
+ print("Bootstrapping supervisord...")
+ try:
+ sandbox.process.exec(
+ "nohup /usr/bin/supervisord -c /etc/supervisor/supervisord.conf"
+ " > /var/log/supervisor/supervisord.log 2>&1 &",
+ timeout=10,
+ )
+ except Exception as exc:
+ print(f" exec returned (expected for nohup): {exc}")
+
+ # Get signed URL
+ signed = sandbox.create_signed_preview_url(8000, expires_in_seconds=14400)
+ url = signed.url
+ print(f"\nSigned URL: {url!r}")
+
+ # Wait for server to be ready
+ print("\nWaiting for cua-computer-server...")
+ status_url = url.rstrip("/") + "/status"
+ deadline = time.monotonic() + 300
+ while time.monotonic() < deadline:
+ try:
+ with urllib.request.urlopen(status_url, timeout=5) as resp:
+ if resp.status == 200:
+ print(f" Ready! status={resp.status}")
+ break
+ except Exception:
+ pass
+ time.sleep(5)
+ else:
+ print(" TIMEOUT waiting for server")
+ daytona.delete(sandbox)
+ sys.exit(1)
+
+ # Test 1: aiohttp from this process
+ await test_url(url, "aiohttp-direct")
+
+ # Test 2: urllib from this process
+ await test_status(url, "urllib-direct")
+
+ # Test 3: spawn subprocess and test aiohttp from there
+ print("\n[subprocess] Testing aiohttp from subprocess...")
+ subprocess_code = f"""
+import asyncio
+import aiohttp
+import sys
+
+async def test():
+ url = {url!r}
+ cmd_url = url.rstrip('/') + '/cmd'
+ payload = {{"command": "run_command", "params": {{"command": "echo subprocess_hello"}}}}
+ headers = {{"Content-Type": "application/json"}}
+ print(f"POST {{cmd_url}}")
+ try:
+ async with aiohttp.ClientSession() as session:
+ async with session.post(cmd_url, json=payload, headers=headers, timeout=aiohttp.ClientTimeout(total=30)) as resp:
+ body = await resp.text()
+ print(f"status={{resp.status}} body={{body[:200]!r}}")
+ except Exception as e:
+ print(f"ERROR: {{e}}")
+
+asyncio.run(test())
+"""
+ result = subprocess.run(
+ [sys.executable, "-c", subprocess_code],
+ capture_output=True,
+ text=True,
+ timeout=60,
+ )
+ print(f" stdout: {result.stdout!r}")
+ print(f" stderr: {result.stderr[:500]!r}")
+
+ # Test 4: spawn subprocess with start_new_session=True (like task_runner does)
+ print("\n[subprocess+new_session] Testing with start_new_session=True...")
+ result2 = subprocess.run(
+ [sys.executable, "-c", subprocess_code],
+ capture_output=True,
+ text=True,
+ timeout=60,
+ start_new_session=True,
+ )
+ print(f" stdout: {result2.stdout!r}")
+ print(f" stderr: {result2.stderr[:500]!r}")
+
+ print("\nCleaning up sandbox...")
+ try:
+ daytona.delete(sandbox)
+ print(" Done.")
+ except Exception as e:
+ print(f" Cleanup error: {e}")
+
+
+if __name__ == "__main__":
+ asyncio.run(main())
diff --git a/libs/cua-bench/scripts/ohm_bench_submissions.json b/libs/cua-bench/scripts/ohm_bench_submissions.json
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/libs/cua-bench/scripts/ohm_bench_tasks.json b/libs/cua-bench/scripts/ohm_bench_tasks.json
new file mode 100644
index 0000000000..7b704f2cc1
--- /dev/null
+++ b/libs/cua-bench/scripts/ohm_bench_tasks.json
@@ -0,0 +1,262 @@
+{
+ "packaged": [
+ {
+ "id": "154d0750",
+ "submission_id": "154d0750-3c05-419d-92a5-a08ba74bbcb2",
+ "difficulty": "easy",
+ "circuit_prompt": "Modify R2 to produce an output of 1.8V. Select R2 to the closest standard E96 1% resistor value.",
+ "pcb_filename": "kicad_AdjustableLDO_circuit_modified.zip",
+ "netlist_filename": "kicad_AdjustableLDO_netlist_modified.zip",
+ "task_path": "scripts/tasks/154d0750"
+ },
+ {
+ "id": "1625e97a",
+ "submission_id": "1625e97a-b9b2-4e00-bacc-389cab5e5640",
+ "difficulty": "medium",
+ "circuit_prompt": "Modify the existing uA7805 regulated 5V power supply by adding a power-on indicator LED with a 1 k\u03a9 series resistor across the 5V output to indicate when the supply is active. Add a 1 k\u03a9 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.",
+ "pcb_filename": "kicad_voltage regulator_circuit_modify.zip",
+ "netlist_filename": "kicad_voltage regulator_netlist_modify.zip",
+ "task_path": "scripts/tasks/1625e97a"
+ },
+ {
+ "id": "2c11fe94",
+ "submission_id": "2c11fe94-d9da-47e4-8526-89fb97b19b6e",
+ "difficulty": "medium",
+ "circuit_prompt": "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.\n\nModify 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\u2126 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.",
+ "pcb_filename": "kicad_BandPassFilter_circuit_modify.zip",
+ "netlist_filename": "kicad_BandPassFilter_netlist_modify.zip",
+ "task_path": "scripts/tasks/2c11fe94"
+ },
+ {
+ "id": "34877be3",
+ "submission_id": "34877be3-b628-4b67-bfef-6ac7007e4514",
+ "difficulty": "easy",
+ "circuit_prompt": "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.",
+ "pcb_filename": "kicad_twoleds_circuit.zip",
+ "netlist_filename": "kicad_twoleds_netlist.zip",
+ "task_path": "scripts/tasks/34877be3"
+ },
+ {
+ "id": "458f5f5c",
+ "submission_id": "458f5f5c-1347-479c-a94b-9bf4748de65a",
+ "difficulty": "medium",
+ "circuit_prompt": "Design a microphone preamplifier that conditions a raw mic signal into a clean, ADC-safe input for a 3.3 V microcontroller.\nUse an LM741 op-amp powered from a +12 V single supply. Create a mid-rail bias reference using three 56 k\u03a9 resistors, and AC-couple the microphone input with a 4.7 \u00b5F electrolytic capacitor into the biased input stage. Configure adjustable gain using a 50 k\u03a9 potentiometer (RV1) in the feedback path, and include a 1.1 k\u03a9 resistor and a 4.7 \u00b5F 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\u03a9 load resistor and AC-couple the output using a 4.7 \u00b5F capacitor. After the coupling capacitor, add an ADC interface that attenuates the signal using an 18 k\u03a9 / 1.1 k\u03a9 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.",
+ "pcb_filename": "kicad_Mic Preamp_circuit.zip",
+ "netlist_filename": "kicad_Mic Preamp_netlist.zip",
+ "task_path": "scripts/tasks/458f5f5c"
+ },
+ {
+ "id": "4bd3e530",
+ "submission_id": "4bd3e530-8e59-43cf-9c1f-1e9cdb742ef2",
+ "difficulty": "easy",
+ "circuit_prompt": "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.",
+ "pcb_filename": "kicad_SingleTransistorLEDFlasher_circuit.zip",
+ "netlist_filename": "kicad_SingleTransistorLEDFlasher_netlist.zip",
+ "task_path": "scripts/tasks/4bd3e530"
+ },
+ {
+ "id": "4c913e30",
+ "submission_id": "4c913e30-9720-46b2-be29-408c558a54cd",
+ "difficulty": "medium",
+ "circuit_prompt": "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 \u00b112 V supplies. Use 10 k\u03a9 resistors and 0.352 \u00b5F capacitors for the filter sections, and 1 k\u03a9 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 \u221212 V. Generate the KiCad schematic and the KiCad netlist for the design.",
+ "pcb_filename": "kicad_butterworth3_lp_circuit.zip",
+ "netlist_filename": "kicad_butterworth3_lp_netlist.zip",
+ "task_path": "scripts/tasks/4c913e30"
+ },
+ {
+ "id": "55f2eefb",
+ "submission_id": "55f2eefb-6870-4d02-b68f-0c5c553c24ed",
+ "difficulty": "easy",
+ "circuit_prompt": "Change the voltage source of the circuit from a 9V to 5V.",
+ "pcb_filename": "kicad_555timer_circuit_modify.net.zip",
+ "netlist_filename": "kicad_555timer_circuit_modify.net.zip",
+ "task_path": "scripts/tasks/55f2eefb"
+ },
+ {
+ "id": "589da233",
+ "submission_id": "589da233-8be6-4506-868f-29df3cf0d0d1",
+ "difficulty": "easy",
+ "circuit_prompt": "Change the value of R2 so that R1 sees twice as much current as R2.",
+ "pcb_filename": "kicad_currentdivider_circuit_modified.zip",
+ "netlist_filename": "kicad_currentdivider_netlist_modified.zip",
+ "task_path": "scripts/tasks/589da233"
+ },
+ {
+ "id": "5dbc9e02",
+ "submission_id": "5dbc9e02-3a8f-49bb-8561-40e4b0c5353e",
+ "difficulty": "easy",
+ "circuit_prompt": "Design a 555 timer-based LED flasher circuit in astable mode using an NE555P. Use a 1k\u2126 resistor for R1, a 50k\u2126 resistor for R2, and a 10\u00b5F electrolytic capacitor for C1 to set the timing. Include a 0.01\u00b5F decoupling capacitor on the control pin, a 330\u2126 current-limiting resistor for the LED, and screw terminals for power input and signal output.",
+ "pcb_filename": "kicad_multivibrator_circuit.zip",
+ "netlist_filename": "kicad_multivibrator_netlist.zip",
+ "task_path": "scripts/tasks/5dbc9e02"
+ },
+ {
+ "id": "6cb23037",
+ "submission_id": "6cb23037-01ec-48f7-9d6b-7d92da21b66d",
+ "difficulty": "easy",
+ "circuit_prompt": "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\u00b5F capacitor and a 2.2M resistor for the timing network, and use 1k resistors for the pull-up and base drive, with a 470\u03a9 resistor for the LED.",
+ "pcb_filename": "kicad_PushToOnTimer_circuit.zip",
+ "netlist_filename": "kicad_PushToOnTimer_netlist.zip",
+ "task_path": "scripts/tasks/6cb23037"
+ },
+ {
+ "id": "733d278a",
+ "submission_id": "733d278a-fae9-4489-8b54-87385b83cfca",
+ "difficulty": "medium",
+ "circuit_prompt": "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\u03a9 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.",
+ "pcb_filename": "kicad_motor driver_circuit_modify.zip",
+ "netlist_filename": "kicad_motor driver_netlist_modify.zip",
+ "task_path": "scripts/tasks/733d278a"
+ },
+ {
+ "id": "83490c3a",
+ "submission_id": "83490c3a-a8cb-4595-b795-5648c3d5bb0e",
+ "difficulty": "medium",
+ "circuit_prompt": "Design a power tree in Kicad with the following attributes: \n\t\u2022 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.\n\t\u2022 From the 3.3V power, use LDO regulators from the LT1761 series to create voltages of 2.5V, 1.8V, and 1.2V.\n\t\t\u25cb To reduce noise, connect a 0.01uF capacitor to the BYPASS pin of each LDO.\n\t\u2022 To reduce noise and increase stability for each voltage rail, add additional capacitors. For the switching module and each LDO, add for each\n\t\t\u25cb An unpolarized input bypass capacitor of 1uF\n\t\t\u25cb A polarized output capacitor of 10uF\n\t\u2022 Label the output voltages as 3p3V, 2p5V, 1p8V, and 1p2V respectively.",
+ "pcb_filename": "kicad_PowerTreeOKI78SRLT1761_circuit.zip",
+ "netlist_filename": "kicad_PowerTreeOKI78SRLT1761_netlist.zip",
+ "task_path": "scripts/tasks/83490c3a"
+ },
+ {
+ "id": "84ec333e",
+ "submission_id": "84ec333e-3a9d-4aa6-ab8b-8575bbf2dbab",
+ "difficulty": "easy",
+ "circuit_prompt": "Modify the circuit to set the pole frequency to 4kHz but keep the passband gain the same.",
+ "pcb_filename": "kicad_activelowpass_circuit_modified.zip",
+ "netlist_filename": "kicad_activelowpass_netlist_modified.zip",
+ "task_path": "scripts/tasks/84ec333e"
+ },
+ {
+ "id": "854b8a80",
+ "submission_id": "854b8a80-36a7-4ba9-8acd-fdb7ddf40806",
+ "difficulty": "easy",
+ "circuit_prompt": "Design a transistor-based astable multivibrator circuit. Use two BF457 NPN transistors. For the timing network, use two 10k\u2126 base resistors and two 10\u00b5F electrolytic capacitors. Each collector should drive an LED through a 330\u2126 current-limiting resistor.",
+ "pcb_filename": "KiCad_FlipFlop_circuit.zip",
+ "netlist_filename": "KiCad_FlipFlop_netlist.zip",
+ "task_path": "scripts/tasks/854b8a80"
+ },
+ {
+ "id": "9ca3ef44",
+ "submission_id": "9ca3ef44-a054-461a-94ee-f76b39ca8147",
+ "difficulty": "medium",
+ "circuit_prompt": "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.",
+ "pcb_filename": "kicad_MicrophoneAmp_circuit_modified.zip",
+ "netlist_filename": "kicad_MicrophoneAmp_netlist_modified.zip",
+ "task_path": "scripts/tasks/9ca3ef44"
+ },
+ {
+ "id": "a6dd38a9",
+ "submission_id": "a6dd38a9-71df-42b7-99a4-d3e33bb01c5b",
+ "difficulty": "easy",
+ "circuit_prompt": "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\u03a9 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.",
+ "pcb_filename": "kicad_rcbandpass_circuit.zip",
+ "netlist_filename": "kicad_rcbandpass_netlist.zip",
+ "task_path": "scripts/tasks/a6dd38a9"
+ },
+ {
+ "id": "b7148878",
+ "submission_id": "b7148878-ca7a-409c-a6c5-e1c6cff7858b",
+ "difficulty": "medium",
+ "circuit_prompt": "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\u2022 The first opamp (U1) buffers the input signal and is configured as a follower: \n\t\t\u25cb Pin 1 is directly connected to overall circuit input.\n\t\t\u25cb Pin 2 is connected directly to Pin 5\n\t\t\u25cb Pin 3 is connected to a +15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t\u25cb Pin 4 is connected to a -15 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t\u25cb Pin 5 is also connected to a 100 kOhm resistor (R1).\n\t\u2022 The second opamp (U2) is configured to provide voltage division and shifting.\n\t\t\u25cb 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\u25cb Pin 2 is connected to the other side of R1 mentioned above.\n\t\t\u25cb 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\u25cb Pin 3 is connected to a +5 Vdc power supply and a 0.1 uF decoupling capacitor.\n\t\t\u25cb Pin 4 is connected to ground.\n\t\t\u25cb Pin 5 is also connected to a 10 kOhm load, which provides a path to ground during startup transients.\n\t\t\u25cb Pin 5 also provides the overall circuit output.\n\t\u2022 Reference: This circuit is modified from \"Analog Engineer's Circuit Cookbook: Amplifiers\", Texas Instruments, 2nd Ed 2019, p. 162.",
+ "pcb_filename": "kicad_bipolartosinglesupply_circuit.zip",
+ "netlist_filename": "kicad_bipolartosinglesupply_netlist.zip",
+ "task_path": "scripts/tasks/b7148878"
+ },
+ {
+ "id": "b7e51b92",
+ "submission_id": "b7e51b92-fe0a-4e3c-b87f-e9f445fd288d",
+ "difficulty": "easy",
+ "circuit_prompt": "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\u03a9 resistor (R1), apply the input signal through a 1k\u03a9 resistor (R3) to the inverting input, and place a 10k\u03a9 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 \u00b115V.",
+ "pcb_filename": "kicad_negativamplifier_circuit.zip",
+ "netlist_filename": "kicad_negativamplifier_netlist.zip",
+ "task_path": "scripts/tasks/b7e51b92"
+ },
+ {
+ "id": "ba34f1c3",
+ "submission_id": "ba34f1c3-3460-413b-9849-e70dcda1954a",
+ "difficulty": "easy",
+ "circuit_prompt": "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.",
+ "pcb_filename": "kicad_voltageref_circuit.zip",
+ "netlist_filename": "kicad_voltageref_netlist.zip",
+ "task_path": "scripts/tasks/ba34f1c3"
+ },
+ {
+ "id": "c4baee36",
+ "submission_id": "c4baee36-ea0a-4451-81f0-fd540d47326c",
+ "difficulty": "easy",
+ "circuit_prompt": "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\u2022 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\u2022 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.",
+ "pcb_filename": "kicad_smps3p3V_circuit.zip",
+ "netlist_filename": "kicad_smps3p3V_netlist.zip",
+ "task_path": "scripts/tasks/c4baee36"
+ },
+ {
+ "id": "d1c655da",
+ "submission_id": "d1c655da-ce1c-446d-bee2-1e8cde8a62cc",
+ "difficulty": "medium",
+ "circuit_prompt": "Modify the overall gain of the circuit by changing R10 to 2.80kOhm.",
+ "pcb_filename": "kicad_InstrumentationAmp_circuit_modified.zip",
+ "netlist_filename": "kicad_InstrumentationAmp_netlist_modified.zip",
+ "task_path": "scripts/tasks/d1c655da"
+ },
+ {
+ "id": "d5947ae7",
+ "submission_id": "d5947ae7-19bf-42dc-92c4-c9ca182d6d8d",
+ "difficulty": "medium",
+ "circuit_prompt": "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 \u00b5F ceramic capacitor to enhance input decoupling during switching events. Increase the output bulk capacitance from 220 \u00b5F to 470 \u00b5F to improve load transient response and energy buffering capability. All other components and connections remain unchanged.",
+ "pcb_filename": "kicad_buck converter_circuit_modify.zip",
+ "netlist_filename": "kicad_buck converter_netlist_modify.zip",
+ "task_path": "scripts/tasks/d5947ae7"
+ },
+ {
+ "id": "ff6dfdde",
+ "submission_id": "ff6dfdde-721f-4044-99ce-b6fdd26350dd",
+ "difficulty": "easy",
+ "circuit_prompt": "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. \n\t\u2022 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. \n\t\u2022 The SENSE pin should also be connected to pin 7 with a 562 ohm resistor.\n\t\u2022 The second side of the digital isolator will be used to directly interface to the microcontroller.\n\t\u2022 ENABLE should be tied to the microcontroller power for robustness in a noisy environment.\n\t\u2022 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.\nClearly label the FIELD_INPUT, the HEAT_SINK connection on pin 5, and the circuit OUTPUT to the microcontroller.",
+ "pcb_filename": "kicad_digitalisolator_circuit.zip",
+ "netlist_filename": "kicad_digitalisolator_netlist.zip",
+ "task_path": "scripts/tasks/ff6dfdde"
+ }
+ ],
+ "unpackaged": [
+ {
+ "id": "4bb21f65",
+ "submission_id": "4bb21f65-ee3c-4442-bfb9-228f47fde6f6",
+ "difficulty": "easy",
+ "circuit_prompt": "Design an electric circuit with DC input voltage of 48 Volts. Add two resistors of 4 Ohms each in series and two more in parallel. Add one more capacitor of 0.2 micro Farad. Also add a GND (ground) terminal. Calculate the DC output voltage (V_{out}) across parallel load.",
+ "pcb_filename": "librepcb_mdfd_electrickt_Schematic.zip",
+ "netlist_filename": "librepcb_mdfd_electrickt_Netlist.zip",
+ "task_path": "scripts/tasks/4bb21f65",
+ "reason": "LibrePCB format (unsupported netlist)"
+ },
+ {
+ "id": "4d3ae973",
+ "submission_id": "4d3ae973-f981-4195-a630-535343254caa",
+ "difficulty": "easy",
+ "circuit_prompt": "Create voltage divider circuit with following input data:\nInput Voltage Vin=+12 V ; V stands for voltage.\nVout=5 V\nR1=14 K Ohm ; resister one\nR2=10 K Ohm ; resister 2\nConnect the three header PIN with last one to ground and it is GND with voltage 0. Connect other part of the PIN as you create the dividercircuit.\nPlease follow the IEEE symbols.",
+ "pcb_filename": "librepcb_voltagedivider_circuit.zip",
+ "netlist_filename": "librepcb_voltagedividers_netlist.zip",
+ "task_path": "scripts/tasks/4d3ae973",
+ "reason": "LibrePCB format (unsupported netlist)"
+ },
+ {
+ "id": "6c1f47d1",
+ "submission_id": "6c1f47d1-d922-4231-b02a-aaa59b89a260",
+ "difficulty": "medium",
+ "circuit_prompt": "Design and analyze a single stage NPN BJT amplifier. Create an schematic and investigate that how an external load may be named as R_{L} impacts the voltage gain for the whole system. Use following inputs: \nan NPN transsistor, VCC of 12 volts as input. Bias resistors as R1 and R2 of 47 and 10 K Ohms respectively. \nEmitter resistance 1 K Ohm. \nThe capacitors used are: 100 micro farad with Emitter. C_{IN} and C_{OUT} are 10 micro fard each.",
+ "pcb_filename": "librepcb_BJT_modified_schematic.zip",
+ "netlist_filename": "librepcb_BJT_modfd_Netlist.zip",
+ "task_path": "scripts/tasks/6c1f47d1",
+ "reason": "LibrePCB format (unsupported netlist)"
+ },
+ {
+ "id": "bab769a8",
+ "submission_id": "bab769a8-8a03-4fcf-b9b9-cbd43a19c135",
+ "difficulty": "easy",
+ "circuit_prompt": "Design a voltage divider circuit by using a 220 Volts AC input transformer to DC outpt of 12 Volts. Use 1N4007 diodes, four of them to create a full wave bridge. Use a 1000 micro Farad capacitor and a resistor of 1 Ohm. Also include L7812 voltage regulator. Label the components and run the ERC to check that the circuit works.",
+ "pcb_filename": "librepcb_modfd_circuit.zip",
+ "netlist_filename": "librepcb_netlist.zip",
+ "task_path": "scripts/tasks/bab769a8",
+ "reason": "LibrePCB format (unsupported netlist)"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/libs/cua-bench/scripts/package_kicad_submission.py b/libs/cua-bench/scripts/package_kicad_submission.py
new file mode 100644
index 0000000000..60a4b9b492
--- /dev/null
+++ b/libs/cua-bench/scripts/package_kicad_submission.py
@@ -0,0 +1,240 @@
+"""
+Package a DaaS KiCad submission JSON into a self-contained cb task folder.
+
+Usage:
+ python package_kicad_submission.py <submission.json> --output <output_dir>
+
+The submission JSON must contain:
+ - submission_id
+ - circuit_pcb_file.s3Uri
+ - netlist.s3Uri
+ - circuit_prompt (used as task description)
+ - difficulty
+"""
+from __future__ import annotations
+
+import argparse
+import io
+import json
+import re
+import zipfile
+from pathlib import Path
+
+import boto3
+
+# Patterns to skip when extracting KiCad zips
+_SKIP_PREFIXES = ("__MACOSX", "._", "_autosave-", "#auto_saved_files#", "~")
+_SKIP_SUFFIXES = ("-backups", ".DS_Store")
+
+_REMOTE_PROJECT_DIR = "/home/cua/kicad_project"
+
+_MAIN_PY_TEMPLATE = '''\
+"""Auto-generated cb task for KiCad submission {submission_id}."""
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+import cua_bench as cb
+
+_SUBMISSION_ID = "{submission_id}"
+_REMOTE_PROJECT_DIR = "{remote_project_dir}"
+_HARNESS_DIR = Path(__file__).parent
+
+
+def tasks() -> list[cb.Task]:
+ return [
+ cb.Task(
+ description={description!r},
+ metadata={{"difficulty": {difficulty!r}, "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={project_path!r})
+ 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
+'''
+
+
+def _should_skip(name: str) -> bool:
+ parts = name.replace("\\", "/").split("/")
+ for part in parts:
+ if any(part.startswith(p) for p in _SKIP_PREFIXES):
+ return True
+ if any(part.endswith(s) for s in _SKIP_SUFFIXES):
+ return True
+ return False
+
+
+def _download_zip(s3_uri: str) -> zipfile.ZipFile:
+ s3 = boto3.client("s3", region_name="us-west-2")
+ bucket, key = s3_uri.replace("s3://", "").split("/", 1)
+ obj = s3.get_object(Bucket=bucket, Key=key)
+ return zipfile.ZipFile(io.BytesIO(obj["Body"].read()))
+
+
+def _first_net_file(zf: zipfile.ZipFile) -> bytes:
+ for name in zf.namelist():
+ if _should_skip(name):
+ continue
+ if name.endswith(".net") and not name.endswith("/"):
+ return zf.read(name)
+ raise ValueError("No .net file found in netlist zip")
+
+
+def _extract_kicad_zip(zf: zipfile.ZipFile, dest: Path) -> None:
+ dest.mkdir(parents=True, exist_ok=True)
+ for name in zf.namelist():
+ if _should_skip(name):
+ continue
+ if name.endswith("/"):
+ continue
+ out = dest / name
+ out.parent.mkdir(parents=True, exist_ok=True)
+ out.write_bytes(zf.read(name))
+
+
+def _slugify(text: str) -> str:
+ return re.sub(r"[^a-z0-9]+", "_", text.lower()).strip("_")[:40]
+
+
+def package(submission: dict, output_dir: Path) -> None:
+ sub_id = submission["submission_id"]
+ initial_circuit = submission.get("initial_circuit")
+ pcb_uri = initial_circuit["s3Uri"] if initial_circuit else None
+ netlist_uri = submission["netlist"]["s3Uri"]
+ description = submission.get("circuit_prompt", "").strip()
+ difficulty = submission.get("difficulty", "unknown")
+
+ output_dir.mkdir(parents=True, exist_ok=True)
+
+ # Download and extract netlist → reference.net
+ print(f" Downloading netlist: {netlist_uri}")
+ netlist_zip = _download_zip(netlist_uri)
+ reference_net = _first_net_file(netlist_zip)
+ (output_dir / "reference.net").write_bytes(reference_net)
+
+ # Download and extract PCB files → initial/ (empty for start-from-scratch tasks)
+ if pcb_uri:
+ print(f" Downloading PCB: {pcb_uri}")
+ pcb_zip = _download_zip(pcb_uri)
+ _extract_kicad_zip(pcb_zip, output_dir / "initial")
+ else:
+ print(" No initial circuit (start from scratch)")
+ (output_dir / "initial").mkdir(parents=True, exist_ok=True)
+
+ # Derive remote .kicad_pro path from the zip filename (stem = folder and project name)
+ if initial_circuit:
+ stem = Path(initial_circuit["filename"]).stem # e.g. "kicad_555timer_circuit"
+ project_path = f"{_REMOTE_PROJECT_DIR}/{stem}/{stem}.kicad_pro"
+ else:
+ project_path = None
+
+ # Generate main.py
+ main_py = _MAIN_PY_TEMPLATE.format(
+ submission_id=sub_id,
+ remote_project_dir=_REMOTE_PROJECT_DIR,
+ description=description,
+ difficulty=difficulty,
+ project_path=project_path,
+ )
+ (output_dir / "main.py").write_text(main_py, encoding="utf-8")
+
+ # Copy submission.json
+ (output_dir / "submission.json").write_text(
+ json.dumps(submission, indent=2), encoding="utf-8"
+ )
+
+ print(f" → {output_dir}")
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument("submission_json", help="Path to submission JSON file")
+ parser.add_argument("--output", required=True, help="Output directory")
+ args = parser.parse_args()
+
+ submission = json.loads(Path(args.submission_json).read_text())
+ package(submission, Path(args.output))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libs/cua-bench/scripts/run_all_calibration.sh b/libs/cua-bench/scripts/run_all_calibration.sh
new file mode 100755
index 0000000000..255b6927e6
--- /dev/null
+++ b/libs/cua-bench/scripts/run_all_calibration.sh
@@ -0,0 +1,64 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
+BENCH_DIR="$(dirname "$SCRIPT_DIR")"
+RUNS_DIR="$HOME/.local/share/cua-bench/runs"
+EVAL_DIR="$HOME/eval_analysis"
+PYTHON="$BENCH_DIR/.venv/bin/python"
+
+BATCHES=(
+ "458f5f5c 4bd3e530 4c913e30 55f2eefb 589da233"
+ "5dbc9e02 6cb23037 733d278a 83490c3a 84ec333e"
+ "854b8a80 9ca3ef44 a6dd38a9 b7148878 b7e51b92"
+ "ba34f1c3 c4baee36 d1c655da d5947ae7 ff6dfdde"
+)
+
+copy_trajectories() {
+ local task_id="$1"
+ mkdir -p "$EVAL_DIR/$task_id/trajectories"
+ for run_dir in "$RUNS_DIR"/*/; do
+ local run_id; run_id=$(basename "$run_dir")
+ local src="$run_dir/${task_id}_v0/task_0_agent_logs/trajectories"
+ [ -d "$src" ] || continue
+ for traj_dir in "$src"/*/; do
+ [ -d "$traj_dir" ] || continue
+ local traj_name; traj_name=$(basename "$traj_dir")
+ local dest="$EVAL_DIR/$task_id/trajectories/${run_id}_${traj_name}"
+ [ -d "$dest" ] && continue
+ cp -r "$traj_dir" "$dest"
+ echo " copied $task_id: ${run_id}_${traj_name}"
+ done
+ done
+}
+
+batch_num=0
+for batch in "${BATCHES[@]}"; do
+ batch_num=$((batch_num + 1))
+ echo ""
+ echo "======================================================"
+ echo "BATCH $batch_num: $batch"
+ echo "======================================================"
+
+ pids=()
+ for task_id in $batch; do
+ log="$SCRIPT_DIR/tasks/calibration_run_${task_id}.log"
+ echo " Launching $task_id..."
+ "$PYTHON" "$SCRIPT_DIR/run_calibration.py" --tasks "$task_id" --attempts 5 > "$log" 2>&1 &
+ pids+=($!)
+ done
+
+ echo " Waiting for PIDs: ${pids[*]}..."
+ for pid in "${pids[@]}"; do
+ wait "$pid" || echo " WARNING: PID $pid exited non-zero"
+ done
+ echo " Batch $batch_num complete. Copying trajectories..."
+
+ for task_id in $batch; do
+ copy_trajectories "$task_id"
+ done
+ echo " Done copying batch $batch_num."
+done
+
+echo ""
+echo "All batches complete."
diff --git a/libs/cua-bench/scripts/run_calibration.py b/libs/cua-bench/scripts/run_calibration.py
new file mode 100644
index 0000000000..930de57200
--- /dev/null
+++ b/libs/cua-bench/scripts/run_calibration.py
@@ -0,0 +1,202 @@
+#!/usr/bin/env python3
+"""Run N simultaneous cb runs per task and report pass rates.
+
+Usage:
+ python scripts/run_calibration.py --tasks "154d0750,1625e97a" [--attempts 5] [--max-steps 1000]
+
+Output:
+ scripts/tasks/calibration_results.json
+"""
+import argparse
+import json
+import os
+import re
+import subprocess
+import time
+from pathlib import Path
+
+SCRIPT_DIR = Path(__file__).parent
+TASKS_DIR = SCRIPT_DIR / "tasks"
+CB = str(SCRIPT_DIR.parent / ".venv" / "bin" / "cb")
+RUNS_DIR = Path.home() / ".local" / "share" / "cua-bench" / "runs"
+OUTPUT_FILE = TASKS_DIR / "calibration_results.json"
+
+MODELS = [
+ ("claude", "anthropic/claude-opus-4-6"),
+]
+
+
+def load_env() -> None:
+ env_file = SCRIPT_DIR.parent / ".env"
+ if env_file.exists():
+ for line in env_file.read_text().splitlines():
+ line = line.strip()
+ if line and not line.startswith("#") and "=" in line:
+ k, _, v = line.partition("=")
+ os.environ[k.strip()] = v.strip()
+
+
+def start_run(task_path: Path, model_id: str, max_steps: int) -> str:
+ """Start one cb run dataset for a single task, return its run ID."""
+ result = subprocess.run(
+ [CB, "run", "dataset", str(task_path.parent),
+ "--agent", "cua-agent", "--model", model_id, "--max-steps", str(max_steps),
+ "--max-parallel", "5", "--task-filter", task_path.name],
+ capture_output=True, text=True, cwd=str(SCRIPT_DIR.parent),
+ )
+ clean = re.sub(r"\x1b\[[0-9;]*m", "", result.stdout)
+ for line in clean.splitlines():
+ if "Run ID:" in line:
+ return line.split("Run ID:")[-1].strip().split()[0]
+ raise RuntimeError(f"No run ID in output:\n{result.stdout}\n{result.stderr}")
+
+
+def kill_containers() -> None:
+ """Stop and remove any lingering cua-* Docker containers."""
+ result = subprocess.run(
+ ["docker", "ps", "-q", "--filter", "name=cua-"],
+ capture_output=True, text=True,
+ )
+ ids = result.stdout.strip().split() if result.stdout.strip() else []
+ if ids:
+ subprocess.run(["docker", "stop", "--time", "10"] + ids,
+ capture_output=True)
+ subprocess.run(["docker", "rm", "-f"] + ids,
+ capture_output=True)
+
+
+def wait_for_runs(run_ids: list[str]) -> None:
+ """Block until all run IDs reach a terminal state, then kill any lingering containers."""
+ pending = set(run_ids)
+ print(f" Waiting for {len(pending)} runs...", end="", flush=True)
+ while pending:
+ result = subprocess.run(
+ [CB, "run", "list"], capture_output=True, text=True, cwd=str(SCRIPT_DIR.parent),
+ )
+ for run_id in list(pending):
+ for line in result.stdout.splitlines():
+ if run_id[:8] in line and any(s in line for s in ("completed", "failed", "error")):
+ pending.discard(run_id)
+ if pending:
+ print(".", end="", flush=True)
+ time.sleep(20)
+ print(" done.")
+
+
+def extract_score(run_id: str, task_id: str) -> float | None:
+ """Extract evaluation score from a run's log file."""
+ log = RUNS_DIR / run_id / f"{task_id}_v0" / "run.log"
+ if not log.exists():
+ return None
+ try:
+ for line in log.read_text(errors="replace").splitlines():
+ if "Evaluation result:" in line:
+ return float(line.split("Evaluation result:")[-1].strip())
+ except Exception:
+ pass
+ return None
+
+
+def is_server_error(run_id: str, task_id: str) -> bool:
+ """Return True if the run failed due to a remote 500/server error."""
+ log = RUNS_DIR / run_id / f"{task_id}_v0" / "run.log"
+ if not log.exists():
+ return False
+ text = log.read_text(errors="replace")
+ return "500 Internal Server Error" in text or "InternalServerError" in text
+
+
+def print_summary(results: dict, task_ids: list[str], output: Path) -> None:
+ """Print running summary table and flush results to disk."""
+ print("\n=== Summary so far ===")
+ print(f"{'Task':<12} {'Claude':>10} {'OpenAI':>10}")
+ print("-" * 34)
+ for task_id in task_ids:
+ row = results[task_id]
+ rates = {}
+ for model_name, _ in MODELS:
+ scores = row.get(model_name, [])
+ rates[model_name] = sum(1 for s in scores if s > 0) / len(scores) if scores is not None and len(scores) > 0 else None
+ claude = f"{rates['claude']:.0%}" if rates["claude"] is not None else "pending"
+ openai = f"{rates['openai']:.0%}" if rates["openai"] is not None else "pending"
+ print(f"{task_id:<12} {claude:>10} {openai:>10}")
+ output.write_text(json.dumps(results, indent=2))
+ print(f"(results written to {output})\n")
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser()
+ parser.add_argument("--tasks", required=True, help="Comma-separated task IDs")
+ parser.add_argument("--attempts", type=int, default=5, help="Simultaneous runs per model")
+ parser.add_argument("--max-steps", type=int, default=1000)
+ parser.add_argument("--output", type=Path, default=OUTPUT_FILE)
+ args = parser.parse_args()
+
+ load_env()
+
+ task_ids = [t.strip() for t in args.tasks.split(",")]
+ print(f"Tasks: {task_ids}")
+
+ # results[task_id][model_name] = [score, ...]
+ results: dict[str, dict[str, list[float]]] = {
+ tid: {m: [] for m, _ in MODELS} for tid in task_ids
+ }
+
+ for task_id in task_ids:
+ task_path = TASKS_DIR / task_id
+ if not task_path.exists():
+ print(f"WARNING: {task_path} not found, skipping")
+ continue
+
+ print(f"\n=== Task: {task_id} ===")
+
+ # Launch all models simultaneously
+ model_run_ids: dict[str, list[str]] = {model_name: [] for model_name, _ in MODELS}
+ for model_name, model_id in MODELS:
+ print(f" [{model_name}] Launching {args.attempts} simultaneous runs...")
+ for i in range(args.attempts):
+ try:
+ run_id = start_run(task_path, model_id, args.max_steps)
+ print(f" [{model_name}] run {i+1}: {run_id}")
+ model_run_ids[model_name].append(run_id)
+ except Exception as e:
+ print(f" [{model_name}] run {i+1}: FAILED to start — {e}")
+
+ # Wait for all runs across all models
+ all_run_ids = [rid for rids in model_run_ids.values() for rid in rids]
+ wait_for_runs(all_run_ids)
+
+ # Retry any OpenAI runs that failed with a server 500 error
+ retry_ids = []
+ for model_name, model_id in MODELS:
+ if model_name != "openai":
+ continue
+ for i, run_id in enumerate(model_run_ids[model_name]):
+ if is_server_error(run_id, task_id):
+ print(f" [openai] {run_id}: 500 server error — retrying...")
+ try:
+ new_id = start_run(task_path, model_id, args.max_steps)
+ print(f" [openai] retry run: {new_id}")
+ model_run_ids[model_name][i] = new_id
+ retry_ids.append(new_id)
+ except Exception as e:
+ print(f" [openai] retry FAILED to start — {e}")
+ if retry_ids:
+ wait_for_runs(retry_ids)
+
+ # Extract scores per model
+ for model_name, _ in MODELS:
+ scores = []
+ for run_id in model_run_ids[model_name]:
+ score = extract_score(run_id, task_id)
+ scores.append(score if score is not None else 0.0)
+ print(f" [{model_name}] {run_id}: {score}")
+ results[task_id][model_name] = scores
+ pass_rate = sum(1 for s in scores if s > 0) / len(scores) if scores else 0.0
+ print(f" [{model_name}] pass rate: {pass_rate:.0%} ({sum(1 for s in scores if s > 0)}/{len(scores)})")
+
+ print_summary(results, task_ids, args.output)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/libs/cua-bench/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_prl
new file mode 100644
index 0000000000..d580d91625
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_pro
new file mode 100644
index 0000000000..31890fb2cb
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/154d0750/initial/kicad_AdjustableLDO_circuit/kicad_AdjustableLDO_circuit.kicad_sch
new file mode 100644
index 0000000000..b18ec58d4c
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/154d0750/main.py b/libs/cua-bench/scripts/tasks/154d0750/main.py
new file mode 100644
index 0000000000..cdda25f290
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/154d0750/reference.net b/libs/cua-bench/scripts/tasks/154d0750/reference.net
new file mode 100644
index 0000000000..89d35b3862
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/1625e97a/initial/kicad_votage regulator_circuit/kicad_votage regulator_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/1625e97a/main.py b/libs/cua-bench/scripts/tasks/1625e97a/main.py
new file mode 100644
index 0000000000..9d74a93ca2
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/1625e97a/reference.net b/libs/cua-bench/scripts/tasks/1625e97a/reference.net
new file mode 100644
index 0000000000..7193551bdc
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_prl
new file mode 100644
index 0000000000..4bba168b50
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_pro
new file mode 100644
index 0000000000..dec033ca3d
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/2c11fe94/initial/kicad_BandpassFilter_circuit/kicad_BandpassFilter_circuit.kicad_sch
new file mode 100644
index 0000000000..7afb15b585
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/main.py b/libs/cua-bench/scripts/tasks/2c11fe94/main.py
new file mode 100644
index 0000000000..5d4958d768
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/2c11fe94/reference.net b/libs/cua-bench/scripts/tasks/2c11fe94/reference.net
new file mode 100644
index 0000000000..8cd0af86a6
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/34877be3/main.py b/libs/cua-bench/scripts/tasks/34877be3/main.py
new file mode 100644
index 0000000000..3170c93e26
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/34877be3/reference.net b/libs/cua-bench/scripts/tasks/34877be3/reference.net
new file mode 100644
index 0000000000..8fdf87ca38
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/458f5f5c/main.py b/libs/cua-bench/scripts/tasks/458f5f5c/main.py
new file mode 100644
index 0000000000..460b32203e
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/458f5f5c/reference.net b/libs/cua-bench/scripts/tasks/458f5f5c/reference.net
new file mode 100644
index 0000000000..57f68e59be
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/4bd3e530/main.py b/libs/cua-bench/scripts/tasks/4bd3e530/main.py
new file mode 100644
index 0000000000..7d908ce23b
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/4bd3e530/reference.net b/libs/cua-bench/scripts/tasks/4bd3e530/reference.net
new file mode 100644
index 0000000000..d14006384a
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/4c913e30/main.py b/libs/cua-bench/scripts/tasks/4c913e30/main.py
new file mode 100644
index 0000000000..a72bfd9ac7
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/4c913e30/reference.net b/libs/cua-bench/scripts/tasks/4c913e30/reference.net
new file mode 100644
index 0000000000..5d7396bf8c
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_prl
new file mode 100644
index 0000000000..c110fd9c27
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_pro
new file mode 100644
index 0000000000..9114578721
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/55f2eefb/initial/kicad_555timer_circuit/kicad_555timer_circuit.kicad_sch
new file mode 100644
index 0000000000..2fcc51ca7f
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/main.py b/libs/cua-bench/scripts/tasks/55f2eefb/main.py
new file mode 100644
index 0000000000..f7c334745b
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/55f2eefb/reference.net b/libs/cua-bench/scripts/tasks/55f2eefb/reference.net
new file mode 100644
index 0000000000..d4d98c3de2
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_prl
new file mode 100644
index 0000000000..f41953de12
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_pro
new file mode 100644
index 0000000000..c8ffd7de55
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/589da233/initial/kicad_currentdivider_circuit/kicad_currentdivider_circuit.kicad_sch
new file mode 100644
index 0000000000..a5e0417ce6
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/main.py b/libs/cua-bench/scripts/tasks/589da233/main.py
new file mode 100644
index 0000000000..e0622995dc
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/589da233/reference.net b/libs/cua-bench/scripts/tasks/589da233/reference.net
new file mode 100644
index 0000000000..b1bd880481
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/5dbc9e02/main.py b/libs/cua-bench/scripts/tasks/5dbc9e02/main.py
new file mode 100644
index 0000000000..7204e807fe
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/5dbc9e02/reference.net b/libs/cua-bench/scripts/tasks/5dbc9e02/reference.net
new file mode 100644
index 0000000000..aace5a8936
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/6cb23037/main.py b/libs/cua-bench/scripts/tasks/6cb23037/main.py
new file mode 100644
index 0000000000..64c873a652
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/6cb23037/reference.net b/libs/cua-bench/scripts/tasks/6cb23037/reference.net
new file mode 100644
index 0000000000..a0ef59d9a4
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/733d278a/initial/kicad_motor-driver_circuit/kicad_motor-driver_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/733d278a/main.py b/libs/cua-bench/scripts/tasks/733d278a/main.py
new file mode 100644
index 0000000000..fadce10070
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/733d278a/reference.net b/libs/cua-bench/scripts/tasks/733d278a/reference.net
new file mode 100644
index 0000000000..3ce7c450a0
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/83490c3a/main.py b/libs/cua-bench/scripts/tasks/83490c3a/main.py
new file mode 100644
index 0000000000..5695581b82
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/83490c3a/reference.net b/libs/cua-bench/scripts/tasks/83490c3a/reference.net
new file mode 100644
index 0000000000..3f61440123
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_prl
new file mode 100644
index 0000000000..46bc3e8d56
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_pro
new file mode 100644
index 0000000000..88b50ae97a
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/84ec333e/initial/kicad_activelowpass_circuit/kicad_activelowpass_circuit.kicad_sch
new file mode 100644
index 0000000000..e84479d3bf
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/main.py b/libs/cua-bench/scripts/tasks/84ec333e/main.py
new file mode 100644
index 0000000000..52964ce621
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/84ec333e/reference.net b/libs/cua-bench/scripts/tasks/84ec333e/reference.net
new file mode 100644
index 0000000000..58c8360879
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/854b8a80/main.py b/libs/cua-bench/scripts/tasks/854b8a80/main.py
new file mode 100644
index 0000000000..d9807bd8e4
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/854b8a80/reference.net b/libs/cua-bench/scripts/tasks/854b8a80/reference.net
new file mode 100644
index 0000000000..2c86dea585
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_prl
new file mode 100644
index 0000000000..b9459778e1
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_pro
new file mode 100644
index 0000000000..42bcea85ed
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/9ca3ef44/initial/kicad_MicrophoneAmp_circuit/kicad_MicrophoneAmp_circuit.kicad_sch
new file mode 100644
index 0000000000..e94fffe754
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/main.py b/libs/cua-bench/scripts/tasks/9ca3ef44/main.py
new file mode 100644
index 0000000000..dd5151c0e9
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/9ca3ef44/reference.net b/libs/cua-bench/scripts/tasks/9ca3ef44/reference.net
new file mode 100644
index 0000000000..62c41435d3
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/a6414tw4/main.py b/libs/cua-bench/scripts/tasks/a6414tw4/main.py
new file mode 100644
index 0000000000..f2eb3fa9b6
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/a6414tw4/reference.net b/libs/cua-bench/scripts/tasks/a6414tw4/reference.net
new file mode 100644
index 0000000000..d911048f65
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/a6dd38a9/main.py b/libs/cua-bench/scripts/tasks/a6dd38a9/main.py
new file mode 100644
index 0000000000..643a02a7f7
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/a6dd38a9/reference.net b/libs/cua-bench/scripts/tasks/a6dd38a9/reference.net
new file mode 100644
index 0000000000..a8f2941a22
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/b7148878/main.py b/libs/cua-bench/scripts/tasks/b7148878/main.py
new file mode 100644
index 0000000000..74f21cac9c
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/b7148878/reference.net b/libs/cua-bench/scripts/tasks/b7148878/reference.net
new file mode 100644
index 0000000000..004e909eae
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/b7e51b92/main.py b/libs/cua-bench/scripts/tasks/b7e51b92/main.py
new file mode 100644
index 0000000000..2a6b77bc45
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/b7e51b92/reference.net b/libs/cua-bench/scripts/tasks/b7e51b92/reference.net
new file mode 100644
index 0000000000..3ef1a63071
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/ba34f1c3/main.py b/libs/cua-bench/scripts/tasks/ba34f1c3/main.py
new file mode 100644
index 0000000000..752bc272da
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/ba34f1c3/reference.net b/libs/cua-bench/scripts/tasks/ba34f1c3/reference.net
new file mode 100644
index 0000000000..359d3d722f
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/c4baee36/main.py b/libs/cua-bench/scripts/tasks/c4baee36/main.py
new file mode 100644
index 0000000000..05a2857910
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/c4baee36/reference.net b/libs/cua-bench/scripts/tasks/c4baee36/reference.net
new file mode 100644
index 0000000000..d7006d1d22
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pcb
new file mode 100644
index 0000000000..c547853d10
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_prl
new file mode 100644
index 0000000000..65fb3281b8
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_pro
new file mode 100644
index 0000000000..78ed6ad2e1
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/d1c655da/initial/kicad_InstrumentationAmp_circuit/kicad_InstrumentationAmp_circuit.kicad_sch
new file mode 100644
index 0000000000..361102cb61
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/main.py b/libs/cua-bench/scripts/tasks/d1c655da/main.py
new file mode 100644
index 0000000000..6cd4779061
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d1c655da/reference.net b/libs/cua-bench/scripts/tasks/d1c655da/reference.net
new file mode 100644
index 0000000000..a8b361165c
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pcb b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_prl b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_pro b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/d5947ae7/initial/kicad_buck converter_circuit/kicad_buck converter_circuit.kicad_sch b/libs/cua-bench/scripts/tasks/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/scripts/tasks/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/scripts/tasks/d5947ae7/main.py b/libs/cua-bench/scripts/tasks/d5947ae7/main.py
new file mode 100644
index 0000000000..1bfeaa2e44
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/d5947ae7/reference.net b/libs/cua-bench/scripts/tasks/d5947ae7/reference.net
new file mode 100644
index 0000000000..54fa3a3ef6
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/ff6dfdde/main.py b/libs/cua-bench/scripts/tasks/ff6dfdde/main.py
new file mode 100644
index 0000000000..2dddca7eb5
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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/scripts/tasks/ff6dfdde/reference.net b/libs/cua-bench/scripts/tasks/ff6dfdde/reference.net
new file mode 100644
index 0000000000..acebfa1bdb
--- /dev/null
+++ b/libs/cua-bench/scripts/tasks/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
diff --git a/libs/cua-bench/uv.lock b/libs/cua-bench/uv.lock
index 1de0fdc4fd..c3c40f64d7 100644
--- a/libs/cua-bench/uv.lock
+++ b/libs/cua-bench/uv.lock
@@ -107,6 +107,18 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/98/3b/40a68de458904bcc143622015fff2352b6461cd92fd66d3527bf1c6f5716/aiohttp_cors-0.8.1-py3-none-any.whl", hash = "sha256:3180cf304c5c712d626b9162b195b1db7ddf976a2a25172b35bb2448b890a80d", size = 25231, upload-time = "2025-03-31T14:16:18.478Z" },
]
+[[package]]
+name = "aiohttp-retry"
+version = "2.9.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohttp" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9d/61/ebda4d8e3d8cfa1fd3db0fb428db2dd7461d5742cea35178277ad180b033/aiohttp_retry-2.9.1.tar.gz", hash = "sha256:8eb75e904ed4ee5c2ec242fefe85bf04240f685391c4879d8f541d6028ff01f1", size = 13608, upload-time = "2024-11-06T10:44:54.574Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1a/99/84ba7273339d0f3dfa57901b846489d2e5c2cd731470167757f1935fffbd/aiohttp_retry-2.9.1-py3-none-any.whl", hash = "sha256:66d2759d1921838256a05a3f80ad7e724936f083e35be5abb5e16eed6be6dc54", size = 9981, upload-time = "2024-11-06T10:44:52.917Z" },
+]
+
[[package]]
name = "aiosignal"
version = "1.4.0"
@@ -229,6 +241,34 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/94/fe/3aed5d0be4d404d12d36ab97e2f1791424d9ca39c2f754a6285d59a3b01d/beautifulsoup4-4.14.2-py3-none-any.whl", hash = "sha256:5ef6fa3a8cbece8488d66985560f97ed091e22bbc4e9c2338508a9d5de6d4515", size = 106392, upload-time = "2025-09-29T10:05:43.771Z" },
]
+[[package]]
+name = "boto3"
+version = "1.43.29"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "botocore" },
+ { name = "jmespath" },
+ { name = "s3transfer" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/85/a6/9c02ff00d08ea87908934351d244e35bb6fb5cbc169e1a14fc5bd80d124b/boto3-1.43.29.tar.gz", hash = "sha256:354006c512cdb87ef8214a095f2ade961c8145734475cd7a7e6b39260ff5494a", size = 113198, upload-time = "2026-06-12T19:32:23.442Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/07/5c/f12a9978526c7068c873ccf9788161fc6af338c6a025f1354a46134a6e46/boto3-1.43.29-py3-none-any.whl", hash = "sha256:77c27ada27cdbf619a3bbc41fa9e991caef818d3a2988cf92ea722e107d90108", size = 140537, upload-time = "2026-06-12T19:32:21.682Z" },
+]
+
+[[package]]
+name = "botocore"
+version = "1.43.29"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jmespath" },
+ { name = "python-dateutil" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6f/54/df99c5ca5c9ef275e34b87e177782e3ca054fc35f1f462c40fe180936c81/botocore-1.43.29.tar.gz", hash = "sha256:dce39d33b707aa162aa3820975f99d7f8f746d46576169fb42ce4f2b3b56b261", size = 15512384, upload-time = "2026-06-12T19:32:13.754Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/91/b1/aa410c22355f8f6c4ac2433db6a1c557dd959acf2953ccae4bfc37488119/botocore-1.43.29-py3-none-any.whl", hash = "sha256:5d62f2a03ed279a50207ca2824e009313df15f082b6bb591a095a4f04c7faef3", size = 15194135, upload-time = "2026-06-12T19:32:09.463Z" },
+]
+
[[package]]
name = "cachetools"
version = "6.2.0"
@@ -470,7 +510,7 @@ wheels = [
[[package]]
name = "cua-agent"
version = "0.8.2"
-source = { registry = "https://pypi.org/simple" }
+source = { editable = "../python/agent" }
dependencies = [
{ name = "aiohttp" },
{ name = "anyio" },
@@ -485,10 +525,73 @@ dependencies = [
{ name = "rich" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c4/32/9d8371b42d6aca886157b2d8992a69cba49456da7f773067b9a60585c199/cua_agent-0.8.2.tar.gz", hash = "sha256:8f5f3eb2db78f27f09acd41e201e40598e8554117efa0e69e9a734490a35f626", size = 197517, upload-time = "2026-04-15T21:42:05.284Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/ee/c5/0d81b8e87b39afe562a041e485b4eed2bbe45cfc57525666d4ef4f2dfaf0/cua_agent-0.8.2-py3-none-any.whl", hash = "sha256:2fb5f2f51db666825e2ea8041623b52bdb88bdf85fbb6f40de0e0b42949ce950", size = 243591, upload-time = "2026-04-15T21:42:03.89Z" },
-]
+
+[package.metadata]
+requires-dist = [
+ { name = "accelerate", marker = "extra == 'all'" },
+ { name = "accelerate", marker = "extra == 'glm45v-hf'" },
+ { name = "accelerate", marker = "extra == 'internvl-hf'" },
+ { name = "accelerate", marker = "extra == 'moondream3'" },
+ { name = "accelerate", marker = "extra == 'opencua-hf'" },
+ { name = "accelerate", marker = "extra == 'uitars-hf'" },
+ { name = "aiohttp", specifier = ">=3.9.3" },
+ { name = "anyio", specifier = ">=4.4.1" },
+ { name = "asyncio" },
+ { name = "blobfile", marker = "extra == 'all'", specifier = ">=3.0.0" },
+ { name = "blobfile", marker = "extra == 'opencua-hf'", specifier = ">=3.0.0" },
+ { name = "certifi", specifier = ">=2024.2.2" },
+ { name = "cua-computer", marker = "extra == 'computer'", editable = "../python/computer" },
+ { name = "cua-core", editable = "../python/core" },
+ { name = "cua-som", marker = "extra == 'omni'", editable = "../python/som" },
+ { name = "einops", marker = "extra == 'all'" },
+ { name = "einops", marker = "extra == 'internvl-hf'" },
+ { name = "google-genai", marker = "extra == 'all'", specifier = ">=1.41.0" },
+ { name = "google-genai", marker = "extra == 'cloud'", specifier = ">=1.41.0" },
+ { name = "google-genai", marker = "extra == 'gemini'", specifier = ">=1.41.0" },
+ { name = "gradio", marker = "extra == 'all'", specifier = ">=6.0.0" },
+ { name = "gradio", marker = "extra == 'ui'", specifier = ">=6.0.0" },
+ { name = "httpx", specifier = ">=0.27.0" },
+ { name = "hud-python", marker = "extra == 'hud'", specifier = "==0.4.52" },
+ { name = "litellm", specifier = "==1.80.0" },
+ { name = "mlx-vlm", marker = "sys_platform == 'darwin' and extra == 'all'", specifier = ">=0.1.27" },
+ { name = "mlx-vlm", marker = "sys_platform == 'darwin' and extra == 'uitars-mlx'", specifier = ">=0.1.27" },
+ { name = "pillow", specifier = ">=10.0.0" },
+ { name = "pillow", marker = "extra == 'all'", specifier = ">=10.0.0" },
+ { name = "pillow", marker = "extra == 'cloud'", specifier = ">=10.0.0" },
+ { name = "pillow", marker = "extra == 'qwen'", specifier = ">=10.0.0" },
+ { name = "pydantic", specifier = ">=2.6.4" },
+ { name = "python-dotenv", specifier = ">=1.0.1" },
+ { name = "python-dotenv", marker = "extra == 'all'", specifier = ">=1.0.1" },
+ { name = "python-dotenv", marker = "extra == 'ui'", specifier = ">=1.0.1" },
+ { name = "qwen-agent", marker = "extra == 'all'" },
+ { name = "qwen-agent", marker = "extra == 'cloud'" },
+ { name = "qwen-agent", marker = "extra == 'qwen'" },
+ { name = "qwen-vl-utils", marker = "extra == 'all'" },
+ { name = "qwen-vl-utils", marker = "extra == 'cloud'" },
+ { name = "qwen-vl-utils", marker = "extra == 'qwen'" },
+ { name = "rich", specifier = ">=13.7.1" },
+ { name = "tiktoken", marker = "extra == 'all'", specifier = ">=0.11.0" },
+ { name = "tiktoken", marker = "extra == 'opencua-hf'", specifier = ">=0.11.0" },
+ { name = "timm", marker = "extra == 'all'" },
+ { name = "timm", marker = "extra == 'internvl-hf'" },
+ { name = "torch", marker = "extra == 'all'" },
+ { name = "torch", marker = "extra == 'glm45v-hf'" },
+ { name = "torch", marker = "extra == 'internvl-hf'" },
+ { name = "torch", marker = "extra == 'moondream3'" },
+ { name = "torch", marker = "extra == 'opencua-hf'" },
+ { name = "torch", marker = "extra == 'uitars-hf'" },
+ { name = "transformers", marker = "extra == 'all'", specifier = ">=4.55.0" },
+ { name = "transformers", marker = "extra == 'internvl-hf'", specifier = ">=4.55.0" },
+ { name = "transformers", marker = "extra == 'moondream3'", specifier = ">=4.55.0" },
+ { name = "transformers", marker = "extra == 'opencua-hf'", specifier = ">=4.53.0" },
+ { name = "transformers", marker = "extra == 'uitars-hf'", specifier = ">=4.54.0" },
+ { name = "transformers-v4-55-0-glm-4-5v-preview", marker = "extra == 'glm45v-hf'" },
+ { name = "typing-extensions", specifier = ">=4.12.2" },
+ { name = "yaspin", marker = "extra == 'all'", specifier = ">=3.1.0" },
+ { name = "yaspin", marker = "extra == 'cli'", specifier = ">=3.1.0" },
+ { name = "yaspin", marker = "extra == 'cloud'", specifier = ">=3.1.0" },
+]
+provides-extras = ["computer", "openai", "anthropic", "qwen", "omni", "uitars", "uitars-mlx", "uitars-hf", "glm45v-hf", "opencua-hf", "internvl-hf", "moondream3", "ui", "cli", "hud", "gemini", "cloud", "all"]
[[package]]
name = "cua-bench"
@@ -498,6 +601,7 @@ dependencies = [
{ name = "aiofiles" },
{ name = "aiohttp" },
{ name = "beautifulsoup4" },
+ { name = "cua-agent" },
{ name = "cua-computer" },
{ name = "cua-core" },
{ name = "datasets" },
@@ -548,6 +652,9 @@ cloud = [
{ name = "opentelemetry-exporter-otlp-proto-http" },
{ name = "opentelemetry-sdk" },
]
+daytona = [
+ { name = "daytona-sdk" },
+]
dev = [
{ name = "pytest" },
{ name = "pytest-asyncio" },
@@ -558,6 +665,9 @@ otel = [
{ name = "opentelemetry-exporter-otlp-proto-http" },
{ name = "opentelemetry-sdk" },
]
+packaging = [
+ { name = "boto3" },
+]
rl = [
{ name = "torch" },
{ name = "torchvision" },
@@ -591,12 +701,15 @@ requires-dist = [
{ name = "aiosqlite", marker = "extra == 'server'", specifier = ">=0.19.0" },
{ name = "anthropic", marker = "extra == 'agents'", specifier = ">=0.26.0" },
{ name = "beautifulsoup4", specifier = ">=4.14.2" },
- { name = "cua-agent", marker = "extra == 'agents'", specifier = ">=0.8.0" },
+ { name = "boto3", marker = "extra == 'packaging'", specifier = ">=1.26.0" },
+ { name = "cua-agent", editable = "../python/agent" },
+ { name = "cua-agent", marker = "extra == 'agents'", editable = "../python/agent" },
{ name = "cua-bench", extras = ["browser", "agents", "cloud", "otel", "spice"], marker = "extra == 'all'" },
{ name = "cua-bench", extras = ["otel"], marker = "extra == 'cloud'" },
{ name = "cua-computer", specifier = ">=0.4.19" },
{ name = "cua-core", specifier = ">=0.3.0,<0.4.0" },
{ name = "datasets", specifier = ">=3.0.0" },
+ { name = "daytona-sdk", marker = "extra == 'daytona'", specifier = ">=0.1.0" },
{ name = "docker", specifier = ">=7.0.0" },
{ name = "fastapi", marker = "extra == 'server'", specifier = ">=0.100.0" },
{ name = "gcloud-aio-storage", marker = "extra == 'cloud'", specifier = ">=9.0.0" },
@@ -633,7 +746,7 @@ requires-dist = [
{ name = "verl", marker = "extra == 'rl'" },
{ name = "websockets", specifier = ">=12.0" },
]
-provides-extras = ["all", "browser", "agents", "otel", "cloud", "spice", "server", "windows", "dev", "rl"]
+provides-extras = ["all", "daytona", "packaging", "browser", "agents", "otel", "cloud", "spice", "server", "windows", "dev", "rl"]
[package.metadata.requires-dev]
dev = [
@@ -662,14 +775,25 @@ wheels = [
[[package]]
name = "cua-core"
version = "0.3.1"
-source = { registry = "https://pypi.org/simple" }
+source = { editable = "../python/core" }
dependencies = [
{ name = "posthog" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f3/82/ec371bde395bbbd326a3467a1702b34ab629defa0cc89bd81ac78507ca5a/cua_core-0.3.1.tar.gz", hash = "sha256:a8fc4204981b9d5b604bd2a34de0bb41cf926309e4dd9f364c827750a86408da", size = 10710, upload-time = "2026-04-15T21:39:49.172Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/ed/90/5148998a26671855539e2c3a620f72ef51f83118beffdfb7e77893d4730b/cua_core-0.3.1-py3-none-any.whl", hash = "sha256:9191b8abf5e02ea6bf8ba21237e747d4e3b319f6f24d4e66e04b7606fcc449f6", size = 10239, upload-time = "2026-04-15T21:39:48.265Z" },
+
+[package.metadata]
+requires-dist = [
+ { name = "opentelemetry-api", marker = "extra == 'otel'", specifier = ">=1.20.0" },
+ { name = "opentelemetry-api", marker = "extra == 'telemetry'", specifier = ">=1.20.0" },
+ { name = "opentelemetry-exporter-otlp-proto-http", marker = "extra == 'otel'", specifier = ">=1.20.0" },
+ { name = "opentelemetry-exporter-otlp-proto-http", marker = "extra == 'telemetry'", specifier = ">=1.20.0" },
+ { name = "opentelemetry-sdk", marker = "extra == 'otel'", specifier = ">=1.20.0" },
+ { name = "opentelemetry-sdk", marker = "extra == 'telemetry'", specifier = ">=1.20.0" },
+ { name = "posthog", specifier = ">=3.20.0" },
]
+provides-extras = ["otel", "telemetry"]
+
+[package.metadata.requires-dev]
+dev = [{ name = "pytest", specifier = ">=8.3.5" }]
[[package]]
name = "cuda-bindings"
@@ -725,6 +849,106 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/f4/c8/09012ac195a0aab58755800d2efdc0e7d5905053509f12cb5d136c911cda/datasets-4.1.1-py3-none-any.whl", hash = "sha256:62e4f6899a36be9ec74a7e759a6951253cc85b3fcfa0a759b0efa8353b149dac", size = 503623, upload-time = "2025-09-18T13:14:25.111Z" },
]
+[[package]]
+name = "daytona-api-client"
+version = "0.140.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pydantic" },
+ { name = "python-dateutil" },
+ { name = "typing-extensions" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e4/7e/64676a69f357be5a32154240c89d145090d76c6706652e50137997f2fcab/daytona_api_client-0.140.0.tar.gz", hash = "sha256:ed28b3337189393d2766697c98d1b764dea4fda82359040e6f8d111f5d073aef", size = 134360, upload-time = "2026-02-10T12:19:35.791Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/11/79/17fd48a00c5aea1386f46a232f8af03014ec827c7c6ea46a2e192cddedbd/daytona_api_client-0.140.0-py3-none-any.whl", hash = "sha256:6a0ba0b4483da23f6557e18350de292b727a663874fd82aac3ae21a444d55215", size = 375797, upload-time = "2026-02-10T12:19:33.987Z" },
+]
+
+[[package]]
+name = "daytona-api-client-async"
+version = "0.140.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohttp" },
+ { name = "aiohttp-retry" },
+ { name = "pydantic" },
+ { name = "python-dateutil" },
+ { name = "typing-extensions" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e3/e3/f5dcfa17f02988899427d1b898f6176922787b8cb361e0a42d962ca319b2/daytona_api_client_async-0.140.0.tar.gz", hash = "sha256:dc6c7126649162bbe31e3da665b421165f52407d34598f8ec89617650456949e", size = 134486, upload-time = "2026-02-10T12:19:50.396Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1b/74/0a13a70d19756da1987369820d6bac0c704cffdc684b0e237ccbabf8ffb0/daytona_api_client_async-0.140.0-py3-none-any.whl", hash = "sha256:404ea5492714f6f82d2afbaaa722b87e5f2f9d419dfd28ec37c0a1edad408fb1", size = 378645, upload-time = "2026-02-10T12:19:48.434Z" },
+]
+
+[[package]]
+name = "daytona-sdk"
+version = "0.140.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiofiles" },
+ { name = "daytona-api-client" },
+ { name = "daytona-api-client-async" },
+ { name = "daytona-toolbox-api-client" },
+ { name = "daytona-toolbox-api-client-async" },
+ { name = "deprecated" },
+ { name = "environs" },
+ { name = "httpx" },
+ { name = "multipart" },
+ { name = "obstore" },
+ { name = "pydantic" },
+ { name = "toml" },
+ { name = "websockets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f1/d4/3b00690ef66e5fecc481b70cb5933f656c309d6668116eda8095c1765055/daytona_sdk-0.140.0.tar.gz", hash = "sha256:21106b55b6c78334b086bb3c27afc72620a5dbd6ea3411929f7a35f710997568", size = 121632, upload-time = "2026-02-10T12:20:39.167Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8e/56/46237a2ae674cded50418f40ce9f65724c7a9f0e4d66c1593af016f06341/daytona_sdk-0.140.0-py3-none-any.whl", hash = "sha256:efcdae98d5e7c67092f92d97ce0607264254c0ac8861d19da21ccc2981eb458c", size = 151126, upload-time = "2026-02-10T12:20:37.046Z" },
+]
+
+[[package]]
+name = "daytona-toolbox-api-client"
+version = "0.140.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pydantic" },
+ { name = "python-dateutil" },
+ { name = "typing-extensions" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/7b/f1/b04957487ef7b6de4a45ba5348123f6b8ed18325fa6e5bf3eea71c0a387d/daytona_toolbox_api_client-0.140.0.tar.gz", hash = "sha256:b7421327fd5f45168ab5d1579cfdceae55356fb3da5939d13d9087ae49f79945", size = 64094, upload-time = "2026-02-10T12:19:40.882Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b2/d5/08136d47cfec7199081f6a6ccf8e19992425bff091a9c97fdf6872de8a40/daytona_toolbox_api_client-0.140.0-py3-none-any.whl", hash = "sha256:4d71842b461e2a3123e563475964ddda78884d012286d950c9d947a0d2779d07", size = 171059, upload-time = "2026-02-10T12:19:39.107Z" },
+]
+
+[[package]]
+name = "daytona-toolbox-api-client-async"
+version = "0.140.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohttp" },
+ { name = "aiohttp-retry" },
+ { name = "pydantic" },
+ { name = "python-dateutil" },
+ { name = "typing-extensions" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a6/52/2a1b5fe303f4ea116ade0fe09dd85eba349a67318b83c74f7d2808a42905/daytona_toolbox_api_client_async-0.140.0.tar.gz", hash = "sha256:62a4b51404db28e95e18da836c8de0d2b67192d42027bc3c9273937d3066612b", size = 61090, upload-time = "2026-02-10T12:20:02.273Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9c/ca/0113aba439cad635a1ecaf4ac50c9a8248002d529b2c44d02f80ec08f503/daytona_toolbox_api_client_async-0.140.0-py3-none-any.whl", hash = "sha256:dddf18320449234ed62ce8d051f470ecaac0f56bf23e800c0bf51b11b5251d17", size = 172380, upload-time = "2026-02-10T12:20:01.005Z" },
+]
+
+[[package]]
+name = "deprecated"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "wrapt" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/49/85/12f0a49a7c4ffb70572b6c2ef13c90c88fd190debda93b23f026b25f9634/deprecated-1.3.1.tar.gz", hash = "sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223", size = 2932523, upload-time = "2025-10-30T08:19:02.757Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298, upload-time = "2025-10-30T08:19:00.758Z" },
+]
+
[[package]]
name = "dill"
version = "0.4.0"
@@ -775,6 +999,19 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896, upload-time = "2025-07-21T07:35:00.684Z" },
]
+[[package]]
+name = "environs"
+version = "14.6.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "marshmallow" },
+ { name = "python-dotenv" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/fb/c7/94f97e6e74482a50b5fc798856b6cc06e8d072ab05a0b74cb5d87bd0d065/environs-14.6.0.tar.gz", hash = "sha256:ed2767588deb503209ffe4dd9bb2b39311c2e4e7e27ce2c64bf62ca83328d068", size = 35563, upload-time = "2026-02-20T04:02:08.869Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/97/a8/c070e1340636acb38d4e6a7e45c46d168a462b48b9b3257e14ca0e5af79b/environs-14.6.0-py3-none-any.whl", hash = "sha256:f8fb3d6c6a55872b0c6db077a28f5a8c7b8984b7c32029613d44cef95cfc0812", size = 17205, upload-time = "2026-02-20T04:02:07.299Z" },
+]
+
[[package]]
name = "fastapi"
version = "0.121.0"
@@ -1417,6 +1654,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a6/87/fc632776344e7aabbab05a95a0075476f418c5d29ab0f2eec672b7a1f0ac/jiter-0.11.0-cp313-cp313t-win_amd64.whl", hash = "sha256:a4d71d7ea6ea8786291423fe209acf6f8d398a0759d03e7f24094acb8ab686ba", size = 204225, upload-time = "2025-09-15T09:20:03.102Z" },
]
+[[package]]
+name = "jmespath"
+version = "1.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d3/59/322338183ecda247fb5d1763a6cbe46eff7222eaeebafd9fa65d4bf5cb11/jmespath-1.1.0.tar.gz", hash = "sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d", size = 27377, upload-time = "2026-01-22T16:35:26.279Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/14/2f/967ba146e6d58cf6a652da73885f52fc68001525b4197effc174321d70b4/jmespath-1.1.0-py3-none-any.whl", hash = "sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64", size = 20419, upload-time = "2026-01-22T16:35:24.919Z" },
+]
+
[[package]]
name = "jsonschema"
version = "4.25.1"
@@ -1610,6 +1856,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" },
]
+[[package]]
+name = "marshmallow"
+version = "4.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/25/7e/1dbd4096eb7c148cd2841841916f78820bb85a4d80a0c25c02d30815a7fb/marshmallow-4.3.0.tar.gz", hash = "sha256:fb43c53b3fe240b8f6af37223d6ef1636f927ad9bea8ab323afad95dff090880", size = 224485, upload-time = "2026-04-03T21:46:32.72Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/e0/ff24e25218bb59eb6290a530cea40651b14068b6e3659b20f9c175179632/marshmallow-4.3.0-py3-none-any.whl", hash = "sha256:46c4fe6984707e3cbd485dfebbf0a59874f58d695aad05c1668d15e8c6e13b46", size = 49148, upload-time = "2026-04-03T21:46:31.241Z" },
+]
+
[[package]]
name = "matplotlib"
version = "3.10.7"
@@ -1766,6 +2021,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/b7/da/7d22601b625e241d4f23ef1ebff8acfc60da633c9e7e7922e24d10f592b3/multidict-6.7.0-py3-none-any.whl", hash = "sha256:394fc5c42a333c9ffc3e421a4c85e08580d990e08b99f6bf35b4132114c5dcb3", size = 12317, upload-time = "2025-10-06T14:52:29.272Z" },
]
+[[package]]
+name = "multipart"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/8e/d6/9c4f366d6f9bb8f8fb5eae3acac471335c39510c42b537fd515213d7d8c3/multipart-1.3.1.tar.gz", hash = "sha256:211d7cfc1a7a43e75c4d24ee0e8e0f4f61d522f1a21575303ae85333dea687bf", size = 38929, upload-time = "2026-02-27T10:17:13.7Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/19/ed/e1f03200ee1f0bf4a2b9b72709afefbf5319b68df654e0b84b35c65613ee/multipart-1.3.1-py3-none-any.whl", hash = "sha256:a82b59e1befe74d3d30b3d3f70efd5a2eba4d938f845dcff9faace968888ff29", size = 15061, upload-time = "2026-02-27T10:17:11.943Z" },
+]
+
[[package]]
name = "multiprocess"
version = "0.70.16"
@@ -1966,6 +2230,43 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954, upload-time = "2025-03-07T01:42:44.131Z" },
]
+[[package]]
+name = "obstore"
+version = "0.8.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a3/8c/9ec984edd0f3b72226adfaa19b1c61b15823b35b52f311ca4af36d009d15/obstore-0.8.2.tar.gz", hash = "sha256:a467bc4e97169e2ba749981b4fd0936015428d9b8f3fb83a5528536b1b6f377f", size = 168852, upload-time = "2025-09-16T15:34:55.786Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2b/dc/60fefbb5736e69eab56657bca04ca64dc07fdeccb3814164a31b62ad066b/obstore-0.8.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:bb70ce297a47392b1d9a3e310f18d59cd5ebbb9453428210fef02ed60e4d75d1", size = 3612955, upload-time = "2025-09-16T15:33:29.527Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/8b/844e8f382e5a12b8a3796a05d76a03e12c7aedc13d6900419e39207d7868/obstore-0.8.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1619bf618428abf1f607e0b219b2e230a966dcf697b717deccfa0983dd91f646", size = 3346564, upload-time = "2025-09-16T15:33:30.698Z" },
+ { url = "https://files.pythonhosted.org/packages/89/73/8537f99e09a38a54a6a15ede907aa25d4da089f767a808f0b2edd9c03cec/obstore-0.8.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a4605c3ed7c9515aeb4c619b5f7f2c9986ed4a79fe6045e536b5e59b804b1476", size = 3460809, upload-time = "2025-09-16T15:33:31.837Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/99/7714dec721e43f521d6325a82303a002cddad089437640f92542b84e9cc8/obstore-0.8.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ce42670417876dd8668cbb8659e860e9725e5f26bbc86449fd259970e2dd9d18", size = 3692081, upload-time = "2025-09-16T15:33:33.028Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/bd/4ac4175fe95a24c220a96021c25c432bcc0c0212f618be0737184eebbaad/obstore-0.8.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4a3e893b2a06585f651c541c1972fe1e3bf999ae2a5fda052ee55eb7e6516f5", size = 3957466, upload-time = "2025-09-16T15:33:34.528Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/04/caa288fb735484fc5cb019bdf3d896eaccfae0ac4622e520d05692c46790/obstore-0.8.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:08462b32f95a9948ed56ed63e88406e2e5a4cae1fde198f9682e0fb8487100ed", size = 3951293, upload-time = "2025-09-16T15:33:35.733Z" },
+ { url = "https://files.pythonhosted.org/packages/44/2f/d380239da2d6a1fda82e17df5dae600a404e8a93a065784518ff8325d5f6/obstore-0.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a0bf7763292a8fc47d01cd66e6f19002c5c6ad4b3ed4e6b2729f5e190fa8a0d", size = 3766199, upload-time = "2025-09-16T15:33:36.904Z" },
+ { url = "https://files.pythonhosted.org/packages/28/41/d391be069d3da82969b54266948b2582aeca5dd735abeda4d63dba36e07b/obstore-0.8.2-cp312-cp312-manylinux_2_24_aarch64.whl", hash = "sha256:bcd47f8126cb192cbe86942b8f73b1c45a651ce7e14c9a82c5641dfbf8be7603", size = 3529678, upload-time = "2025-09-16T15:33:38.221Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/4c/4862fdd1a3abde459ee8eea699b1797df638a460af235b18ca82c8fffb72/obstore-0.8.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:57eda9fd8c757c3b4fe36cf3918d7e589cc1286591295cc10b34122fa36dd3fd", size = 3698079, upload-time = "2025-09-16T15:33:39.696Z" },
+ { url = "https://files.pythonhosted.org/packages/68/ca/014e747bc53b570059c27e3565b2316fbe5c107d4134551f4cd3e24aa667/obstore-0.8.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ea44442aad8992166baa69f5069750979e4c5d9ffce772e61565945eea5774b9", size = 3687154, upload-time = "2025-09-16T15:33:40.92Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/89/6db5f8edd93028e5b8bfbeee15e6bd3e56f72106107d31cb208b57659de4/obstore-0.8.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:41496a3ab8527402db4142aaaf0d42df9d7d354b13ba10d9c33e0e48dd49dd96", size = 3773444, upload-time = "2025-09-16T15:33:42.123Z" },
+ { url = "https://files.pythonhosted.org/packages/26/e5/c9e2cc540689c873beb61246e1615d6e38301e6a34dec424f5a5c63c1afd/obstore-0.8.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:43da209803f052df96c7c3cbec512d310982efd2407e4a435632841a51143170", size = 3939315, upload-time = "2025-09-16T15:33:43.252Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/c9/bb53280ca50103c1ffda373cdc9b0f835431060039c2897cbc87ddd92e42/obstore-0.8.2-cp312-cp312-win_amd64.whl", hash = "sha256:1836f5dcd49f9f2950c75889ab5c51fb290d3ea93cdc39a514541e0be3af016e", size = 3978234, upload-time = "2025-09-16T15:33:44.393Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/5d/8c3316cc958d386d5e6ab03e9db9ddc27f8e2141cee4a6777ae5b92f3aac/obstore-0.8.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:212f033e53fe6e53d64957923c5c88949a400e9027f7038c705ec2e9038be563", size = 3612027, upload-time = "2025-09-16T15:33:45.6Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/4d/699359774ce6330130536d008bfc32827fab0c25a00238d015a5974a3d1d/obstore-0.8.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bee21fa4ba148d08fa90e47a96df11161661ed31e09c056a373cb2154b0f2852", size = 3344686, upload-time = "2025-09-16T15:33:47.185Z" },
+ { url = "https://files.pythonhosted.org/packages/82/37/55437341f10512906e02fd9fa69a8a95ad3f2f6a916d3233fda01763d110/obstore-0.8.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4c66594b59832ff1ced4c72575d9beb8b5f9b4e404ac1150a42bfb226617fd50", size = 3459860, upload-time = "2025-09-16T15:33:48.382Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/51/4245a616c94ee4851965e33f7a563ab4090cc81f52cc73227ff9ceca2e46/obstore-0.8.2-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:089f33af5c2fe132d00214a0c1f40601b28f23a38e24ef9f79fb0576f2730b74", size = 3691648, upload-time = "2025-09-16T15:33:49.524Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/f1/4e2fb24171e3ca3641a4653f006be826e7e17634b11688a5190553b00b83/obstore-0.8.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d87f658dfd340d5d9ea2d86a7c90d44da77a0db9e00c034367dca335735110cf", size = 3956867, upload-time = "2025-09-16T15:33:51.082Z" },
+ { url = "https://files.pythonhosted.org/packages/42/f5/b703115361c798c9c1744e1e700d5908d904a8c2e2bd38bec759c9ffb469/obstore-0.8.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6e2e4fa92828c4fbc2d487f3da2d3588701a1b67d9f6ca3c97cc2afc912e9c63", size = 3950599, upload-time = "2025-09-16T15:33:52.173Z" },
+ { url = "https://files.pythonhosted.org/packages/53/20/08c6dc0f20c1394e2324b9344838e4e7af770cdcb52c30757a475f50daeb/obstore-0.8.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab440e89c5c37a8ec230857dd65147d4b923e0cada33297135d05e0f937d696a", size = 3765865, upload-time = "2025-09-16T15:33:53.291Z" },
+ { url = "https://files.pythonhosted.org/packages/77/20/77907765e29b2eba6bd8821872284d91170d7084f670855b2dfcb249ea14/obstore-0.8.2-cp313-cp313-manylinux_2_24_aarch64.whl", hash = "sha256:b9beed107c5c9cd995d4a73263861fcfbc414d58773ed65c14f80eb18258a932", size = 3529807, upload-time = "2025-09-16T15:33:54.535Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/f5/f629d39cc30d050f52b1bf927e4d65c1cc7d7ffbb8a635cd546b5c5219a0/obstore-0.8.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b75b4e7746292c785e31edcd5aadc8b758238372a19d4c5e394db5c305d7d175", size = 3693629, upload-time = "2025-09-16T15:33:56.016Z" },
+ { url = "https://files.pythonhosted.org/packages/30/ff/106763fd10f2a1cb47f2ef1162293c78ad52f4e73223d8d43fc6b755445d/obstore-0.8.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:f33e6c366869d05ab0b7f12efe63269e631c5450d95d6b4ba4c5faf63f69de70", size = 3686176, upload-time = "2025-09-16T15:33:57.247Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/0c/d2ccb6f32feeca906d5a7c4255340df5262af8838441ca06c9e4e37b67d5/obstore-0.8.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:12c885a9ce5ceb09d13cc186586c0c10b62597eff21b985f6ce8ff9dab963ad3", size = 3773081, upload-time = "2025-09-16T15:33:58.475Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/79/40d1cc504cefc89c9b3dd8874287f3fddc7d963a8748d6dffc5880222013/obstore-0.8.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4accc883b93349a81c9931e15dd318cc703b02bbef2805d964724c73d006d00e", size = 3938589, upload-time = "2025-09-16T15:33:59.734Z" },
+ { url = "https://files.pythonhosted.org/packages/14/dd/916c6777222db3271e9fb3cf9a97ed92b3a9b3e465bdeec96de9ab809d53/obstore-0.8.2-cp313-cp313-win_amd64.whl", hash = "sha256:ec850adf9980e5788a826ccfd5819989724e2a2f712bfa3258e85966c8d9981e", size = 3977768, upload-time = "2025-09-16T15:34:01.25Z" },
+]
+
[[package]]
name = "omegaconf"
version = "2.3.0"
@@ -3011,6 +3312,18 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/9e/6a/40fee331a52339926a92e17ae748827270b288a35ef4a15c9c8f2ec54715/ruff-0.14.14-py3-none-win_arm64.whl", hash = "sha256:56e6981a98b13a32236a72a8da421d7839221fa308b223b9283312312e5ac76c", size = 10920448, upload-time = "2026-01-22T22:30:15.417Z" },
]
+[[package]]
+name = "s3transfer"
+version = "0.18.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "botocore" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e0/1f/12417f7f493fc45e1f9fd5d4a9b6c125cf8d2cf3f8ddbdfab3e76406e9d6/s3transfer-0.18.0.tar.gz", hash = "sha256:3760b8b7ec1315da54048b2d626276732bee4300d054d492d4e1d43e20d4ecbd", size = 160560, upload-time = "2026-05-28T19:39:09.124Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2b/58/a58fc997655386daa2e25784e30c288aa3e3819e401f77029ee4899fb55a/s3transfer-0.18.0-py3-none-any.whl", hash = "sha256:239c13b09e65ad0346e1be7348b8a202dcad44ac7ea7c6eb858fc881dce739b6", size = 88572, upload-time = "2026-05-28T19:39:07.999Z" },
+]
+
[[package]]
name = "safetensors"
version = "0.7.0"
@@ -3242,6 +3555,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/b3/46/e33a8c93907b631a99377ef4c5f817ab453d0b34f93529421f42ff559671/tokenizers-0.22.1-cp39-abi3-win_amd64.whl", hash = "sha256:65fd6e3fb11ca1e78a6a93602490f134d1fdeb13bcef99389d5102ea318ed138", size = 2674684, upload-time = "2025-09-19T09:49:24.953Z" },
]
+[[package]]
+name = "toml"
+version = "0.10.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253, upload-time = "2020-11-01T01:40:22.204Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588, upload-time = "2020-11-01T01:40:20.672Z" },
+]
+
[[package]]
name = "torch"
version = "2.10.0"
diff --git a/libs/python/computer/computer/interface/generic.py b/libs/python/computer/computer/interface/generic.py
index c012365425..2c12e15242 100644
--- a/libs/python/computer/computer/interface/generic.py
+++ b/libs/python/computer/computer/interface/generic.py
@@ -1003,48 +1003,61 @@ class GenericComputerInterface(BaseComputerInterface):
self, command: str, params: Optional[Dict] = None
) -> Dict[str, Any]:
"""Send command through REST API without retries or connection management."""
- try:
- # Prepare the request payload
- payload = {"command": command, "params": params or {}}
-
- # Prepare headers
- headers = {"Content-Type": "application/json", **cua_version_headers()}
- if self.api_key:
- headers["X-API-Key"] = self.api_key
- if self.vm_name:
- headers["X-Container-Name"] = self.vm_name
-
- # Send the request
- async with aiohttp.ClientSession() as session:
- async with session.post(self.rest_uri, json=payload, headers=headers) as response:
- # Get the response text
- response_text = await response.text()
-
- # Trim whitespace
- response_text = response_text.strip()
-
- # Check if it starts with "data: "
- if response_text.startswith("data: "):
- # Extract everything after "data: "
- json_str = response_text[6:] # Remove "data: " prefix
- try:
- return json.loads(json_str)
- except json.JSONDecodeError:
+ max_empty_retries = 3
+ for attempt in range(max_empty_retries):
+ try:
+ # Prepare the request payload
+ payload = {"command": command, "params": params or {}}
+
+ # Prepare headers
+ headers = {"Content-Type": "application/json", **cua_version_headers()}
+ if self.api_key:
+ headers["X-API-Key"] = self.api_key
+ if self.vm_name:
+ headers["X-Container-Name"] = self.vm_name
+
+ # Send the request
+ async with aiohttp.ClientSession() as session:
+ async with session.post(self.rest_uri, json=payload, headers=headers) as response:
+ # Get the response text
+ response_text = await response.text()
+
+ # Trim whitespace
+ response_text = response_text.strip()
+
+ # Empty body: proxy cut off the streaming response; retry
+ if not response_text and attempt < max_empty_retries - 1:
+ self.logger.warning(f"[REST] empty body for cmd={command} attempt={attempt}, retrying")
+ await asyncio.sleep(2 ** attempt)
+ continue
+
+ # Check if it starts with "data: "
+ if response_text.startswith("data: "):
+ # Extract everything after "data: "
+ json_str = response_text[6:] # Remove "data: " prefix
+ try:
+ return json.loads(json_str)
+ except json.JSONDecodeError:
+ self.logger.warning(f"[REST] JSON decode error for cmd={command} body={response_text[:200]!r}")
+ return {
+ "success": False,
+ "error": "Server returned malformed response",
+ "message": response_text,
+ }
+ else:
+ self.logger.warning(f"[REST] unexpected response cmd={command} status={response.status} body={response_text[:300]!r}")
+ # Return error response
return {
"success": False,
"error": "Server returned malformed response",
"message": response_text,
}
- else:
- # Return error response
- return {
- "success": False,
- "error": "Server returned malformed response",
- "message": response_text,
- }
- except Exception as e:
- return {"success": False, "error": "Request failed", "message": str(e)}
+ except Exception as e:
+ self.logger.warning(f"[REST] exception cmd={command} attempt={attempt} {type(e).__name__}: {e}")
+ return {"success": False, "error": "Request failed", "message": str(e)}
+
+ return {"success": False, "error": "Server returned malformed response", "message": ""}
async def _send_command(self, command: str, params: Optional[Dict] = None) -> Dict[str, Any]:
"""Send command using REST API with WebSocket fallback."""
diff --git a/libs/python/core/cua_core/telemetry/otel.py b/libs/python/core/cua_core/telemetry/otel.py
index 671e7e0f06..2a36df6c77 100644
--- a/libs/python/core/cua_core/telemetry/otel.py
+++ b/libs/python/core/cua_core/telemetry/otel.py
@@ -401,10 +401,14 @@ def create_span(
yield None
return
+ _yielded = False
try:
with _tracer.start_as_current_span(name, attributes=attributes) as span:
+ _yielded = True
yield span
except Exception as e:
+ if _yielded:
+ raise
logger.debug(f"Failed to create span: {e}")
yield None
diff --git a/libs/xfce/Dockerfile b/libs/xfce/Dockerfile
index 7c1eaf1f60..7108b7ea65 100644
--- a/libs/xfce/Dockerfile
+++ b/libs/xfce/Dockerfile
@@ -1,7 +1,8 @@
# Cua Docker XFCE Container
# Vanilla XFCE desktop with noVNC and computer-server
+# Uses the official KiCad 9 image as base (Debian Bookworm + KiCad 9 pre-installed)
-FROM ubuntu:22.04
+FROM kicad/kicad:9.0
# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive
@@ -15,17 +16,18 @@ ENV API_PORT=8000
ENV VNC_RESOLUTION=1024x768
ENV VNC_COL_DEPTH=24
-# Install system dependencies first (including sudo)
+USER root
+
+# Install system dependencies
RUN apt-get update && apt-get install -y \
# System utilities
sudo \
unzip \
zip \
xdg-utils \
- gcc \
# DHCP client for networking
isc-dhcp-client \
- # Qt/XCB runtime deps for PyQt5 (libqxcb.so)
+ # Qt/XCB runtime deps for KiCad/XFCE
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
@@ -44,125 +46,97 @@ RUN apt-get update && apt-get install -y \
dbus-x11 \
# VNC server
tigervnc-standalone-server \
- tigervnc-common \
+ tigervnc-tools \
# noVNC dependencies
- # python will be installed via deadsnakes as 3.12 \
git \
net-tools \
- netcat \
+ netcat-openbsd \
supervisor \
- # Computer-server dependencies
- # python-tk/dev for 3.12 will be installed later \
+ # computer-server dependencies (screenshot, mouse, clipboard)
gnome-screenshot \
wmctrl \
ffmpeg \
socat \
xclip \
- # Browser
+ # Browser (used by agent)
wget \
- software-properties-common \
- # Build tools
- build-essential \
- libncursesw5-dev \
- libssl-dev \
- libsqlite3-dev \
- tk-dev \
- libgl1-mesa-dev \
- libgdbm-dev \
- libc6-dev \
- libbz2-dev \
- libffi-dev \
- zlib1g-dev \
+ ca-certificates \
+ firefox-esr \
+ # GTK/WebKit for pywebview (cua-bench-ui task display)
+ gir1.2-gtk-3.0 \
+ gir1.2-webkit2-4.1 \
+ libgirepository1.0-dev \
+ libcairo2-dev \
+ pkg-config \
+ gobject-introspection \
+ # Python pip to bootstrap uv
+ python3-pip \
&& rm -rf /var/lib/apt/lists/*
-# Install Python 3.12 from deadsnakes (keep system python3 for apt)
-RUN add-apt-repository -y ppa:deadsnakes/ppa && \
- apt-get update && apt-get install -y \
- python3.12 python3.12-venv python3.12-dev python3.12-tk \
- && \
- python3.12 -m ensurepip --upgrade && \
- python3.12 -m pip install --upgrade pip setuptools wheel && \
- python3.12 -m pip install uv && \
- rm -rf /var/lib/apt/lists/*
-
-# Ensure 'python' and 'python3' both point to Python 3.12
-RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 2 && \
- ln -sf /usr/bin/python3.12 /usr/local/bin/python3
+# Install uv, Python 3.13, and create venv at /opt/venv
+# Python 3.13 satisfies cua-bench-ui's >=3.12 requirement (Bookworm only has 3.11)
+RUN pip3 install --break-system-packages uv && \
+ uv python install 3.13 && \
+ uv venv /opt/venv --python 3.13 && \
+ ln -sf /opt/venv/bin/python3 /usr/local/bin/python3 && \
+ ln -sf /opt/venv/bin/python3 /usr/local/bin/python
# Remove screensavers and power manager to avoid popups and lock screens
RUN apt-get remove -y \
xfce4-power-manager \
- xfce4-power-manager-data \
- xfce4-power-manager-plugins \
xfce4-screensaver \
light-locker \
- xscreensaver \
- xscreensaver-data || true
+ xscreensaver || true
-# Create user after sudo is installed
+# Create cua user
RUN useradd -m -s /bin/bash -G sudo cua && \
echo "cua:cua" | chpasswd && \
echo "cua ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
-# Install Firefox from Mozilla PPA (snap-free) - inline to avoid script issues
-RUN apt-get update && \
- add-apt-repository -y ppa:mozillateam/ppa && \
- echo 'Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001' > /etc/apt/preferences.d/mozilla-firefox && \
- apt-get update && \
- apt-get install -y firefox && \
- echo 'pref("datareporting.policy.firstRunURL", "");\npref("datareporting.policy.dataSubmissionEnabled", false);\npref("datareporting.healthreport.service.enabled", false);\npref("datareporting.healthreport.uploadEnabled", false);\npref("trailhead.firstrun.branches", "nofirstrun-empty");\npref("browser.aboutwelcome.enabled", false);' > /usr/lib/firefox/browser/defaults/preferences/firefox.js && \
- update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 100 && \
- update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/bin/firefox 100 && \
- rm -rf /var/lib/apt/lists/*
+# Configure Firefox ESR
+RUN echo 'pref("datareporting.policy.firstRunURL", "");\npref("datareporting.policy.dataSubmissionEnabled", false);\npref("datareporting.healthreport.service.enabled", false);\npref("datareporting.healthreport.uploadEnabled", false);\npref("trailhead.firstrun.branches", "nofirstrun-empty");\npref("browser.aboutwelcome.enabled", false);' > /usr/lib/firefox-esr/browser/defaults/preferences/firefox.js && \
+ update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox-esr 100 && \
+ update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/bin/firefox-esr 100
# Install noVNC
RUN git clone https://github.com/trycua/noVNC.git /opt/noVNC && \
git clone https://github.com/novnc/websockify /opt/noVNC/utils/websockify && \
ln -s /opt/noVNC/vnc.html /opt/noVNC/index.html
-# Pre-create cache directory with correct ownership before pip install
-RUN mkdir -p /home/cua/.cache && \
- chown -R cua:cua /home/cua/.cache
-
-# Install computer-server and cua-agent
-RUN uv pip install --system cua-computer-server "cua-agent[cloud]>=0.7.35"
-
-# Install GTK and WebKit dependencies for pywebview
-RUN apt-get update && apt-get install -y \
- python3-gi \
- python3-gi-cairo \
- gir1.2-gtk-3.0 \
- gir1.2-webkit2-4.1 \
- libgirepository1.0-dev \
- libcairo2-dev \
- pkg-config \
- gobject-introspection \
- && rm -rf /var/lib/apt/lists/*
-
-# Install pywebview with GTK backend, used by cua-bench for web UIs
-RUN uv pip install --system "pywebview[gtk]"
-RUN uv pip install --system cua-bench-ui>=0.7.0 --no-cache-dir
-
-# Install playwright and Firefox dependencies
-RUN uv pip install --system playwright && \
- python3.12 -m playwright install --with-deps firefox
-
-# Fix any cache files created by pip
-RUN chown -R cua:cua /home/cua/.cache
+# Install Python packages into /opt/venv (Python 3.13)
+RUN uv pip install --python /opt/venv/bin/python3 \
+ cua-computer-server \
+ "cua-agent[all]" \
+ "pywebview[gtk]" \
+ "cua-bench-ui>=0.7.0" \
+ "aiohttp>=3.9.0" \
+ "aiofiles>=23.0.0" \
+ "websockets>=12.0" \
+ "rich>=14.2.0" \
+ "tqdm>=4.66.0" \
+ "jinja2>=3.1.0" \
+ "pyquery>=2.0.1" \
+ "html5lib>=1.1" \
+ "beautifulsoup4>=4.14.2" \
+ "pillow>=11.0.0" \
+ "numpy>=2.0.0" \
+ "python-dotenv>=1.0.0" \
+ "psutil>=5.9.0" \
+ "datasets>=3.0.0" \
+ "matplotlib>=3.8.0" \
+ "anthropic>=0.26.0"
# Copy startup scripts
COPY src/supervisor/ /etc/supervisor/conf.d/
COPY src/scripts/ /usr/local/bin/
-
-# Make scripts executable
RUN chmod +x /usr/local/bin/*.sh
-# Setup VNC
+# Set ownership and switch to cua user
RUN chown -R cua:cua /home/cua
USER cua
WORKDIR /home/cua
-# Create VNC directory (no password needed with SecurityTypes None)
+# Create VNC directory
RUN mkdir -p $HOME/.vnc
# Configure XFCE for first start
@@ -177,12 +151,10 @@ COPY --chown=cua:cua src/xfce-config/xfce4-power-manager.xml $HOME/.config/xfce4
RUN echo "[Desktop Entry]\nHidden=true" > $HOME/.config/autostart/xfce4-tips-autostart.desktop && \
echo "[Desktop Entry]\nHidden=true" > $HOME/.config/autostart/xfce4-screensaver.desktop && \
echo "[Desktop Entry]\nHidden=true" > $HOME/.config/autostart/light-locker.desktop && \
- echo "[Desktop Entry]\nHidden=true" > $HOME/.config/autostart/xfce4-power-manager.desktop && \
- chown -R cua:cua $HOME/.config
+ echo "[Desktop Entry]\nHidden=true" > $HOME/.config/autostart/xfce4-power-manager.desktop
-# Create storage and shared directories, and Firefox cache directory
-RUN mkdir -p $HOME/storage $HOME/shared $HOME/.cache/dconf $HOME/.mozilla/firefox && \
- chown -R cua:cua $HOME/storage $HOME/shared $HOME/.cache $HOME/.mozilla $HOME/.vnc
+# Create storage and shared directories
+RUN mkdir -p $HOME/storage $HOME/shared $HOME/.cache/dconf $HOME/.mozilla/firefox
USER root
diff --git a/libs/xfce/src/scripts/start-computer-server.sh b/libs/xfce/src/scripts/start-computer-server.sh
index e00a795d3f..c9d16da226 100644
--- a/libs/xfce/src/scripts/start-computer-server.sh
+++ b/libs/xfce/src/scripts/start-computer-server.sh
@@ -8,6 +8,6 @@ while ! xdpyinfo -display :1 >/dev/null 2>&1; do
done
echo "X server is ready"
-# Start computer-server
+# Start computer-server from the venv
export DISPLAY=:1
-python3.12 -m computer_server --port ${API_PORT:-8000}
+/opt/venv/bin/python3 -m computer_server --port ${API_PORT:-8000}