hud-python 0.1.4__tar.gz → 0.1.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.

Potentially problematic release.


This version of hud-python might be problematic. Click here for more details.

Files changed (46) hide show
  1. {hud_python-0.1.4 → hud_python-0.1.5}/PKG-INFO +1 -1
  2. {hud_python-0.1.4 → hud_python-0.1.5}/docs/introduction.mdx +1 -1
  3. {hud_python-0.1.4 → hud_python-0.1.5}/hud/__init__.py +1 -1
  4. {hud_python-0.1.4 → hud_python-0.1.5}/hud/environment.py +2 -1
  5. {hud_python-0.1.4 → hud_python-0.1.5}/pyproject.toml +1 -1
  6. {hud_python-0.1.4 → hud_python-0.1.5}/tests/test_import.py +1 -1
  7. {hud_python-0.1.4 → hud_python-0.1.5}/.env.example +0 -0
  8. {hud_python-0.1.4 → hud_python-0.1.5}/.github/workflows/ci.yml +0 -0
  9. {hud_python-0.1.4 → hud_python-0.1.5}/.github/workflows/release.yml +0 -0
  10. {hud_python-0.1.4 → hud_python-0.1.5}/.gitignore +0 -0
  11. {hud_python-0.1.4 → hud_python-0.1.5}/LICENSE +0 -0
  12. {hud_python-0.1.4 → hud_python-0.1.5}/MANIFEST.in +0 -0
  13. {hud_python-0.1.4 → hud_python-0.1.5}/README.md +0 -0
  14. {hud_python-0.1.4 → hud_python-0.1.5}/agent/base.py +0 -0
  15. {hud_python-0.1.4 → hud_python-0.1.5}/agent/claude.py +0 -0
  16. {hud_python-0.1.4 → hud_python-0.1.5}/agent/response_agent.py +0 -0
  17. {hud_python-0.1.4 → hud_python-0.1.5}/docs/api-reference/adapters.mdx +0 -0
  18. {hud_python-0.1.4 → hud_python-0.1.5}/docs/api-reference/client.mdx +0 -0
  19. {hud_python-0.1.4 → hud_python-0.1.5}/docs/api-reference/env.mdx +0 -0
  20. {hud_python-0.1.4 → hud_python-0.1.5}/docs/concepts/adapter.mdx +0 -0
  21. {hud_python-0.1.4 → hud_python-0.1.5}/docs/concepts/client.mdx +0 -0
  22. {hud_python-0.1.4 → hud_python-0.1.5}/docs/concepts/environment.mdx +0 -0
  23. {hud_python-0.1.4 → hud_python-0.1.5}/docs/concepts/gym.mdx +0 -0
  24. {hud_python-0.1.4 → hud_python-0.1.5}/docs/examples/custom-agent.mdx +0 -0
  25. {hud_python-0.1.4 → hud_python-0.1.5}/docs/installation.mdx +0 -0
  26. {hud_python-0.1.4 → hud_python-0.1.5}/docs/logo/HUD.svg +0 -0
  27. {hud_python-0.1.4 → hud_python-0.1.5}/docs/mint.json +0 -0
  28. {hud_python-0.1.4 → hud_python-0.1.5}/docs/quickstart.mdx +0 -0
  29. {hud_python-0.1.4 → hud_python-0.1.5}/examples/README.md +0 -0
  30. {hud_python-0.1.4 → hud_python-0.1.5}/examples/claude_osworld.ipynb +0 -0
  31. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/__init__.py +0 -0
  32. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/claude/__init__.py +0 -0
  33. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/claude/adapter.py +0 -0
  34. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/common/__init__.py +0 -0
  35. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/common/adapter.py +0 -0
  36. {hud_python-0.1.4 → hud_python-0.1.5}/hud/adapters/common/types.py +0 -0
  37. {hud_python-0.1.4 → hud_python-0.1.5}/hud/client.py +0 -0
  38. {hud_python-0.1.4 → hud_python-0.1.5}/hud/gym.py +0 -0
  39. {hud_python-0.1.4 → hud_python-0.1.5}/hud/py.typed +0 -0
  40. {hud_python-0.1.4 → hud_python-0.1.5}/hud/run.py +0 -0
  41. {hud_python-0.1.4 → hud_python-0.1.5}/hud/server/__init__.py +0 -0
  42. {hud_python-0.1.4 → hud_python-0.1.5}/hud/server/requests.py +0 -0
  43. {hud_python-0.1.4 → hud_python-0.1.5}/hud/settings.py +0 -0
  44. {hud_python-0.1.4 → hud_python-0.1.5}/hud/utils/__init__.py +0 -0
  45. {hud_python-0.1.4 → hud_python-0.1.5}/hud/utils/config.py +0 -0
  46. {hud_python-0.1.4 → hud_python-0.1.5}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hud-python
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: SDK for the HUD evaluation platform.
5
5
  Project-URL: Homepage, https://github.com/Human-Data/hud-sdk
6
6
  Project-URL: Bug Tracker, https://github.com/Human-Data/hud-sdk/issues
@@ -3,7 +3,7 @@ title: "HUD SDK | Docs"
3
3
  description: "A Python SDK for interacting with HUD environments and evaluation benchmarks for browser use and computer use models."
4
4
  ---
5
5
 
6
- > **Alpha Release Notice**: This SDK is currently in beta status (v0.1.4). The API is still evolving and may change in future releases as we gather feedback and improve functionality.
6
+ > **Alpha Release Notice**: This SDK is currently in beta status (v0.1.5). The API is still evolving and may change in future releases as we gather feedback and improve functionality.
7
7
 
8
8
  [Visit our homepage hud.so →](https://hud.so)
9
9
 
@@ -9,7 +9,7 @@ from hud.environment import Environment, EvalSet, Observation, TaskResult
9
9
  from hud.gym import Gym
10
10
  from hud.run import Run
11
11
 
12
- __version__ = "0.1.4"
12
+ __version__ = "0.1.5"
13
13
 
14
14
  __all__ = [
15
15
  "Environment",
@@ -210,7 +210,7 @@ class Environment:
210
210
  return self.adapter.adapt_list(action)
211
211
  return [self.adapter.adapt(action)]
212
212
 
213
- async def evaluate(self) -> RewardResponse:
213
+ async def evaluate(self, final_response: str | None = None) -> RewardResponse:
214
214
  """
215
215
  Get final evaluation score.
216
216
 
@@ -220,6 +220,7 @@ class Environment:
220
220
  data = await make_request(
221
221
  method="POST",
222
222
  url=f"{settings.base_url}/evaluation/{self.id}",
223
+ json={"final_response": final_response},
223
224
  api_key=settings.api_key,
224
225
  )
225
226
  return RewardResponse(**data)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hud-python"
3
- version = "0.1.4"
3
+ version = "0.1.5"
4
4
  description = "SDK for the HUD evaluation platform."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9, <3.14"
@@ -4,4 +4,4 @@ from __future__ import annotations
4
4
  def test_import():
5
5
  """Test that the package can be imported."""
6
6
  import hud
7
- assert hud.__version__ == "0.1.4"
7
+ assert hud.__version__ == "0.1.5"
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
File without changes
File without changes
File without changes
File without changes
File without changes