Skip to content

Commit 5c8685d

Browse files
committed
Change(analysis): Update categories
1 parent 4ce7a2c commit 5c8685d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

codeclash/analysis/llm_as_judge/categorize_actions.py

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

3838
# Generate all category combinations
3939
_all_categories = (
40-
["search", "submit", "other"]
40+
["search", "navigate", "submit", "other"]
4141
+ [f"read.{sub}.{subsub}" for sub in _read_subcategories for subsub in _read_subsubcategories]
4242
+ [f"write.{sub}.{subsub}" for sub in _write_subcategories for subsub in _write_subsubcategories]
4343
+ [f"execute.{sub}.{subsub}" for sub in _execute_subcategories for subsub in _execute_subsubcategories]

codeclash/analysis/llm_as_judge/categorize_actions.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Incrementing this version will cause previous submissions to be re-evaluated
2-
version: 2
2+
version: 3
33
system_prompt: |
44
You are helping to analyze the actions of a LM agent (summarily referred to as "trajectory").
55
@@ -9,9 +9,10 @@ system_prompt: |
99
1010
## Search operations
1111
12-
- `search`: Commonly find or grep commands.
12+
- `search`: grep or similar commands that search through files.
13+
- `navigate`: Commonly navigate through the file system and discover files. Includes commands like `ls`, `cd`, `pwd`, `find`, `tree`, etc.
1314
14-
This does NOT include running more complicated analysis scripts on files. Rule of thumb: If it's a bash command, it's a read operation, if a python script is executed, it probably belongs in the execution category.
15+
This does NOT include running more complicated analysis search scripts on files. Rule of thumb: If it's a bash command, it belongs in this category, if a python script is executed, it probably belongs in the execution category.
1516
1617
## Read operations
1718

0 commit comments

Comments
 (0)