Skip to content

The documented import for assert_output_satisfies raises ImportError #502

Description

@ambiorix2099

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions