conductor-oss / conductor-oss/python-sdk

The documented import for `assert_output_satisfies` raises `ImportError`

未关闭 适合新手
#502 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
104
派生
42
平均合并
2 天 1 小时
30 天内合并 PR
3

描述

## Bug Description

The import shown in `semantic.py`'s own module docstring fails.

## Root Cause

`src/conductor/ai/agents/testing/semantic.py:9` documents
`from conductor.ai.agents.testing import assert_output_satisfies`, but `testing/__init__.py`
never imports `semantic` and the name is absent from `__all__` (`__init__.py:61-97`).

## Steps to Reproduce

```
python -c "from conductor.ai.agents.testing import assert_output_satisfies"
# ImportError
```

## Expected Behavior

Either add the re-export or correct the docstring. The re-export looks like the intent, since
every other assertion in the package is exposed that way. Working import today is
`from conductor.ai.agents.testing.semantic import assert_output_satisfies`.

## Additional Notes

Verified against `origin/main` @ `c99e2cf9`. Found while reading the module; unrelated to the
tool-call and event defects filed separately.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 src/conductor/ai/agents/testing/semantic.py 和 src/conductor/ai/agents/testing/__init__.py 开始,重点查看文档中的 import 以及第 61-97 行的 __all__ 部分。使用 issue 中的 Python 命令复现失败,然后通过 testing 包的相关检查验证所选的文档或导出行为。当文档中的 import 与受支持的公共 API 保持一致时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
testing
Issue 类型
缺陷
难度
1/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
90/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。