File size: 26,415 Bytes
03859b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95acde8
03859b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee7b473
 
 
 
 
 
 
03859b9
ee7b473
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
---
pretty_name: "CodeMixCheck: Tanglish Fact-Checking and Auxiliary NLP Dataset"
language:
- ta
- en
language_bcp47:
- ta-Latn
- ta-Taml
- en-IN
multilinguality: multilingual
task_categories:
- text-classification
task_ids:
- fact-checking
- sentiment-classification
- hate-speech-detection
size_categories:
- 1K<n<10K
source_datasets:
- original
annotations_creators:
- machine-generated
- expert-generated
language_creators:
- machine-generated
- expert-generated
license: cc-by-nc-4.0
tags:
- code-mixing
- code-switching
- tanglish
- tamil
- romanized-tamil
- misinformation
- fact-verification
- synthetic
- low-resource
configs:
- config_name: fact_verification
  default: true
  data_files:
  - split: train
    path: data/fact_verification/train.parquet
  - split: validation
    path: data/fact_verification/validation.parquet
  - split: test_synthetic
    path: data/fact_verification/test_synthetic.parquet
  - split: test_curated
    path: data/fact_verification/test_curated.parquet
- config_name: sentiment
  data_files:
  - split: train
    path: data/sentiment/train.parquet
  - split: validation
    path: data/sentiment/validation.parquet
- config_name: abuse_detection
  data_files:
  - split: train
    path: data/abuse_detection/train.parquet
  - split: validation
    path: data/abuse_detection/validation.parquet
  - split: test_synthetic
    path: data/abuse_detection/test_synthetic.parquet
---

# CodeMixCheck v2.2.1: Tanglish Fact-Checking and Auxiliary NLP Dataset

> **Read before use.** Most of this dataset is **synthetic**. Labels on synthetic rows describe a *simulated* world: a `True` or `False` claim that names a real district, festival or scheme does **not** describe a real event. Do not use this data to judge real-world claims or to make statements about real people, places or organisations. Licence: **CC BY-NC 4.0** (non-commercial).

## 1. Short description

CodeMixCheck is a dataset of English–Tamil code-mixed ("Tanglish") social-media-style text. Its main task is **4-way claim veracity classification** (`True`, `False`, `Partially True`, `Unverifiable`). Two small auxiliary tasks, **sentiment** and **abuse detection**, are included as separate configurations. Most texts are written in Roman script, and some mix in Tamil script.

## 2. Dataset overview

| | v2.2.1 project corpus | this release | not released |
|---|---|---|---|
| records | 7,602 | **7,254** | 348 |
| `fact_verification` | 7,004 (6,660 synthetic + 344 curated) | 7,004 | 0 |
| `sentiment` | 473 (132 synthetic + 341 human-collected) | 128 | 341 human-collected + 4 synthetic* |
| `abuse_detection` | 125 (all synthetic) | 122 | 3 synthetic* |

\* Synthetic rows that closely resemble one of the unreleased social-media comments (normalised `fuzz.ratio` ≥ 85), held back as a precaution (audit issue G06).

Every record keeps its original `id` (`CMC-NNNNN`), text and label from v2.2.1. Nothing has been relabelled, translated, or spell-corrected.

## 3. Research motivation

Most fact-checking resources are monolingual. Indian social media often mixes Tamil and English in one message, with Romanised Tamil, Tamil script, hashtags, emoji, forwarded-message conventions and deliberate typos. CodeMixCheck was built for a final-year project (BCSE497J) at Vellore Institute of Technology. The project studies retrieval-augmented, evidence-grounded veracity classification of such text. The dataset provides controlled training data and a separate hand-curated evaluation set.

## 4. Intended applications

- Benchmarking and pre-training classifiers for veracity framing in code-mixed text: hearsay versus attributed claims, and partially true exaggerations.
- Studying robustness to Romanisation, script mixing, typos and social-media noise.
- Comparing in-distribution (`test_synthetic`) with out-of-distribution (`test_curated`) performance.
- Auxiliary sentiment and abuse modelling for multi-task experiments.

