fix: pre-existing test failures — draft_engine None-MW crash + stale gate test
Matthew Ford
2e41740
draft_engine._load_compounds: skip aroma_chemicals rows with NULL molecular_weight
(they cannot be tier-classified and crashed _classify_tiers with None<=int). Fixes
all 5 test_synthetic failures.
test_representation_validation: the old test asserted the gate FAILS against live
repo state, which broke once the gate legitimately went READY. Rewritten to (a)
exercise the failure path hermetically by running the real gate logic against an
empty tmp dir (asserts rc=2 / DO_NOT_TRAIN / non-empty blockers), and (b) assert
the live repo gate IS ready with all five checks passing (regression guard).
Full suite: 112 passed, 4 skipped, 0 failed (previously 6 failed).
Former-commit-id: 671bc1d1175a6ede27ee0bb2f7563d836cd42dc1
Former-commit-id: 9d4a91c3b761ab4f2808fb0a91c67fc8eda63146
feat(pino): literature seed integration, stratified dataset split, registry enrichment, and Space sync
- Add literature_formulas.json blueprint with seeds and holdouts
- Integrate literature seeds into FormulaGenerator with Gaussian perturbation
- Flatten genre key in dataset records for stratified splitting
- Add upload_data.py for deterministic 80/20 Hub push
- Enrich registry: add missing single-chemical CAS and natural placeholders
- Add inference stub and verify_benchmarks.py for gold-standard validation
- Add sync_space.py to push train_hf.py to pino-pimt-training Space
- Update .gitignore to ignore logs and registry.db