# Mitigating Strategy-Selection Bias in Reasoning for More Effective Test-Time Scaling

## Installation
Make sure you have Python>=3.8 installed on your machine.
```
pip install torch==1.8.2+cu111 torchtext==0.9.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
pip install -r requirements.txt
```

## Set your OpenAI API key
```
client = OpenAI(
    api_key="YOUR OPENAI API KEY"
)
```

## Quick Start

### Uniform-C-Z
```
PYTHONIOENCODING=utf-8 python Uniform-C-Z.py --dataset=aime24 --limit_dataset=0 > ./Log/aime24_Uniform-C-(Z)_4omini_4per_1.log 2>&1
```

### Uniform-C-F
```
PYTHONIOENCODING=utf-8 python Uniform-C-F.py --dataset=aime24 --limit_dataset=0 > ./Log/aime24_Uniform-C-(F)_4omini_4per_1.log 2>&1
```