## 5. Supported NLP tasks

| config | task | labels |
|---|---|---|
| `fact_verification` | text classification (claim veracity) | `True`, `False`, `Partially True`, `Unverifiable`; optional 3-way `label_3way` = `SUPPORTED` / `REFUTED` / `NOT_ENOUGH_INFO` (`Partially True` has no 3-way equivalent and is `null`) |
| `sentiment` | text classification | `positive`, `negative`, `neutral` |
| `abuse_detection` | text classification | `abusive`, `not_abusive` |

## 6. Languages and linguistic characteristics

- Tamil–English code-mixed text. Matrix language and code-switching density vary by batch.
- Scripts: Roman (Latin) only, mixed Roman + Tamil, and a few Tamil-script-only texts (`script` column).
- `tamil_script_token_ratio` is the share of tokens (maximal runs of `[A-Za-z஀-௿]`) that contain Tamil characters. The stored values were reproduced exactly by recomputation.
- Many synthetic texts have deliberate noise (`noise_level`: none / light / medium / heavy): dropped vowels, casing changes, and repeated or replacement punctuation. **Do not "clean" this noise**, because it is part of the signal.
- Platform conventions: hashtags, emoji, `@` placeholder handles (invented, not real accounts) and multi-line posts.

## 7. Dataset composition

| column | description |
|---|---|
| `id` | stable v2.2.1 row id (`CMC-NNNNN`; not contiguous, because some IDs were retired in earlier versions) |
| `text` | the original text, unmodified |
| `label` | task label (unchanged from v2.2.1) |
| `label_3way` | (fact_verification) SUPPORTED / REFUTED / NOT_ENOUGH_INFO, `null` for Partially True |
| `evidence_explanation` | (fact_verification) short explanation of the label, in Tanglish or English |
| `proposition`, `frame_family` | (fact_verification, synthetic rows) parsed claim core, plus how the claim is framed (`forwarded_message`, `official_attribution`, `personal_hearsay`, `general_report`, `unparsed`) |
| `abuse_label` / `sentiment_label` | auxiliary cross-task label (on sentiment / abuse rows respectively) |
| `sentiment_label_suggested` | (sentiment) model suggestion, where one existed |
| `hf_split`, `split_v2_2_1` | Hub split name, and the split value used in the v2.2.1 project CSV |
| `eval_subset`, `cv_fold` | sub-benchmark and 5-fold assignment (curated test rows only) |
| `label_status` | `gold` or `silver` exactly as recorded in v2.2.1 |
| `label_origin` | `template_construction` (synthetic) or `dataset_author_annotation` (curated) |
| `human_validated`, `label_source`, `review_flag`, `annotation_note`, `content_flag` | original annotation metadata |
| `domain`, `register`, `tone`, `post_format`, `noise_level` | generation / style metadata |
| `script`, `tamil_script_token_ratio` | script metadata |
| `provenance`, `data_origin`, `source_detail` | original provenance fields |
| `provenance_class`, `source_reference`, `generator` | normalised provenance; `not_recorded` wherever the information was not stored |
| `generation_batch` | the v2.2.1 `batch` value |
| `release_tier` | `public` for every record in this repository |
| `template_group`, `content_group`, `is_content_duplicate` | template family / content-group ids for grouped splitting |
| `change_v2_1`, `change_v2_2`, `change_v2_2_1` | per-row version history (verbatim) |
| `audit_flags` | IDs of row-level issues found in the v2.2.1 release audit (see below) |
| `task` | config name |

`audit_flags` codes that occur in this release:

| code | meaning |
|---|---|
| C02 / C03 | normalised duplicate text (with / without hashtags) |
| C04 | near-duplicate (fuzz.ratio ≥ 90 after normalisation) of another row in the same task |
| C05 / C07 | content group / template group contains differing labels |
| D01 | the same claim core (`proposition`) occurs in another split, worded differently |
| D02 | near-duplicate of a row in another split |
| I01 | contains an invented `@` placeholder handle |
| A02 | curated row whose `evidence_explanation` was cleared in v2.2.1 after relabelling |
| G02 | curated row whose specific source articles were not recorded |

