Skip to content

Commit 3860779

Browse files
author
ronuchit
authored
rename some files in scripts/ (#589)
* rename some files in scripts/ * a bunch more movement * feedback
1 parent cf92d61 commit 3860779

12 files changed

Lines changed: 14 additions & 15 deletions

launch_slack_bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
REPO_NAME = "Learning-and-Intelligent-Systems/predicators"
1616
ANALYSIS_CMD = "python scripts/analyze_results_directory.py"
17-
LAUNCH_CMD = "./scripts/run_supercloud_experiments.sh"
17+
LAUNCH_CMD = "./scripts/supercloud/run_nightly_experiments.sh"
1818
MAX_CHARS_PER_MESSAGE = 3500 # actual limit is 4000, but we keep a buffer
1919
GITHUB_SEARCH_RESPONSE_MAX_FILE_MATCHES = 3
2020
SUPERCLOUD_LOGIN_SERVER = "login-2" # can also use login-3 or login-4
@@ -344,8 +344,8 @@ def _supercloud_get_message_chunks(self) -> List[str]:
344344
def _supercloud_get_filename(self) -> Optional[str]:
345345
if not self._generated_csv:
346346
return None
347-
self._scp_filename("supercloud_analysis.csv")
348-
return "supercloud_analysis.csv"
347+
self._scp_filename("results_summary.csv")
348+
return "results_summary.csv"
349349

350350

351351
def _get_response_object(query: str, inquirer: str) -> Response:

scripts/analyze_results_directory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def _main() -> None:
157157
pd.set_option("expand_frame_repr", False)
158158
print("\n\nAGGREGATED DATA OVER SEEDS:")
159159
print(means)
160-
means.to_csv("supercloud_analysis.csv")
161-
print("\n\nWrote out table to supercloud_analysis.csv")
160+
means.to_csv("results_summary.csv")
161+
print("\n\nWrote out table to results_summary.csv")
162162

163163

164164
if __name__ == "__main__":

scripts/run_active_learning_baseline.sh renamed to scripts/supercloud/run_active_learning_baseline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
START_SEED=456
44
NUM_SEEDS=10
55
CYCLES=100
6-
FILE="scripts/submit.py"
6+
FILE="scripts/supercloud/submit_supercloud_job.py"
77

88
for SEED in $(seq $START_SEED $((NUM_SEEDS+START_SEED-1))); do
99
python $FILE --env cover --approach interactive_learning --seed $SEED --excluded_predicates Covers --interactive_query_policy nonstrict_best_seen --interactive_score_function trivial --num_online_learning_cycles $CYCLES --max_initial_demos 1

scripts/run_entropy_experiments.sh renamed to scripts/supercloud/run_entropy_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ START_THRESH=0.1
66
INCREMENT=0.1
77
END_THRESH=0.9
88
CYCLES=100
9-
FILE="scripts/submit.py"
9+
FILE="scripts/supercloud/submit_supercloud_job.py"
1010

1111
# to find an appropriate threshold
1212
for SEED in $(seq $START_THRESH $((NUM_SEEDS+START_THRESH-1))); do

scripts/run_supercloud_experiments.sh renamed to scripts/supercloud/run_nightly_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
START_SEED=456
44
NUM_SEEDS=10
5-
FILE="scripts/submit.py"
5+
FILE="scripts/supercloud/submit_supercloud_job.py"
66

77
for SEED in $(seq $START_SEED $((NUM_SEEDS+START_SEED-1))); do
88
# cover

scripts/run_playroom_experiments.sh renamed to scripts/supercloud/run_playroom_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
START_SEED=456
44
NUM_SEEDS=5
5-
FILE="scripts/submit.py"
5+
FILE="scripts/supercloud/submit_supercloud_job.py"
66
MAX_RATIO=1.0
77
MIN_RATIO=0.8
88
INCREMENT=-0.1

scripts/run_predicators_baseline_experiments.sh renamed to scripts/supercloud/run_predicators_main_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
START_SEED=456
44
NUM_SEEDS=10
5-
FILE="scripts/submit.py"
5+
FILE="scripts/supercloud/submit_supercloud_job.py"
66
NUM_TRAIN_TASKS="200"
77
ALL_ENVS=(
88
"cover"

scripts/run_predicators_num_demos_experiments.sh renamed to scripts/supercloud/run_predicators_num_demos_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
START_SEED=456
44
NUM_SEEDS=10
5-
FILE="scripts/submit.py"
5+
FILE="scripts/supercloud/submit_supercloud_job.py"
66
ALL_NUM_TRAIN_TASKS=(
77
"25"
88
"50"

scripts/run_score_function_experiments.sh renamed to scripts/supercloud/run_score_function_experiments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
START_SEED=456
44
NUM_SEEDS=10
55
CYCLES=100
6-
FILE="scripts/submit.py"
6+
FILE="scripts/supercloud/submit_supercloud_job.py"
77

88
for SEED in $(seq $START_SEED $((NUM_SEEDS+START_SEED-1))); do
99
# section kid

scripts/submit.py renamed to scripts/supercloud/submit_supercloud_job.py

File renamed without changes.

0 commit comments

Comments
 (0)