You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from alab_management import get_experiment_results
results = get_experiment_results(exp_id)
but this leads to
File "/Users/jkitchin/Dropbox/emacs/projects/projects/claude/alabos/examples/claude-light/get_results.py", line 4, in <module>
from alab_management import get_experiment_results
ImportError: cannot import name 'get_experiment_results' from 'alab_management' (/Users/jkitchin/Dropbox/emacs/projects/projects/claude/alabos/alab_management/__init__.py)
Expected Behavior
Maybe it should be
from alab_management.builders.experimentbuilder import get_experiment_result
results = get_experiment_result('67053622de1c825bbd241f2d')
print(results)
Thank you for testing and reporting the bug! I have created a fix to correctly import. I also updated the function name in the document from get_experiment_results to get_experiment_result as it can only return one experiment result at a time.
That is, once the new update is merged, you should be able to use the following code (also updated in the document) to get the result.
from alab_managementimport get_experiment_result
results = get_experiment_result('67053622de1c825bbd241f2d')
print(results)
idocx
linked a pull request
Oct 8, 2024
that will
close
this issue
Current behavior
At https://cedergrouphub.github.io/alabos/submit_experiments.html#get-the-results it suggests you get results with
but this leads to
Expected Behavior
Maybe it should be
I think the issue is in
alabos/alab_management/__init__.py
Line 6 in 5b6f178
alabos/alab_management/builders/__init__.py
Line 6 in 5b6f178
Minimal example
No response
Relevant files/images/logs
No response
The text was updated successfully, but these errors were encountered: