Skip to content

Commit 1de57f3

Browse files
committed
- Ensure write permissions for output folder.
- Give different names for each app (to make results distinguishable). - Regen queries by default in scenarios.
1 parent 5e1dfe5 commit 1de57f3

4 files changed

Lines changed: 19 additions & 14 deletions

File tree

.github/workflows/run-scenario.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ jobs:
9797
password: ${{ secrets.GHCR_TOKEN }}
9898

9999
- name: Run assessment
100-
run: docker compose up --timestamps --no-color --exit-code-from agentbeats-client --abort-on-container-exit
100+
run: |
101+
mkdir -p output
102+
chmod 777 output
103+
docker compose up --timestamps --no-color --exit-code-from agentbeats-client --abort-on-container-exit
101104
102105
- name: Record provenance
103106
run: python record_provenance.py --compose docker-compose.yml --output output/provenance.json

k8s_scenario.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[green_agent]
22
agentbeats_id = ""
3-
env = { API_KEY = "${GITHUB_SECRET_NAME}", LOG_LEVEL = "INFO" }
3+
env = { LOG_LEVEL = "INFO" }
44

55
[[participants]]
66
agentbeats_id = ""
7-
name = "network_operator"
7+
name = "k8s_operator"
88
env = {}
99

1010
[config]
1111
prompt_type = "zeroshot_base"
1212
num_queries = 1
1313
benchmark_path = "assessment_error_config.json"
14-
output_dir = "output"
15-
microservice_dir = "/home/ericwang/microservices-demo"
16-
max_iterations = 10
14+
output_dir = "dump"
15+
microservice_dir = "/microservices-demo"
16+
max_iterations = 10
17+
regenerate_config = true

malt_scenario.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[green_agent]
22
agentbeats_id = ""
3-
env = { API_KEY = "${GITHUB_SECRET_NAME}", LOG_LEVEL = "INFO" }
3+
env = { LOG_LEVEL = "INFO" }
44

55
[[participants]]
66
agentbeats_id = ""
7-
name = "network_operator"
7+
name = "malt_operator"
88
env = {}
99

1010
[config]
1111
prompt_type = "zeroshot_base"
1212
num_queries = 1
1313
complexity_level = ["level1", "level2"]
14-
output_dir = "output"
14+
output_dir = "dump"
1515
output_file = "query_output.jsonl"
16-
benchmark_path = "assessment_queries.jsonl"
16+
benchmark_path = "assessment_queries.jsonl"
17+
regenerate_query = true

route_scenario.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[green_agent]
22
agentbeats_id = ""
3-
env = { API_KEY = "${GITHUB_SECRET_NAME}", LOG_LEVEL = "INFO" }
3+
env = { LOG_LEVEL = "INFO" }
44

55
[[participants]]
66
agentbeats_id = ""
7-
name = "network_operator"
7+
name = "routing_operator"
88
env = {}
99

1010
[config]
1111
prompt_type = "zeroshot_base"
1212
num_queries = 1
1313
benchmark_path = "assessment_error_config.json"
14-
regenerate_benchmark = false
15-
output_dir = "output"
14+
regenerate_benchmark = true
15+
output_dir = "dump"
1616
max_iterations = 10
1717
num_switches = 2
1818
num_hosts_per_subnet = 1

0 commit comments

Comments
 (0)