## 8. What is not released

| set | rows | reason |
|---|---|---|
| human-collected sentiment comments (`test_human` 119 + `silver` 222) | 341 | Comments written by third-party Instagram users. The dataset author does not have the rights to redistribute them, and some name individuals. Results on them are reported only in the authors’ ongoing research. |
| synthetic sentiment/abuse rows resembling those comments | 7 | precaution against releasing text derived from third-party comments |

The public `sentiment` configuration therefore has no test split. Use it for auxiliary or multi-task training, not as a standalone sentiment benchmark.

## 9. Dataset statistics

All numbers below are generated by `scripts/dataset_statistics.py` from the Parquet files in this repository. `scripts/validate_dataset.py` fails if they differ.

<!-- STATS:BEGIN -->
Total records in these files: **7254**.

#### `fact_verification` (7004 records)

Label distribution by split:

| label | train | validation | test_synthetic | test_curated | total |
|---|---|---|---|---|---|
| False | 1409 | 153 | 168 | 30 | 1760 |
| Partially True | 1311 | 158 | 140 | 15 | 1624 |
| True | 1330 | 207 | 218 | 149 | 1904 |
| Unverifiable | 1287 | 144 | 135 | 150 | 1716 |
| total | 5337 | 662 | 661 | 344 | 7004 |

Provenance class by split:

| provenance_class | train | validation | test_synthetic | test_curated | total |
|---|---|---|---|---|---|
| llm_assisted_human_curated | 0 | 0 | 0 | 344 | 344 |
| template_generated | 5337 | 662 | 661 | 0 | 6660 |
| total | 5337 | 662 | 661 | 344 | 7004 |

Label origin / human-validation status by split:

| label_origin | train | validation | test_synthetic | test_curated | total |
|---|---|---|---|---|---|
| dataset_author_annotation | 0 | 0 | 0 | 344 | 344 |
| template_construction | 5337 | 662 | 661 | 0 | 6660 |
| total | 5337 | 662 | 661 | 344 | 7004 |

| human_validated | train | validation | test_synthetic | test_curated | total |
|---|---|---|---|---|---|
| no | 5337 | 662 | 661 | 0 | 6660 |
| user_accepted_suggestion | 0 | 0 | 0 | 130 | 130 |
| user_labelled | 0 | 0 | 0 | 214 | 214 |
| total | 5337 | 662 | 661 | 344 | 7004 |

Script by split:

| script | train | validation | test_synthetic | test_curated | total |
|---|---|---|---|---|---|
| mixed_script | 817 | 109 | 100 | 243 | 1269 |
| roman | 4520 | 553 | 561 | 100 | 5734 |
| tamil_script | 0 | 0 | 0 | 1 | 1 |
| total | 5337 | 662 | 661 | 344 | 7004 |

Code-mixing / script statistics:

| statistic | value |
|---|---|
| mean_tokens_per_text | 12.52 |
| median_tokens_per_text | 12.0 |
| tamil_script_token_ratio_mean | 0.0295 |
| tamil_script_token_ratio_mean_over_texts_with_tamil | 0.1627 |
| pct_texts_with_any_tamil_script | 18.13 |
| pct_texts_roman_only | 81.87 |
| pct_texts_tamil_script_only | 0.01 |
| pct_texts_with_emoji | 70.9 |
| pct_texts_with_hashtag | 38.56 |
| heuristic_english_lexicon_share_of_roman_tokens_mean | 0.3726 |

Duplicate statistics:

| check | count |
|---|---|
| duplicate_ids | 0 |
| exact_duplicate_texts | 0 |
| normalised_duplicate_texts | 0 |
| normalised_text_shared_across_splits | 0 |
| rows_flagged_near_duplicate_C04 | 379 |
| rows_flagged_cross_split_near_duplicate_D02 | 115 |
| rows_flagged_cross_split_proposition_D01 | 228 |
| is_content_duplicate_true | 183 |

Columns with missing values (% null):

| column | pct_null |
|---|---|
| annotation_note | 100.0 |
| change_v2_1 | 98.91 |
| change_v2_2 | 73.63 |
| change_v2_2_1 | 98.14 |
| content_flag | 100.0 |
| cv_fold | 95.09 |
| eval_subset | 95.09 |
| evidence_explanation | 1.84 |
| frame_family | 4.91 |
| label_3way | 23.19 |
| label_source | 92.23 |
| noise_level | 22.27 |
| post_format | 4.94 |
| proposition | 4.91 |
| review_flag | 100.0 |
| tone | 93.76 |

#### `sentiment` (128 records)

Label distribution by split:

| label | train | validation | total |
|---|---|---|---|
| negative | 37 | 14 | 51 |
| neutral | 25 | 5 | 30 |
| positive | 36 | 11 | 47 |
| total | 98 | 30 | 128 |

Provenance class by split:

| provenance_class | train | validation | total |
|---|---|---|---|
| template_generated | 98 | 30 | 128 |
| total | 98 | 30 | 128 |

Label origin / human-validation status by split:

| label_origin | train | validation | total |
|---|---|---|---|
| template_construction | 98 | 30 | 128 |
| total | 98 | 30 | 128 |

| human_validated | train | validation | total |
|---|---|---|---|
| no | 98 | 30 | 128 |
| total | 98 | 30 | 128 |

Script by split:

| script | train | validation | total |
|---|---|---|---|
| roman | 98 | 30 | 128 |
| total | 98 | 30 | 128 |

Code-mixing / script statistics:

| statistic | value |
|---|---|
| mean_tokens_per_text | 4.57 |
| median_tokens_per_text | 4.0 |
| tamil_script_token_ratio_mean | 0.0 |
| tamil_script_token_ratio_mean_over_texts_with_tamil | n/a (no Tamil-script tokens) |
| pct_texts_with_any_tamil_script | 0.0 |
| pct_texts_roman_only | 100.0 |
| pct_texts_tamil_script_only | 0.0 |
| pct_texts_with_emoji | 100.0 |
| pct_texts_with_hashtag | 0.0 |
| heuristic_english_lexicon_share_of_roman_tokens_mean | 0.1837 |

Duplicate statistics:

| check | count |
|---|---|
| duplicate_ids | 0 |
| exact_duplicate_texts | 0 |
| normalised_duplicate_texts | 0 |
| normalised_text_shared_across_splits | 0 |
| rows_flagged_near_duplicate_C04 | 95 |
| rows_flagged_cross_split_near_duplicate_D02 | 58 |
| rows_flagged_cross_split_proposition_D01 | 0 |
| is_content_duplicate_true | 0 |

Columns with missing values (% null):

| column | pct_null |
|---|---|
| abuse_label | 100.0 |
| annotation_note | 100.0 |
| change_v2_1 | 100.0 |
| change_v2_2 | 100.0 |
| change_v2_2_1 | 100.0 |
| content_flag | 100.0 |
| cv_fold | 100.0 |
| domain | 100.0 |
| eval_subset | 100.0 |
| label_source | 100.0 |
| noise_level | 100.0 |
| review_flag | 100.0 |
| sentiment_label_suggested | 100.0 |

#### `abuse_detection` (122 records)

Label distribution by split:

| label | train | validation | test_synthetic | total |
|---|---|---|---|---|
| abusive | 34 | 9 | 9 | 52 |
| not_abusive | 33 | 18 | 19 | 70 |
| total | 67 | 27 | 28 | 122 |

Provenance class by split:

| provenance_class | train | validation | test_synthetic | total |
|---|---|---|---|---|
| template_generated | 67 | 27 | 28 | 122 |
| total | 67 | 27 | 28 | 122 |

Label origin / human-validation status by split:

