badblli commited on
Commit
4bc0bf8
·
verified ·
1 Parent(s): 9a8f58e

Document dataset quality harness checks

Browse files
Files changed (1) hide show
  1. PROGRESS.md +9 -1
PROGRESS.md CHANGED
@@ -2,6 +2,13 @@
2
 
3
  Updated: 2026-09-25
4
 
 
 
 
 
 
 
 
5
  ## Completed
6
 
7
  - Expanded the hospitality ontology from 4 to 20 intents, with department/action relations and TR/EN/DE/RU lexical mappings.
@@ -12,7 +19,7 @@ Updated: 2026-09-25
12
  - Generated a separate 80-record hard-negative challenge set (10 contrast pairs × 2 examples × 4 languages); labels were checked by EVREN. It is marked `hard_negative_eval`, unreviewed, and training-disabled.
13
  - Ran a development-only word/character TF-IDF + LinearSVC baseline: test accuracy 0.988, macro-F1 0.987; hard-negative foil accuracy 0.613. These synthetic-pilot metrics are not publishable benchmark claims.
14
  - Basic email and phone-pattern screening found no matches. This does not replace full privacy review.
15
- - Created an EVREN API key limited to selected generation and validation models, stored in ignored local `.env` and Windows user environment; accepted EVREN LLM Gateway terms v1 after user approval.
16
  - Uploaded the final full draft and reports to the public Hugging Face dataset repository `badblli/HOSIA-Intent` (commit `f9391a7e188367ec63c9eb858d6d0ac24f6b5f43`). The superseded pilot and partial JSONL files were removed from the main branch to avoid duplicate ingestion; they remain in commit history.
17
 
18
  ## Platform limitation
@@ -28,6 +35,7 @@ The EVREN dataset page currently disables the **Metin** modality for this accoun
28
  - `scripts/build_multilingual_pilot.py` — resumable generation, extraction, validation, and group splitting.
29
  - `scripts/generate_hard_negatives.py` — contrast-set generation and validation.
30
  - `scripts/evaluate_tfidf_baseline.py` — development-only baseline.
 
31
  - `huggingface/dataset-card.md` — dataset card source.
32
 
33
  ## Remaining before a training-ready release
 
2
 
3
  Updated: 2026-09-25
4
 
5
+ ## Quality harness update
6
+
7
+ - Added `requirements-dev.txt` with pytest and wired GitHub Actions to run unit tests plus ontology validation.
8
+ - Added `requirements-ml.txt` for the optional scikit-learn baseline dependency so CI stays lightweight.
9
+ - Added `tests/test_dataset_validator.py` and `scripts/validate/validate_dataset.py` to validate generated main and hard-negative JSONL drafts locally. Dataset artifacts remain excluded from Git, so CI uses small synthetic fixtures; the full local datasets were also checked directly.
10
+ - Latest checks: 8 pytest tests passed; ontology validation passed (40 concepts, 40 relations, 80 lexical mappings); main draft passed (1,000 rows, balanced 10 intents × 4 languages, 840/80/80 group-safe splits); hard-negative draft passed (80 rows).
11
+
12
  ## Completed
13
 
14
  - Expanded the hospitality ontology from 4 to 20 intents, with department/action relations and TR/EN/DE/RU lexical mappings.
 
19
  - Generated a separate 80-record hard-negative challenge set (10 contrast pairs × 2 examples × 4 languages); labels were checked by EVREN. It is marked `hard_negative_eval`, unreviewed, and training-disabled.
20
  - Ran a development-only word/character TF-IDF + LinearSVC baseline: test accuracy 0.988, macro-F1 0.987; hard-negative foil accuracy 0.613. These synthetic-pilot metrics are not publishable benchmark claims.
21
  - Basic email and phone-pattern screening found no matches. This does not replace full privacy review.
22
+ - Configured an EVREN API key locally for selected generation and validation models; the key itself is not stored in this repository. Accepted EVREN LLM Gateway terms v1 after user approval.
23
  - Uploaded the final full draft and reports to the public Hugging Face dataset repository `badblli/HOSIA-Intent` (commit `f9391a7e188367ec63c9eb858d6d0ac24f6b5f43`). The superseded pilot and partial JSONL files were removed from the main branch to avoid duplicate ingestion; they remain in commit history.
24
 
25
  ## Platform limitation
 
35
  - `scripts/build_multilingual_pilot.py` — resumable generation, extraction, validation, and group splitting.
36
  - `scripts/generate_hard_negatives.py` — contrast-set generation and validation.
37
  - `scripts/evaluate_tfidf_baseline.py` — development-only baseline.
38
+ - `scripts/validate/validate_dataset.py`, `tests/test_dataset_validator.py`, `requirements-dev.txt` — pytest and JSONL validation harness.
39
  - `huggingface/dataset-card.md` — dataset card source.
40
 
41
  ## Remaining before a training-ready release