-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
26 lines (24 loc) · 815 Bytes
/
main.py
File metadata and controls
26 lines (24 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import logging
from llm_cache import setup_logging
from utils.plots import create_plots_directories
from utils.semantic_analysis import run_semantic_analysis
from utils.subplan_generation import (
generate_subplans,
annotate_subplans_with_true_cards,
annotate_subplans_with_pg_cards,
)
from local_agents import coding_loop
if __name__ == "__main__":
setup_logging(logging.INFO)
create_plots_directories()
with open("card_estimator.py", "w") as f:
f.write("# to be implemented\n")
with open("outputs/feedback.json", "w") as f:
f.write("{}")
with open("outputs/outliers.json", "w") as f:
f.write("[]")
generate_subplans()
annotate_subplans_with_true_cards()
annotate_subplans_with_pg_cards()
coding_loop()
run_semantic_analysis("outputs")