conductor-oss / conductor-oss/python-sdk

The documented import for `assert_output_satisfies` raises `ImportError`

Đang mở Phù hợp với người mới
#502 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
104
Fork
42
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
3

Mô tả

## 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with src/conductor/ai/agents/testing/semantic.py and src/conductor/ai/agents/testing/__init__.py, especially the documented import and the __all__ section at lines 61-97. Reproduce the failure with the Python command in the issue, then verify the chosen documentation or export behavior with the relevant testing package checks. Done means the documented import is consistent with the supported public API.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
testing
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
90/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.