docs: document per-task answer format and evaluation protocol

#1
by shongdr - opened
Files changed (1) hide show
  1. README.md +29 -8
README.md CHANGED
@@ -439,8 +439,8 @@ Same generators and parameters in both languages, so performance gaps isolate pr
439
  | `minesweeper` | Minesweeper with minimal hints preserving a unique solution | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
440
  | `number_baseball` | Infer a hidden N-digit number from Strike/Ball hints | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
441
  | `sat_puzzles` | Boolean satisfiability (CNF) framed as a natural-language scenario | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
442
- | `sudoku` | 9x9 Sudoku with guaranteed-unique solutions | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
443
- | `yacht_dice` | Assign 12 dice rolls to 12 scoring categories to maximize total score | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
444
 
445
  ### 2. Script Adaptations (2 tasks · EN + KO)
446
 
@@ -468,15 +468,23 @@ No English counterpart — built on structures specific to the Korean language a
468
  ## Usage
469
 
470
  ```python
471
- from datasets import load_dataset
472
 
473
- # one task
474
- ds = load_dataset("HAERAE-HUB/NOLLI", "sudoku", split="test")
475
 
476
- # filter by language / difficulty (both are columns)
477
- ko_hard = ds.filter(lambda x: x["language"] == "ko" and x["difficulty"] == "hard")
 
 
 
 
 
478
  ```
479
 
 
 
 
480
  ## Structure
481
 
482
  Each config corresponds to one task. All configs share a single `test` split and the same schema
@@ -490,9 +498,22 @@ Each config corresponds to one task. All configs share a single `test` split and
490
  | `difficulty` | str | `easy` / `medium` / `hard` |
491
  | `question` | str | full prompt for the model |
492
  | `choices` | str | JSON-encoded answer choices — only present in the `kinship` config |
493
- | `answer` | str | gold answer |
494
  | `solution` | str | step-by-step reference solution |
495
 
 
 
 
 
 
 
 
 
 
 
 
 
 
496
  ## Citation
497
 
498
  ```bibtex
 
439
  | `minesweeper` | Minesweeper with minimal hints preserving a unique solution | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
440
  | `number_baseball` | Infer a hidden N-digit number from Strike/Ball hints | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
441
  | `sat_puzzles` | Boolean satisfiability (CNF) framed as a natural-language scenario | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
442
+ | `sudoku` | 9x9 Sudoku with guaranteed-unique solutions; graded on the digits at 4-6 spot-checked cells, not the full grid | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
443
+ | `yacht_dice` | Assign 12 dice rolls to 12 scoring categories to maximize total score; graded on the partial sum over spot-checked rounds, not the 12-round total | 100 / 100 / 100 | 100 / 100 / 100 | 600 |
444
 
445
  ### 2. Script Adaptations (2 tasks · EN + KO)
446
 
 
468
  ## Usage
469
 
470
  ```python
471
+ from datasets import load_dataset, get_dataset_config_names
472
 
473
+ # one task — `kinship` is one of the five Korean-only tasks
474
+ ds = load_dataset("HAERAE-HUB/NOLLI", "kinship", split="test")
475
 
476
+ # language and difficulty are columns; the 10 bilingual tasks carry both en and ko
477
+ cipher = load_dataset("HAERAE-HUB/NOLLI", "cipher", split="test")
478
+ ko_hard = cipher.filter(lambda x: x["language"] == "ko" and x["difficulty"] == "hard")
479
+
480
+ # all 15 tasks
481
+ tasks = get_dataset_config_names("HAERAE-HUB/NOLLI")
482
+ all_ds = {t: load_dataset("HAERAE-HUB/NOLLI", t, split="test") for t in tasks}
483
  ```
484
 
485
+ Note that `kinship` carries an extra `choices` column, so the configs cannot be merged
486
+ with `concatenate_datasets` without first aligning the schema.
487
+
488
  ## Structure
489
 
490
  Each config corresponds to one task. All configs share a single `test` split and the same schema
 
498
  | `difficulty` | str | `easy` / `medium` / `hard` |
499
  | `question` | str | full prompt for the model |
500
  | `choices` | str | JSON-encoded answer choices — only present in the `kinship` config |
501
+ | `answer` | str | gold answer — format varies by task, see [Answer format](#answer-format) |
502
  | `solution` | str | step-by-step reference solution |
503
 
504
+ ## Answer format
505
+
506
+ `answer` is not free text — the format is task-specific, and `question` already tells the model
507
+ which one to produce. Two things to know before scoring.
508
+
509
+ **Final line.** Seven tasks require a literal `Answer: <value>` last line — `inequality`, `jamo`,
510
+ `korean_units`, `minesweeper`, `number_baseball`, `sudoku`, `yacht_dice`. The other eight take the
511
+ bare value with no prefix.
512
+
513
+ **Comparison.** Exact string match, with three exceptions: `sat_puzzles` (a JSON object) and
514
+ `minesweeper` (a coordinate list) are order-insensitive, and `korean_units` carries a unit suffix
515
+ that varies per item (`465373918평`).
516
+
517
  ## Citation
518
 
519
  ```bibtex