We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could we implement this?
Benchmark.get_version() -> str
meant to replace this code:
def _get_benchmark_version(benchmark: bgym.Benchmark) -> str: benchmark_name = benchmark.name if hasattr(benchmark, "get_version"): return benchmark.get_version() # in the mean time if benchmark_name.startswith("miniwob"): return metadata.distribution("browsergym.miniwob").version elif benchmark_name.startswith("workarena"): return metadata.distribution("browsergym.workarena").version elif benchmark_name.startswith("webarena"): return metadata.distribution("browsergym.webarena").version elif benchmark_name.startswith("visualwebarena"): return metadata.distribution("browsergym.visualwebarena").version elif benchmark_name.startswith("weblinx"): try: return metadata.distribution("weblinx_browsergym").version except metadata.PackageNotFoundError: return "0.0.1rc1" else: raise ValueError(f"Unknown benchmark {benchmark_name}")
The text was updated successfully, but these errors were encountered:
gasse
No branches or pull requests
Could we implement this?
meant to replace this code:
The text was updated successfully, but these errors were encountered: