Skip to content

Add PTM90 legacy LLM demo script#19

Merged
Bol-C14 merged 1 commit intodev-feat-interactive-optimizationfrom
codex/verify-legacy-vs-current-implementation-consistency
Jan 30, 2026
Merged

Add PTM90 legacy LLM demo script#19
Bol-C14 merged 1 commit intodev-feat-interactive-optimizationfrom
codex/verify-legacy-vs-current-implementation-consistency

Conversation

@Bol-C14
Copy link
Copy Markdown
Owner

@Bol-C14 Bol-C14 commented Jan 30, 2026

Motivation

  • Provide a runnable demo that preserves the legacy natural-language UX by mapping NL optimization requests into legacy target_values using an LLM.
  • Give a concrete PTM90 example netlist and bundled model file so the demo can run include-safe in examples/.
  • Help validate the legacy patch-only pipeline by wiring the mapped targets into LegacyPolicyLoopStrategy for a complete end-to-end example.

Description

  • Add examples/run_legacy_ptm90_llm.py, a CLI demo that builds an LLMRequest to translate a free-text question into legacy target_values, calls LLMCallOperator, and runs LegacyPolicyLoopStrategy with the mapped targets.
  • Add example circuit files examples/circuits/ptm90_basic_amp.sp and examples/circuits/ptm_90.txt to provide a PTM90 netlist and bundled model for safe .include usage.
  • Provide a default mock LLM response (DEFAULT_MOCK_TARGETS) and request-building logic that sets response_schema_name="legacy_target_values" so the demo can run with --provider mock out of the box.
  • Add developer notes in docs/devlog/2026-02-15_1200_legacy_ptm90_demo.md describing how to run the demo and its purpose.

Testing

  • No automated tests were run for this change (examples and docs only).

Codex Task

@Bol-C14 Bol-C14 merged commit b128567 into dev-feat-interactive-optimization Jan 30, 2026
1 check failed
@Bol-C14 Bol-C14 deleted the codex/verify-legacy-vs-current-implementation-consistency branch January 31, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant