cmpnd 0.114.2__tar.gz → 0.115.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cmpnd-0.114.2 → cmpnd-0.115.0}/PKG-INFO +13 -4
- {cmpnd-0.114.2 → cmpnd-0.115.0}/README.md +12 -3
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/optimizations.py +38 -3
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/client.py +31 -6
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimization.py +40 -7
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/SKILL.md +6 -2
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/optimize.py +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/program.py +0 -2
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/task_gpt5mini.py +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/task_haiku.py +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/deploy.md +3 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/dspy.md +63 -12
- cmpnd-0.115.0/cmpnd/skill_bundle/references/evals.md +76 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/feedback.md +2 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/gaps.md +1 -2
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/observe.md +2 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/optimize.md +31 -24
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/setup.md +3 -2
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/references/tools.md +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/cli.md +24 -6
- {cmpnd-0.114.2 → cmpnd-0.115.0}/pyproject.toml +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_continuation.py +25 -2
- cmpnd-0.115.0/tests/real_models/_agent.py +167 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_skill_agent.py +6 -125
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_optimizations.py +55 -2
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize.py +64 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/uv.lock +1 -1
- {cmpnd-0.114.2 → cmpnd-0.115.0}/.gitignore +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/AGENTS.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/CLAUDE.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/LINEAGE.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_account.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_assessments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_authored_import.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_deployments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_exporter_pool.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_gepa_patch.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_http.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_label_vocabulary.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_program_patch.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_provider_types.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_provider_writes.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_reanchor_evidence.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_reanchor_patch.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_runtime_tools.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_timespec.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/_valsets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/authored.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/api_client.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/admin.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/assessments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/auth.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/datasets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/deployments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/evals.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/feedback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/kernel_lines.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/labels.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/login.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/org.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/provider_credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/providers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/skill.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/tool_servers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/top.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/commands/valsets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/deprecation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/label_args.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/pagination.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/shell.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/_vendor/drskill/LICENSE +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/_vendor/drskill/VENDOR.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/_vendor/drskill/harnesses.toml +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/agents.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/bundle.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/install.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/skill/offer.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/trace_render.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/tree_help.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/verbs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/cli/views.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/configuration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/context.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/dataset_sync.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/datasets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/decorators.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/deployment.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/deployment_metadata.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/deployment_runs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/eval_handler.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/execution.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/exporter.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/exporter_http.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/field_types.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/helpers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/imaging.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/decode.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/encode.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/hash.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/program.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/reflection.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/types.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/ir/xxh64.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/kernel_lines.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/labels.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/lm_configuration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/mcp_servers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/models.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/named_programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimizers/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimizers/gepa.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimizers/gepa_callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimizers/resume.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/optimizers/tracker.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/packaging.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/program_evals.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/program_naming.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/references.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/retry.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/data/train.jsonl +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/data/val.jsonl +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/examples/support_triage/task.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/skill_bundle/scripts/tools_block.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd/versions.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/LINEAGE.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/bodies.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/client_floor.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/exporter_http.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/network.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/process_local.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/program_names.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/protocols.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/py.typed +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/queue_budget.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/record_stream.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/rejections.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/retry.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/run_closed.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/sender.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/span_context.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/storable.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/trace_facts.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/cmpnd_ingest/user_agent.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/2026-04-02-code-review.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/client.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/custom-proposer.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/ingest-transport.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/plans/2026-04-05-train-val-dataset-capture-design.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/plans/2026-04-05-train-val-dataset-capture.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/platform-evals.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/reading-traces.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/sdk-instrumentation.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/docs/versions.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/examples/generalizing_proposer.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/examples/local_ollama.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/audit-sdist.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/capture_review_run.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/check-pip-install.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/check_release_artifacts.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/export-bedrock-token.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/fixtures/review_run.json.gz +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/fork-matrix.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/gepa_resume_bug.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/install-test-env.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/record_gepa_events.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/release-gate.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/release-real-models.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/require_version_bump.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/seed_review_run.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/selfhost_compat.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/scripts/test-in-linux.sh +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/__init__.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/primitives/__init__.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/primitives/prediction.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/utils/__init__.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/utils/callback.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/stubs/dspy/utils/dummies.pyi +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_credential_route.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_deployment_signature_helpers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_exporter_helpers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_fake_clock.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_fresh_interpreter.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_identity_helpers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_resolve_refs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/_traced_run.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/dspy_features.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/committee_task.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/continuation_task.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/data/committee_train.ndjson.gz +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/data/committee_val.ndjson.gz +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/fake_lm.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/helpers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/target_capabilities.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_assessments_cli.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_capture_prompts.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_composite_module.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_dataset_auto_creation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_deploy_execute.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_deploy_pandas.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_deploy_programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_edge_cases.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_example_hash.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_gepa_optimization.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_interpreter_spans.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_lm_accuracy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_module_tracing.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimization_lineage.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimization_metric_identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_authored_metric.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_custom_proposer.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_failures.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_loop.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_review_committee.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_optimize_server_owned_completion.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_parallel_export.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_program_versions.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_project_attribution.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_react_tool_spans.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_reanchor_optimization.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_save_load.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_trace_structure.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_traces_read.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_user_attribution.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/e2e/test_valsets_cli.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/gepa_record_fixture.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/01_predict_qa.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/02_predict_renamed_field.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/03_chain_of_thought_qa.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/04_predict_richer_types.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/05_composite_two_predicts.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/06_multichaincomparison.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/07_program_of_thought.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/08_opaque_module.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/09_predict_pydantic_field.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/10_react.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/11_refine.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/12_retrieve.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/13_knn.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/14_parallel.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/identity_vectors/README.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/ingest_conformance.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/authored_optimize/judge.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/authored_optimize/optimize_hosted.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/hosted_mcp_tool_optimize_probe.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/hosted_optimize_probe.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/optimization_run_probe.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/system_one_deployment.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/test_cli_deploy_smoketest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/test_logs_renders_traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/test_optimization_run.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/test_optimizing_progress.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/integration/test_unhappy_path.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/lm15_prompt_fixture.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/lm15_prompts/four_turn_predict.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/lm15_prompts/rlm_six_turns.json +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/__main__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/drain.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/ingest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/latency_transport.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/rlm_shape.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/rlm_size_report.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/README.md +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/asgi_app.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/baseline.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/drive_server.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/exits.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/outage.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/outage_proxy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/pools.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/program.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sender/verify.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/sweep.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/test_rlm_shape.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/load/test_rlm_size_report.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/seed_parity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_auth.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_datasets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_deployments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_evals.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_health.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_modules.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_optimizations.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_signatures.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_trace_streaming.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/parity/test_traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/_provider.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/_readiness.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/_reliability.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/_result.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/mint_bedrock_token.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_bedrock_converse.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_deploy_programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_multi_client_stress.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_optimize_client_committee.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_optimize_continuation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_optimize_loop.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_optimize_loop_wasm.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_optimize_stress.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_provider_roles.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_readiness.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_real_provider_twins.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_reliability.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_reliability_classify.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_rlm_wasm.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/real_models/test_trace_search.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/span_reference_fixture.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_adapter_reentrancy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_assessments_api.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_binding_credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_bundle_collisions.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_eval.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_metric_contract.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_named_models.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_authored_optimize.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_candidate_lineage.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_check_release_artifacts.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_admin.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_api_client.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_assessments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_auth.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_datasets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_deployment_runs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_deployments.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_evals.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_feedback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_json_flag.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_login.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_main.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_org.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_org_support.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_pagination.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_parity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_programs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_provider_credentials.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_provider_flags.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_providers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_schema_sample.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_shell.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_skill.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_skill_offer.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_tool_servers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_top.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_traces.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_traces_program_and_module.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_traces_query_needs_program.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_traces_search_wire.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_tree_help.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cli/test_valsets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_client.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_client_floor.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_client_program_names.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_clustering/__init__.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_clustering/conftest.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_clustering/test_edge_cases.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_clustering/test_hash_consistency.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_cmp551_grouping_identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_configuration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_context.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_context_propagation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_credential_kwargs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_credential_selection.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_dataset_polling.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_dataset_sync.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_datasets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_decision_client_spans.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_decorators.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deploy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deploy_mcp_tool_references.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deploy_program_id.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deployment_metadata.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deployment_runs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deployment_targets.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_deployments_read.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_dspy_version_label.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval_example_attribution.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval_example_failures.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval_program_id.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval_start.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_eval_trace_grouping.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exception_paths.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_execute.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_execute_run_identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter_fork_exec.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter_program_names.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter_queue.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter_real.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_exporter_rejections.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_fake_lm.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_field_types.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_forward_access_warning.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_gepa_callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_gepa_fold.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_gepa_integration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_gepa_output_normalization.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_gepa_resume.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_imaging.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_import_weight.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_ingest_conformance.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_ingest_transport.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_integration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_interpreter_callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_ir_encoder_properties.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_ir_golden_vectors.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_ir_roundtrip.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_kernel_lines.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_label_vocabulary.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_lm15_native_calls.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_lm15_prompt_fixtures.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_lm15_prompt_references.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_lm_configuration.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_lm_usage_shapes.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_mcp_tools.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_model_list_protocol.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_models.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_multi_client_stress_readiness.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_no_signature_hash_on_the_wire.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimization_phase_callback.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimization_program_names.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimization_progress.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimization_start.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_budget.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_gepa_settings.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_labels.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_lift.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_lm_model_type.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_lms.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_proposer.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_reflection_lm.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_split.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_optimize_terminal_failure.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_owned_trace_streaming.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_packaging.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_packaging_callable_source.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_packaging_mcp_tools.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_packaging_program_source.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_poll_until.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_process_local.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_evals.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_id_deprecation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_identity.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_lineage_persist.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_lm_binding.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_names_in_deploy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_program_naming.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_programs_create.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_project_payload.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_provider_keyword.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_provider_models.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_provider_types.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_provider_values.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_provider_writes.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_queue_budget.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_real_provider_twins_readiness.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_reanchor_evidence.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_reanchor_patch.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_reflector_properties.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_reflector_smoke.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_release_gate_script.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_release_real_models_script.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_replaced_names.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_repro_reactv2_bugs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_require_version_bump.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_retry.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_reversible_failures.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_rlm_tool_spans.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_run_attribution_paths.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_run_closed.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_runtime_tools.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_schemas.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_seal_lm_credential.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_seed_review_run.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_sender_scenarios.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_sending_settings.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_signature_inputs.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_skill_bundle.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_skill_tools_block.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_span_references.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_span_sent_once.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_span_submission.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_span_submission_wire_contract.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_stored_login.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_system_one.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_token_attribution.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_trace_context_concurrency.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_trace_fact_wire_contract.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_trace_facts.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_trace_labels.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_trace_render.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_traces_label_search_busy.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_traces_query_needs_program.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_traces_read.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_tracked_gepa.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_tracker_enrich.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_truncation.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_untraced_spans.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_upload_auth_headers.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_usage_dialect.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_user_agent.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_valsets_api.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_versions.py +0 -0
- {cmpnd-0.114.2 → cmpnd-0.115.0}/tests/test_xxh64.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cmpnd
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.115.0
|
|
4
4
|
Summary: DSPy observability and deployment SDK for cmpnd
|
|
5
5
|
Project-URL: Homepage, https://cmpnd.ai
|
|
6
6
|
Author-email: cmpnd <hello@cmpnd.ai>
|
|
@@ -625,6 +625,14 @@ for model in ["openai/gpt-4o-mini", "openai/gpt-4.1-nano"]:
|
|
|
625
625
|
print(model, swept.score)
|
|
626
626
|
```
|
|
627
627
|
|
|
628
|
+
`reflection_model=` proposes the new run's instructions with another model, and
|
|
629
|
+
`reflection_provider=` names the provider it spends. The student model stays
|
|
630
|
+
as it was:
|
|
631
|
+
|
|
632
|
+
```python
|
|
633
|
+
rethought = sdk.continue_optimization(best, reflection_model="openai/gpt-5", auto="light")
|
|
634
|
+
```
|
|
635
|
+
|
|
628
636
|
A refusal raises `cmpnd.OptimizeError`, whose `error_code` says why, such as
|
|
629
637
|
`not_completed`, `unknown_candidate` or `no_credential`.
|
|
630
638
|
|
|
@@ -913,9 +921,10 @@ as a plain object.
|
|
|
913
921
|
found. It raises `cmpnd.OptimizeError` or `cmpnd.OptimizeFailed` on failure.
|
|
914
922
|
- `list_candidates(run_id)` returns a run's candidates as dicts, each with its
|
|
915
923
|
`ca_` id, score, parent and instructions.
|
|
916
|
-
- `continue_optimization(run, candidate=None, model=None, provider=None,
|
|
917
|
-
|
|
918
|
-
|
|
924
|
+
- `continue_optimization(run, candidate=None, model=None, provider=None,
|
|
925
|
+
reflection_model=None, reflection_provider=None, ...)` runs a new
|
|
926
|
+
optimization from one candidate of a completed run, with that run's data and
|
|
927
|
+
a new budget, optionally on another student or reflection model, and returns
|
|
919
928
|
its best `DeployedProgram`.
|
|
920
929
|
- `list_traces(**filters)` and `get_trace(trace_id)` read traces with the
|
|
921
930
|
client's credentials. They flush the client's traces first.
|
|
@@ -571,6 +571,14 @@ for model in ["openai/gpt-4o-mini", "openai/gpt-4.1-nano"]:
|
|
|
571
571
|
print(model, swept.score)
|
|
572
572
|
```
|
|
573
573
|
|
|
574
|
+
`reflection_model=` proposes the new run's instructions with another model, and
|
|
575
|
+
`reflection_provider=` names the provider it spends. The student model stays
|
|
576
|
+
as it was:
|
|
577
|
+
|
|
578
|
+
```python
|
|
579
|
+
rethought = sdk.continue_optimization(best, reflection_model="openai/gpt-5", auto="light")
|
|
580
|
+
```
|
|
581
|
+
|
|
574
582
|
A refusal raises `cmpnd.OptimizeError`, whose `error_code` says why, such as
|
|
575
583
|
`not_completed`, `unknown_candidate` or `no_credential`.
|
|
576
584
|
|
|
@@ -859,9 +867,10 @@ as a plain object.
|
|
|
859
867
|
found. It raises `cmpnd.OptimizeError` or `cmpnd.OptimizeFailed` on failure.
|
|
860
868
|
- `list_candidates(run_id)` returns a run's candidates as dicts, each with its
|
|
861
869
|
`ca_` id, score, parent and instructions.
|
|
862
|
-
- `continue_optimization(run, candidate=None, model=None, provider=None,
|
|
863
|
-
|
|
864
|
-
|
|
870
|
+
- `continue_optimization(run, candidate=None, model=None, provider=None,
|
|
871
|
+
reflection_model=None, reflection_provider=None, ...)` runs a new
|
|
872
|
+
optimization from one candidate of a completed run, with that run's data and
|
|
873
|
+
a new budget, optionally on another student or reflection model, and returns
|
|
865
874
|
its best `DeployedProgram`.
|
|
866
875
|
- `list_traces(**filters)` and `get_trace(trace_id)` read traces with the
|
|
867
876
|
client's credentials. They flush the client's traces first.
|
|
@@ -110,7 +110,8 @@ def register(subparsers: _SubParsersAction[ArgumentParser]) -> None:
|
|
|
110
110
|
cont = sub.add_parser(
|
|
111
111
|
"continue",
|
|
112
112
|
help="Run a new optimization from one candidate of a completed run. It reuses that run's data, models "
|
|
113
|
-
"and credentials, and takes a new budget. --model runs the candidate on another student model"
|
|
113
|
+
"and credentials, and takes a new budget. --model runs the candidate on another student model, and "
|
|
114
|
+
"--reflection-model proposes its instructions with another model",
|
|
114
115
|
)
|
|
115
116
|
cont.add_argument("id", help="Completed optimization run ID (op_...)")
|
|
116
117
|
cont.add_argument(
|
|
@@ -133,6 +134,21 @@ def register(subparsers: _SubParsersAction[ArgumentParser]) -> None:
|
|
|
133
134
|
"`cmpnd providers list` shows the names",
|
|
134
135
|
)
|
|
135
136
|
deprecation.renamed_flag(cont, "--credential", "--provider", dest="credential", metavar="NAME")
|
|
137
|
+
cont.add_argument(
|
|
138
|
+
"--reflection-model",
|
|
139
|
+
dest="reflection_model",
|
|
140
|
+
default=None,
|
|
141
|
+
help="The model that proposes the new run's instructions, for example openai/gpt-5 (default: the "
|
|
142
|
+
"completed run's). The new run keeps the completed run's reflection sampling",
|
|
143
|
+
)
|
|
144
|
+
cont.add_argument(
|
|
145
|
+
"--reflection-provider",
|
|
146
|
+
dest="reflection_provider",
|
|
147
|
+
metavar="NAME",
|
|
148
|
+
default=None,
|
|
149
|
+
help="The provider the reflection model spends (default: the one the completed run's reflection model "
|
|
150
|
+
"spent). `cmpnd providers list` shows the names",
|
|
151
|
+
)
|
|
136
152
|
# The budget flags are `cmpnd optimize`'s, and the SDK refuses a run with none or two,
|
|
137
153
|
# so both commands answer a missing budget the same way.
|
|
138
154
|
cont.add_argument(
|
|
@@ -445,7 +461,9 @@ def handle_continue(client: api_client.ApiClient, args: Any) -> Any:
|
|
|
445
461
|
"""Run a new optimization from one candidate of a completed run, as `cmpnd optimize` runs one.
|
|
446
462
|
|
|
447
463
|
The new run reuses the completed run's data and configuration and takes a new budget.
|
|
448
|
-
`--model` and `--provider` run the candidate on another student model
|
|
464
|
+
`--model` and `--provider` run the candidate on another student model, and
|
|
465
|
+
`--reflection-model` and `--reflection-provider` propose its instructions with another
|
|
466
|
+
model. The command
|
|
449
467
|
names the candidate it starts from, waits for the run, and prints the best program as
|
|
450
468
|
`cmpnd optimize` does. `--async` returns the queued run instead. `--label` labels
|
|
451
469
|
the new run's traces in place of the completed run's labels.
|
|
@@ -456,6 +474,12 @@ def handle_continue(client: api_client.ApiClient, args: Any) -> Any:
|
|
|
456
474
|
credential_name = deprecation.renamed_value(args, "provider", "credential", new="--provider", old="--credential")
|
|
457
475
|
if credential_name is not None:
|
|
458
476
|
credential_name = top._ProviderLookup(client)(f"--provider {credential_name}", credential_name).name
|
|
477
|
+
reflection_credential_name = getattr(args, "reflection_provider", None)
|
|
478
|
+
if reflection_credential_name is not None:
|
|
479
|
+
reflection_credential_name = top._ProviderLookup(client)(
|
|
480
|
+
f"--reflection-provider {reflection_credential_name}", reflection_credential_name
|
|
481
|
+
).name
|
|
482
|
+
reflection_model = getattr(args, "reflection_model", None)
|
|
459
483
|
cfg = top.sdk_config(client)
|
|
460
484
|
try:
|
|
461
485
|
started = optimization.start_continuation(
|
|
@@ -464,6 +488,8 @@ def handle_continue(client: api_client.ApiClient, args: Any) -> Any:
|
|
|
464
488
|
candidate=args.candidate,
|
|
465
489
|
model=args.model,
|
|
466
490
|
credential_name=credential_name,
|
|
491
|
+
reflection_model=reflection_model,
|
|
492
|
+
reflection_credential_name=reflection_credential_name,
|
|
467
493
|
max_metric_calls=args.max_metric_calls,
|
|
468
494
|
auto=args.auto,
|
|
469
495
|
labels=labels,
|
|
@@ -490,6 +516,11 @@ def handle_continue(client: api_client.ApiClient, args: Any) -> Any:
|
|
|
490
516
|
top._c(f"on {started.get('model')} with the provider {started.get('credential_name')}", "dim"),
|
|
491
517
|
file=sys.stderr,
|
|
492
518
|
)
|
|
519
|
+
if reflection_model is not None or reflection_credential_name is not None:
|
|
520
|
+
reflecting = f"reflecting with {started.get('reflection_model')}"
|
|
521
|
+
if started.get("reflection_credential_name"):
|
|
522
|
+
reflecting += f" on the provider {started.get('reflection_credential_name')}"
|
|
523
|
+
print(top._c(reflecting, "dim"), file=sys.stderr)
|
|
493
524
|
print(top._c(f"optimizing with {started.get('optimizer')}…", "dim"), file=sys.stderr)
|
|
494
525
|
try:
|
|
495
526
|
result = optimization.wait_for_continuation(started, cfg=cfg)
|
|
@@ -502,7 +533,11 @@ def handle_continue(client: api_client.ApiClient, args: Any) -> Any:
|
|
|
502
533
|
"optimization_id": started.get("optimization_id"),
|
|
503
534
|
"continued_from_run_id": started.get("continued_from_run_id"),
|
|
504
535
|
"continued_from_candidate_id": started.get("continued_from_candidate_id"),
|
|
505
|
-
**{
|
|
536
|
+
**{
|
|
537
|
+
key: started[key]
|
|
538
|
+
for key in ("model", "credential_name", "reflection_model", "reflection_credential_name")
|
|
539
|
+
if key in started
|
|
540
|
+
},
|
|
506
541
|
},
|
|
507
542
|
)
|
|
508
543
|
return None
|
|
@@ -931,6 +931,8 @@ class Client:
|
|
|
931
931
|
model: str | None = None,
|
|
932
932
|
provider: credentials.Provider | None = None,
|
|
933
933
|
credential: credentials.Provider | None = None,
|
|
934
|
+
reflection_model: str | None = None,
|
|
935
|
+
reflection_provider: credentials.Provider | None = None,
|
|
934
936
|
max_metric_calls: int | None = None,
|
|
935
937
|
auto: str | None = None,
|
|
936
938
|
poll_interval: float = 3.0,
|
|
@@ -954,6 +956,12 @@ class Client:
|
|
|
954
956
|
swept = client.continue_optimization(best, model=model, auto="light")
|
|
955
957
|
print(model, swept.score)
|
|
956
958
|
|
|
959
|
+
With ``reflection_model``, the new run proposes its instructions with that model
|
|
960
|
+
instead of the completed run's. The candidate's program never calls the
|
|
961
|
+
reflection model, so the student model stays as it was::
|
|
962
|
+
|
|
963
|
+
rethought = client.continue_optimization(best, reflection_model="openai/gpt-5", auto="light")
|
|
964
|
+
|
|
957
965
|
Args:
|
|
958
966
|
run: The completed run's ``op_`` id, or the ``DeployedProgram`` an
|
|
959
967
|
optimization returned.
|
|
@@ -962,12 +970,20 @@ class Client:
|
|
|
962
970
|
default is the run's best.
|
|
963
971
|
model: The student model the new run spends, as a deploy records it, for
|
|
964
972
|
example ``"openai/gpt-4o-mini"``. The default is the completed run's.
|
|
965
|
-
Only the program's own model changes: a predictor with its own LM
|
|
966
|
-
run's ``lms``
|
|
967
|
-
|
|
973
|
+
Only the program's own model changes: a predictor with its own LM and
|
|
974
|
+
the run's ``lms`` stay as the completed run had them, and the
|
|
975
|
+
reflection model changes only through ``reflection_model``.
|
|
968
976
|
provider: The provider the student model spends, from
|
|
969
977
|
``client.get_provider(NAME)``. The default is the completed run's.
|
|
970
978
|
credential: Deprecated name of ``provider``. It still works and warns.
|
|
979
|
+
reflection_model: The model that proposes the new run's instructions, for
|
|
980
|
+
example ``"openai/gpt-5"``. The default is the completed run's. The new
|
|
981
|
+
run keeps the completed run's reflection sampling, such as its
|
|
982
|
+
``max_tokens``.
|
|
983
|
+
reflection_provider: The provider the reflection model spends, from
|
|
984
|
+
``client.get_provider(NAME)``. The default is the provider the
|
|
985
|
+
completed run's reflection model spent, even when ``provider`` moves
|
|
986
|
+
the student to another.
|
|
971
987
|
max_metric_calls: The budget as a ceiling on metric calls. Pass this or
|
|
972
988
|
``auto``, exactly one.
|
|
973
989
|
auto: The budget as ``"light"``, ``"medium"`` or ``"heavy"``.
|
|
@@ -984,16 +1000,23 @@ class Client:
|
|
|
984
1000
|
Raises:
|
|
985
1001
|
ValueError: No budget or two budgets, a ``DeployedProgram`` that no
|
|
986
1002
|
optimization produced, or a label that breaks a label rule.
|
|
987
|
-
TypeError: ``provider`` is a string, or both
|
|
988
|
-
``credential`` are given. Look a provider up with
|
|
1003
|
+
TypeError: ``provider`` or ``reflection_provider`` is a string, or both
|
|
1004
|
+
``provider`` and ``credential`` are given. Look a provider up with
|
|
1005
|
+
``get_provider``.
|
|
989
1006
|
OptimizeError: The platform refused the continuation. Its ``error_code``
|
|
990
1007
|
says why, for example ``not_completed``, ``unknown_candidate`` or
|
|
991
|
-
``no_credential``.
|
|
1008
|
+
``no_credential``. A platform that predates ``reflection_model``
|
|
1009
|
+
ignores it and starts the run on the completed run's reflection
|
|
1010
|
+
model, so this raises ``reflection_model_unsupported``, naming that
|
|
1011
|
+
run in ``optimization_id`` to cancel.
|
|
992
1012
|
OptimizeFailed: The new run transitioned to ``status="failed"``.
|
|
993
1013
|
"""
|
|
994
1014
|
self._check_active()
|
|
995
1015
|
chosen = credentials.chosen(provider, credential, "cmpnd.Client.continue_optimization")
|
|
996
1016
|
credential_name = credentials.name_of(chosen, "cmpnd.Client.continue_optimization(provider=)")
|
|
1017
|
+
reflection_credential_name = credentials.name_of(
|
|
1018
|
+
reflection_provider, "cmpnd.Client.continue_optimization(reflection_provider=)"
|
|
1019
|
+
)
|
|
997
1020
|
from . import execution, optimization
|
|
998
1021
|
|
|
999
1022
|
run_id = run.optimization_run_id if isinstance(run, execution.DeployedProgram) else run
|
|
@@ -1007,6 +1030,8 @@ class Client:
|
|
|
1007
1030
|
candidate=candidate,
|
|
1008
1031
|
model=model,
|
|
1009
1032
|
credential_name=credential_name,
|
|
1033
|
+
reflection_model=reflection_model,
|
|
1034
|
+
reflection_credential_name=reflection_credential_name,
|
|
1010
1035
|
max_metric_calls=max_metric_calls,
|
|
1011
1036
|
auto=auto,
|
|
1012
1037
|
poll_interval=poll_interval,
|
|
@@ -1241,6 +1241,8 @@ def start_continuation(
|
|
|
1241
1241
|
candidate: str | None = None,
|
|
1242
1242
|
model: str | None = None,
|
|
1243
1243
|
credential_name: str | None = None,
|
|
1244
|
+
reflection_model: str | None = None,
|
|
1245
|
+
reflection_credential_name: str | None = None,
|
|
1244
1246
|
max_metric_calls: int | None = None,
|
|
1245
1247
|
auto: str | None = None,
|
|
1246
1248
|
labels: object = None,
|
|
@@ -1248,12 +1250,13 @@ def start_continuation(
|
|
|
1248
1250
|
"""Start a run from one candidate of the completed run ``run_id``, and return serve's answer.
|
|
1249
1251
|
|
|
1250
1252
|
The answer names the new run (``optimization_id``), its deployment and optimizer, the
|
|
1251
|
-
run and ``ca_`` candidate it continues, the candidate's score and instructions,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
run's, and ``labels
|
|
1253
|
+
run and ``ca_`` candidate it continues, the candidate's score and instructions, the
|
|
1254
|
+
``model`` and ``credential_name`` the run spends, and its ``reflection_model`` and
|
|
1255
|
+
``reflection_credential_name``. Serve deploys the candidate and reuses the parent's
|
|
1256
|
+
evaluation data and configuration, so the request carries only the candidate, the
|
|
1257
|
+
budget, an optional student model and credential, an optional reflection model and
|
|
1258
|
+
credential and the run's labels, and nothing is uploaded. Without ``labels`` the run
|
|
1259
|
+
carries the completed run's, and ``labels={}`` starts it with none.
|
|
1257
1260
|
"""
|
|
1258
1261
|
run_labels = _run_labels(labels)
|
|
1259
1262
|
body: dict[str, Any] = {}
|
|
@@ -1264,6 +1267,10 @@ def start_continuation(
|
|
|
1264
1267
|
body["model"] = model
|
|
1265
1268
|
if credential_name is not None:
|
|
1266
1269
|
body["credential_name"] = credential_name
|
|
1270
|
+
if reflection_model is not None:
|
|
1271
|
+
body["reflection_model"] = reflection_model
|
|
1272
|
+
if reflection_credential_name is not None:
|
|
1273
|
+
body["reflection_credential_name"] = reflection_credential_name
|
|
1267
1274
|
if run_labels is not None:
|
|
1268
1275
|
body["labels"] = run_labels
|
|
1269
1276
|
headers = {"X-API-Key": cfg.api_key, "Content-Type": "application/json"}
|
|
@@ -1279,7 +1286,29 @@ def start_continuation(
|
|
|
1279
1286
|
)
|
|
1280
1287
|
if not resp.is_success:
|
|
1281
1288
|
raise OptimizeError.refused(what, resp)
|
|
1282
|
-
|
|
1289
|
+
answer = resp.json()
|
|
1290
|
+
if (reflection_model is not None or reflection_credential_name is not None) and "reflection_model" not in answer:
|
|
1291
|
+
_refuse_unreflected_continuation(answer)
|
|
1292
|
+
return answer
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
def _refuse_unreflected_continuation(answer: dict[str, Any]) -> None:
|
|
1296
|
+
"""Raise for a continuation an older platform started on its parent's reflection model.
|
|
1297
|
+
|
|
1298
|
+
Serve's answer names ``reflection_model``. A platform that predates the field ignores
|
|
1299
|
+
it in the request, starts the run on the completed run's reflection model, and its
|
|
1300
|
+
answer names none. The error names that run and how to stop it.
|
|
1301
|
+
"""
|
|
1302
|
+
run = answer.get("optimization_id")
|
|
1303
|
+
run_id = run if isinstance(run, str) and run else None
|
|
1304
|
+
stop = f" Stop it with `cmpnd optimizations cancel {run_id}`." if run_id else ""
|
|
1305
|
+
raise OptimizeError(
|
|
1306
|
+
f"this platform predates choosing a continuation's reflection model, so it started {run_id or 'a run'} "
|
|
1307
|
+
f"on the completed run's reflection model.{stop} Continue without reflection_model and "
|
|
1308
|
+
"reflection_provider, or ask the platform's operator to upgrade.",
|
|
1309
|
+
error_code="reflection_model_unsupported",
|
|
1310
|
+
optimization_id=run_id,
|
|
1311
|
+
)
|
|
1283
1312
|
|
|
1284
1313
|
|
|
1285
1314
|
def wait_for_continuation(
|
|
@@ -1374,6 +1403,8 @@ def continue_optimization(
|
|
|
1374
1403
|
candidate: str | None = None,
|
|
1375
1404
|
model: str | None = None,
|
|
1376
1405
|
credential_name: str | None = None,
|
|
1406
|
+
reflection_model: str | None = None,
|
|
1407
|
+
reflection_credential_name: str | None = None,
|
|
1377
1408
|
max_metric_calls: int | None = None,
|
|
1378
1409
|
auto: str | None = None,
|
|
1379
1410
|
poll_interval: float = 3.0,
|
|
@@ -1390,6 +1421,8 @@ def continue_optimization(
|
|
|
1390
1421
|
candidate=candidate,
|
|
1391
1422
|
model=model,
|
|
1392
1423
|
credential_name=credential_name,
|
|
1424
|
+
reflection_model=reflection_model,
|
|
1425
|
+
reflection_credential_name=reflection_credential_name,
|
|
1393
1426
|
max_metric_calls=max_metric_calls,
|
|
1394
1427
|
auto=auto,
|
|
1395
1428
|
labels=labels,
|
|
@@ -40,9 +40,10 @@ skill that matches their CLI. Inside a project, `cmpnd skill install
|
|
|
40
40
|
| Task | Read |
|
|
41
41
|
|---|---|
|
|
42
42
|
| Install the CLI, log in, add a model provider key, use an OpenAI-compatible API such as LunaRoute, set up a project | `references/setup.md` |
|
|
43
|
-
| Write or change a DSPy program, signature, metric or dataset | `references/dspy.md` |
|
|
43
|
+
| Write or change a DSPy program, signature, metric or dataset, or give a program MCP tools | `references/dspy.md` |
|
|
44
44
|
| Trace a local experiment, or read traces, evals and optimization runs | `references/observe.md` |
|
|
45
45
|
| Deploy a program, add a new version, or pick which version is current | `references/deploy.md` |
|
|
46
|
+
| Score deployed versions on one fixed set of examples, to compare them | `references/evals.md` |
|
|
46
47
|
| Optimize a program locally or on Cmpnd, try new models, compare runs | `references/optimize.md` |
|
|
47
48
|
| Build a program for agents to call, or update the tools list in CLAUDE.md / AGENTS.md | `references/tools.md` |
|
|
48
49
|
| Call a tool and record the user's feedback on its output, or send the user's feedback about Cmpnd | `references/feedback.md` |
|
|
@@ -129,9 +130,12 @@ asks what Cmpnd tools exist, or a task might match one, read it, or run
|
|
|
129
130
|
tools' configs or the environment for one. If a key is missing, say which
|
|
130
131
|
and where it goes (`setup.md`).
|
|
131
132
|
- **Ask before creating any key, and wait for the answer.**
|
|
132
|
-
- **Module: `dspy.Predict` by default.** `dspy.
|
|
133
|
+
- **Module: `dspy.Predict` by default.** `dspy.ReAct` only when the
|
|
133
134
|
program needs tools, `dspy.RLM` only when inputs are too long for the
|
|
134
135
|
model's context. **Never `dspy.ChainOfThought`**, and never offer it.
|
|
136
|
+
- **Tools always use native tool calls** unless the user asks otherwise. Any
|
|
137
|
+
adapter you construct for a tool program passes
|
|
138
|
+
`use_native_function_calling=True`. See `dspy.md`, "Adapter".
|
|
135
139
|
- **The user chooses the model.** Never pick one from memory or from another
|
|
136
140
|
repo. See `dspy.md`, "Model".
|
|
137
141
|
- **The user decides which version is current.** A program's default tag
|
|
@@ -14,7 +14,7 @@ triage = cmpnd.Program("support-triage", module=program, lm=lm)
|
|
|
14
14
|
gepa = dspy.GEPA(
|
|
15
15
|
metric=metric,
|
|
16
16
|
auto="light",
|
|
17
|
-
reflection_lm=dspy.LM("openai/gpt-5"
|
|
17
|
+
reflection_lm=dspy.LM("openai/gpt-5"),
|
|
18
18
|
num_threads=8,
|
|
19
19
|
track_stats=True,
|
|
20
20
|
)
|
|
@@ -9,4 +9,4 @@ cmpnd optimize gepa task_haiku.py support-triage \
|
|
|
9
9
|
|
|
10
10
|
from task import build, metric, trainset, valset # noqa: F401 (the run reads these names)
|
|
11
11
|
|
|
12
|
-
program = build("anthropic/claude-haiku-5-5"
|
|
12
|
+
program = build("anthropic/claude-haiku-5-5")
|
|
@@ -9,7 +9,9 @@ program name. Cmpnd hosts it as a **deployment** with an id like `d_…`.
|
|
|
9
9
|
1. **The program works locally.** Run it on a few real inputs and show the
|
|
10
10
|
user the outputs.
|
|
11
11
|
2. **The organization has a provider** for the program's model:
|
|
12
|
-
`cmpnd providers list --text`. If not, see `setup.md`.
|
|
12
|
+
`cmpnd providers list --text`. If not, see `setup.md`.
|
|
13
|
+
`cmpnd providers models NAME` lists the models a provider's key can call.
|
|
14
|
+
A System One model,
|
|
13
15
|
such as `dspy.LM("typesafe:jev-latest")` on DSPy 3.5, needs a provider that
|
|
14
16
|
serves `system_one`, such as `--provider typesafe`.
|
|
15
17
|
3. **`program.py` follows the rules** in `dspy.md`, "The deployable file".
|
|
@@ -43,7 +43,7 @@ Pick the module by what the task needs, in this order:
|
|
|
43
43
|
| The task | Module |
|
|
44
44
|
|---|---|
|
|
45
45
|
| Default: one model call from inputs to outputs | `dspy.Predict(Sig)` |
|
|
46
|
-
| Needs tools: search, an API, code, files | `dspy.
|
|
46
|
+
| Needs tools: search, an API, code, files | `dspy.ReAct(Sig, tools=[...])` |
|
|
47
47
|
| Inputs too long to fit comfortably in the model's context, such as many long documents | `dspy.RLM(Sig)` |
|
|
48
48
|
|
|
49
49
|
- **Never use `dspy.ChainOfThought`.** It adds a `reasoning` output that
|
|
@@ -70,12 +70,10 @@ deployments (`cmpnd ps --json --limit 20`, field `litellm_model`), or the one
|
|
|
70
70
|
in this skill's example, and ask. Use exactly what the user names.
|
|
71
71
|
|
|
72
72
|
```python
|
|
73
|
-
lm = dspy.LM("openai/gpt-5-mini"
|
|
73
|
+
lm = dspy.LM("openai/gpt-5-mini")
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
and `max_tokens` of at least 16000; DSPy refuses other values. Use the same
|
|
78
|
-
settings for other models too, so runs across models compare.
|
|
76
|
+
Set no `temperature` or `max_tokens` unless the user asks for them.
|
|
79
77
|
|
|
80
78
|
A deployed model reports what DSPy reports for it locally, so a program calls
|
|
81
79
|
tools natively and reasons natively on the platform wherever it does on the
|
|
@@ -91,24 +89,77 @@ follow `deploy.md`. For a provider or gateway that serves the OpenAI API at
|
|
|
91
89
|
its own address, such as LunaRoute, see `setup.md`, "An OpenAI-compatible
|
|
92
90
|
API".
|
|
93
91
|
|
|
92
|
+
## Adapter
|
|
93
|
+
|
|
94
|
+
With no adapter configured, DSPy 3.5 uses `XMLAdapter` with native tool
|
|
95
|
+
calls. Start there. Another adapter is fine when a model parses its output
|
|
96
|
+
better with one, such as `dspy.JSONAdapter()` or `dspy.ChatAdapter()`.
|
|
97
|
+
|
|
98
|
+
**A program with tools always uses native tool calls** unless the user asks
|
|
99
|
+
for text-based ones. `dspy.XMLAdapter()` and `dspy.ChatAdapter()` default to
|
|
100
|
+
text-based tool calls when you construct them, so pass the flag:
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
dspy.configure(lm=lm, adapter=dspy.ChatAdapter(use_native_function_calling=True))
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Build tool programs with `dspy.ReAct` on DSPy 3.5, the default line.
|
|
107
|
+
|
|
108
|
+
## MCP tools
|
|
109
|
+
|
|
110
|
+
A program calls an MCP server's tools through a server the organization
|
|
111
|
+
registered. Deploy refuses a tool built with `dspy.Tool.from_mcp_tool`.
|
|
112
|
+
|
|
113
|
+
1. **Register the server** (owner only). For a server that takes a key, add
|
|
114
|
+
the server and its key first. `credentials create` prompts for the key.
|
|
115
|
+
Ask before you add a key.
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
cmpnd credentials create --kind mcp --server https://mcp.example.com/mcp --name example --placement bearer
|
|
119
|
+
cmpnd tool-servers create --url https://mcp.example.com/mcp --credential example
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
2. **Allow the tools** the program may call. `cmpnd tool-servers show <ts_id>
|
|
123
|
+
--text` lists them, and `cmpnd tool-servers allow <ts_id> TOOL …` (or
|
|
124
|
+
`--all`) permits them.
|
|
125
|
+
3. **Build the tools in `program.py`** with `cmpnd.mcp_tools`, and install
|
|
126
|
+
the MCP client with `uv add 'cmpnd[mcp]'`:
|
|
127
|
+
|
|
128
|
+
```python
|
|
129
|
+
import os
|
|
130
|
+
import cmpnd
|
|
131
|
+
|
|
132
|
+
key = os.environ.get("EXAMPLE_API_KEY") # local runs only; Cmpnd supplies the key
|
|
133
|
+
tools = cmpnd.mcp_tools("https://mcp.example.com/mcp", auth=cmpnd.Bearer(key) if key else None)
|
|
134
|
+
program = dspy.ReAct(AnswerQuestion, tools=tools)
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
On Cmpnd, the platform calls the tools with the key you added. Without `auth`,
|
|
138
|
+
the tools only describe themselves locally and raise when called, so a local
|
|
139
|
+
run needs the key in `.env` (`setup.md`).
|
|
140
|
+
|
|
94
141
|
## The deployable file
|
|
95
142
|
|
|
96
|
-
One file per program, named `program.py`,
|
|
143
|
+
One file per program, named `program.py`, sets a variable named `program`, as
|
|
144
|
+
in `program = make_program()`. It
|
|
97
145
|
is both what local scripts import and what `cmpnd deploy` uploads. See
|
|
98
146
|
`examples/support_triage/program.py`. The rules:
|
|
99
147
|
|
|
100
148
|
- **The interface must be visible.** Cmpnd reads a deployment's input and
|
|
101
|
-
output fields from the deployed object's `signature` attribute
|
|
102
|
-
`dspy.Predict`, `dspy.
|
|
103
|
-
|
|
104
|
-
|
|
149
|
+
output fields from the deployed object's `signature` attribute.
|
|
150
|
+
`dspy.Predict`, `dspy.ReAct` and `dspy.RLM` have it. Give a custom module
|
|
151
|
+
`self.signature = Sig` in `__init__`. Without one, Cmpnd reads the inputs
|
|
152
|
+
from the parameters of `forward()` and the outputs from its return
|
|
153
|
+
annotation, as in `def forward(self, ticket: str) -> TriageTicket`. A
|
|
154
|
+
`forward(self, **kwargs)` names no inputs, so `cmpnd schema` shows no
|
|
155
|
+
fields and the tools list says "unknown".
|
|
105
156
|
- Configure the model with `dspy.configure(lm=...)` at import.
|
|
106
157
|
- Read no key from the source. `api_key=os.environ.get(...)` is fine, because
|
|
107
158
|
Cmpnd supplies the credential on the platform.
|
|
108
159
|
- Load bundled data relative to `Path(__file__).parent`, and include it in the
|
|
109
160
|
deploy with `--include`.
|
|
110
|
-
-
|
|
111
|
-
runs that block.
|
|
161
|
+
- Put nothing the program needs under `if __name__ == "__main__":`. The
|
|
162
|
+
deploy never runs that block.
|
|
112
163
|
- Keep the import fast. The deploy checks the import with a 60-second limit,
|
|
113
164
|
and the whole bundle must stay under 50 MiB.
|
|
114
165
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Pushed evals
|
|
2
|
+
|
|
3
|
+
A pushed eval scores deployed versions of a program on the same examples with
|
|
4
|
+
the same metric, so the versions compare on one scale. The program's page on
|
|
5
|
+
Cmpnd fills its deployments table with the score, cost and latency of the eval
|
|
6
|
+
the user picks. A local `dspy.Evaluate` (`observe.md`) scores only the module
|
|
7
|
+
in the user's process.
|
|
8
|
+
|
|
9
|
+
## The eval file
|
|
10
|
+
|
|
11
|
+
One file creates one `dspy.Evaluate`:
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
# eval_holdout.py
|
|
15
|
+
import json
|
|
16
|
+
from pathlib import Path
|
|
17
|
+
|
|
18
|
+
import dspy
|
|
19
|
+
|
|
20
|
+
HERE = Path(__file__).parent
|
|
21
|
+
devset = [
|
|
22
|
+
dspy.Example(**json.loads(line)).with_inputs("ticket")
|
|
23
|
+
for line in (HERE / "data" / "val.jsonl").read_text().splitlines()
|
|
24
|
+
if line.strip()
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def metric(example, pred, trace=None):
|
|
29
|
+
return float(pred.team == example.team)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
evaluate = dspy.Evaluate(devset=devset, metric=metric, failure_score=0.0)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The push checks these rules before anything leaves the machine:
|
|
36
|
+
|
|
37
|
+
- Every example states its inputs with `with_inputs`, and all state the same
|
|
38
|
+
inputs.
|
|
39
|
+
- The devset is not empty.
|
|
40
|
+
- The metric is a plain `def` in the file that takes `(example, pred)`.
|
|
41
|
+
- The push loads the file with only the files you `--include`, so include
|
|
42
|
+
every file it reads, such as `--include data/val.jsonl`.
|
|
43
|
+
|
|
44
|
+
A metric that calls a model spends a judge. The push records
|
|
45
|
+
`dspy.settings.lm` as the judge `judge-lm`, and every run uses it, whatever
|
|
46
|
+
model the version runs. A metric that compares fields, as above, needs none.
|
|
47
|
+
`cmpnd evals push -h` covers named judges and their providers.
|
|
48
|
+
|
|
49
|
+
An eval never changes after its push. For a changed set or metric, push it
|
|
50
|
+
under a new name.
|
|
51
|
+
|
|
52
|
+
## Push and run
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
cmpnd evals push eval_holdout.py support-triage --name holdout --include data/val.jsonl
|
|
56
|
+
cmpnd evals run support-triage holdout --tag main # the version a tag names
|
|
57
|
+
cmpnd evals run support-triage holdout --deployment <d_id> # one version
|
|
58
|
+
cmpnd evals show <ev_id> # status and score
|
|
59
|
+
cmpnd evals examples <ev_id> # per-example scores
|
|
60
|
+
cmpnd evals cancel <ev_id> # only if the user asks
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
- **`run` prints the run's `ev_` id.** Its status reads `running`, or
|
|
64
|
+
`queued` while the organization is at its run limit.
|
|
65
|
+
- **A finished run reads `ok`, and a failed one reads `error`,** in `show` and
|
|
66
|
+
`list`. A program that raises on an example scores `failure_score` there. A
|
|
67
|
+
metric that raises fails the run with the metric's own message.
|
|
68
|
+
- **A run spends the organization's provider** for the program and its judges.
|
|
69
|
+
Ask before you run an eval on many versions.
|
|
70
|
+
- **A version that lacks one of the eval's inputs is refused,** and the error
|
|
71
|
+
names the field.
|
|
72
|
+
- **Running needs a key with the `evals:run` scope.** A key without it answers
|
|
73
|
+
403. Ask the user for a key that has it (`setup.md`).
|
|
74
|
+
|
|
75
|
+
The web app compares the versions at `<endpoint>/ui/programs/<name>/`, scored
|
|
76
|
+
by the eval its **Scores from** picker names.
|
|
@@ -9,6 +9,8 @@ optimization.
|
|
|
9
9
|
|
|
10
10
|
- **Record when the user has judged an output:** "that's wrong, it's a billing
|
|
11
11
|
issue", "perfect", "too long", "missed the second action item".
|
|
12
|
+
- **Record every output the message judges.** "#1 is right, #2 is wrong,
|
|
13
|
+
record that" asks for two assessments: an up on #1 and a down on #2.
|
|
12
14
|
- **Ask first if it isn't clear the user wants it recorded:** "Want me to
|
|
13
15
|
record that on the trace?" Once they've said to record feedback as it
|
|
14
16
|
comes, keep doing it without asking.
|
|
@@ -8,11 +8,10 @@ one, tell the user in a sentence and use the workaround. Check
|
|
|
8
8
|
|---|---|---|
|
|
9
9
|
| **Deploy metadata can't be changed** after the deploy. | You can't add a description to a deployment later. A hosted GEPA result has no metadata. | The tools block takes the description of the program's newest described version. To change it, redeploy with the metadata, or give the description in `cmpnd-tools.json`. |
|
|
10
10
|
| **`cmpnd ps` doesn't take a program name.** | You can't list only one program's deployments. | `cmpnd programs tags NAME` lists the versions its tags name. Filter `cmpnd ps --json` rows on the program's `program_id` for the rest. |
|
|
11
|
-
| **The finished run record doesn't name its result deployment.** | `cmpnd optimizations show` gives no `d_` id for the hosted result. | Keep the id that `cmpnd optimize` or `cmpnd optimizations continue` prints. |
|
|
12
|
-
| **`cmpnd optimizations list --program NAME` misses runs.** It matches the run's stored name, which is the module class (such as `Predict`) for a local run and empty for a hosted one. | Filtering by the program's name or id returns no rows. | Get the `program_id` from `cmpnd programs show NAME`, list runs without `--program`, and keep the rows with that id. A continuation runs on the same program, so its rows carry the same id. |
|
|
13
11
|
| **`client.optimize_program` passes `valset=` to every optimizer.** | `BootstrapFewShot` and `SIMBA` raise `TypeError: unexpected keyword argument 'valset'`. | Run them in sketch mode on the plain module (`optimize.md`). |
|
|
14
12
|
| **Cmpnd records only GEPA and ReAnchor runs.** Only GEPA runs hosted. | MIPROv2, BootstrapFewShot and SIMBA runs show as traces only, with no run, scores or compiled program on Cmpnd. | Evaluate the result in sketch mode to get an eval run, and save the state file yourself. |
|
|
15
13
|
| **Eval runs need sketch mode.** | `dspy.Evaluate` on a named program under `cmpnd.Client` records traces but no eval run. | Evaluate the plain module under `auto_instrument()`. |
|
|
14
|
+
| **The CLI can't list a program's pushed evals.** | `cmpnd evals list` lists eval runs, not the evals you can run. | `.venv/bin/python -c "import cmpnd; print(cmpnd.Client().list_evals('NAME'))"` lists them. |
|
|
16
15
|
| **Hosted task files see no environment.** | A task can't choose its model from an env var or read a key. | Use one short task file per model that imports a shared `task.py` (`examples/support_triage/`). |
|
|
17
16
|
|
|
18
17
|
## When something fails that isn't listed
|
|
@@ -53,6 +53,7 @@ with cmpnd.Client(project_tags=["triage"]) as sdk: # CMPND_API_KEY or your
|
|
|
53
53
|
- **The name is created the first time it's used.** No setup step is needed.
|
|
54
54
|
- **`client.optimize_program` records a local optimization.** See
|
|
55
55
|
`optimize.md`.
|
|
56
|
+
- **To score deployed versions on one fixed set,** push an eval (`evals.md`).
|
|
56
57
|
- **An eval run needs sketch mode.** `dspy.Evaluate` records an eval run only
|
|
57
58
|
under sketch mode. Run the plain module there to get one. Under a client,
|
|
58
59
|
each call is just a trace.
|
|
@@ -70,7 +71,7 @@ cmpnd traces show <trace_id> --tree # spans, timings, prompts
|
|
|
70
71
|
cmpnd evals list --program support-triage # eval runs; ev_ ids
|
|
71
72
|
cmpnd evals show <ev_id>
|
|
72
73
|
cmpnd evals examples <ev_id> # per-example scores
|
|
73
|
-
cmpnd optimizations list --
|
|
74
|
+
cmpnd optimizations list --program support-triage # its optimization runs
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
- **Output is JSON** unless the command offers a table. Summarize it for the
|