Datasets:
docs: trim README into a lean dataset card (421 -> 146 lines)
Browse filesCondense the dataset card to the essentials: description, composition
table, quick-start (load + run + leaderboard), scoring tables, merged
fields/answer-format section, contamination notes, citation, license.
Remove duplicated/generic content already covered in CLAUDE.md: the
6-step manual-usage walkthrough, Advanced Features prose, repo-layout
section, duplicate field list, and the generic troubleshooting section.
No dataset-specific information lost.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
README.md
CHANGED
|
@@ -47,15 +47,11 @@ dataset_info:
|
|
| 47 |
|
| 48 |
[](https://opensource.org/licenses/MIT)
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
-
* **JEE (Main & Advanced):** Joint Entrance Examination for engineering.
|
| 54 |
-
* **NEET:** National Eligibility cum Entrance Test for medical fields.
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
**Current Data:**
|
| 59 |
|
| 60 |
| Exam | Year | Set | Subjects | Questions |
|
| 61 |
|------|------|-----|----------|----------:|
|
|
@@ -67,340 +63,75 @@ The questions are presented in image format (`.png`) as they appear in the origi
|
|
| 67 |
| JEE Advanced | 2026 | Paper 1 & 2 | Physics, Chemistry, Mathematics | 102 |
|
| 68 |
| **Total** | | | | **860** |
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
##
|
| 73 |
|
| 74 |
-
|
| 75 |
-
* **📊 Exam-Specific Scoring:** Implements authentic scoring rules for different exams and question types, including partial marking for JEE Advanced
|
| 76 |
-
* **🔄 Robust API Handling:** Built-in retry mechanism and re-prompting for failed API calls or parsing errors
|
| 77 |
-
* **🎯 Flexible Filtering:** Filter by exam name, year, or specific question IDs for targeted evaluation
|
| 78 |
-
* **📈 Comprehensive Results:** Generates detailed JSON and human-readable Markdown summaries with section-wise breakdowns
|
| 79 |
-
* **🔧 Easy Configuration:** Simple YAML-based configuration for models and parameters
|
| 80 |
|
| 81 |
-
|
|
|
|
|
|
|
| 82 |
|
| 83 |
-
|
|
|
|
| 84 |
|
| 85 |
-
|
| 86 |
-
|
| 87 |
```
|
| 88 |
|
| 89 |
-
|
| 90 |
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
-
|
| 98 |
-
from datasets import load_dataset
|
| 99 |
-
import json
|
| 100 |
|
| 101 |
-
|
| 102 |
-
dataset = load_dataset("Reja1/jee-neet-benchmark", split='test')
|
| 103 |
|
| 104 |
-
|
| 105 |
-
example = dataset[0]
|
| 106 |
-
image = example["image"]
|
| 107 |
-
question_id = example["question_id"]
|
| 108 |
-
subject = example["subject"]
|
| 109 |
-
correct_answers = json.loads(example["correct_answer"]) # Parse JSON string
|
| 110 |
-
|
| 111 |
-
print(f"Question ID: {question_id}")
|
| 112 |
-
print(f"Subject: {subject}")
|
| 113 |
-
print(f"Correct Answer(s): {correct_answers}")
|
| 114 |
-
# Display the image (requires Pillow)
|
| 115 |
-
# image.show()
|
| 116 |
-
```
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
This repository contains scripts to run the benchmark evaluation directly:
|
| 121 |
-
|
| 122 |
-
1. **Clone the repository:**
|
| 123 |
-
```bash
|
| 124 |
-
git clone https://huggingface.co/datasets/Reja1/jee-neet-benchmark
|
| 125 |
-
cd jee-neet-benchmark
|
| 126 |
-
# Ensure Git LFS is installed and pull large files
|
| 127 |
-
git lfs pull
|
| 128 |
-
```
|
| 129 |
-
|
| 130 |
-
2. **Install dependencies:**
|
| 131 |
-
```bash
|
| 132 |
-
uv sync
|
| 133 |
-
```
|
| 134 |
-
|
| 135 |
-
3. **Configure API Key:**
|
| 136 |
-
* Create a file named `.env` in the root directory of the project.
|
| 137 |
-
* Add your OpenRouter API key to this file:
|
| 138 |
-
```dotenv
|
| 139 |
-
OPENROUTER_API_KEY=your_actual_openrouter_api_key_here
|
| 140 |
-
```
|
| 141 |
-
* **Important:** The `.gitignore` file is already configured to prevent committing the `.env` file. Never commit your API keys directly.
|
| 142 |
-
|
| 143 |
-
4. **Configure Models:**
|
| 144 |
-
* Edit the `configs/benchmark_config.yaml` file.
|
| 145 |
-
* Modify the `openrouter_models` list to include the specific model identifiers you want to evaluate:
|
| 146 |
-
```yaml
|
| 147 |
-
openrouter_models:
|
| 148 |
-
- "google/gemini-3.1-pro-preview"
|
| 149 |
-
- "anthropic/claude-opus-4.7"
|
| 150 |
-
- "openai/gpt-5.5"
|
| 151 |
-
- "openai/o3"
|
| 152 |
-
```
|
| 153 |
-
* Ensure these models support vision input on OpenRouter.
|
| 154 |
-
* You can also adjust other parameters like `max_tokens`, `request_timeout`, and `max_concurrent_requests` if needed.
|
| 155 |
-
|
| 156 |
-
5. **Run the benchmark:**
|
| 157 |
-
|
| 158 |
-
**Basic usage:**
|
| 159 |
-
```bash
|
| 160 |
-
uv run python src/benchmark_runner.py --config configs/benchmark_config.yaml --model "google/gemini-3.1-pro-preview"
|
| 161 |
-
```
|
| 162 |
-
|
| 163 |
-
**Filter by exam and year:**
|
| 164 |
-
```bash
|
| 165 |
-
# Run only NEET 2024 questions
|
| 166 |
-
uv run python src/benchmark_runner.py --config configs/benchmark_config.yaml --model "openai/o3" --exam_name NEET --exam_year 2024
|
| 167 |
-
|
| 168 |
-
# Run only JEE Advanced 2025 questions
|
| 169 |
-
uv run python src/benchmark_runner.py --config configs/benchmark_config.yaml --model "anthropic/claude-opus-4.7" --exam_name JEE_ADVANCED --exam_year 2025
|
| 170 |
-
```
|
| 171 |
-
|
| 172 |
-
**Run specific questions:**
|
| 173 |
-
```bash
|
| 174 |
-
uv run python src/benchmark_runner.py --config configs/benchmark_config.yaml --model "google/gemini-3.1-pro-preview" --question_ids "N24T3001,N24T3002,JA24P1M01"
|
| 175 |
-
```
|
| 176 |
-
|
| 177 |
-
**Resume an interrupted run:**
|
| 178 |
-
```bash
|
| 179 |
-
uv run python src/benchmark_runner.py --model "google/gemini-3.1-pro-preview" --resume results/google_gemini-3.1-pro-preview_NEET_2024_20260503_141230
|
| 180 |
-
```
|
| 181 |
-
|
| 182 |
-
**Re-score with an updated answer key (no API calls):**
|
| 183 |
-
```bash
|
| 184 |
-
# After updating correct_answer fields in metadata.jsonl, re-score existing predictions
|
| 185 |
-
uv run python src/benchmark_runner.py --score-only results/google_gemini-3.1-pro-preview_NEET_2026_20260503_141230
|
| 186 |
-
```
|
| 187 |
-
|
| 188 |
-
**Custom output directory:**
|
| 189 |
-
```bash
|
| 190 |
-
uv run python src/benchmark_runner.py --config configs/benchmark_config.yaml --model "openai/gpt-5.5" --output_dir my_custom_results
|
| 191 |
-
```
|
| 192 |
-
|
| 193 |
-
**Available options:**
|
| 194 |
-
- `--exam_name`: Choose from `NEET`, `JEE_MAIN`, `JEE_ADVANCED`, or `all` (default)
|
| 195 |
-
- `--exam_year`: Choose from available years (`2024`, `2025`, etc.) or `all` (default)
|
| 196 |
-
- `--question_ids`: Comma-separated list of specific question IDs to evaluate (e.g., "N24T3001,JA24P1M01")
|
| 197 |
-
- `--resume`: Path to an existing results directory to resume an interrupted run
|
| 198 |
-
- `--score-only`: Path to an existing results directory to re-score with updated answers (no API calls)
|
| 199 |
-
- `--num_runs`: Number of independent runs for variance analysis (default: 1)
|
| 200 |
-
- `--temperature`: Override sampling temperature from config
|
| 201 |
-
|
| 202 |
-
6. **Check Results:**
|
| 203 |
-
* Results for each model run will be saved in timestamped subdirectories within the `results/` folder.
|
| 204 |
-
* Each run's folder (e.g., `results/google_gemini-3.1-pro-preview_NEET_2024_20260503_141230/`) contains:
|
| 205 |
-
* **`predictions.jsonl`**: Raw API responses for each question including:
|
| 206 |
-
- Raw LLM responses
|
| 207 |
-
- API call success/failure information
|
| 208 |
-
- Parse success status and errors
|
| 209 |
-
* **`summary.jsonl`**: Per-question scored results including:
|
| 210 |
-
- Predicted answers and ground truth
|
| 211 |
-
- Evaluation status and marks awarded
|
| 212 |
-
- Exam name and year
|
| 213 |
-
- Token counts, cost (USD), and response latency per question
|
| 214 |
-
* **`summary.md`**: Human-readable Markdown summary with:
|
| 215 |
-
- Overall exam scores
|
| 216 |
-
- Question type breakdown
|
| 217 |
-
- Section-wise breakdown (by subject)
|
| 218 |
-
- Detailed statistics on correct/incorrect/skipped questions
|
| 219 |
-
|
| 220 |
-
## Scoring System
|
| 221 |
-
|
| 222 |
-
The benchmark implements authentic scoring systems for each exam type:
|
| 223 |
-
|
| 224 |
-
### NEET Scoring
|
| 225 |
-
- **Single Correct MCQ**: +4 for correct, -1 for incorrect, 0 for skipped/API failure
|
| 226 |
-
|
| 227 |
-
### JEE Main Scoring
|
| 228 |
-
- **Single Correct MCQ**: +4 for correct, -1 for incorrect, 0 for skipped/API failure
|
| 229 |
-
- **Integer Type**: +4 for correct, 0 for incorrect, 0 for skipped/API failure
|
| 230 |
-
|
| 231 |
-
### JEE Advanced Scoring
|
| 232 |
-
- **Single Correct MCQ**: +3 for correct, -1 for incorrect, 0 for skipped/API failure
|
| 233 |
-
- **Multiple Correct MCQ**: Partial marking system:
|
| 234 |
-
- +4 for all correct options selected
|
| 235 |
-
- +3 for 3 out of 4 correct options (when 4 are correct)
|
| 236 |
-
- +2 for 2 out of 3+ correct options
|
| 237 |
-
- +1 for 1 out of 2+ correct options
|
| 238 |
-
- -1 in all other cases, including any incorrect option selected
|
| 239 |
-
- 0 for skipped/API failure
|
| 240 |
-
- **Integer Type**: +4 for correct, 0 for incorrect, 0 for skipped/API failure
|
| 241 |
-
- **Matching List MCQ**: +4 for correct, -1 for incorrect, 0 for skipped/API failure
|
| 242 |
-
- **Stem-Based Integer Type (`INTEGER_2`)**: +2 for correct, 0 for incorrect, 0 for skipped/API failure
|
| 243 |
-
|
| 244 |
-
> **Note:** API failures and parse failures are scored as 0 (no penalty) since they do not represent a deliberate wrong choice.
|
| 245 |
-
|
| 246 |
-
## Advanced Features
|
| 247 |
-
|
| 248 |
-
### Retry Mechanism
|
| 249 |
-
- Automatic retry for failed API calls (up to 3 attempts with exponential backoff)
|
| 250 |
-
- Retries on HTTP 429 (rate limit), 500, 502, 503, 504 status codes
|
| 251 |
-
- Separate retry pass for questions that failed initially
|
| 252 |
-
- Comprehensive error tracking and reporting
|
| 253 |
-
|
| 254 |
-
### Resume Capability
|
| 255 |
-
- Resume interrupted benchmark runs with `--resume <results_dir>`
|
| 256 |
-
- Reads existing `summary.jsonl` to identify completed questions and skips them
|
| 257 |
-
- Appends new results to the same output files
|
| 258 |
-
- Final `summary.md` covers the complete run across all sessions, not just the resumed portion
|
| 259 |
-
|
| 260 |
-
### Score-Only Mode
|
| 261 |
-
- Re-score existing predictions after the answer key is updated: `--score-only <results_dir>`
|
| 262 |
-
- Reads `predicted_answer` from the existing `summary.jsonl`
|
| 263 |
-
- Loads updated `correct_answer` values from the current `metadata.jsonl`
|
| 264 |
-
- Overwrites `summary.jsonl` and `summary.md` in-place with new scores
|
| 265 |
-
- No API calls made — completes in under a second
|
| 266 |
-
- Useful when evaluating new exams before the official answer key is released: collect predictions immediately, re-score once the key drops
|
| 267 |
-
|
| 268 |
-
#### Workflow for newly-released exams
|
| 269 |
-
```bash
|
| 270 |
-
# 1. Add questions to metadata.jsonl with placeholder answers, collect predictions immediately
|
| 271 |
-
uv run python src/benchmark_runner.py --model "google/gemini-3.1-pro-preview" \
|
| 272 |
-
--exam_name NEET --exam_year 2026
|
| 273 |
|
| 274 |
-
|
| 275 |
-
uv run python src/benchmark_runner.py \
|
| 276 |
-
--score-only results/google_gemini-3.1-pro-preview_NEET_2026_<timestamp>
|
| 277 |
-
```
|
| 278 |
|
| 279 |
-
|
| 280 |
-
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
- If initial response parsing fails, the system automatically re-prompts the model
|
| 287 |
-
- Uses the previous response to ask for properly formatted answers
|
| 288 |
-
- Shows only relevant format examples based on question type (MCQ single, MCQ multiple, matching, or integer)
|
| 289 |
-
|
| 290 |
-
### Comprehensive Evaluation
|
| 291 |
-
- Tracks multiple metrics: correct answers, partial credit, skipped questions, API failures
|
| 292 |
-
- Section-wise breakdown by subject
|
| 293 |
-
- Color-coded progress indicators in terminal output (green ✓ correct, yellow ~ partial, red ✗ incorrect)
|
| 294 |
-
|
| 295 |
-
## Dataset Structure
|
| 296 |
-
|
| 297 |
-
* **`metadata.jsonl`**: Contains metadata for each question image with fields:
|
| 298 |
-
- `file_name`: Path to the question image (relative to repo root)
|
| 299 |
-
- `question_id`: Unique identifier (e.g., "N24T3001")
|
| 300 |
-
- `exam_name`: Exam type ("NEET", "JEE_MAIN", "JEE_ADVANCED")
|
| 301 |
-
- `exam_year`: Year of the exam (integer)
|
| 302 |
-
- `subject`: Subject name (e.g., "Physics", "Chemistry", "Mathematics")
|
| 303 |
-
- `question_type`: Question format ("MCQ_SINGLE_CORRECT", "MCQ_MULTIPLE_CORRECT", "MCQ_MATCHING", "INTEGER", "INTEGER_2")
|
| 304 |
-
- `correct_answer`: JSON-serialized string of correct answers (e.g., `'["A"]'`, `'["B", "C"]'`, `'["42"]'`)
|
| 305 |
-
|
| 306 |
-
* **`images/`**: Contains subdirectories for each exam set:
|
| 307 |
-
- `images/NEET_2024_T3/`: NEET 2024 question images
|
| 308 |
-
- `images/NEET_2025_45/`: NEET 2025 question images
|
| 309 |
-
- `images/NEET_2026/`: NEET 2026 question images
|
| 310 |
-
- `images/JEE_ADVANCED_2024/`: JEE Advanced 2024 question images
|
| 311 |
-
- `images/JEE_ADVANCED_2025/`: JEE Advanced 2025 question images
|
| 312 |
-
- `images/JEE_ADVANCED_2026/`: JEE Advanced 2026 question images
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
* **`src/`**: Python source code for the benchmark system:
|
| 316 |
-
- `benchmark_runner.py`: Main benchmark execution script
|
| 317 |
-
- `llm_interface.py`: OpenRouter API interface with retry logic
|
| 318 |
-
- `evaluation.py`: Scoring and evaluation functions
|
| 319 |
-
- `prompts.py`: LLM prompts for different question types
|
| 320 |
-
- `utils.py`: Utility functions for parsing and configuration
|
| 321 |
-
|
| 322 |
-
* **`configs/`**: Configuration files:
|
| 323 |
-
- `benchmark_config.yaml`: Model selection and API parameters
|
| 324 |
-
|
| 325 |
-
* **`results/`**: Directory where benchmark results are stored (timestamped subdirectories)
|
| 326 |
-
|
| 327 |
-
## Data Fields
|
| 328 |
-
|
| 329 |
-
The dataset contains the following fields (accessible via `datasets`):
|
| 330 |
-
|
| 331 |
-
* `image`: The question image (`datasets.Image`)
|
| 332 |
-
* `question_id`: Unique identifier for the question (string)
|
| 333 |
-
* `exam_name`: Name of the exam (e.g., "NEET", "JEE_ADVANCED") (string)
|
| 334 |
-
* `exam_year`: Year of the exam (int)
|
| 335 |
-
* `subject`: Subject (e.g., "Physics", "Chemistry", "Mathematics") (string)
|
| 336 |
-
* `question_type`: Type of question (e.g., "MCQ_SINGLE_CORRECT", "MCQ_MATCHING", "INTEGER_2") (string)
|
| 337 |
-
* `correct_answer`: JSON-serialized string containing the correct answer(s). Use `json.loads()` to parse.
|
| 338 |
-
- For MCQs, these are option identifiers (e.g., `'["1"]'`, `'["A"]'`, `'["B", "C"]'`). The LLM should output the identifier as it appears in the question.
|
| 339 |
-
- For INTEGER and INTEGER_2 types, this is the numerical answer as a string (e.g., `'["42"]'`, `'["12.75"]'`). The LLM should output the number.
|
| 340 |
-
- For some `MCQ_SINGLE_CORRECT` questions, multiple answers in the list are considered correct if the LLM prediction matches any one of them.
|
| 341 |
-
|
| 342 |
-
## LLM Answer Format
|
| 343 |
-
|
| 344 |
-
The LLM is expected to return its answer enclosed in `<answer>` tags. For example:
|
| 345 |
-
- MCQ Single Correct (Option A): `<answer>A</answer>`
|
| 346 |
-
- MCQ Single Correct (Option 2): `<answer>2</answer>`
|
| 347 |
-
- MCQ Matching (Option C): `<answer>C</answer>`
|
| 348 |
-
- MCQ Multiple Correct (Options B and D): `<answer>B,D</answer>`
|
| 349 |
-
- Integer Answer: `<answer>42</answer>`
|
| 350 |
-
- Decimal Answer: `<answer>12.75</answer>`
|
| 351 |
-
- Skipped Question: `<answer>SKIP</answer>`
|
| 352 |
-
|
| 353 |
-
The system parses these formats. Prompts are designed to guide the LLM accordingly.
|
| 354 |
-
|
| 355 |
-
## Troubleshooting
|
| 356 |
-
|
| 357 |
-
### Common Issues
|
| 358 |
-
|
| 359 |
-
**API Key Issues:**
|
| 360 |
-
- Ensure your `.env` file is in the root directory
|
| 361 |
-
- Verify your OpenRouter API key is valid and has sufficient credits
|
| 362 |
-
- Check that the key has access to vision-capable models
|
| 363 |
-
|
| 364 |
-
**Model Not Found:**
|
| 365 |
-
- Verify the model identifier exists on OpenRouter
|
| 366 |
-
- Ensure the model supports vision input
|
| 367 |
-
- Check your OpenRouter account has access to the specific model
|
| 368 |
-
|
| 369 |
-
**Memory Issues:**
|
| 370 |
-
- Reduce `max_tokens` in the config file
|
| 371 |
-
- Process smaller subsets using `--question_ids` filter
|
| 372 |
-
- Use models with smaller context windows
|
| 373 |
-
|
| 374 |
-
**Parsing Failures:**
|
| 375 |
-
- The system automatically attempts re-prompting for parsing failures
|
| 376 |
-
- Check the raw responses in `predictions.jsonl` to debug prompt issues
|
| 377 |
-
- Consider adjusting prompts in `src/prompts.py` for specific models
|
| 378 |
|
| 379 |
-
##
|
| 380 |
|
| 381 |
-
|
| 382 |
-
This benchmark uses questions from publicly administered exams (JEE Advanced and NEET). These questions are widely published online after each exam and may appear in the training data of evaluated models, particularly for older exam years (e.g., 2024). High scores on this benchmark may therefore partially reflect memorization rather than genuine reasoning ability.
|
| 383 |
|
| 384 |
-
|
| 385 |
-
- **Compare across years**: Models may score higher on older exams (2024) whose questions had more time to enter training data, compared to newer exams (2025).
|
| 386 |
-
- **Cross-reference with novel benchmarks**: Compare performance on this benchmark with contamination-resistant benchmarks like GPQA or Humanity's Last Exam.
|
| 387 |
|
| 388 |
-
|
| 389 |
|
| 390 |
-
|
| 391 |
-
The benchmark framework fully supports JEE Main scoring rules in code, but the current dataset does not include JEE Main questions. JEE Main support is available for users who wish to add their own JEE Main question sets.
|
| 392 |
|
| 393 |
-
|
| 394 |
-
- **Single prompt template**: Results may vary with different prompt formulations. The benchmark currently uses one prompt template per question type.
|
| 395 |
-
- **No multi-run variance**: Each model is evaluated once per exam. Results may vary slightly across runs due to non-deterministic model behavior.
|
| 396 |
-
- **Image quality dependence**: Performance may be affected by image resolution, scan quality, or the presence of artifacts in question images.
|
| 397 |
-
- **Language Support**: Currently only supports English questions.
|
| 398 |
-
- **Model Dependencies**: Requires models with vision capabilities available through OpenRouter.
|
| 399 |
|
| 400 |
## Citation
|
| 401 |
|
| 402 |
-
If you use this dataset or benchmark code, please cite:
|
| 403 |
-
|
| 404 |
```bibtex
|
| 405 |
@misc{rejaullah_2025_jeeneetbenchmark,
|
| 406 |
title={JEE/NEET LLM Benchmark},
|
|
@@ -410,12 +141,6 @@ If you use this dataset or benchmark code, please cite:
|
|
| 410 |
}
|
| 411 |
```
|
| 412 |
|
| 413 |
-
## Contact
|
| 414 |
-
|
| 415 |
-
For questions, suggestions, or collaboration, feel free to reach out:
|
| 416 |
-
|
| 417 |
-
* **X (Twitter):** [https://x.com/RejaullahmdMd](https://x.com/RejaullahmdMd)
|
| 418 |
-
|
| 419 |
-
## License
|
| 420 |
|
| 421 |
-
|
|
|
|
| 47 |
|
| 48 |
[](https://opensource.org/licenses/MIT)
|
| 49 |
|
| 50 |
+
A benchmark for evaluating vision-capable LLMs on Indian competitive exam questions (JEE Advanced & NEET). Each question is the original exam image; models answer via the OpenRouter API and are scored with authentic, exam-specific marking schemes — including partial credit for JEE Advanced multiple-correct questions.
|
| 51 |
|
| 52 |
+
Supported question types: Single Correct MCQ, Multiple Correct MCQ, Matching List MCQ, Integer, and stem-based Integer (`INTEGER_2`). Every image carries metadata: exam, year, subject, question type, paper, and verified correct answer(s).
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
## Dataset Composition
|
|
|
|
|
|
|
| 55 |
|
| 56 |
| Exam | Year | Set | Subjects | Questions |
|
| 57 |
|------|------|-----|----------|----------:|
|
|
|
|
| 63 |
| JEE Advanced | 2026 | Paper 1 & 2 | Physics, Chemistry, Mathematics | 102 |
|
| 64 |
| **Total** | | | | **860** |
|
| 65 |
|
| 66 |
+
Subjects are evenly balanced within each set — NEET 2024 has 50 per subject; NEET 2025/2026 have 45 Physics, 45 Chemistry, 90 Biology; every JEE Advanced set splits equally across the three subjects.
|
| 67 |
|
| 68 |
+
## Quick Start
|
| 69 |
|
| 70 |
+
### Load the dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
+
```python
|
| 73 |
+
from datasets import load_dataset
|
| 74 |
+
import json
|
| 75 |
|
| 76 |
+
dataset = load_dataset("Reja1/jee-neet-benchmark", split="test")
|
| 77 |
+
example = dataset[0]
|
| 78 |
|
| 79 |
+
image = example["image"] # PIL image
|
| 80 |
+
correct = json.loads(example["correct_answer"]) # e.g. ["A"], ["B", "C"], ["42"]
|
| 81 |
```
|
| 82 |
|
| 83 |
+
### Run the benchmark
|
| 84 |
|
| 85 |
+
```bash
|
| 86 |
+
git clone https://huggingface.co/datasets/Reja1/jee-neet-benchmark
|
| 87 |
+
cd jee-neet-benchmark
|
| 88 |
+
git lfs pull # fetch images + metadata (stored in Git LFS)
|
| 89 |
+
uv sync
|
| 90 |
+
echo "OPENROUTER_API_KEY=your_key" > .env
|
| 91 |
+
|
| 92 |
+
# Evaluate a vision-capable model on the full dataset
|
| 93 |
+
uv run python src/benchmark_runner.py --model "google/gemini-3.1-pro-preview"
|
| 94 |
+
|
| 95 |
+
# Filter by exam / year, resume a run, or re-score after an answer-key update
|
| 96 |
+
uv run python src/benchmark_runner.py --model "openai/o3" --exam_name NEET --exam_year 2024
|
| 97 |
+
uv run python src/benchmark_runner.py --model "openai/o3" --resume results/<run_dir>
|
| 98 |
+
uv run python src/benchmark_runner.py --score-only results/<run_dir> # no API calls
|
| 99 |
+
```
|
| 100 |
|
| 101 |
+
Configure the model list and parameters in `configs/benchmark_config.yaml`; run with `--help` for all options (`--question_ids`, `--num_runs`, `--temperature`, …). Each run writes a timestamped folder under `results/` containing `predictions.jsonl` (raw responses), `summary.jsonl` (per-question scores, tokens, cost, latency), and `summary.md` (human-readable report). Build a cross-model leaderboard with `uv run python scripts/generate_leaderboard.py`.
|
| 102 |
|
| 103 |
+
## Scoring
|
|
|
|
|
|
|
| 104 |
|
| 105 |
+
API/parse failures and skipped questions score **0** (no penalty), since they are not a deliberate wrong choice.
|
|
|
|
| 106 |
|
| 107 |
+
**NEET** — Single Correct MCQ: **+4** correct, **−1** incorrect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
**JEE Main** *(supported in code; no questions in the current dataset)* — Single Correct MCQ: +4 / −1. Integer: +4 / 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
+
**JEE Advanced**
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
| Question type | Marking |
|
| 114 |
+
|---------------|---------|
|
| 115 |
+
| Single Correct MCQ | +3 correct, −1 incorrect |
|
| 116 |
+
| Multiple Correct MCQ | Partial: +4 all correct · +3 for 3/4 · +2 for 2/3+ · +1 for 1/2+ · −1 if any wrong option chosen |
|
| 117 |
+
| Integer | +4 correct, 0 incorrect |
|
| 118 |
+
| Matching List MCQ | +4 correct, −1 incorrect |
|
| 119 |
+
| Stem-based Integer (`INTEGER_2`) | +2 correct, 0 incorrect |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
+
## Data Fields & Answer Format
|
| 122 |
|
| 123 |
+
Each record exposes: `image`, `question_id`, `exam_name`, `exam_year` (int), `subject`, `question_type` (`MCQ_SINGLE_CORRECT`, `MCQ_MULTIPLE_CORRECT`, `MCQ_MATCHING`, `INTEGER`, `INTEGER_2`), `paper_id`, and `correct_answer` — a JSON-serialized string parsed with `json.loads()`. MCQ answers are option identifiers (`["A"]`, `["B", "C"]`); Integer answers are numbers as strings (`["42"]`, `["12.75"]`). A few single-correct questions list multiple acceptable options; a prediction matching any one is correct.
|
|
|
|
| 124 |
|
| 125 |
+
Models return answers in `<answer>...</answer>` tags: `<answer>A</answer>`, `<answer>B,D</answer>` (multiple correct), `<answer>42</answer>` / `<answer>12.75</answer>` (numeric), or `<answer>SKIP</answer>`.
|
|
|
|
|
|
|
| 126 |
|
| 127 |
+
## Limitations & Data Contamination
|
| 128 |
|
| 129 |
+
These are publicly administered exams, widely published online after each sitting, so questions may appear in models' training data — especially for older years. High scores may partly reflect memorization rather than reasoning. Treat this as an evaluation on **publicly available exam questions**, not a contamination-free reasoning test; compare across years (older = higher contamination risk) and cross-reference with contamination-resistant benchmarks (e.g. GPQA, Humanity's Last Exam).
|
|
|
|
| 130 |
|
| 131 |
+
Other caveats: a single prompt template per question type (results vary with phrasing); one run per model by default (non-deterministic outputs vary slightly); performance is sensitive to image quality; English only; requires vision models on OpenRouter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
## Citation
|
| 134 |
|
|
|
|
|
|
|
| 135 |
```bibtex
|
| 136 |
@misc{rejaullah_2025_jeeneetbenchmark,
|
| 137 |
title={JEE/NEET LLM Benchmark},
|
|
|
|
| 141 |
}
|
| 142 |
```
|
| 143 |
|
| 144 |
+
## Contact & License
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
|
| 146 |
+
Questions or collaboration: [@RejaullahmdMd](https://x.com/RejaullahmdMd) on X. Released under the [MIT License](https://opensource.org/licenses/MIT).
|