| label_origin | train | validation | test_synthetic | total |
|---|---|---|---|---|
| template_construction | 67 | 27 | 28 | 122 |
| total | 67 | 27 | 28 | 122 |

| human_validated | train | validation | test_synthetic | total |
|---|---|---|---|---|
| no | 67 | 27 | 28 | 122 |
| total | 67 | 27 | 28 | 122 |

Script by split:

| script | train | validation | test_synthetic | total |
|---|---|---|---|---|
| mixed_script | 13 | 3 | 5 | 21 |
| roman | 54 | 24 | 23 | 101 |
| total | 67 | 27 | 28 | 122 |

Code-mixing / script statistics:

| statistic | value |
|---|---|
| mean_tokens_per_text | 5.87 |
| median_tokens_per_text | 5.5 |
| tamil_script_token_ratio_mean | 0.0304 |
| tamil_script_token_ratio_mean_over_texts_with_tamil | 0.1766 |
| pct_texts_with_any_tamil_script | 17.21 |
| pct_texts_roman_only | 82.79 |
| pct_texts_tamil_script_only | 0.0 |
| pct_texts_with_emoji | 100.0 |
| pct_texts_with_hashtag | 0.0 |
| heuristic_english_lexicon_share_of_roman_tokens_mean | 0.2057 |

Duplicate statistics:

| check | count |
|---|---|
| duplicate_ids | 0 |
| exact_duplicate_texts | 0 |
| normalised_duplicate_texts | 0 |
| normalised_text_shared_across_splits | 0 |
| rows_flagged_near_duplicate_C04 | 79 |
| rows_flagged_cross_split_near_duplicate_D02 | 70 |
| rows_flagged_cross_split_proposition_D01 | 0 |
| is_content_duplicate_true | 4 |

Columns with missing values (% null):

| column | pct_null |
|---|---|
| annotation_note | 100.0 |
| change_v2_1 | 77.05 |
| change_v2_2 | 100.0 |
| change_v2_2_1 | 100.0 |
| content_flag | 100.0 |
| cv_fold | 100.0 |
| domain | 100.0 |
| eval_subset | 100.0 |
| label_source | 100.0 |
| noise_level | 100.0 |
| review_flag | 100.0 |
<!-- STATS:END -->

## 10. Data collection methodology

See [`docs/data_collection.md`](docs/data_collection.md). In summary:

- **Template-generated records** were produced in batches (`set1`–`set4`, `set7_conversational`, `set9_expansion`, `set10_expansion`, `set11_general_knowledge`, `set8_abuse`). Claim propositions about fictional or generic entities were combined with framing templates (forwarded message, official attribution, personal hearsay, general report), post formats, tones, hashtags, emoji and controlled typing noise.
- **Curated records** (`test_curated`, 344) were selected by the dataset author from news and reference material and rephrased in his own Tanglish wording where needed. LLM assistants helped with drafting. Individual source articles were not recorded, so no sources are listed.

## 11. AI-assisted generation methodology

The dataset author created the templates, entity pools and curated claims, using the LLM chat assistants Claude and ChatGPT as writing helpers. Which assistant contributed to which batch or row was not recorded, so `generator` is set to `not_recorded` rather than guessed. See [`docs/methodology.md`](docs/methodology.md).

## 12. Human annotation methodology

- **Synthetic rows:** labels are assigned **by construction** from the generator's design. No human checked them row by row (`human_validated = no`, `label_origin = template_construction`). `label_status = gold` in these rows means "assigned by the generator", **not** "human-verified".
- **Curated test:** labelled by the dataset author (`user_labelled`, 214 rows). 130 rows went through a v2.2.1 review in which the author accepted a model-suggested correction (`user_accepted_suggestion`); 129 of these changed from `Partially True` to `True` under guideline rule 1 ("judge the claim as written"). The 129 changed rows have no `evidence_explanation`, because the old explanation no longer applied.
- There is a single annotator, and no inter-annotator agreement study has been done.

