Python: Add tau2 benchmark integration with comprehensive testing and documentation (#817)

* first commit to tau2-bench

* tau2-bench agent

* tau2 agent

* add condition

* checkpoint

* bug fix

* add tests

* fix tests

* add comments

* add comments

* minor fix

* fix

* batch test script

* .

* init.bak -> init.py

* fix mypy

* update readme

* fix env

* remove temp files

* setup tests

* fix gaia tasks

* fix tau2 tests

* fix coverage

* fix default version

* update cookiecutter template

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
Yuge Zhang
2025-09-21 16:08:45 -07:00
committed by GitHub
Unverified
parent 52790b9f6a
commit 205cd700c8
34 changed files with 3675 additions and 9 deletions
@@ -36,6 +36,7 @@ requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["agent_framework_lab_{{ cookiecutter.package_name }}", "agent_framework.lab.{{ cookiecutter.package_name }}"]
[tool.setuptools.package-data]
@@ -66,7 +67,7 @@ warn_return_any = true
warn_unreachable = true
show_error_codes = true
implicit_reexport = true
packages = ["agent_framework_lab_{{ cookiecutter.package_name }}"]
packages = ["src.agent_framework_lab_{{ cookiecutter.package_name }}"]
{% if cookiecutter.within_microsoft_agent_framework_repo == "y" %}
[tool.poe]
@@ -86,7 +87,7 @@ mypy = "mypy agent_framework_lab_{{ cookiecutter.package_name }}"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
pythonpath = ["src"]
addopts = "--strict-markers --strict-config"
markers = [
"unit: marks tests as unit tests",
@@ -4,13 +4,18 @@
{{ cookiecutter.package_description }}
"""
import importlib.metadata
# Import your main exports here
# from .main_module import MainClass, main_function
try:
__version__ = importlib.metadata.version(__name__)
except importlib.metadata.PackageNotFoundError:
__version__ = "0.0.0" # Fallback for development mode
__all__ = [
# List your exports here
# "MainClass",
# "main_function",
]
__version__ = "{{ cookiecutter.version }}"