cmpnd 0.102.3__tar.gz → 0.102.5__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.102.3 → cmpnd-0.102.5}/PKG-INFO +1 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/__init__.py +3 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/top.py +25 -3
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/client.py +36 -4
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/deployment_runs.py +5 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/execution.py +47 -45
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/cli.md +2 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/client.md +5 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/sdk-instrumentation.md +4 -2
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/rejections.py +8 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/pyproject.toml +1 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_schema_sample.py +25 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deployment_runs.py +27 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_execute.py +6 -5
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_execute_run_identity.py +3 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter_rejections.py +30 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_trace_labels.py +15 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/uv.lock +1 -1
- {cmpnd-0.102.3 → cmpnd-0.102.5}/.gitignore +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/AGENTS.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/CLAUDE.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/README.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_account.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_assessments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_authored_import.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_deployments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_exporter_pool.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_gepa_patch.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_guides.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_http.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_label_vocabulary.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_program_patch.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_provider_types.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_provider_writes.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_rlm_patch.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_runtime_tools.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_timespec.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/_valsets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/authored.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/api_client.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/admin.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/assessments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/auth.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/datasets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/deployments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/evals.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/labels.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/login.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/optimizations.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/org.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/provider_credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/providers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/skill.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/tool_servers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/commands/valsets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/deprecation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/label_args.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/pagination.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/shell.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/_vendor/drskill/LICENSE +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/_vendor/drskill/VENDOR.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/_vendor/drskill/harnesses.toml +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/agents.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/bundle.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/install.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/skill/offer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/trace_render.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/tree_help.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/verbs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/cli/views.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/configuration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/context.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/dataset_sync.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/datasets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/decorators.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/deployment.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/deployment_metadata.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/eval_handler.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/exporter.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/exporter_http.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/helpers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/identity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/imaging.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/decode.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/encode.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/hash.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/program.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/reflection.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/types.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/ir/xxh64.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/labels.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/lm_configuration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/mcp_servers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/models.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/named_programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimization.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimizers/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimizers/gepa.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimizers/gepa_callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimizers/resume.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/optimizers/tracker.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/packaging.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/program_naming.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/references.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/retry.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/SKILL.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/data/train.jsonl +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/data/val.jsonl +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/optimize.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/program.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/task.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/task_gpt5mini.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/examples/support_triage/task_haiku.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/deploy.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/dspy.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/feedback.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/gaps.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/observe.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/optimize.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/setup.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/references/tools.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/skill_bundle/scripts/tools_block.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/cmpnd/versions.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/2026-04-02-code-review.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/custom-proposer.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/plans/2026-04-05-train-val-dataset-capture-design.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/plans/2026-04-05-train-val-dataset-capture.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/reading-traces.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/docs/versions.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/examples/generalizing_proposer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/examples/local_ollama.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/LINEAGE.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/README.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/bodies.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/client_floor.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/exporter_http.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/network.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/process_local.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/program_names.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/protocols.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/py.typed +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/queue_budget.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/request_log.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/retry.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/sender.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/span_context.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/storable.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/trace_facts.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/cmpnd_ingest/user_agent.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/ingest/pyproject.toml +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/audit-sdist.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/capture_review_run.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/check-pip-install.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/check_release_artifacts.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/export-bedrock-token.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/fixtures/review_run.json.gz +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/fork-matrix.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/gepa_resume_bug.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/install-test-env.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/release-gate.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/release-real-models.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/require_version_bump.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/seed_review_run.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/selfhost_compat.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/scripts/test-in-linux.sh +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/__init__.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/primitives/__init__.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/primitives/prediction.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/utils/__init__.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/utils/callback.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/stubs/dspy/utils/dummies.pyi +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_credential_route.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_deployment_signature_helpers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_exporter_helpers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_fake_clock.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_fresh_interpreter.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_identity_helpers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_resolve_refs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/_traced_run.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/committee_task.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/continuation_task.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/data/committee_train.ndjson.gz +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/data/committee_val.ndjson.gz +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/fake_lm.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/helpers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/target_capabilities.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_assessments_cli.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_capture_prompts.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_composite_module.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_dataset_auto_creation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_deploy_execute.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_deploy_pandas.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_deploy_programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_edge_cases.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_example_hash.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_gepa_optimization.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_interpreter_spans.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_lm_accuracy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_module_tracing.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimization_lineage.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimization_metric_identity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_authored_metric.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_continuation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_custom_proposer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_failures.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_loop.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_review_committee.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_optimize_server_owned_completion.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_parallel_export.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_program_versions.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_project_attribution.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_react_tool_spans.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_save_load.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_trace_structure.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_traces_read.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_user_attribution.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/e2e/test_valsets_cli.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/01_predict_qa.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/02_predict_renamed_field.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/03_chain_of_thought_qa.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/04_predict_richer_types.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/05_composite_two_predicts.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/06_multichaincomparison.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/07_program_of_thought.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/08_opaque_module.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/09_predict_pydantic_field.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/10_react.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/11_refine.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/12_retrieve.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/13_knn.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/14_parallel.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/identity_vectors/README.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/ingest_conformance.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/authored_optimize/judge.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/authored_optimize/optimize_hosted.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/hosted_mcp_tool_optimize_probe.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/hosted_optimize_probe.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/optimization_run_probe.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/test_cli_deploy_smoketest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/test_logs_renders_traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/test_optimization_run.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/test_optimizing_progress.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/integration/test_unhappy_path.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/lm15_prompt_fixture.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/lm15_prompts/four_turn_predict.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/lm15_prompts/rlm_six_turns.json +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/__main__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/drain.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/ingest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/latency_transport.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/rlm_shape.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/rlm_size_report.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/README.md +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/asgi_app.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/baseline.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/drive_server.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/exits.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/outage.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/outage_proxy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/pools.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/program.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sender/verify.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/sweep.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/test_rlm_shape.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/load/test_rlm_size_report.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/seed_parity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_auth.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_datasets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_deployments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_evals.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_health.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_modules.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_optimizations.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_signatures.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_trace_streaming.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/parity/test_traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/_provider.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/_readiness.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/_reliability.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/_result.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/mint_bedrock_token.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_bedrock_converse.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_deploy_programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_multi_client_stress.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_optimize_client_committee.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_optimize_continuation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_optimize_loop.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_optimize_loop_wasm.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_optimize_stress.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_provider_roles.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_readiness.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_real_provider_twins.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_reliability.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_reliability_classify.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_rlm_wasm.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_skill_agent.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/real_models/test_trace_search.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/span_reference_fixture.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_adapter_reentrancy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_assessments_api.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored_binding_credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored_bundle_collisions.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored_metric_contract.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored_named_models.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_authored_optimize.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_candidate_lineage.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_check_release_artifacts.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_admin.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_api_client.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_assessments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_auth.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_datasets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_deployment_runs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_deployments.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_evals.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_json_flag.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_login.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_main.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_optimizations.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_org.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_pagination.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_parity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_programs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_provider_credentials.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_provider_flags.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_providers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_shell.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_skill.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_skill_offer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_tool_servers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_top.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_traces.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_traces_program_and_module.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_traces_search_wire.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_tree_help.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cli/test_valsets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_client.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_client_floor.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_client_program_names.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_clustering/__init__.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_clustering/conftest.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_clustering/test_edge_cases.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_clustering/test_hash_consistency.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_clustering/test_type_conversion.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_cmp551_grouping_identity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_configuration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_context.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_context_propagation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_credential_kwargs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_credential_selection.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_dataset_polling.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_dataset_sync.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_datasets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_decision_client_spans.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_decorators.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deploy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deploy_mcp_tool_references.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deploy_program_id.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deployment_metadata.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deployment_targets.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_deployments_read.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval_example_attribution.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval_example_failures.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval_program_id.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval_start.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_eval_trace_grouping.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exception_paths.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter_fork_exec.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter_program_names.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter_queue.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_exporter_real.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_fake_lm.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_forward_access_warning.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_gepa_callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_gepa_integration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_gepa_output_normalization.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_gepa_resume.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_identity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_imaging.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_import_weight.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_ingest_conformance.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_ingest_second_producer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_integration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_interpreter_callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_ir_encoder_properties.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_ir_golden_vectors.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_ir_roundtrip.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_label_vocabulary.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_lm15_native_calls.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_lm15_prompt_fixtures.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_lm15_prompt_references.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_lm_configuration.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_lm_usage_shapes.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_mcp_tools.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_models.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_multi_client_stress_readiness.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_no_signature_hash_on_the_wire.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimization_phase_callback.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimization_program_names.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimization_progress.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimization_start.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_budget.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_labels.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_lift.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_lms.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_proposer.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_reflection_lm.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_split.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_optimize_terminal_failure.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_owned_trace_streaming.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_packaging.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_packaging_callable_source.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_packaging_mcp_tools.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_packaging_program_source.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_poll_until.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_process_local.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_program_id_deprecation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_program_identity.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_program_lineage_persist.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_program_names_in_deploy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_program_naming.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_programs_create.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_project_payload.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_provider_keyword.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_provider_types.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_provider_values.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_provider_writes.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_queue_budget.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_real_provider_twins_readiness.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_reflector_properties.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_reflector_smoke.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_release_gate_script.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_release_real_models_script.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_replaced_names.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_repro_reactv2_bugs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_require_version_bump.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_retry.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_reversible_failures.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_rlm_patch.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_run_attribution_paths.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_runtime_tools.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_schemas.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_seal_lm_credential.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_seed_review_run.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_sender_scenarios.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_sending_settings.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_signature_inputs.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_skill_bundle.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_skill_tools_block.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_span_references.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_span_sent_once.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_span_submission.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_span_submission_wire_contract.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_stored_login.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_system_one.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_token_attribution.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_trace_context_concurrency.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_trace_fact_wire_contract.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_trace_facts.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_trace_render.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_traces_label_search_busy.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_traces_read.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_tracked_gepa.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_tracker_enrich.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_truncation.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_upload_auth_headers.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_user_agent.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_valsets_api.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_versions.py +0 -0
- {cmpnd-0.102.3 → cmpnd-0.102.5}/tests/test_xxh64.py +0 -0
|
@@ -39,7 +39,7 @@ from .deployment_metadata import (
|
|
|
39
39
|
UnsupportedDeploymentMetadataVersion,
|
|
40
40
|
)
|
|
41
41
|
from .deployment_runs import RunNotSubmitted, RunRefused, RunResultExpired, RunSubmissionUncertain, RunWaitTimeout
|
|
42
|
-
from .execution import DeployedProgram, RetryableProviderError
|
|
42
|
+
from .execution import DeployedProgram, RetryableProviderError, RunCancelled, RunFailed
|
|
43
43
|
from .exporter import flush, flush_exporter, sender_health, shutdown_exporter
|
|
44
44
|
from .lm_configuration import HostedLM, SystemOne, configure_lm
|
|
45
45
|
from .mcp_servers import (
|
|
@@ -139,6 +139,8 @@ __all__ = [
|
|
|
139
139
|
"RunRefused",
|
|
140
140
|
"RunWaitTimeout",
|
|
141
141
|
"RunResultExpired",
|
|
142
|
+
"RunFailed",
|
|
143
|
+
"RunCancelled",
|
|
142
144
|
"DeployedProgram",
|
|
143
145
|
"RetryableProviderError",
|
|
144
146
|
"ProgramAddress",
|
|
@@ -712,6 +712,12 @@ def _schema_data(client: api_client.ApiClient, partial: str) -> dict[str, Any]:
|
|
|
712
712
|
signature_name = None
|
|
713
713
|
outputs_open = False
|
|
714
714
|
known = interface_status == "known"
|
|
715
|
+
detail = None
|
|
716
|
+
if not known:
|
|
717
|
+
record = client.get(f"/api/v1/deployments/{did}")
|
|
718
|
+
report = record.get("interface") if isinstance(record, dict) else None
|
|
719
|
+
if isinstance(report, dict):
|
|
720
|
+
detail = report.get("detail")
|
|
715
721
|
# Open outputs name no fields: a run returns whatever fields the program returns.
|
|
716
722
|
names_outputs = known and not outputs_open
|
|
717
723
|
return {
|
|
@@ -730,6 +736,7 @@ def _schema_data(client: api_client.ApiClient, partial: str) -> dict[str, Any]:
|
|
|
730
736
|
"entrypoint": metadata.artifact.entrypoint if metadata is not None else None,
|
|
731
737
|
"source_format": metadata.artifact.source_format if metadata is not None else None,
|
|
732
738
|
"interface_status": interface_status,
|
|
739
|
+
"detail": detail,
|
|
733
740
|
"signature_name": signature_name,
|
|
734
741
|
"input_fields": [field.name for field in inputs] if known else None,
|
|
735
742
|
"optional_input_fields": [field.name for field in inputs if not field.is_required] if known else None,
|
|
@@ -745,11 +752,17 @@ def _sample_data(client: api_client.ApiClient, partial: str) -> dict[str, Any]:
|
|
|
745
752
|
"""One recorded example input for the program, from its most recent
|
|
746
753
|
example. ``input`` is None when the program has no recorded invocations."""
|
|
747
754
|
did, d, program_id = _deployment_program(client, partial)
|
|
748
|
-
resp = client.get(
|
|
755
|
+
resp = client.get(
|
|
756
|
+
f"/api/v1/signatures/{program_id}/examples", params={"per_page": "1", "page": "1", "status": "ok"}
|
|
757
|
+
)
|
|
749
758
|
examples = resp.get("examples") or []
|
|
750
759
|
input_obj: Any = None
|
|
751
760
|
source_trace: str | None = None
|
|
752
761
|
if examples:
|
|
762
|
+
if examples[0].get("status") != "ok":
|
|
763
|
+
raise api_client.CliError(
|
|
764
|
+
"this server did not honor status=ok for sample inputs. Upgrade the server to sample successful traces."
|
|
765
|
+
)
|
|
753
766
|
raw = examples[0].get("inputs")
|
|
754
767
|
source_trace = examples[0].get("trace_id")
|
|
755
768
|
try:
|
|
@@ -772,10 +785,19 @@ def cmd_schema(client: api_client.ApiClient, args: Any) -> None:
|
|
|
772
785
|
return
|
|
773
786
|
if data["status"] == "unavailable":
|
|
774
787
|
reason = str(data.get("reason") or "unknown reason").replace("_", " ")
|
|
775
|
-
|
|
788
|
+
detail = data.get("detail") or "Deploy the program again to record its public interface."
|
|
789
|
+
raise api_client.CliError(
|
|
790
|
+
f"deployment {_short_id(data['deployment_id'])} metadata is unavailable: {reason}. {detail}"
|
|
791
|
+
)
|
|
776
792
|
if data["interface_status"] != "known":
|
|
777
793
|
reason = str(data.get("reason") or "unknown reason").replace("_", " ")
|
|
778
|
-
|
|
794
|
+
detail = (
|
|
795
|
+
data.get("detail")
|
|
796
|
+
or "Deploy the program again with named forward() parameters to record its public interface."
|
|
797
|
+
)
|
|
798
|
+
raise api_client.CliError(
|
|
799
|
+
f"deployment {_short_id(data['deployment_id'])} interface is unknown: {reason}. {detail}"
|
|
800
|
+
)
|
|
779
801
|
name = data.get("program_name") or _short_id(data["deployment_id"])
|
|
780
802
|
sig_name = data.get("signature_name")
|
|
781
803
|
header = _c(str(name), "bold")
|
|
@@ -22,8 +22,9 @@ release. ``close()`` is an optional alias for end-of-scope flushing.
|
|
|
22
22
|
from __future__ import annotations
|
|
23
23
|
|
|
24
24
|
import dataclasses
|
|
25
|
-
from collections.abc import Mapping
|
|
26
|
-
from
|
|
25
|
+
from collections.abc import Callable, Mapping
|
|
26
|
+
from functools import wraps
|
|
27
|
+
from typing import Any, Literal, ParamSpec, TypeVar
|
|
27
28
|
|
|
28
29
|
from . import (
|
|
29
30
|
_account,
|
|
@@ -41,6 +42,22 @@ from . import (
|
|
|
41
42
|
)
|
|
42
43
|
from .deployment_metadata import DeploymentSignatureResponse
|
|
43
44
|
|
|
45
|
+
_P = ParamSpec("_P")
|
|
46
|
+
_R = TypeVar("_R")
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def _label_filter_hint(function: Callable[_P, _R]) -> Callable[_P, _R]:
|
|
50
|
+
@wraps(function)
|
|
51
|
+
def checked(*args: _P.args, **kwargs: _P.kwargs) -> _R:
|
|
52
|
+
if "metadata" in kwargs:
|
|
53
|
+
raise TypeError(
|
|
54
|
+
"Client.list_traces() got an unexpected keyword argument 'metadata'. "
|
|
55
|
+
"Did you mean 'labels'? Use labels= to filter label keys."
|
|
56
|
+
)
|
|
57
|
+
return function(*args, **kwargs)
|
|
58
|
+
|
|
59
|
+
return checked
|
|
60
|
+
|
|
44
61
|
|
|
45
62
|
def _refuse_program_name_selector(inputs: dict[str, Any], method: str) -> None:
|
|
46
63
|
"""Refuse a ``program_name`` among a run's inputs, which the client spells ``entrypoint=``.
|
|
@@ -77,6 +94,14 @@ class Client:
|
|
|
77
94
|
env_max_queue_bytes = configuration.max_queue_bytes_from_environment()
|
|
78
95
|
if env_max_queue_bytes is not None:
|
|
79
96
|
config_kwargs["max_queue_bytes"] = env_max_queue_bytes
|
|
97
|
+
if "default_tags" in config_kwargs:
|
|
98
|
+
from . import labels as trace_labels
|
|
99
|
+
|
|
100
|
+
tags = trace_labels.validate(config_kwargs["default_tags"], argument="default_tags")
|
|
101
|
+
if any(not isinstance(value, str) for value in tags.values()):
|
|
102
|
+
raise ValueError("default_tags values must be strings. Use labels= for lists of strings.")
|
|
103
|
+
trace_labels.validate({**tags, **config_kwargs.get("labels", {})}, argument="default_tags and labels")
|
|
104
|
+
config_kwargs["default_tags"] = dict(tags)
|
|
80
105
|
self._config = configuration.Config(
|
|
81
106
|
api_key=resolved_key,
|
|
82
107
|
endpoint=resolved_endpoint,
|
|
@@ -386,8 +411,10 @@ class Client:
|
|
|
386
411
|
are also ``httpx.HTTPStatusError``.
|
|
387
412
|
httpx.HTTPStatusError: If serve refuses the submission or a status or
|
|
388
413
|
result read, carrying that response. A deployment of another
|
|
389
|
-
account answers ``404``.
|
|
390
|
-
|
|
414
|
+
account answers ``404``.
|
|
415
|
+
RunFailed: If the accepted run failed, with its ``run_id``, ``trace_id``
|
|
416
|
+
and serve's retained ``error`` and ``result``.
|
|
417
|
+
RunCancelled: If the accepted run was cancelled. It is a ``RunFailed``.
|
|
391
418
|
RetryableProviderError: If the stored failure is a retryable provider
|
|
392
419
|
failure. No run is started again automatically.
|
|
393
420
|
RunSubmissionUncertain: If the POST reply was lost or was a server
|
|
@@ -1096,6 +1123,7 @@ class Client:
|
|
|
1096
1123
|
|
|
1097
1124
|
_provider_writes.remove(self._http_client(), name)
|
|
1098
1125
|
|
|
1126
|
+
@_label_filter_hint
|
|
1099
1127
|
def list_traces(
|
|
1100
1128
|
self,
|
|
1101
1129
|
*,
|
|
@@ -1129,6 +1157,10 @@ class Client:
|
|
|
1129
1157
|
this call can be missing from it; it appears once serve has folded it,
|
|
1130
1158
|
typically within a few seconds.
|
|
1131
1159
|
"""
|
|
1160
|
+
if isinstance(tags, Mapping):
|
|
1161
|
+
raise TypeError(
|
|
1162
|
+
"Client.list_traces() takes labels= to filter label keys. tags= takes a list of project names."
|
|
1163
|
+
)
|
|
1132
1164
|
self._check_active()
|
|
1133
1165
|
_exporter_pool.flush(self._config)
|
|
1134
1166
|
page = _traces.list(
|
|
@@ -688,6 +688,11 @@ def deployment_id_of(target: Any) -> str:
|
|
|
688
688
|
if isinstance(target, str):
|
|
689
689
|
if versions.is_deployment_id(target):
|
|
690
690
|
return target
|
|
691
|
+
if target.startswith("p_"):
|
|
692
|
+
raise ValueError(
|
|
693
|
+
f"{target!r} is a program id. Pass a d_ deployment id from client.list_deployments(), "
|
|
694
|
+
"or use the program name in cmpnd.ProgramAddress.parse('your-program-name')."
|
|
695
|
+
)
|
|
691
696
|
raise ValueError(
|
|
692
697
|
f"{target!r} is not a deployment id (d_…). To name a program, or one of its "
|
|
693
698
|
f"versions by tag, pass an address: cmpnd.ProgramAddress.parse({target!r})."
|
|
@@ -8,15 +8,7 @@ from __future__ import annotations
|
|
|
8
8
|
|
|
9
9
|
from typing import TYPE_CHECKING, Any
|
|
10
10
|
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
# Bound by name, not reached as `httpx.HTTPStatusError`: the SDK's own tests patch this
|
|
14
|
-
# module's whole `httpx` attribute, so constructing the exception off that attribute
|
|
15
|
-
# raises "exceptions must derive from BaseException" under test while working in
|
|
16
|
-
# production. A direct import is the same class both ways.
|
|
17
|
-
from httpx import HTTPStatusError
|
|
18
|
-
|
|
19
|
-
from . import _http, configuration, deployment_runs
|
|
11
|
+
from . import configuration, deployment_runs
|
|
20
12
|
from .deployment_metadata import DeploymentArtifactMetadata, DeploymentSignatureResponse, ProgramFieldType
|
|
21
13
|
|
|
22
14
|
if TYPE_CHECKING:
|
|
@@ -53,7 +45,33 @@ def _with_run_id(error: Exception, run_id: str | None) -> Exception:
|
|
|
53
45
|
return error
|
|
54
46
|
|
|
55
47
|
|
|
56
|
-
class
|
|
48
|
+
class RunFailed(RuntimeError):
|
|
49
|
+
"""An accepted run failed. ``error`` and ``result`` retain serve's answer.
|
|
50
|
+
|
|
51
|
+
``run_id`` identifies the accepted run and ``trace_id`` its root trace, when
|
|
52
|
+
serve named one. ``execution_status`` is the stored execution status, when
|
|
53
|
+
present. It is independent of the HTTP response that delivered the result.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
def __init__(self, run_id: str, result: dict[str, Any], *, trace_id: str | None = None):
|
|
57
|
+
self.run_id = run_id
|
|
58
|
+
self.trace_id = trace_id
|
|
59
|
+
self.result = result
|
|
60
|
+
self.error = result.get("error")
|
|
61
|
+
self.execution_status = _nonnegative_int(result.get("execution_status"))
|
|
62
|
+
self._cmpnd_deployment_run_id = run_id
|
|
63
|
+
self._cmpnd_deployment_trace_id = trace_id
|
|
64
|
+
detail = self.error.get("message") if isinstance(self.error, dict) else self.error
|
|
65
|
+
detail = str(detail).strip()[:2000] if detail else ""
|
|
66
|
+
outcome = "was cancelled" if isinstance(self, RunCancelled) else "failed"
|
|
67
|
+
super().__init__(f"Deployment run {run_id} {outcome}" + (f": {detail}" if detail else ""))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class RunCancelled(RunFailed):
|
|
71
|
+
"""An accepted run was cancelled. It carries the same evidence as RunFailed."""
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class RetryableProviderError(RunFailed):
|
|
57
75
|
"""A provider failure the platform identified as safe to retry.
|
|
58
76
|
|
|
59
77
|
``provider_status`` is absent when the provider failed before returning an HTTP
|
|
@@ -62,15 +80,15 @@ class RetryableProviderError(HTTPStatusError):
|
|
|
62
80
|
|
|
63
81
|
def __init__(
|
|
64
82
|
self,
|
|
65
|
-
|
|
83
|
+
run_id: str,
|
|
84
|
+
result: dict[str, Any],
|
|
66
85
|
*,
|
|
67
|
-
|
|
68
|
-
response: httpx.Response,
|
|
86
|
+
trace_id: str | None,
|
|
69
87
|
provider_status: int | None,
|
|
70
88
|
attempts: int | None,
|
|
71
89
|
retry_after: int | None,
|
|
72
90
|
) -> None:
|
|
73
|
-
super().__init__(
|
|
91
|
+
super().__init__(run_id, result, trace_id=trace_id)
|
|
74
92
|
self.provider_status = provider_status
|
|
75
93
|
self.attempts = attempts
|
|
76
94
|
self.retry_after = retry_after
|
|
@@ -83,13 +101,9 @@ def _nonnegative_int(value: object) -> int | None:
|
|
|
83
101
|
|
|
84
102
|
|
|
85
103
|
def _retryable_provider_failure(
|
|
86
|
-
|
|
104
|
+
body: dict[str, Any],
|
|
87
105
|
) -> tuple[int | None, int | None, int | None] | None:
|
|
88
|
-
|
|
89
|
-
body = resp.json()
|
|
90
|
-
except ValueError:
|
|
91
|
-
return None
|
|
92
|
-
if not isinstance(body, dict) or body.get("retryable") is not True:
|
|
106
|
+
if body.get("retryable") is not True:
|
|
93
107
|
return None
|
|
94
108
|
failure = body.get("failure")
|
|
95
109
|
if not isinstance(failure, dict) or failure.get("domain") != "provider":
|
|
@@ -278,11 +292,7 @@ def run_deployment(
|
|
|
278
292
|
trace_id = _settled_trace_id(settled)
|
|
279
293
|
result = settled["result"]
|
|
280
294
|
if settled["status"] == "failed":
|
|
281
|
-
|
|
282
|
-
_raise_stored_failure(settled_id, result, config.endpoint)
|
|
283
|
-
except Exception as error:
|
|
284
|
-
error._cmpnd_deployment_trace_id = trace_id # pyright: ignore[reportAttributeAccessIssue]
|
|
285
|
-
raise
|
|
295
|
+
_raise_stored_failure(settled_id, result, trace_id)
|
|
286
296
|
if not isinstance(result, dict) or "output" not in result:
|
|
287
297
|
raise _with_run_id(RuntimeError("Deployment run result has no program output"), settled_id)
|
|
288
298
|
output = result["output"]
|
|
@@ -292,29 +302,21 @@ def run_deployment(
|
|
|
292
302
|
return prediction
|
|
293
303
|
|
|
294
304
|
|
|
295
|
-
def _raise_stored_failure(run_id: str, result: object,
|
|
305
|
+
def _raise_stored_failure(run_id: str, result: object, trace_id: str | None) -> None:
|
|
296
306
|
if not isinstance(result, dict):
|
|
297
307
|
raise _with_run_id(RuntimeError("Deployment run failure has no retained error"), run_id)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
detail = _http.server_detail(response)
|
|
303
|
-
message = f"Deployment run {run_id} failed with {status}" + (f": {detail}" if detail else "")
|
|
304
|
-
provider_failure = _retryable_provider_failure(response)
|
|
308
|
+
error = result.get("error")
|
|
309
|
+
if isinstance(error, dict) and error.get("type") in {"cancelled", "canceled", "RunCancelled"}:
|
|
310
|
+
raise RunCancelled(run_id, result, trace_id=trace_id)
|
|
311
|
+
provider_failure = _retryable_provider_failure(result)
|
|
305
312
|
if provider_failure is not None:
|
|
306
313
|
provider_status, attempts, retry_after = provider_failure
|
|
307
|
-
|
|
308
|
-
# status is in the detail, so the message leaves the worker's out.
|
|
309
|
-
raise _with_run_id(
|
|
310
|
-
RetryableProviderError(
|
|
311
|
-
f"Deployment run {run_id} failed" + (f": {detail}" if detail else ""),
|
|
312
|
-
request=request,
|
|
313
|
-
response=response,
|
|
314
|
-
provider_status=provider_status,
|
|
315
|
-
attempts=attempts,
|
|
316
|
-
retry_after=retry_after,
|
|
317
|
-
),
|
|
314
|
+
raise RetryableProviderError(
|
|
318
315
|
run_id,
|
|
316
|
+
result,
|
|
317
|
+
trace_id=trace_id,
|
|
318
|
+
provider_status=provider_status,
|
|
319
|
+
attempts=attempts,
|
|
320
|
+
retry_after=retry_after,
|
|
319
321
|
)
|
|
320
|
-
raise
|
|
322
|
+
raise RunFailed(run_id, result, trace_id=trace_id)
|
|
@@ -1376,3 +1376,5 @@ to the customer. The operator's step-2 key gets a 401. The customer's
|
|
|
1376
1376
|
`cmpnd ps`, `cmpnd run`, `cmpnd tool-servers show` and
|
|
1377
1377
|
`cmpnd optimizations show` succeed under the rotated credentials, and the web
|
|
1378
1378
|
app shows the program, its deployment, the traces and the optimization runs.
|
|
1379
|
+
|
|
1380
|
+
`cmpnd sample` requests only traces that settled with status `ok`. An unknown interface in `cmpnd schema` includes the explanation and remedy that `cmpnd inspect` reports.
|
|
@@ -408,3 +408,8 @@ compile, so the run records once, on the client's account.
|
|
|
408
408
|
Use `cmpnd.Provider.for_testing(name, protocols=(), api_base=None)` to build a frozen provider for offline tests. Application code looks up providers with `client.get_provider(name)`. Serve checks the name and protocols when a deployment or run uses either value.
|
|
409
409
|
|
|
410
410
|
Authored calls take the same `provider=` value. `optimize_authored(provider=...)` routes the student model and every model binding that names no provider. Its older `credential=` spelling warns. `deploy_bundle(provider=...)` names the provider the deployed program spends and refuses a simultaneous `credential_name=`.
|
|
411
|
+
`Client(default_tags=...)` checks every key and value at construction under the label rules. Values must be strings. Reserved keys, invalid keys and values over 256 bytes raise `ValueError` naming the argument and rule. Default tags and default labels share the 112-user-key limit.
|
|
412
|
+
|
|
413
|
+
Use `list_traces(labels={"env": "prod"})` to filter label keys. The older `metadata=` argument and a map under `tags=` raise `TypeError` naming `labels=`. A list under `tags=` still filters projects.
|
|
414
|
+
|
|
415
|
+
An accepted run raises `cmpnd.RunFailed` when it fails and `cmpnd.RunCancelled` when it is cancelled. Both carry `run_id`, `trace_id`, the retained `error` and `result`, and the optional recorded `execution_status`. `RetryableProviderError` is a `RunFailed`. HTTP errors continue to carry real submission or read responses.
|
|
@@ -383,7 +383,7 @@ Serve rejects a trace upload for good with a `4xx` other than `429`. For example
|
|
|
383
383
|
For each rejection, the exporter does three things:
|
|
384
384
|
|
|
385
385
|
- It drops the records and counts them in `health().dropped_by_reason["rejected"]`, with `dropped_by_type` keyed by record type (`trace`, `span`, `trace_start` or `trace_finalize`). Rejected records do not increment `_error_count`.
|
|
386
|
-
- It logs one ERROR line on `cmpnd.exporter`. The line names what was sent, the number of records dropped, the status and route, and serve's `error`, `error_code`, `field` and `upgrade` values. A
|
|
386
|
+
- It logs one ERROR line on `cmpnd.exporter`. The line names what was sent, the number of records dropped, the status and route, and serve's `error`, `error_code`, `field` and `upgrade` values. A refusal that requires an SDK upgrade also names `pip install -U cmpnd`. A malformed tag value names its field, value and correction without upgrade advice.
|
|
387
387
|
- It raises a `cmpnd.TraceIngestRejectedWarning` with the same message, once per process for each pair of status and `error_code`. The class is a `UserWarning`, so Python shows it by default. Its `status`, `error`, `error_code`, `field`, `upgrade` and `dropped` attributes carry the same facts. A fork keeps the set of pairs already warned, and the child takes a lock of its own, as `client_floor.py` does.
|
|
388
388
|
|
|
389
389
|
The warning comes from the sender thread, so it never raises into the instrumented program. A `warnings` filter set to `error` does not stop the drop count or the ERROR line. To silence the warning, use `warnings.filterwarnings("ignore", category=cmpnd.TraceIngestRejectedWarning)`. The ERROR line stays.
|
|
@@ -519,6 +519,8 @@ The POST's transport timeout is the remaining budget, which always outlasts
|
|
|
519
519
|
wait, and the SDK then sends no GET. Otherwise it polls the run's status and
|
|
520
520
|
result URLs under the same deadline.
|
|
521
521
|
|
|
522
|
+
An accepted run that fails raises `cmpnd.RunFailed`. Cancellation raises `cmpnd.RunCancelled`, a `RunFailed`. Both carry `run_id`, `trace_id` when known, the retained `error` and the whole `result`. They carry the recorded `execution_status` when present, without inventing an HTTP response. `RetryableProviderError` is also a `RunFailed` and keeps its provider status, attempt count and retry delay.
|
|
523
|
+
|
|
522
524
|
A refused POST or read raises `httpx.HTTPStatusError` carrying the response.
|
|
523
525
|
Serve's not-ready `409` and `422` refusals keep the `RuntimeError` type and
|
|
524
526
|
message that `run_deployment()` raises, and are `httpx.HTTPStatusError` too. A
|
|
@@ -559,7 +561,7 @@ does not start another run. Its message is the provider's outage as the egress
|
|
|
559
561
|
service reported it, such as `Deployment run dr_… failed: the provider at
|
|
560
562
|
gw.lunaroute.com was unavailable: 3 attempt(s) over 3m1.367s; its last answer was
|
|
561
563
|
503: backend unavailable`. It leaves out the worker's status, which the exception's
|
|
562
|
-
`
|
|
564
|
+
`execution_status` still carries, and the run's `error_code` is `ProviderUnavailable`. Trace delivery can finish after the result is
|
|
563
565
|
available.
|
|
564
566
|
|
|
565
567
|
Call `client.submit_deployment_run(deployment, inputs)` to accept work without a
|
|
@@ -22,6 +22,7 @@ The ERROR log line stays.
|
|
|
22
22
|
from __future__ import annotations
|
|
23
23
|
|
|
24
24
|
import json
|
|
25
|
+
import re
|
|
25
26
|
import threading
|
|
26
27
|
import warnings
|
|
27
28
|
from dataclasses import dataclass
|
|
@@ -85,7 +86,13 @@ class Rejection:
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
def needs_upgrade(self) -> bool:
|
|
88
|
-
return self.
|
|
89
|
+
return self.upgrade is not None or (
|
|
90
|
+
self.error_code == CONTRACT_ERROR_CODE
|
|
91
|
+
and (
|
|
92
|
+
self.field is None
|
|
93
|
+
or re.fullmatch(r"(?:\[\d+\]\.)?(?:spans\[\d+\]\.)?schema_version", self.field) is not None
|
|
94
|
+
)
|
|
95
|
+
)
|
|
89
96
|
|
|
90
97
|
|
|
91
98
|
def bounded(value: str, limit: int = _TEXT_LIMIT) -> str:
|
|
@@ -5,7 +5,7 @@ name = "cmpnd"
|
|
|
5
5
|
# it's new) — no git tags. Bump with `uv version --bump {minor,patch}` or by
|
|
6
6
|
# hand. Runtime `cmpnd.__version__` reads installed metadata, so it tracks
|
|
7
7
|
# this automatically. See docs/plans/2026-07-02-sdk-pypi-tag-free-publish.md.
|
|
8
|
-
version = "0.102.
|
|
8
|
+
version = "0.102.5"
|
|
9
9
|
description = "DSPy observability and deployment SDK for cmpnd"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.11"
|
|
@@ -26,6 +26,21 @@ def _args(**over):
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
class TestSchema:
|
|
29
|
+
def test_unknown_interface_gives_the_same_remedy_as_inspect(self, mock_client):
|
|
30
|
+
metadata = known_metadata()
|
|
31
|
+
metadata["interface"] = {
|
|
32
|
+
"status": "unknown",
|
|
33
|
+
"provenance": "inspected",
|
|
34
|
+
"reason": "public_interface_not_declared",
|
|
35
|
+
}
|
|
36
|
+
detail = "Deploy the program again with named forward() parameters"
|
|
37
|
+
mock_client.get.side_effect = [
|
|
38
|
+
available_signature(DID, metadata=metadata),
|
|
39
|
+
{"interface": {"status": "unknown", "reason": "public_interface_not_declared", "detail": detail}},
|
|
40
|
+
]
|
|
41
|
+
with pytest.raises(CliError, match="Deploy the program again"):
|
|
42
|
+
top.cmd_schema(mock_client, _args())
|
|
43
|
+
|
|
29
44
|
def test_json_lists_fields(self, mock_client, capsys):
|
|
30
45
|
metadata = known_metadata(
|
|
31
46
|
inputs=[
|
|
@@ -116,7 +131,7 @@ class TestSample:
|
|
|
116
131
|
def _resp(self):
|
|
117
132
|
return [
|
|
118
133
|
{"program_name": "RAG", "program_id": PROGRAM_ID, "program_signature_hash": "ffffffffffffcfc7"},
|
|
119
|
-
{"examples": [{"inputs": '{"question": "hi"}', "trace_id": "t_1"}]},
|
|
134
|
+
{"examples": [{"inputs": '{"question": "hi"}', "trace_id": "t_1", "status": "ok"}]},
|
|
120
135
|
]
|
|
121
136
|
|
|
122
137
|
def test_json_envelope(self, mock_client, capsys):
|
|
@@ -126,6 +141,7 @@ class TestSample:
|
|
|
126
141
|
assert out["input"] == {"question": "hi"}
|
|
127
142
|
assert out["source_trace_id"] == "t_1"
|
|
128
143
|
assert mock_client.get.call_args_list[1].args[0] == f"/api/v1/signatures/{PROGRAM_ID}/examples"
|
|
144
|
+
assert mock_client.get.call_args_list[1].kwargs["params"]["status"] == "ok"
|
|
129
145
|
|
|
130
146
|
def test_a_deployment_without_a_program_id_is_refused_without_a_hash_read(self, mock_client):
|
|
131
147
|
mock_client.get.return_value = {"program_name": "RAG", "program_signature_hash": "ffffffffffffcfc7"}
|
|
@@ -151,3 +167,11 @@ class TestSample:
|
|
|
151
167
|
cap = capsys.readouterr()
|
|
152
168
|
assert cap.out.strip() == ""
|
|
153
169
|
assert "no recorded inputs" in cap.err
|
|
170
|
+
|
|
171
|
+
def test_a_server_that_ignores_the_status_filter_cannot_suggest_a_failed_input(self, mock_client):
|
|
172
|
+
mock_client.get.side_effect = [
|
|
173
|
+
{"program_name": "RAG", "program_id": PROGRAM_ID},
|
|
174
|
+
{"examples": [{"inputs": {"questoin": "typo"}, "status": "error"}]},
|
|
175
|
+
]
|
|
176
|
+
with pytest.raises(CliError, match="successful traces"):
|
|
177
|
+
top.cmd_sample(mock_client, _args())
|
|
@@ -644,10 +644,36 @@ def test_a_failed_run_names_its_trace_on_the_raised_error(monkeypatch: pytest.Mo
|
|
|
644
644
|
return httpx.Response(200, json={**_run("failed", failure, available=True), "trace_id": TRACE_ID}, request=req)
|
|
645
645
|
|
|
646
646
|
_transport(monkeypatch, answer)
|
|
647
|
-
with pytest.raises(
|
|
647
|
+
with pytest.raises(cmpnd.RunFailed) as caught:
|
|
648
648
|
_client().run_deployment(DEPLOYMENT_ID)
|
|
649
649
|
assert _client().get_trace_id(caught.value) == TRACE_ID
|
|
650
650
|
assert _client().deployment_run_id(caught.value) == RUN_ID
|
|
651
|
+
assert caught.value.run_id == RUN_ID
|
|
652
|
+
assert caught.value.trace_id == TRACE_ID
|
|
653
|
+
assert caught.value.error == failure["error"]
|
|
654
|
+
assert "failed with 500" not in str(caught.value)
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
def test_cancelled_run_is_a_typed_outcome_without_an_invented_http_status(monkeypatch):
|
|
658
|
+
failure = {"error": {"type": "cancelled", "message": "The run was cancelled before it settled"}}
|
|
659
|
+
|
|
660
|
+
def answer(req):
|
|
661
|
+
return httpx.Response(200, json={**_run("failed", failure, available=True), "trace_id": TRACE_ID}, request=req)
|
|
662
|
+
|
|
663
|
+
_transport(monkeypatch, answer)
|
|
664
|
+
with pytest.raises(cmpnd.RunCancelled) as caught:
|
|
665
|
+
_client().run_deployment(DEPLOYMENT_ID)
|
|
666
|
+
assert isinstance(caught.value, cmpnd.RunFailed)
|
|
667
|
+
assert caught.value.run_id == RUN_ID and caught.value.trace_id == TRACE_ID
|
|
668
|
+
assert caught.value.error == failure["error"]
|
|
669
|
+
assert "500" not in str(caught.value)
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
def test_program_id_advice_names_the_program_name_instead_of_an_invalid_address():
|
|
673
|
+
with pytest.raises(ValueError) as caught:
|
|
674
|
+
_client().run_deployment("p_0123456789Ab")
|
|
675
|
+
assert "ProgramAddress.parse('p_0123456789Ab')" not in str(caught.value)
|
|
676
|
+
assert "program name" in str(caught.value)
|
|
651
677
|
|
|
652
678
|
|
|
653
679
|
def test_a_retryable_provider_failure_names_its_trace(monkeypatch: pytest.MonkeyPatch):
|
|
@@ -261,7 +261,7 @@ def test_execute_stored_failure_preserves_run_id_and_provider_type(monkeypatch:
|
|
|
261
261
|
if retryable:
|
|
262
262
|
failure.update(retryable=True, failure={"domain": "provider", "upstream_status": 503, "attempts": 3})
|
|
263
263
|
_transport(monkeypatch, lambda req: httpx.Response(200, json=_run("failed", failure), request=req))
|
|
264
|
-
with pytest.raises(
|
|
264
|
+
with pytest.raises(cmpnd.RunFailed) as caught:
|
|
265
265
|
_client().run_deployment("d_ready")
|
|
266
266
|
assert _client().deployment_run_id(caught.value) == RUN_ID
|
|
267
267
|
if retryable:
|
|
@@ -269,7 +269,7 @@ def test_execute_stored_failure_preserves_run_id_and_provider_type(monkeypatch:
|
|
|
269
269
|
assert caught.value.provider_status == 503
|
|
270
270
|
assert caught.value.attempts == 3
|
|
271
271
|
else:
|
|
272
|
-
assert type(caught.value) is
|
|
272
|
+
assert type(caught.value) is cmpnd.RunFailed
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
OUTAGE = (
|
|
@@ -291,16 +291,17 @@ def test_a_provider_outage_reads_as_the_providers_and_names_no_platform_status(m
|
|
|
291
291
|
_client().run_deployment("d_ready")
|
|
292
292
|
assert str(caught.value) == f"Deployment run {RUN_ID} failed: {OUTAGE}"
|
|
293
293
|
# The status stays on the exception for a caller that reads it.
|
|
294
|
-
assert caught.value.
|
|
294
|
+
assert caught.value.execution_status == 500
|
|
295
295
|
assert (caught.value.provider_status, caught.value.attempts, caught.value.retry_after) == (503, 3, 120)
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
def test_a_failure_that_is_not_the_providers_keeps_its_status(monkeypatch: pytest.MonkeyPatch):
|
|
299
299
|
failure = {"error": {"type": "RunFailed", "message": "KeyError: 'answer'"}, "execution_status": 500}
|
|
300
300
|
_transport(monkeypatch, lambda req: httpx.Response(200, json=_run("failed", failure), request=req))
|
|
301
|
-
with pytest.raises(
|
|
301
|
+
with pytest.raises(cmpnd.RunFailed) as caught:
|
|
302
302
|
_client().run_deployment("d_ready")
|
|
303
|
-
assert str(caught.value) == f"Deployment run {RUN_ID} failed
|
|
303
|
+
assert str(caught.value) == f"Deployment run {RUN_ID} failed: KeyError: 'answer'"
|
|
304
|
+
assert caught.value.execution_status == 500
|
|
304
305
|
|
|
305
306
|
|
|
306
307
|
class TestDeployedProgram:
|
|
@@ -121,9 +121,11 @@ def test_raw_deployments_run_alias_reads_same_result(transport, capsys):
|
|
|
121
121
|
def test_stored_error_and_null_output_keep_run_id(transport):
|
|
122
122
|
responses, _ = transport
|
|
123
123
|
responses.append(httpx.Response(200, json=_run("failed", {"error": {"message": "bad input"}})))
|
|
124
|
-
with pytest.raises(
|
|
124
|
+
with pytest.raises(cmpnd.RunFailed) as caught:
|
|
125
125
|
_client().run_deployment(DEPLOYMENT_ID)
|
|
126
126
|
assert _client().deployment_run_id(caught.value) == RUN_ID
|
|
127
|
+
assert caught.value.execution_status is None
|
|
128
|
+
assert not isinstance(caught.value, httpx.HTTPStatusError)
|
|
127
129
|
|
|
128
130
|
responses.append(httpx.Response(200, json=_run("completed", {"output": None})))
|
|
129
131
|
result = _client().run_deployment(DEPLOYMENT_ID)
|
|
@@ -45,6 +45,36 @@ CONTRACT_REFUSAL = {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
|
|
48
|
+
@pytest.mark.parametrize("key", ["count", "schema_version", "prompt_schema_version", "release.schema_version"])
|
|
49
|
+
def test_bad_tag_value_reports_the_field_without_recommending_an_upgrade(key: str):
|
|
50
|
+
import httpx
|
|
51
|
+
|
|
52
|
+
response = httpx.Response(
|
|
53
|
+
422,
|
|
54
|
+
request=httpx.Request("POST", "https://example.test/api/v1/traces"),
|
|
55
|
+
json={
|
|
56
|
+
"error": f"spans[0].tags.{key} must be a string, got 3",
|
|
57
|
+
"error_code": "trace_submission_contract",
|
|
58
|
+
"field": f"spans[0].tags.{key}",
|
|
59
|
+
},
|
|
60
|
+
)
|
|
61
|
+
rejection = rejections.rejection_of(httpx.HTTPStatusError("rejected", request=response.request, response=response))
|
|
62
|
+
assert rejection is not None
|
|
63
|
+
message = rejections.describe(rejection, "trace", "5 records")
|
|
64
|
+
assert f"tags.{key}" in message and "got 3" in message
|
|
65
|
+
assert "Upgrade" not in message
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
@pytest.mark.parametrize(
|
|
69
|
+
"field", ["schema_version", "[1].schema_version", "spans[2].schema_version", "[1].spans[2].schema_version"]
|
|
70
|
+
)
|
|
71
|
+
def test_schema_version_contract_paths_recommend_an_upgrade(field: str):
|
|
72
|
+
refusal = rejections.Rejection(
|
|
73
|
+
422, "POST", "/api/v1/traces", "unsupported version", rejections.CONTRACT_ERROR_CODE, field, None
|
|
74
|
+
)
|
|
75
|
+
assert refusal.needs_upgrade
|
|
76
|
+
|
|
77
|
+
|
|
48
78
|
@dataclass
|
|
49
79
|
class Answer:
|
|
50
80
|
status: int
|
|
@@ -59,6 +59,21 @@ def _lm(answers: list[dict[str, str]]) -> DummyLM:
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
class TestUserLabelsAreChecked:
|
|
62
|
+
@pytest.mark.parametrize("tags", [{"count": 3}, {"cmpnd.env": "prod"}, {"bad=key": "v"}, {"long": "x" * 257}])
|
|
63
|
+
def test_client_refuses_bad_default_tags_at_construction(self, tags):
|
|
64
|
+
with pytest.raises(ValueError, match="default_tags"):
|
|
65
|
+
Client(api_key="k", default_tags=tags)
|
|
66
|
+
|
|
67
|
+
def test_client_counts_default_tags_and_labels_together(self):
|
|
68
|
+
with pytest.raises(ValueError, match="112"):
|
|
69
|
+
Client(api_key="k", default_tags={f"k{i}": "v" for i in range(112)}, labels={"extra": "v"})
|
|
70
|
+
|
|
71
|
+
def test_metadata_and_tag_filters_point_at_labels(self):
|
|
72
|
+
client = Client(api_key="k")
|
|
73
|
+
for kwargs in ({"metadata": {"env": "prod"}}, {"tags": {"env": "prod"}}):
|
|
74
|
+
with pytest.raises(TypeError, match="labels"):
|
|
75
|
+
client.list_traces(**kwargs)
|
|
76
|
+
|
|
62
77
|
@pytest.mark.parametrize("key", ["cmpnd.env", "dspy.module_class"])
|
|
63
78
|
def test_a_reserved_key_is_refused_naming_its_namespace(self, key: str):
|
|
64
79
|
namespace = key.split(".")[0] + "."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|