Full guidance: [`docs/annotation_guidelines.md`](docs/annotation_guidelines.md).

## 13. Label definitions

| label | definition used in the data |
|---|---|
| `True` | The claim, **as written**, matches the (simulated) official source or established reference knowledge. |
| `False` | The (simulated) official statement or records, or established knowledge, directly contradicts the claim. |
| `Partially True` | The core fact holds, but a sweeping, absolute or extreme part of the claim is exaggerated or incomplete. |
| `Unverifiable` | There is no named or checkable source (hearsay / anecdote only), so the claim can be neither confirmed nor refuted. |

For synthetic rows, "official source" refers to a **simulated evidence state** encoded in `evidence_explanation`. It does not refer to real documents. No evidence corpus is included.

## 14. Train / validation / test methodology

- Splits were assigned at **content-group / template-family level**, so no `content_group` or `template_group` spans two splits.
- v2.1 moved 22 rows between splits to remove template-family leakage (see `change_v2_1`).
- The release audit found **no exact or normalised-identical text across splits**, but it did find **semantic overlap**:
  - fact_verification: 84 claim cores (`proposition`), covering 228 rows, appear in more than one split with different framing (flag D01). 73 cross-split near-duplicate pairs (fuzz.ratio ≥ 90) are mostly the same template with a different entity, or typo variants (flag D02).
  - sentiment / abuse synthetic sets: many cross-split typo/emoji variants. These sets were generated by perturbation, so their validation and test scores are **optimistic**.
- Records were not removed. A **strict** `test_synthetic` without D01/D02 rows has 587 of 661 rows (see the loading examples).

## 15. Synthetic versus curated evaluation

`test_synthetic` (661) comes from the same generator as `train`, so it measures in-distribution performance. `test_curated` (344) was written separately and measures transfer to more natural claims. Its sub-benchmarks are in `eval_subset`:

| eval_subset | rows | labels |
|---|---|---|
| `human_verifiable_true_false` | 50 | 20 True / 30 False (science and health facts) |
| `human_health_lifestyle` | 144 | 129 True / 15 Partially True |
| `human_hearsay` | 150 | 150 Unverifiable |

**Never merge or average the two test sets.** Report them separately, report `test_curated` per `eval_subset` as well, and note that its label distribution is very skewed.

## 16. Data preprocessing

1. Read the v2.2.1 project CSV, which was left unmodified (sha256 `37d5bdc3…ad4e1c7f`).
2. Text columns preserved byte-for-byte. Leading/trailing whitespace stripped in categorical columns only (0 changes needed).
3. Empty strings converted to `null`. Booleans and numbers stored with proper types (`bool`, `int8`, `float32`).
4. Redundant columns dropped after verifying that they were redundant: `veracity_label` (identical to `label`), the per-task duplicate of `label`, columns that are empty for a task, and `is_human_authored` (determined by `provenance`).
5. Added `label_origin`, `provenance_class`, `source_reference`, `generator`, `release_tier`, `hf_split` and `audit_flags`. Original split names are kept in `split_v2_2_1`.
6. One Parquet file written per config and split. Records not released (section 8) were excluded and are documented here.

No label, text, split or ID was changed.

## 17. Known limitations

See [`docs/limitations.md`](docs/limitations.md). Key points:

- 6,910 of the 7,254 records are **synthetic**. Their labels follow a simulated world, and models can learn generator artefacts.
- There is semantic cross-split overlap (see section 14), and the synthetic sentiment/abuse sets are small and repetitive.
- `test_curated` is small and label-skewed (only 30 `False` and 15 `Partially True`).
- There is no public sentiment test set, and no evidence corpus for retrieval.
- Coverage is Tamil Nadu-centric, with one annotator.

## 18. Ethical considerations

See [`docs/ethical_considerations.md`](docs/ethical_considerations.md). Synthetic claims name real districts, festivals and categories of institutions together with fictional events. They must not be read or redistributed as real news. `@` handles in the text are invented placeholders. Abuse examples contain insults and slurs in Tanglish.

