Buckets:
Data Cleansing Scripts
This folder contains scripts for cleaning the PartIII agent data and ranking pairs.
Files
clean_agent_frequency.py
This script reads the raw PartIII agent file:
../dataset/PartIII/agents/merge.json
It cleans noisy LLM and tool names, then outputs cleaned agents and frequency statistics into this folder.
Main outputs:
merge.cleaned.json
llm_frequency.json
tool_frequency.json
llm_count.json
tool_count.json
frequency_cleansing_summary.json
Cleaning rules:
- LLM names containing
partare treated as noisy and replaced withDefault_LLM. - Tool names are cleaned more conservatively. Only obvious
PartI,PartII, orPartIIIstyle tool names are replaced withDefault_Tool.
Run:
python clean_agent_frequency.py
create_partiii_cleaned.py
This script reads:
merge.cleaned.json
../dataset/PartIII/rankings/merge.json
It removes invalid question-agent pairs from the rankings. An agent is treated as invalid if it uses Default_LLM, uses Default_Tool, or is missing from the cleaned agent file.
Main outputs:
PartIII_cleaned/agents/merge.json
PartIII_cleaned/rankings/merge.json
PartIII_cleaned/cleaning_summary.json
Run:
python create_partiii_cleaned.py
Output Folder
After running both scripts, this folder will contain cleaned agents, frequency statistics, and a cleaned PartIII dataset with invalid ranking pairs removed.
Xet Storage Details
- Size:
- 1.48 kB
- Xet hash:
- c259e258f8b5f54351f41aea346519a43e7d0c415e2b33a90fee60eb59d0f7f8
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.