mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
Use experiment metadata to see experiment id in metrics_analysis.py
This commit is contained in:
parent
ee98254d2f
commit
22c7466e53
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ def load_data(experiment_id: str, database_uri: str = os.environ.get("DATABASE_U
|
|||
query = """
|
||||
SELECT * FROM optimization_features
|
||||
WHERE (trace_id LIKE %s OR trace_id LIKE %s)
|
||||
AND experiment_id = %s
|
||||
AND experiment_metadata->>'id' = %s
|
||||
"""
|
||||
return pd.read_sql_query(
|
||||
query,
|
||||
|
|
|
|||
Loading…
Reference in a new issue