## 19. Licence

[**CC BY-NC 4.0**](https://creativecommons.org/licenses/by-nc/4.0/). You may share and adapt the data for **non-commercial** purposes, with attribution (see section 22). The licence covers the records in this repository only. The unreleased social-media comments are not covered.

## 20. Intended and out-of-scope uses

**Intended:** non-commercial academic research on code-mixed veracity framing, robustness to noise, and multi-task learning.

**Out of scope:** commercial use; deciding whether real-world claims are true; content moderation or fact-checking deployed on real users; any statement about the real people, places, schemes or organisations mentioned; training generative models to produce realistic misinformation; treating template labels as human-verified.

## 21. Potential biases

- Topics, districts, festivals and entity names come from author-curated pools (11 synthetic domains, Tamil Nadu-centric). Coverage is not representative of Tamil-speaking populations elsewhere (Sri Lanka, Malaysia, Singapore, diaspora).
- The generator's choices determine label–frame associations. For example, rows with an `unparsed` frame are mostly `True` (589 of 845), so a model may learn that shortcut.
- Romanisation follows Tamil Nadu social-media conventions.
- Abuse examples are synthetic and few (122). They do not represent naturally occurring abuse patterns.

## 22. Citation

```bibtex
@misc{basu2026codemixcheck,
  author       = {Basu, Prajjit and Roy, Sanjiban Sekhar},
  title        = {{CodeMixCheck}: A {Tanglish} Fact-Checking and Auxiliary {NLP} Dataset},
  year         = {2026},
  version      = {2.2.1},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/Prajjit/CodeMixCheck}}
}
```

`CITATION.cff` holds the same metadata. A DOI will be added here if one is minted.

## 23. Version information

| version | change |
|---|---|
| v2.1 | split renames (`test` → `test_human` / `test_synthetic`); 22 rows moved to remove template-family leakage; 4 self-referential "X vs X" texts repaired |
| v2.2 | script / `tamil_script_token_ratio` recomputed (1,847 rows; 1,600 script reclassifications) |
| v2.2.1 | review pass: 129 curated rows `Partially True` → `True` (explanation cleared); 1 confirmed; 19 abuse labels confirmed |
| v2.2.1 (Hugging Face release) | packaging only: typed Parquet, task configs, provenance/audit metadata, exclusions in section 8. No data changes. |

782 IDs were retired before v2.1, and no per-row reasons survive.

## 24. Loading

```python
from datasets import load_dataset

repo = "Prajjit/CodeMixCheck"

fv = load_dataset(repo, "fact_verification")      # train / validation / test_synthetic / test_curated
curated = load_dataset(repo, "fact_verification", split="test_curated")
sent = load_dataset(repo, "sentiment")            # train / validation
abuse = load_dataset(repo, "abuse_detection")     # train / validation / test_synthetic

print(fv["train"][0]["text"], fv["train"][0]["label"])

# curated test, per sub-benchmark
hearsay = curated.filter(lambda r: r["eval_subset"] == "human_hearsay")

# stricter synthetic evaluation: drop rows overlapping another split
strict = fv["test_synthetic"].filter(lambda r: not ({"D01", "D02"} & set(r["audit_flags"])))
```

`scripts/load_dataset.py` runs all of these steps. `scripts/dataset_statistics.py` reproduces section 9, and `scripts/validate_dataset.py --hf` re-checks the whole release.

## 25. Contact and contributions

**Authors**

1. **Prajjit Basu** (first author), Vellore Institute of Technology, Vellore. prajjit.basu2023@vitstudent.ac.in
2. **Dr. Sanjiban Sekhar Roy** (second author), Vellore Institute of Technology, Vellore. s.roy@vit.ac.in

**Point of contact:** prajjit.basu2023@vitstudent.ac.in (Prajjit Basu) and s.roy@vit.ac.in (Dr. Sanjiban Sekhar Roy), or the *Community* tab of this dataset page.

Corrections, label disputes and takedown requests are welcome. Please quote the record `id`.