mattbitzesty commited on
Commit
ad424e4
Β·
unverified Β·
1 Parent(s): f516cb0

v6: ConcentrationAwarePyramidHead + OAV fix + curated descriptors + integration

Browse files

Architecture (Phase 1-2):
- ConcentrationAwarePyramidHead: physics-informed routing (learnable tau,
OAV-weighted attention, scalar MLP conditioning, padding-safe)
- PIMTHeads wrapper updated for new forward(latent, physics, mask) signature
- 7 invariance tests pass (shape, sensitivity, permutation, padding, routing, overfit, entropy)

Data pipeline (Phase 0):
- Fixed OAV unit bug (1000x too low: mg/m3 / ug/m3 without conversion)
- Merged OpenPOM curated dataset (4983 molecules, GoodScents+Leffingwell)
- 634 chemicals with curated descriptors (was 337), 138/138 active
- Filtered 61 non-fragrance chemicals, formula-derived psychometrics
- 468 real TGSC perfume formulas added to training set
- Measured Pyrfume ODTs for 521 chemicals

Integration:
- train.py: passes physics + mask to heads
- predict_shalimar.py: updated 3 call sites + checkpoint name
- scalar_stats key names aligned with heads.py
- Default dataset: v8, checkpoint: pimt_v6.pt

.gitignore CHANGED
@@ -36,3 +36,10 @@ reports/
36
 
37
  # SQLite registry cache (pushed to HF dataset repo, not source repo)
38
  src/pino/registry.db
 
 
 
 
 
 
 
 
36
 
37
  # SQLite registry cache (pushed to HF dataset repo, not source repo)
38
  src/pino/registry.db
39
+ data/empirical_dataset_v8.jsonl
40
+ data/empirical_dataset_v8_raw.jsonl
41
+ data/empirical_dataset_v8_synth.jsonl
42
+ data/tgsc_training_formulas*.jsonl
43
+ data/openpom_curated_4983.csv
44
+ *.bak*
45
+ src/pino/registry.db*
artifacts/chemical_family_classification.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/filtered_descriptors.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/genre_ingredient_pools.json ADDED
@@ -0,0 +1,2508 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "genre_pools": {
3
+ "citrus_cologne": [
4
+ "citrus_fresh",
5
+ "aromatic_herbal",
6
+ "floral_sweet"
7
+ ],
8
+ "floral_woody": [
9
+ "floral_sweet",
10
+ "woody_amber",
11
+ "citrus_fresh"
12
+ ],
13
+ "amber_oriental": [
14
+ "woody_amber",
15
+ "gourmand",
16
+ "floral_sweet"
17
+ ],
18
+ "fougere": [
19
+ "aromatic_herbal",
20
+ "woody_amber",
21
+ "floral_sweet"
22
+ ],
23
+ "wildcard": null
24
+ },
25
+ "chemical_family": {
26
+ "64-17-5": "citrus_fresh",
27
+ "67-63-0": "citrus_fresh",
28
+ "25265-71-8": "citrus_fresh",
29
+ "120-51-4": "citrus_fresh",
30
+ "84-66-2": "unclassified",
31
+ "138-86-3": "citrus_fresh",
32
+ "106-24-1": "floral_sweet",
33
+ "106-25-2": "citrus_fresh",
34
+ "106-22-9": "woody_amber",
35
+ "624-15-7": "woody_amber",
36
+ "99-85-4": "citrus_fresh",
37
+ "93-58-3": "floral_sweet",
38
+ "115-95-7": "citrus_fresh",
39
+ "105-87-3": "floral_sweet",
40
+ "150-84-5": "citrus_fresh",
41
+ "140-11-4": "floral_sweet",
42
+ "103-45-7": "floral_sweet",
43
+ "78-70-6": "floral_sweet",
44
+ "60-12-8": "floral_sweet",
45
+ "100-51-6": "floral_sweet",
46
+ "104-54-1": "floral_sweet",
47
+ "24851-98-7": "citrus_fresh",
48
+ "127-41-3": "floral_sweet",
49
+ "14901-07-6": "floral_sweet",
50
+ "127-51-5": "floral_sweet",
51
+ "1335-46-2": "floral_sweet",
52
+ "43052-87-5": "citrus_fresh",
53
+ "706-14-9": "floral_sweet",
54
+ "713-95-1": "gourmand",
55
+ "1222-05-5": "floral_sweet",
56
+ "21145-77-7": "floral_sweet",
57
+ "6790-58-5": "citrus_fresh",
58
+ "54464-57-2": "citrus_fresh",
59
+ "81-14-1": "floral_sweet",
60
+ "81-15-2": "citrus_fresh",
61
+ "105-95-3": "floral_sweet",
62
+ "541-91-3": "floral_sweet",
63
+ "83-66-9": "floral_sweet",
64
+ "77-53-2": "citrus_fresh",
65
+ "77-42-9": "unclassified",
66
+ "19870-74-7": "citrus_fresh",
67
+ "32388-55-9": "woody_amber",
68
+ "33704-61-9": "woody_amber",
69
+ "115-71-9": "unclassified",
70
+ "87-44-5": "citrus_fresh",
71
+ "97-53-0": "woody_amber",
72
+ "97-54-1": "floral_sweet",
73
+ "118-58-1": "citrus_fresh",
74
+ "90-05-1": "woody_amber",
75
+ "134-20-3": "floral_sweet",
76
+ "103-82-2": "floral_sweet",
77
+ "76-22-2": "citrus_fresh",
78
+ "2216-51-5": "citrus_fresh",
79
+ "16409-43-1": "citrus_fresh",
80
+ "6259-76-3": "citrus_fresh",
81
+ "4602-84-0": "floral_sweet",
82
+ "7212-44-4": "citrus_fresh",
83
+ "515-69-5": "floral_sweet",
84
+ "5986-55-0": "citrus_fresh",
85
+ "515-03-7": "citrus_fresh",
86
+ "7779-50-2": "woody_amber",
87
+ "104-67-6": "citrus_fresh",
88
+ "104-55-2": "floral_sweet",
89
+ "816-66-0": "citrus_fresh",
90
+ "600-18-0": "floral_sweet",
91
+ "328-50-7": "unclassified",
92
+ "SMILES:CC(CN)O": "citrus_fresh",
93
+ "SMILES:C1=CC(=CC=C1CO)O": "citrus_fresh",
94
+ "99-50-3": "woody_amber",
95
+ "56-12-2": "unclassified",
96
+ "501-52-0": "floral_sweet",
97
+ "123-08-0": "gourmand",
98
+ "64-19-7": "unclassified",
99
+ "60-35-5": "unclassified",
100
+ "99-96-7": "woody_amber",
101
+ "67-64-1": "citrus_fresh",
102
+ "SMILES:C(CCC(=O)O)CC(=O)O": "woody_amber",
103
+ "SMILES:C(CN)C(=O)O": "citrus_fresh",
104
+ "1132639-46-3": "gourmand",
105
+ "513-86-0": "gourmand",
106
+ "100-52-7": "floral_sweet",
107
+ "123-72-8": "citrus_fresh",
108
+ "65-85-0": "woody_amber",
109
+ "SMILES:CC(O)C(C)O": "citrus_fresh",
110
+ "SMILES:CCCCO": "woody_amber",
111
+ "SMILES:CCCC(=O)O": "woody_amber",
112
+ "SMILES:O=C(O)C=C(CC(=O)O)C(=O)O": "woody_amber",
113
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O": "floral_sweet",
114
+ "SMILES:CC(C)c1ccc(CO)cc1": "citrus_fresh",
115
+ "SMILES:CC(C)c1ccc(C=O)cc1": "citrus_fresh",
116
+ "SMILES:Cc1ccccc1O": "citrus_fresh",
117
+ "SMILES:C=Cc1ccc(O)c(OC)c1": "citrus_fresh",
118
+ "SMILES:O=C(O)c1ccccc1O": "woody_amber",
119
+ "SMILES:CCC=O": "woody_amber",
120
+ "SMILES:Cc1cccc(O)c1": "woody_amber",
121
+ "SMILES:CCCCCCCC=O": "citrus_fresh",
122
+ "SMILES:CCCCCCCC(=O)O": "woody_amber",
123
+ "SMILES:NC(CC(=O)O)C(=O)O": "woody_amber",
124
+ "SMILES:O=C(O)CC(O)C(=O)O": "woody_amber",
125
+ "SMILES:CSCCC(=O)O": "woody_amber",
126
+ "SMILES:O=C1CCc2ccccc2O1": "citrus_fresh",
127
+ "SMILES:CC(O)C(=O)O": "citrus_fresh",
128
+ "SMILES:CC(N)C(=O)O": "woody_amber",
129
+ "SMILES:CS(C)=O": "floral_sweet",
130
+ "SMILES:CC(=O)C(C)=O": "woody_amber",
131
+ "SMILES:O=C(CO)CO": "woody_amber",
132
+ "SMILES:O=C(O)C=CC(=O)O": "woody_amber",
133
+ "SMILES:OCC(O)CO": "citrus_fresh",
134
+ "SMILES:O=C(O)CCCC(=O)O": "woody_amber",
135
+ "SMILES:O=C(O)CO": "floral_sweet",
136
+ "SMILES:NCC(=O)O": "woody_amber",
137
+ "SMILES:CCC(C)C(N)C(=O)O": "woody_amber",
138
+ "SMILES:CC(C)CC(N)C(=O)O": "woody_amber",
139
+ "SMILES:NCCCCC(N)C(=O)O": "woody_amber",
140
+ "SMILES:c1ccc2ccccc2c1": "citrus_fresh",
141
+ "SMILES:O=C(O)C(O)C(O)C(=O)O": "woody_amber",
142
+ "SMILES:CCCCCCCCO": "woody_amber",
143
+ "SMILES:CC(=O)C=O": "citrus_fresh",
144
+ "SMILES:CSCCC(N)C(=O)O": "woody_amber",
145
+ "SMILES:O=C(O)C(=O)O": "woody_amber",
146
+ "SMILES:CCCCCCCCCCCCCCCC=O": "citrus_fresh",
147
+ "SMILES:O=C(O)C(=O)CO": "woody_amber",
148
+ "SMILES:CCCCCCCCCCCCCCCC(=O)O": "woody_amber",
149
+ "SMILES:NC(Cc1ccccc1)C(=O)O": "woody_amber",
150
+ "SMILES:Oc1ccccc1": "citrus_fresh",
151
+ "SMILES:CC(O)CO": "citrus_fresh",
152
+ "SMILES:NCCc1ccccc1": "woody_amber",
153
+ "SMILES:O=CCc1ccccc1": "woody_amber",
154
+ "SMILES:O=C(O)C(=O)Cc1ccccc1": "woody_amber",
155
+ "SMILES:CCCO": "woody_amber",
156
+ "SMILES:CCC(=O)O": "woody_amber",
157
+ "SMILES:c1ccncc1": "woody_amber",
158
+ "SMILES:NCCCCN": "citrus_fresh",
159
+ "SMILES:CSC": "woody_amber",
160
+ "SMILES:CC(=O)C(=O)O": "woody_amber",
161
+ "SMILES:O=C(O)CCC(=O)O": "woody_amber",
162
+ "SMILES:CNCC(=O)O": "citrus_fresh",
163
+ "SMILES:C1CCSC1": "gourmand",
164
+ "SMILES:Cc1ccccc1": "citrus_fresh",
165
+ "SMILES:CN(C)C": "woody_amber",
166
+ "SMILES:CC(C)C(N)C(=O)O": "woody_amber",
167
+ "SMILES:CC1CCCC2(C)CCCCC12O": "citrus_fresh",
168
+ "SMILES:COc1cc(C=O)ccc1O": "citrus_fresh",
169
+ "SMILES:CCCCCCCCCCCCCCCCO": "woody_amber",
170
+ "SMILES:O=C(O)c1ccc(O)cc1O": "woody_amber",
171
+ "SMILES:COc1cc(C(C)=O)ccc1O": "woody_amber",
172
+ "SMILES:Cc1ccc(O)cc1": "citrus_fresh",
173
+ "SMILES:CCCCCCCCCC(=O)O": "woody_amber",
174
+ "SMILES:CCOCC": "floral_sweet",
175
+ "SMILES:O=CCCCC=O": "woody_amber",
176
+ "SMILES:CCCCCCCCC(=O)NCc1ccc(O)c(OC)c1": "woody_amber",
177
+ "SMILES:CCCCOC(=O)c1ccccc1C(=O)OCCCC": "citrus_fresh",
178
+ "SMILES:CCCCCCCCCCCC(=O)O": "woody_amber",
179
+ "SMILES:COC(=O)c1ccccc1O": "citrus_fresh",
180
+ "SMILES:C1CNCCN1": "woody_amber",
181
+ "SMILES:O=C(CCc1ccc(O)cc1)c1c(O)cc(O)cc1O": "citrus_fresh",
182
+ "SMILES:CC(C)c1cccc(C(C)C)c1O": "citrus_fresh",
183
+ "SMILES:Oc1cccc(O)c1": "citrus_fresh",
184
+ "SMILES:CCCOC(=O)c1cc(O)c(O)c(O)c1": "citrus_fresh",
185
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O": "floral_sweet",
186
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)O": "woody_amber",
187
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@@H](O)CO": "citrus_fresh",
188
+ "SMILES:CC(C)(C)CC(C)(C)c1ccc(OCCO)cc1": "citrus_fresh",
189
+ "SMILES:N[C@@H](CS)C(=O)O": "woody_amber",
190
+ "SMILES:C=CCCCCCCCCC(=O)O": "citrus_fresh",
191
+ "SMILES:NCCc1ccc(O)cc1": "citrus_fresh",
192
+ "SMILES:N[C@@H](CC(=O)O)C(=O)O": "woody_amber",
193
+ "SMILES:NCCCC[C@H](N)C(=O)O": "woody_amber",
194
+ "SMILES:NC(=O)CC[C@H](N)C(=O)O": "woody_amber",
195
+ "SMILES:O=C(CO)[C@@H](O)[C@H](O)[C@H](O)CO": "citrus_fresh",
196
+ "SMILES:CC(C)CCC[C@@H](C)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C": "citrus_fresh",
197
+ "SMILES:O[C@@H]1[C@@H](O)[C@@H](O)OC[C@H]1O": "gourmand",
198
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O": "floral_sweet",
199
+ "SMILES:CCCCCC=O": "citrus_fresh",
200
+ "SMILES:CC(C)C[C@H](N)C(=O)O": "woody_amber",
201
+ "SMILES:N[C@@H](Cc1ccc(O)cc1)C(=O)O": "woody_amber",
202
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC": "floral_sweet",
203
+ "SMILES:N[C@@H](Cc1ccccc1)C(=O)O": "woody_amber",
204
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@H](O)CO": "citrus_fresh",
205
+ "SMILES:CCCCCO": "woody_amber",
206
+ "SMILES:NC(=O)C[C@H](N)C(=O)O": "woody_amber",
207
+ "SMILES:CC(C)[C@H](N)C(=O)O": "woody_amber",
208
+ "SMILES:CCS": "woody_amber",
209
+ "SMILES:CC(C)N": "woody_amber",
210
+ "SMILES:C[C@@H](O)[C@H](N)C(=O)O": "woody_amber",
211
+ "SMILES:CC[C@H](C)[C@H](N)C(=O)O": "woody_amber",
212
+ "SMILES:CC(C)(C)O": "woody_amber",
213
+ "SMILES:CC1CO1": "gourmand",
214
+ "SMILES:CCC(C)(C)O": "woody_amber",
215
+ "SMILES:CC(C)(O)C(C)(C)O": "woody_amber",
216
+ "SMILES:CCC(C)(O)CC": "woody_amber",
217
+ "SMILES:CC(=O)OC1CC2CCC1(C)C2(C)C": "gourmand",
218
+ "SMILES:CC(=O)OC1(C)CCC23CC1C(C)(C)[C@@H]2CC[C@H]3C": "citrus_fresh",
219
+ "SMILES:CCOC(=O)CC(CC(=O)OCC)(OC(C)=O)C(=O)OCC": "woody_amber",
220
+ "SMILES:CCOC(=O)C1OC1(C)c1ccccc1": "citrus_fresh",
221
+ "SMILES:C=CC(C)(CCC=C(C)C)OC(=O)C(C)C": "woody_amber",
222
+ "SMILES:CCCCOC(=O)CC(O)(CC(=O)OCCCC)C(=O)OCCCC": "woody_amber",
223
+ "SMILES:CCOC(=O)CC(O)(CC(=O)OCC)C(=O)OCC": "woody_amber",
224
+ "SMILES:CCCCOC(=O)CC(CC(=O)OCCCC)(OC(C)=O)C(=O)OCCCC": "woody_amber",
225
+ "SMILES:CCC(C)(O)CCCC(C)C": "citrus_fresh",
226
+ "SMILES:CC1=CC(=O)CC(C)(C)C1": "gourmand",
227
+ "SMILES:CCC(C)C": "citrus_fresh",
228
+ "SMILES:CC(C)CO": "citrus_fresh",
229
+ "SMILES:C=C(C)C=O": "citrus_fresh",
230
+ "SMILES:CCC(C)O": "woody_amber",
231
+ "SMILES:CC(C)C=O": "woody_amber",
232
+ "SMILES:CC(C)CN": "woody_amber",
233
+ "SMILES:CCC(C)=O": "woody_amber",
234
+ "SMILES:C=CC(C)=O": "citrus_fresh",
235
+ "SMILES:C=C1C2CCC(C2)C1(C)C": "gourmand",
236
+ "SMILES:COC(C)=O": "woody_amber",
237
+ "SMILES:CC(C)=CCCC(C)[C@H]1CC[C@@]2(C)C3=C(CC[C@]12C)[C@@]1(C)CC[C@H](O)C(C)(C)[C@@H]1CC3": "woody_amber",
238
+ "SMILES:CC(C)C(=O)O": "woody_amber",
239
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1": "floral_sweet",
240
+ "SMILES:CC(C)(c1ccc(O)cc1)c1ccc(O)cc1": "citrus_fresh",
241
+ "SMILES:CC1=CCC2CC1C2(C)C": "woody_amber",
242
+ "SMILES:CC(=O)OC1(C(C)C)C=CC(C)CC1": "citrus_fresh",
243
+ "SMILES:C=C(C)C(=O)OC": "citrus_fresh",
244
+ "SMILES:CC1=C(O)C(=O)CC1": "woody_amber",
245
+ "SMILES:CC(CC=O)c1ccc(C(C)(C)C)cc1": "citrus_fresh",
246
+ "SMILES:CNc1ccccc1C(=O)OC": "citrus_fresh",
247
+ "SMILES:O=C(OC1CCCCC1)c1ccccc1C(=O)OC1CCCCC1": "citrus_fresh",
248
+ "SMILES:COc1ccccc1-c1ccccc1": "aromatic_herbal",
249
+ "SMILES:CCCCOC(=O)COC(=O)c1ccccc1C(=O)OCCCC": "citrus_fresh",
250
+ "SMILES:CC(C)COC(=O)c1ccccc1O": "citrus_fresh",
251
+ "SMILES:CC(C)CCOC(=O)c1ccccc1O": "citrus_fresh",
252
+ "SMILES:CCOC(=O)c1ccccc1N": "citrus_fresh",
253
+ "SMILES:OC[C@@H](O)C(O)[C@@H](O)CO": "citrus_fresh",
254
+ "SMILES:O=C1OCc2ccccc21": "aromatic_herbal",
255
+ "SMILES:CCC(CC)C(=O)O": "woody_amber",
256
+ "SMILES:CC(C)=C1CCC(C)C2=C(C1)C(C)CC2": "gourmand",
257
+ "SMILES:CC(=O)c1cccs1": "woody_amber",
258
+ "SMILES:Cc1ccc(C(C)(C)C)c(O)c1": "woody_amber",
259
+ "SMILES:CC(C)c1ccccc1O": "citrus_fresh",
260
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C": "floral_sweet",
261
+ "SMILES:CC1CCC(C(C)C)C(OC(=O)c2ccccc2O)C1": "citrus_fresh",
262
+ "SMILES:CC1CCC(C(C)C)C(=O)C1": "floral_sweet",
263
+ "SMILES:CC(=O)c1ccc(C)cc1C": "woody_amber",
264
+ "SMILES:CC(C)=C1CCC(C)CC1=O": "gourmand",
265
+ "SMILES:Cc1ccc(C(C)C)c(O)c1": "citrus_fresh",
266
+ "SMILES:O=Cc1ccccc1O": "citrus_fresh",
267
+ "SMILES:Cc1cccc2ccccc12": "citrus_fresh",
268
+ "SMILES:CC(=O)OC(c1ccccc1)C(Cl)(Cl)Cl": "citrus_fresh",
269
+ "SMILES:O=C1CCCCC1C1CCCCC1": "citrus_fresh",
270
+ "SMILES:O=C1O[C@H](CO)[C@@H](O)[C@H](O)[C@H]1O": "citrus_fresh",
271
+ "SMILES:OC(c1ccccc1)c1ccccc1": "citrus_fresh",
272
+ "SMILES:COc1cccc(OC)c1O": "aromatic_herbal",
273
+ "SMILES:COc1ccccc1OC": "aromatic_herbal",
274
+ "SMILES:c1ccc2ncccc2c1": "aromatic_herbal",
275
+ "SMILES:Cc1ccc2ccccc2c1": "citrus_fresh",
276
+ "SMILES:c1ccc(-c2ccccc2)cc1": "citrus_fresh",
277
+ "SMILES:Cc1ccc2ncccc2c1": "citrus_fresh",
278
+ "SMILES:CC(=O)c1ccc2ccccc2c1": "citrus_fresh",
279
+ "SMILES:COc1ccc2ccccc2c1": "floral_sweet",
280
+ "SMILES:C=CCc1ccc(OC)c(OC)c1": "floral_sweet",
281
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1": "floral_sweet",
282
+ "SMILES:CCOc1ccc2ccccc2c1": "floral_sweet",
283
+ "SMILES:CC(C)Cc1ccc2ccccc2n1": "citrus_fresh",
284
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1": "floral_sweet",
285
+ "SMILES:COc1cc(C)ccc1O": "woody_amber",
286
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1": "floral_sweet",
287
+ "SMILES:CC(C=O)c1ccccc1": "citrus_fresh",
288
+ "SMILES:CCC(O)c1ccccc1": "citrus_fresh",
289
+ "SMILES:CCC(=O)c1ccccc1": "citrus_fresh",
290
+ "SMILES:CCOC(=O)c1ccccc1": "citrus_fresh",
291
+ "SMILES:COC(=O)c1cccnc1": "citrus_fresh",
292
+ "SMILES:O=C(Oc1ccccc1)c1ccccc1": "citrus_fresh",
293
+ "SMILES:CC(=O)CC(=O)c1ccccc1": "woody_amber",
294
+ "SMILES:CCOC(=O)CC(=O)c1ccccc1": "citrus_fresh",
295
+ "SMILES:O=C(OOC(=O)c1ccccc1)c1ccccc1": "citrus_fresh",
296
+ "SMILES:CCCOC(=O)c1ccc(O)cc1": "citrus_fresh",
297
+ "SMILES:CCCCOC(=O)c1ccc(O)cc1": "woody_amber",
298
+ "SMILES:CC(C)CCOC(=O)c1ccccc1": "citrus_fresh",
299
+ "SMILES:CCCC(O)C(CC)CO": "citrus_fresh",
300
+ "SMILES:O=C(OCCc1ccccc1)c1ccccc1": "woody_amber",
301
+ "SMILES:Cc1ccccc1C": "citrus_fresh",
302
+ "SMILES:Cc1ccc(O)cc1C": "citrus_fresh",
303
+ "SMILES:CCC(C)C=O": "citrus_fresh",
304
+ "SMILES:Cc1ccc(C)c(O)c1": "woody_amber",
305
+ "SMILES:CC1OC1C1CCC2(C)OC2C1": "citrus_fresh",
306
+ "SMILES:CCC(C)CN": "woody_amber",
307
+ "SMILES:O=C1CCCO1": "citrus_fresh",
308
+ "SMILES:CCC(=O)CC": "woody_amber",
309
+ "SMILES:Cn1cccc1": "citrus_fresh",
310
+ "SMILES:C=C(C)C1CC=C(C)C(OC(C)=O)C1": "citrus_fresh",
311
+ "SMILES:CCOC(=O)C(C)C": "citrus_fresh",
312
+ "SMILES:C=C(C)C(=O)OCC": "citrus_fresh",
313
+ "SMILES:CCC(CC)CO": "citrus_fresh",
314
+ "SMILES:CCOC(=O)C(C)O": "citrus_fresh",
315
+ "SMILES:CCCCCCCCCCCC(=O)N(C)CC(=O)O": "woody_amber",
316
+ "SMILES:CC(C)COC(=O)C(C)C": "citrus_fresh",
317
+ "SMILES:CCC(C=O)CC": "woody_amber",
318
+ "SMILES:CCCCOC(=O)C(C)C": "citrus_fresh",
319
+ "SMILES:OCC1CCCO1": "citrus_fresh",
320
+ "SMILES:O=Cc1ccco1": "citrus_fresh",
321
+ "SMILES:CC(C)(C)C1CCC(O)CC1": "woody_amber",
322
+ "SMILES:O=Cc1cccs1": "citrus_fresh",
323
+ "SMILES:CC(C)(C)c1ccc(O)c(O)c1": "citrus_fresh",
324
+ "SMILES:CC(C)(C)C1CCC(=O)CC1": "woody_amber",
325
+ "SMILES:CC(O)c1ccccc1": "citrus_fresh",
326
+ "SMILES:CC(C)(C)c1ccc(O)cc1": "citrus_fresh",
327
+ "SMILES:C=C(C)C1CC=C(C)C(O)C1": "woody_amber",
328
+ "SMILES:O=C(O)C1CCCCC1": "woody_amber",
329
+ "SMILES:CC(=O)c1ccccc1": "woody_amber",
330
+ "SMILES:C=C(C)C1CC=C(C)C(=O)C1": "gourmand",
331
+ "SMILES:CC1=CCC(C(C)C)C=C1": "woody_amber",
332
+ "SMILES:CC1CCC(C(C)C)CC1": "floral_sweet",
333
+ "SMILES:COC(=O)c1ccc(C)cc1": "floral_sweet",
334
+ "SMILES:COC(=O)c1ccc(O)cc1": "woody_amber",
335
+ "SMILES:CC1=CC=C(C(C)C)CC1": "citrus_fresh",
336
+ "SMILES:Cc1ccc(C(C)C)cc1": "citrus_fresh",
337
+ "SMILES:CC(C)c1ccc(O)cc1": "citrus_fresh",
338
+ "SMILES:C=Cc1ccccc1": "citrus_fresh",
339
+ "SMILES:CC(=O)c1ccc(Cl)cc1": "woody_amber",
340
+ "SMILES:SCc1ccccc1": "woody_amber",
341
+ "SMILES:COc1ccc(C(=O)O)cc1": "woody_amber",
342
+ "SMILES:CC(=O)c1ccc(O)cc1": "woody_amber",
343
+ "SMILES:COc1ccc(C(C)=O)cc1": "woody_amber",
344
+ "SMILES:COc1ccccc1": "aromatic_herbal",
345
+ "SMILES:CSc1ccccc1": "woody_amber",
346
+ "SMILES:CCc1ccccn1": "citrus_fresh",
347
+ "SMILES:CC(C=O)=Cc1ccccc1": "citrus_fresh",
348
+ "SMILES:COc1cccc(C)c1": "floral_sweet",
349
+ "SMILES:CC(C)(O)Cc1ccccc1": "woody_amber",
350
+ "SMILES:c1ccc(CC2OCCO2)cc1": "citrus_fresh",
351
+ "SMILES:COC(=O)Cc1ccccc1": "floral_sweet",
352
+ "SMILES:c1ccc(Cc2ccccc2)cc1": "citrus_fresh",
353
+ "SMILES:CCCCCCC(C=O)=Cc1ccccc1": "citrus_fresh",
354
+ "SMILES:CCOC(=O)Cc1ccccc1": "woody_amber",
355
+ "SMILES:O=C(Cc1ccccc1)Cc1ccccc1": "woody_amber",
356
+ "SMILES:CC(C)CCOC(=O)Cc1ccccc1": "citrus_fresh",
357
+ "SMILES:CCCN(CCC)CCC": "floral_sweet",
358
+ "SMILES:COc1ccc(COC(=O)Cc2ccccc2)cc1": "citrus_fresh",
359
+ "SMILES:CC(C)(O)CCc1ccccc1": "woody_amber",
360
+ "SMILES:O=C(Cc1ccccc1)OCCc1ccccc1": "woody_amber",
361
+ "SMILES:CC(=O)OC(C)(C)CCc1ccccc1": "woody_amber",
362
+ "SMILES:CCCCC(CC)COC(C)=O": "citrus_fresh",
363
+ "SMILES:COC(=O)C=Cc1ccccc1": "citrus_fresh",
364
+ "SMILES:COC(=O)CCc1ccccc1": "citrus_fresh",
365
+ "SMILES:CCOC(=O)C=Cc1ccccc1": "citrus_fresh",
366
+ "SMILES:CCCC(=O)OCc1ccccc1": "citrus_fresh",
367
+ "SMILES:CC(C)C(=O)OCc1ccccc1": "citrus_fresh",
368
+ "SMILES:CC(C)CC(=O)OCc1ccccc1": "citrus_fresh",
369
+ "SMILES:CC(C)C(=O)OCCc1ccccc1": "citrus_fresh",
370
+ "SMILES:c1ccc(COCc2ccccc2)cc1": "woody_amber",
371
+ "SMILES:BrC=Cc1ccccc1": "citrus_fresh",
372
+ "SMILES:CCCC(=O)OCCc1ccccc1": "woody_amber",
373
+ "SMILES:CC(=O)OCC=Cc1ccccc1": "woody_amber",
374
+ "SMILES:CC(C)C(=O)OCCCc1ccccc1": "citrus_fresh",
375
+ "SMILES:CCC(=O)OCC=Cc1ccccc1": "citrus_fresh",
376
+ "SMILES:CCCC(=O)OCC=Cc1ccccc1": "citrus_fresh",
377
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1": "floral_sweet",
378
+ "SMILES:COc1ccc(COC(C)=O)cc1": "woody_amber",
379
+ "SMILES:CCCc1ccc(OC)cc1": "citrus_fresh",
380
+ "SMILES:CCCCC1CCC(=O)O1": "citrus_fresh",
381
+ "SMILES:O=CCCc1ccccc1": "woody_amber",
382
+ "SMILES:CCCCCC1CCC(=O)O1": "woody_amber",
383
+ "SMILES:O=COCc1ccccc1": "citrus_fresh",
384
+ "SMILES:O=COCC=Cc1ccccc1": "citrus_fresh",
385
+ "SMILES:O=COCCc1ccccc1": "citrus_fresh",
386
+ "SMILES:CCCCC(CC)CO": "citrus_fresh",
387
+ "SMILES:Cc1ccc(C=O)cc1": "citrus_fresh",
388
+ "SMILES:CCc1ccc(C)nc1": "woody_amber",
389
+ "SMILES:COc1ccc(C)cc1": "floral_sweet",
390
+ "SMILES:CCCC1CCC(=O)O1": "woody_amber",
391
+ "SMILES:CCOC(=O)CC": "citrus_fresh",
392
+ "SMILES:COc1ccc(CO)cc1": "citrus_fresh",
393
+ "SMILES:CCC(C)CC(=O)O": "woody_amber",
394
+ "SMILES:COC(=O)CC(C)=O": "woody_amber",
395
+ "SMILES:CCC(C)OC(C)=O": "citrus_fresh",
396
+ "SMILES:CCOC(=O)CC(=O)OCC": "citrus_fresh",
397
+ "SMILES:CCCC(=O)OCC": "citrus_fresh",
398
+ "SMILES:O=C1CCCCCN1": "citrus_fresh",
399
+ "SMILES:CCOC(C)OCC": "citrus_fresh",
400
+ "SMILES:Cc1ccc(O)c(C)c1": "woody_amber",
401
+ "SMILES:CCCOC(=O)CCC": "citrus_fresh",
402
+ "SMILES:CCC(=O)OCCC(C)C": "citrus_fresh",
403
+ "SMILES:CC(C)CCCC(C)CCO": "citrus_fresh",
404
+ "SMILES:CCCCCC(=O)OCC(C)C": "citrus_fresh",
405
+ "SMILES:CC(C)=CCCC(C)CCOC=O": "citrus_fresh",
406
+ "SMILES:C=C(C)CCCC(C)CCOC(=O)CC": "citrus_fresh",
407
+ "SMILES:CC(C)=CCC[C@H](C)CCO": "woody_amber",
408
+ "SMILES:CC(C)=CCCC(C)CC=O": "woody_amber",
409
+ "SMILES:CCCOC(=O)CCCCC(=O)OCCC": "citrus_fresh",
410
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCCOCCO": "woody_amber",
411
+ "SMILES:CCCC(=O)OCCC(C)C": "citrus_fresh",
412
+ "SMILES:CCCCC(=O)CC": "woody_amber",
413
+ "SMILES:CCCCCCC(=O)OCC": "citrus_fresh",
414
+ "SMILES:CCCCCCCC(=O)OCC": "citrus_fresh",
415
+ "SMILES:COC(=O)CCC(=O)OC": "floral_sweet",
416
+ "SMILES:CCCOC(=O)CC": "citrus_fresh",
417
+ "SMILES:CCCCCCCCCCCC(=O)OCC": "citrus_fresh",
418
+ "SMILES:C=CC=O": "citrus_fresh",
419
+ "SMILES:C#CCO": "citrus_fresh",
420
+ "SMILES:C=CCO": "citrus_fresh",
421
+ "SMILES:CCCS": "woody_amber",
422
+ "SMILES:CCCCCC(=O)OC": "floral_sweet",
423
+ "SMILES:O=CC=O": "citrus_fresh",
424
+ "SMILES:CCCN": "citrus_fresh",
425
+ "SMILES:CCCCCCC(=O)OC": "floral_sweet",
426
+ "SMILES:COC=O": "floral_sweet",
427
+ "SMILES:CC(O)CC(C)(C)O": "citrus_fresh",
428
+ "SMILES:CC(CC=O)CCCC(C)(C)O": "woody_amber",
429
+ "SMILES:CC(O)CCO": "citrus_fresh",
430
+ "SMILES:CC(C)CC(C)O": "citrus_fresh",
431
+ "SMILES:CC(C)CCN": "gourmand",
432
+ "SMILES:CCCC(C)=O": "woody_amber",
433
+ "SMILES:CC(=O)CC(C)C": "woody_amber",
434
+ "SMILES:CC(=O)OC(C)C": "floral_sweet",
435
+ "SMILES:C=C(C)OC(C)=O": "citrus_fresh",
436
+ "SMILES:Cc1ccnc(C)c1": "woody_amber",
437
+ "SMILES:CC1COC(=O)O1": "woody_amber",
438
+ "SMILES:CC1CCC(=O)O1": "woody_amber",
439
+ "SMILES:Cc1cccc(C)c1": "citrus_fresh",
440
+ "SMILES:Cc1cncc(C)n1": "woody_amber",
441
+ "SMILES:Cc1cccc(C)n1": "citrus_fresh",
442
+ "SMILES:OC1CCCCC1": "citrus_fresh",
443
+ "SMILES:CC(C)CC(O)CC(C)C": "citrus_fresh",
444
+ "SMILES:CCOC(=O)CC(C)C": "citrus_fresh",
445
+ "SMILES:COC(=O)CC(=O)OC": "floral_sweet",
446
+ "SMILES:O=C1CCCCC1": "woody_amber",
447
+ "SMILES:CC(C)CC(=O)CC(C)C": "citrus_fresh",
448
+ "SMILES:CC(=O)OC(C)CC(C)C": "citrus_fresh",
449
+ "SMILES:CC1CCCCN1": "woody_amber",
450
+ "SMILES:Cc1cnccn1": "woody_amber",
451
+ "SMILES:Cc1ccccn1": "aromatic_herbal",
452
+ "SMILES:CCCCOC(=O)CC(C)C": "citrus_fresh",
453
+ "SMILES:CCCCOC(=O)CCC": "floral_sweet",
454
+ "SMILES:O=C1CCCCCCCCCCCCCCCO1": "citrus_fresh",
455
+ "SMILES:C=CCCC(C)=O": "citrus_fresh",
456
+ "SMILES:CCCCOC(=O)CCCCCCCCC(=O)OCCCC": "woody_amber",
457
+ "SMILES:CCCCC(=O)O": "woody_amber",
458
+ "SMILES:CCCCN": "woody_amber",
459
+ "SMILES:CCCOC(C)=O": "woody_amber",
460
+ "SMILES:CCCCS": "woody_amber",
461
+ "SMILES:SCCCS": "woody_amber",
462
+ "SMILES:COCOC": "floral_sweet",
463
+ "SMILES:CCOC=O": "citrus_fresh",
464
+ "SMILES:CCNCC": "woody_amber",
465
+ "SMILES:c1ccsc1": "citrus_fresh",
466
+ "SMILES:CC(=O)OCC(C)C": "citrus_fresh",
467
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C": "floral_sweet",
468
+ "SMILES:CCCCCCCCCC(=O)OCC": "citrus_fresh",
469
+ "SMILES:CCCCCCCCCCCCCC(=O)OCCCC": "woody_amber",
470
+ "SMILES:CC(C)CCOC=O": "citrus_fresh",
471
+ "SMILES:CCCCCC(C)=O": "woody_amber",
472
+ "SMILES:CCOC(=O)CCCCCCCCC(=O)OCC": "citrus_fresh",
473
+ "SMILES:CCCCCCCCCC(=O)OC": "floral_sweet",
474
+ "SMILES:CCCCC=O": "woody_amber",
475
+ "SMILES:CCCCCN": "gourmand",
476
+ "SMILES:CCSSCC": "citrus_fresh",
477
+ "SMILES:CCCOC=O": "citrus_fresh",
478
+ "SMILES:CCCCCS": "woody_amber",
479
+ "SMILES:C1CCNCC1": "woody_amber",
480
+ "SMILES:CC(O)CNCC(C)O": "citrus_fresh",
481
+ "SMILES:CC(O)COCC(C)O": "citrus_fresh",
482
+ "SMILES:CCCCCCO": "woody_amber",
483
+ "SMILES:CCCCCCCC(=O)OC": "floral_sweet",
484
+ "SMILES:CC=CC=CCO": "citrus_fresh",
485
+ "SMILES:CCCCCCC(C)=O": "woody_amber",
486
+ "SMILES:CCCCCCC(=O)O": "woody_amber",
487
+ "SMILES:CCCCCC#CC(=O)OC": "floral_sweet",
488
+ "SMILES:CCCCCCN": "gourmand",
489
+ "SMILES:CCCCCCS": "woody_amber",
490
+ "SMILES:NCCNCCO": "citrus_fresh",
491
+ "SMILES:OCCNCCO": "citrus_fresh",
492
+ "SMILES:C=CCOCCO": "citrus_fresh",
493
+ "SMILES:C=CCCCCCC": "citrus_fresh",
494
+ "SMILES:CC(=O)OCCOC(C)=O": "woody_amber",
495
+ "SMILES:OCCOCCO": "citrus_fresh",
496
+ "SMILES:CCCSCCC": "gourmand",
497
+ "SMILES:CCCCCCCO": "woody_amber",
498
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCC": "citrus_fresh",
499
+ "SMILES:CCCCCCC=O": "citrus_fresh",
500
+ "SMILES:CCCCCCCCC": "gourmand",
501
+ "SMILES:COCCOCCO": "citrus_fresh",
502
+ "SMILES:CCCCCCC=CC(=O)OC": "citrus_fresh",
503
+ "SMILES:CCCCCCC#CC(=O)OC": "floral_sweet",
504
+ "SMILES:C=CCCCCCCCCC(=O)OC": "citrus_fresh",
505
+ "SMILES:CCCCCCCCS": "woody_amber",
506
+ "SMILES:CCCCCCCCCCCC(=O)OC": "floral_sweet",
507
+ "SMILES:CCOCCOCCO": "citrus_fresh",
508
+ "SMILES:CCCCCCCCC(=O)O": "woody_amber",
509
+ "SMILES:CCCCCCCCCC(C)=O": "woody_amber",
510
+ "SMILES:CCCCCCCCOC(C)=O": "woody_amber",
511
+ "SMILES:CCCCCCCOC(C)=O": "woody_amber",
512
+ "SMILES:CCCCCCCOC=O": "woody_amber",
513
+ "SMILES:CCCCCCCCCCO": "woody_amber",
514
+ "SMILES:CCCCCCCCCC=O": "citrus_fresh",
515
+ "SMILES:CCCCCCCCCCOC(C)=O": "woody_amber",
516
+ "SMILES:CCCCCCCCOC=O": "woody_amber",
517
+ "SMILES:CCCCCCCCCCC(=O)O": "woody_amber",
518
+ "SMILES:C=CCCCCCCCCCO": "citrus_fresh",
519
+ "54452-50-3": "citrus_fresh",
520
+ "68039-33-4": "citrus_fresh",
521
+ "142-62-3": "citrus_fresh",
522
+ "111-79-5": "citrus_fresh",
523
+ "6790-58-9": "woody_amber",
524
+ "127-42-4": "floral_sweet",
525
+ "17283-81-7": "citrus_fresh",
526
+ "110-17-8": "unclassified",
527
+ "91-64-5": "floral_sweet",
528
+ "928-96-1": "citrus_fresh",
529
+ "928-97-2": "citrus_fresh",
530
+ "140-67-0": "aromatic_herbal",
531
+ "674-86-6": "woody_amber",
532
+ "110-44-1": "woody_amber",
533
+ "119-64-2": "citrus_fresh",
534
+ "89-43-0": "floral_sweet",
535
+ "121-34-6": "gourmand",
536
+ "89-86-1": "woody_amber",
537
+ "106-26-3": "citrus_fresh",
538
+ "117-98-6": "woody_amber",
539
+ "89-78-1": "citrus_fresh",
540
+ "80-56-8": "citrus_fresh",
541
+ "5392-40-5": "floral_sweet",
542
+ "469-01-2": "woody_amber",
543
+ "65405-77-8": "citrus_fresh",
544
+ "23696-85-7": "floral_sweet",
545
+ "121-33-5": "gourmand",
546
+ "102-13-6": "citrus_fresh",
547
+ "103-95-7": "citrus_fresh",
548
+ "105-53-3": "citrus_fresh",
549
+ "105-86-2": "woody_amber",
550
+ "106-29-6": "woody_amber",
551
+ "107-75-5": "woody_amber",
552
+ "111-12-6": "floral_sweet",
553
+ "112-44-7": "citrus_fresh",
554
+ "122-40-7": "citrus_fresh",
555
+ "122-57-6": "citrus_fresh",
556
+ "123-11-5": "citrus_fresh",
557
+ "140-39-6": "floral_sweet",
558
+ "141-78-6": "woody_amber",
559
+ "150-78-7": "floral_sweet",
560
+ "2039-67-0": "floral_sweet",
561
+ "2050-08-0": "citrus_fresh",
562
+ "2173-56-0": "woody_amber",
563
+ "507-70-0": "gourmand",
564
+ "67-66-3": "citrus_fresh",
565
+ "6812-78-8": "citrus_fresh",
566
+ "75-07-0": "woody_amber",
567
+ "76-49-3": "gourmand",
568
+ "120-57-0": "citrus_fresh",
569
+ "606-09-1": "citrus_fresh",
570
+ "120-72-9": "woody_amber",
571
+ "9000-65-5": "woody_amber",
572
+ "68606-83-7": "woody_amber",
573
+ "8000-25-7": "gourmand",
574
+ "8000-27-9": "citrus_fresh",
575
+ "8000-28-0": "citrus_fresh",
576
+ "8000-29-1": "woody_amber",
577
+ "8000-41-7": "woody_amber",
578
+ "8000-46-2": "citrus_fresh",
579
+ "8007-00-9": "citrus_fresh",
580
+ "8007-46-3": "citrus_fresh",
581
+ "8007-80-5": "floral_sweet",
582
+ "8014-17-3": "woody_amber",
583
+ "8016-38-4": "gourmand",
584
+ "8016-63-5": "woody_amber",
585
+ "8016-78-2": "citrus_fresh",
586
+ "8016-96-4": "woody_amber",
587
+ "8023-75-2": "woody_amber",
588
+ "8023-79-2": "floral_sweet",
589
+ "8023-91-4": "woody_amber",
590
+ "8024-13-1": "citrus_fresh",
591
+ "8031-03-6": "gourmand",
592
+ "8046-19-3": "citrus_fresh",
593
+ "9000-50-4": "citrus_fresh",
594
+ "9000-64-0": "woody_amber",
595
+ "9000-64-2": "woody_amber",
596
+ "8016-26-0": "citrus_fresh",
597
+ "8022-96-6": "woody_amber",
598
+ "8000-34-8": "woody_amber",
599
+ "8007-01-0": "woody_amber",
600
+ "8007-06-5": "citrus_fresh",
601
+ "8007-75-8": "woody_amber",
602
+ "8014-09-3": "citrus_fresh",
603
+ "123-35-3": "citrus_fresh",
604
+ "80-54-6": "citrus_fresh",
605
+ "141-12-8": "woody_amber",
606
+ "127-91-3": "woody_amber",
607
+ "562-74-3": "citrus_fresh",
608
+ "5989-27-5": "citrus_fresh",
609
+ "5989-54-8": "citrus_fresh",
610
+ "6485-40-1": "gourmand",
611
+ "2244-16-8": "gourmand",
612
+ "151-05-3": "woody_amber",
613
+ "79-69-6": "woody_amber",
614
+ "66068-84-6": "woody_amber",
615
+ "141-25-3": "citrus_fresh",
616
+ "128-50-7": "woody_amber"
617
+ },
618
+ "ingredient_pools": {
619
+ "citrus_cologne": [
620
+ "64-17-5",
621
+ "67-63-0",
622
+ "25265-71-8",
623
+ "120-51-4",
624
+ "138-86-3",
625
+ "106-24-1",
626
+ "106-25-2",
627
+ "99-85-4",
628
+ "93-58-3",
629
+ "115-95-7",
630
+ "105-87-3",
631
+ "150-84-5",
632
+ "140-11-4",
633
+ "103-45-7",
634
+ "78-70-6",
635
+ "60-12-8",
636
+ "100-51-6",
637
+ "104-54-1",
638
+ "24851-98-7",
639
+ "127-41-3",
640
+ "14901-07-6",
641
+ "127-51-5",
642
+ "1335-46-2",
643
+ "43052-87-5",
644
+ "706-14-9",
645
+ "1222-05-5",
646
+ "21145-77-7",
647
+ "6790-58-5",
648
+ "54464-57-2",
649
+ "81-14-1",
650
+ "81-15-2",
651
+ "105-95-3",
652
+ "541-91-3",
653
+ "83-66-9",
654
+ "77-53-2",
655
+ "19870-74-7",
656
+ "87-44-5",
657
+ "97-54-1",
658
+ "118-58-1",
659
+ "134-20-3",
660
+ "103-82-2",
661
+ "76-22-2",
662
+ "2216-51-5",
663
+ "16409-43-1",
664
+ "6259-76-3",
665
+ "4602-84-0",
666
+ "7212-44-4",
667
+ "515-69-5",
668
+ "5986-55-0",
669
+ "515-03-7",
670
+ "104-67-6",
671
+ "104-55-2",
672
+ "816-66-0",
673
+ "600-18-0",
674
+ "SMILES:CC(CN)O",
675
+ "SMILES:C1=CC(=CC=C1CO)O",
676
+ "501-52-0",
677
+ "67-64-1",
678
+ "SMILES:C(CN)C(=O)O",
679
+ "100-52-7",
680
+ "123-72-8",
681
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O",
682
+ "SMILES:CC(C)c1ccc(CO)cc1",
683
+ "SMILES:CC(C)c1ccc(C=O)cc1",
684
+ "SMILES:Cc1ccccc1O",
685
+ "SMILES:C=Cc1ccc(O)c(OC)c1",
686
+ "SMILES:CCCCCCCC=O",
687
+ "SMILES:O=C1CCc2ccccc2O1",
688
+ "SMILES:CC(O)C(=O)O",
689
+ "SMILES:CS(C)=O",
690
+ "SMILES:O=C(O)CO",
691
+ "SMILES:CC(=O)C=O",
692
+ "SMILES:CCCCCCCCCCCCCCCC=O",
693
+ "SMILES:Oc1ccccc1",
694
+ "SMILES:CC(O)CO",
695
+ "SMILES:NCCCCN",
696
+ "SMILES:CNCC(=O)O",
697
+ "SMILES:Cc1ccccc1",
698
+ "SMILES:CC1CCCC2(C)CCCCC12O",
699
+ "SMILES:COc1cc(C=O)ccc1O",
700
+ "SMILES:Cc1ccc(O)cc1",
701
+ "SMILES:CCOCC",
702
+ "SMILES:CCCCOC(=O)c1ccccc1C(=O)OCCCC",
703
+ "SMILES:COC(=O)c1ccccc1O",
704
+ "SMILES:O=C(CCc1ccc(O)cc1)c1c(O)cc(O)cc1O",
705
+ "SMILES:CC(C)c1cccc(C(C)C)c1O",
706
+ "SMILES:Oc1cccc(O)c1",
707
+ "SMILES:CCCOC(=O)c1cc(O)c(O)c(O)c1",
708
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O",
709
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@@H](O)CO",
710
+ "SMILES:CC(C)(C)CC(C)(C)c1ccc(OCCO)cc1",
711
+ "SMILES:C=CCCCCCCCCC(=O)O",
712
+ "SMILES:NCCc1ccc(O)cc1",
713
+ "SMILES:O=C(CO)[C@@H](O)[C@H](O)[C@H](O)CO",
714
+ "SMILES:CC(C)CCC[C@@H](C)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C",
715
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O",
716
+ "SMILES:CCCCCC=O",
717
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC",
718
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@H](O)CO",
719
+ "SMILES:CC(=O)OC1(C)CCC23CC1C(C)(C)[C@@H]2CC[C@H]3C",
720
+ "SMILES:CCOC(=O)C1OC1(C)c1ccccc1",
721
+ "SMILES:CCC(C)(O)CCCC(C)C",
722
+ "SMILES:CCC(C)C",
723
+ "SMILES:C=C(C)C=O",
724
+ "SMILES:C=CC(C)=O",
725
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1",
726
+ "SMILES:CC(C)(c1ccc(O)cc1)c1ccc(O)cc1",
727
+ "SMILES:CC(=O)OC1(C(C)C)C=CC(C)CC1",
728
+ "SMILES:C=C(C)C(=O)OC",
729
+ "SMILES:CC(CC=O)c1ccc(C(C)(C)C)cc1",
730
+ "SMILES:CNc1ccccc1C(=O)OC",
731
+ "SMILES:O=C(OC1CCCCC1)c1ccccc1C(=O)OC1CCCCC1",
732
+ "SMILES:COc1ccccc1-c1ccccc1",
733
+ "SMILES:CCCCOC(=O)COC(=O)c1ccccc1C(=O)OCCCC",
734
+ "SMILES:CC(C)COC(=O)c1ccccc1O",
735
+ "SMILES:CC(C)CCOC(=O)c1ccccc1O",
736
+ "SMILES:CCOC(=O)c1ccccc1N",
737
+ "SMILES:OC[C@@H](O)C(O)[C@@H](O)CO",
738
+ "SMILES:O=C1OCc2ccccc21",
739
+ "SMILES:CC(C)c1ccccc1O",
740
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C",
741
+ "SMILES:CC1CCC(C(C)C)C(OC(=O)c2ccccc2O)C1",
742
+ "SMILES:CC1CCC(C(C)C)C(=O)C1",
743
+ "SMILES:Cc1ccc(C(C)C)c(O)c1",
744
+ "SMILES:O=Cc1ccccc1O",
745
+ "SMILES:CC(=O)OC(c1ccccc1)C(Cl)(Cl)Cl",
746
+ "SMILES:O=C1CCCCC1C1CCCCC1",
747
+ "SMILES:O=C1O[C@H](CO)[C@@H](O)[C@H](O)[C@H]1O",
748
+ "SMILES:COc1cccc(OC)c1O",
749
+ "SMILES:COc1ccccc1OC",
750
+ "SMILES:c1ccc(-c2ccccc2)cc1",
751
+ "SMILES:C=CCc1ccc(OC)c(OC)c1",
752
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1",
753
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1",
754
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1",
755
+ "SMILES:CC(C=O)c1ccccc1",
756
+ "SMILES:CCC(=O)c1ccccc1",
757
+ "SMILES:CCOC(=O)c1ccccc1",
758
+ "SMILES:COC(=O)c1cccnc1",
759
+ "SMILES:O=C(Oc1ccccc1)c1ccccc1",
760
+ "SMILES:CCOC(=O)CC(=O)c1ccccc1",
761
+ "SMILES:O=C(OOC(=O)c1ccccc1)c1ccccc1",
762
+ "SMILES:CCCOC(=O)c1ccc(O)cc1",
763
+ "SMILES:CC(C)CCOC(=O)c1ccccc1",
764
+ "SMILES:Cc1ccccc1C",
765
+ "SMILES:Cc1ccc(O)cc1C",
766
+ "SMILES:CCC(C)C=O",
767
+ "SMILES:CC1OC1C1CCC2(C)OC2C1",
768
+ "SMILES:O=C1CCCO1",
769
+ "SMILES:C=C(C)C1CC=C(C)C(OC(C)=O)C1",
770
+ "SMILES:CCOC(=O)C(C)C",
771
+ "SMILES:C=C(C)C(=O)OCC",
772
+ "SMILES:CCOC(=O)C(C)O",
773
+ "SMILES:CC(C)COC(=O)C(C)C",
774
+ "SMILES:CCCCOC(=O)C(C)C",
775
+ "SMILES:OCC1CCCO1",
776
+ "SMILES:O=Cc1ccco1",
777
+ "SMILES:O=Cc1cccs1",
778
+ "SMILES:CC(C)(C)c1ccc(O)c(O)c1",
779
+ "SMILES:CC(C)(C)c1ccc(O)cc1",
780
+ "SMILES:CC1CCC(C(C)C)CC1",
781
+ "SMILES:COC(=O)c1ccc(C)cc1",
782
+ "SMILES:CC1=CC=C(C(C)C)CC1",
783
+ "SMILES:Cc1ccc(C(C)C)cc1",
784
+ "SMILES:CC(C)c1ccc(O)cc1",
785
+ "SMILES:C=Cc1ccccc1",
786
+ "SMILES:COc1ccccc1",
787
+ "SMILES:CC(C=O)=Cc1ccccc1",
788
+ "SMILES:COc1cccc(C)c1",
789
+ "SMILES:c1ccc(CC2OCCO2)cc1",
790
+ "SMILES:COC(=O)Cc1ccccc1",
791
+ "SMILES:c1ccc(Cc2ccccc2)cc1",
792
+ "SMILES:CCCCCCC(C=O)=Cc1ccccc1",
793
+ "SMILES:CC(C)CCOC(=O)Cc1ccccc1",
794
+ "SMILES:CCCN(CCC)CCC",
795
+ "SMILES:COc1ccc(COC(=O)Cc2ccccc2)cc1",
796
+ "SMILES:CCCCC(CC)COC(C)=O",
797
+ "SMILES:COC(=O)C=Cc1ccccc1",
798
+ "SMILES:COC(=O)CCc1ccccc1",
799
+ "SMILES:CCOC(=O)C=Cc1ccccc1",
800
+ "SMILES:CCCC(=O)OCc1ccccc1",
801
+ "SMILES:CC(C)C(=O)OCc1ccccc1",
802
+ "SMILES:CC(C)CC(=O)OCc1ccccc1",
803
+ "SMILES:CC(C)C(=O)OCCc1ccccc1",
804
+ "SMILES:BrC=Cc1ccccc1",
805
+ "SMILES:CC(C)C(=O)OCCCc1ccccc1",
806
+ "SMILES:CCC(=O)OCC=Cc1ccccc1",
807
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1",
808
+ "SMILES:CCCc1ccc(OC)cc1",
809
+ "SMILES:CCCCC1CCC(=O)O1",
810
+ "SMILES:O=COCc1ccccc1",
811
+ "SMILES:O=COCC=Cc1ccccc1",
812
+ "SMILES:O=COCCc1ccccc1",
813
+ "SMILES:CCCCC(CC)CO",
814
+ "SMILES:Cc1ccc(C=O)cc1",
815
+ "SMILES:COc1ccc(C)cc1",
816
+ "SMILES:CCOC(=O)CC",
817
+ "SMILES:COc1ccc(CO)cc1",
818
+ "SMILES:CCC(C)OC(C)=O",
819
+ "SMILES:CCOC(=O)CC(=O)OCC",
820
+ "SMILES:CCCC(=O)OCC",
821
+ "SMILES:O=C1CCCCCN1",
822
+ "SMILES:CCOC(C)OCC",
823
+ "SMILES:CCCOC(=O)CCC",
824
+ "SMILES:CCC(=O)OCCC(C)C",
825
+ "SMILES:CC(C)CCCC(C)CCO",
826
+ "SMILES:CCCCCC(=O)OCC(C)C",
827
+ "SMILES:CC(C)=CCCC(C)CCOC=O",
828
+ "SMILES:C=C(C)CCCC(C)CCOC(=O)CC",
829
+ "SMILES:CCCOC(=O)CCCCC(=O)OCCC",
830
+ "SMILES:CCCC(=O)OCCC(C)C",
831
+ "SMILES:CCCCCCC(=O)OCC",
832
+ "SMILES:CCCCCCCC(=O)OCC",
833
+ "SMILES:COC(=O)CCC(=O)OC",
834
+ "SMILES:CCCOC(=O)CC",
835
+ "SMILES:CCCCCCCCCCCC(=O)OCC",
836
+ "SMILES:C=CC=O",
837
+ "SMILES:C#CCO",
838
+ "SMILES:C=CCO",
839
+ "SMILES:CCCCCC(=O)OC",
840
+ "SMILES:O=CC=O",
841
+ "SMILES:CCCN",
842
+ "SMILES:CCCCCCC(=O)OC",
843
+ "SMILES:COC=O",
844
+ "SMILES:CC(O)CC(C)(C)O",
845
+ "SMILES:CC(=O)OC(C)C",
846
+ "SMILES:C=C(C)OC(C)=O",
847
+ "SMILES:Cc1cccc(C)c1",
848
+ "SMILES:CC(C)CC(O)CC(C)C",
849
+ "SMILES:CCOC(=O)CC(C)C",
850
+ "SMILES:COC(=O)CC(=O)OC",
851
+ "SMILES:CC(C)CC(=O)CC(C)C",
852
+ "SMILES:CC(=O)OC(C)CC(C)C",
853
+ "SMILES:CCCCOC(=O)CC(C)C",
854
+ "SMILES:CCCCOC(=O)CCC",
855
+ "SMILES:C=CCCC(C)=O",
856
+ "SMILES:COCOC",
857
+ "SMILES:CCOC=O",
858
+ "SMILES:c1ccsc1",
859
+ "SMILES:CC(=O)OCC(C)C",
860
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C",
861
+ "SMILES:CCCCCCCCCC(=O)OCC",
862
+ "SMILES:CC(C)CCOC=O",
863
+ "SMILES:CCOC(=O)CCCCCCCCC(=O)OCC",
864
+ "SMILES:CCCCCCCCCC(=O)OC",
865
+ "SMILES:CCSSCC",
866
+ "SMILES:CCCOC=O",
867
+ "SMILES:CC(O)COCC(C)O",
868
+ "SMILES:CCCCCCCC(=O)OC",
869
+ "SMILES:CC=CC=CCO",
870
+ "SMILES:CCCCCC#CC(=O)OC",
871
+ "SMILES:C=CCCCCCC",
872
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCC",
873
+ "SMILES:CCCCCCC=O",
874
+ "SMILES:CCCCCCC=CC(=O)OC",
875
+ "SMILES:CCCCCCC#CC(=O)OC",
876
+ "SMILES:C=CCCCCCCCCC(=O)OC",
877
+ "SMILES:CCCCCCCCCCCC(=O)OC",
878
+ "SMILES:CCCCCCCCCC=O",
879
+ "SMILES:C=CCCCCCCCCCO",
880
+ "54452-50-3",
881
+ "68039-33-4",
882
+ "142-62-3",
883
+ "111-79-5",
884
+ "127-42-4",
885
+ "17283-81-7",
886
+ "91-64-5",
887
+ "928-96-1",
888
+ "928-97-2",
889
+ "140-67-0",
890
+ "119-64-2",
891
+ "89-43-0",
892
+ "106-26-3",
893
+ "89-78-1",
894
+ "80-56-8",
895
+ "5392-40-5",
896
+ "65405-77-8",
897
+ "23696-85-7",
898
+ "102-13-6",
899
+ "103-95-7",
900
+ "105-53-3",
901
+ "111-12-6",
902
+ "112-44-7",
903
+ "122-40-7",
904
+ "122-57-6",
905
+ "123-11-5",
906
+ "140-39-6",
907
+ "150-78-7",
908
+ "2039-67-0",
909
+ "2050-08-0",
910
+ "67-66-3",
911
+ "6812-78-8",
912
+ "120-57-0",
913
+ "606-09-1",
914
+ "8000-27-9",
915
+ "8000-28-0",
916
+ "8000-46-2",
917
+ "8007-00-9",
918
+ "8007-46-3",
919
+ "8007-80-5",
920
+ "8016-78-2",
921
+ "8023-79-2",
922
+ "8024-13-1",
923
+ "8046-19-3",
924
+ "9000-50-4",
925
+ "8016-26-0",
926
+ "8007-06-5",
927
+ "8014-09-3",
928
+ "123-35-3",
929
+ "80-54-6",
930
+ "562-74-3",
931
+ "5989-27-5",
932
+ "5989-54-8",
933
+ "141-25-3"
934
+ ],
935
+ "floral_woody": [
936
+ "64-17-5",
937
+ "67-63-0",
938
+ "25265-71-8",
939
+ "120-51-4",
940
+ "138-86-3",
941
+ "106-24-1",
942
+ "106-25-2",
943
+ "106-22-9",
944
+ "624-15-7",
945
+ "99-85-4",
946
+ "93-58-3",
947
+ "115-95-7",
948
+ "105-87-3",
949
+ "150-84-5",
950
+ "140-11-4",
951
+ "103-45-7",
952
+ "78-70-6",
953
+ "60-12-8",
954
+ "100-51-6",
955
+ "104-54-1",
956
+ "24851-98-7",
957
+ "127-41-3",
958
+ "14901-07-6",
959
+ "127-51-5",
960
+ "1335-46-2",
961
+ "43052-87-5",
962
+ "706-14-9",
963
+ "1222-05-5",
964
+ "21145-77-7",
965
+ "6790-58-5",
966
+ "54464-57-2",
967
+ "81-14-1",
968
+ "81-15-2",
969
+ "105-95-3",
970
+ "541-91-3",
971
+ "83-66-9",
972
+ "77-53-2",
973
+ "19870-74-7",
974
+ "32388-55-9",
975
+ "33704-61-9",
976
+ "87-44-5",
977
+ "97-53-0",
978
+ "97-54-1",
979
+ "118-58-1",
980
+ "90-05-1",
981
+ "134-20-3",
982
+ "103-82-2",
983
+ "76-22-2",
984
+ "2216-51-5",
985
+ "16409-43-1",
986
+ "6259-76-3",
987
+ "4602-84-0",
988
+ "7212-44-4",
989
+ "515-69-5",
990
+ "5986-55-0",
991
+ "515-03-7",
992
+ "7779-50-2",
993
+ "104-67-6",
994
+ "104-55-2",
995
+ "816-66-0",
996
+ "600-18-0",
997
+ "SMILES:CC(CN)O",
998
+ "SMILES:C1=CC(=CC=C1CO)O",
999
+ "99-50-3",
1000
+ "501-52-0",
1001
+ "99-96-7",
1002
+ "67-64-1",
1003
+ "SMILES:C(CCC(=O)O)CC(=O)O",
1004
+ "SMILES:C(CN)C(=O)O",
1005
+ "100-52-7",
1006
+ "123-72-8",
1007
+ "65-85-0",
1008
+ "SMILES:CCCC(=O)O",
1009
+ "SMILES:O=C(O)C=C(CC(=O)O)C(=O)O",
1010
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O",
1011
+ "SMILES:CC(C)c1ccc(CO)cc1",
1012
+ "SMILES:CC(C)c1ccc(C=O)cc1",
1013
+ "SMILES:Cc1ccccc1O",
1014
+ "SMILES:C=Cc1ccc(O)c(OC)c1",
1015
+ "SMILES:O=C(O)c1ccccc1O",
1016
+ "SMILES:CCC=O",
1017
+ "SMILES:Cc1cccc(O)c1",
1018
+ "SMILES:CCCCCCCC=O",
1019
+ "SMILES:CCCCCCCC(=O)O",
1020
+ "SMILES:NC(CC(=O)O)C(=O)O",
1021
+ "SMILES:O=C(O)CC(O)C(=O)O",
1022
+ "SMILES:CSCCC(=O)O",
1023
+ "SMILES:O=C1CCc2ccccc2O1",
1024
+ "SMILES:CC(O)C(=O)O",
1025
+ "SMILES:CC(N)C(=O)O",
1026
+ "SMILES:CS(C)=O",
1027
+ "SMILES:CC(=O)C(C)=O",
1028
+ "SMILES:O=C(O)C=CC(=O)O",
1029
+ "SMILES:O=C(O)CCCC(=O)O",
1030
+ "SMILES:O=C(O)CO",
1031
+ "SMILES:NCC(=O)O",
1032
+ "SMILES:CCC(C)C(N)C(=O)O",
1033
+ "SMILES:CC(C)CC(N)C(=O)O",
1034
+ "SMILES:NCCCCC(N)C(=O)O",
1035
+ "SMILES:O=C(O)C(O)C(O)C(=O)O",
1036
+ "SMILES:CC(=O)C=O",
1037
+ "SMILES:CSCCC(N)C(=O)O",
1038
+ "SMILES:O=C(O)C(=O)O",
1039
+ "SMILES:CCCCCCCCCCCCCCCC=O",
1040
+ "SMILES:O=C(O)C(=O)CO",
1041
+ "SMILES:CCCCCCCCCCCCCCCC(=O)O",
1042
+ "SMILES:NC(Cc1ccccc1)C(=O)O",
1043
+ "SMILES:Oc1ccccc1",
1044
+ "SMILES:CC(O)CO",
1045
+ "SMILES:O=CCc1ccccc1",
1046
+ "SMILES:O=C(O)C(=O)Cc1ccccc1",
1047
+ "SMILES:CCC(=O)O",
1048
+ "SMILES:NCCCCN",
1049
+ "SMILES:CSC",
1050
+ "SMILES:CC(=O)C(=O)O",
1051
+ "SMILES:O=C(O)CCC(=O)O",
1052
+ "SMILES:CNCC(=O)O",
1053
+ "SMILES:Cc1ccccc1",
1054
+ "SMILES:CN(C)C",
1055
+ "SMILES:CC(C)C(N)C(=O)O",
1056
+ "SMILES:CC1CCCC2(C)CCCCC12O",
1057
+ "SMILES:COc1cc(C=O)ccc1O",
1058
+ "SMILES:COc1cc(C(C)=O)ccc1O",
1059
+ "SMILES:Cc1ccc(O)cc1",
1060
+ "SMILES:CCCCCCCCCC(=O)O",
1061
+ "SMILES:CCOCC",
1062
+ "SMILES:O=CCCCC=O",
1063
+ "SMILES:CCCCCCCCC(=O)NCc1ccc(O)c(OC)c1",
1064
+ "SMILES:CCCCOC(=O)c1ccccc1C(=O)OCCCC",
1065
+ "SMILES:CCCCCCCCCCCC(=O)O",
1066
+ "SMILES:COC(=O)c1ccccc1O",
1067
+ "SMILES:C1CNCCN1",
1068
+ "SMILES:O=C(CCc1ccc(O)cc1)c1c(O)cc(O)cc1O",
1069
+ "SMILES:CC(C)c1cccc(C(C)C)c1O",
1070
+ "SMILES:Oc1cccc(O)c1",
1071
+ "SMILES:CCCOC(=O)c1cc(O)c(O)c(O)c1",
1072
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O",
1073
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)O",
1074
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@@H](O)CO",
1075
+ "SMILES:CC(C)(C)CC(C)(C)c1ccc(OCCO)cc1",
1076
+ "SMILES:N[C@@H](CS)C(=O)O",
1077
+ "SMILES:C=CCCCCCCCCC(=O)O",
1078
+ "SMILES:NCCc1ccc(O)cc1",
1079
+ "SMILES:N[C@@H](CC(=O)O)C(=O)O",
1080
+ "SMILES:NCCCC[C@H](N)C(=O)O",
1081
+ "SMILES:NC(=O)CC[C@H](N)C(=O)O",
1082
+ "SMILES:O=C(CO)[C@@H](O)[C@H](O)[C@H](O)CO",
1083
+ "SMILES:CC(C)CCC[C@@H](C)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C",
1084
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O",
1085
+ "SMILES:CCCCCC=O",
1086
+ "SMILES:CC(C)C[C@H](N)C(=O)O",
1087
+ "SMILES:N[C@@H](Cc1ccc(O)cc1)C(=O)O",
1088
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC",
1089
+ "SMILES:N[C@@H](Cc1ccccc1)C(=O)O",
1090
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@H](O)CO",
1091
+ "SMILES:NC(=O)C[C@H](N)C(=O)O",
1092
+ "SMILES:CC(C)[C@H](N)C(=O)O",
1093
+ "SMILES:CCS",
1094
+ "SMILES:CC(C)N",
1095
+ "SMILES:C[C@@H](O)[C@H](N)C(=O)O",
1096
+ "SMILES:CC[C@H](C)[C@H](N)C(=O)O",
1097
+ "SMILES:CC(C)(O)C(C)(C)O",
1098
+ "SMILES:CC(=O)OC1(C)CCC23CC1C(C)(C)[C@@H]2CC[C@H]3C",
1099
+ "SMILES:CCOC(=O)CC(CC(=O)OCC)(OC(C)=O)C(=O)OCC",
1100
+ "SMILES:CCOC(=O)C1OC1(C)c1ccccc1",
1101
+ "SMILES:C=CC(C)(CCC=C(C)C)OC(=O)C(C)C",
1102
+ "SMILES:CCCCOC(=O)CC(O)(CC(=O)OCCCC)C(=O)OCCCC",
1103
+ "SMILES:CCOC(=O)CC(O)(CC(=O)OCC)C(=O)OCC",
1104
+ "SMILES:CCCCOC(=O)CC(CC(=O)OCCCC)(OC(C)=O)C(=O)OCCCC",
1105
+ "SMILES:CCC(C)(O)CCCC(C)C",
1106
+ "SMILES:CCC(C)C",
1107
+ "SMILES:C=C(C)C=O",
1108
+ "SMILES:CC(C)C=O",
1109
+ "SMILES:CC(C)CN",
1110
+ "SMILES:CCC(C)=O",
1111
+ "SMILES:C=CC(C)=O",
1112
+ "SMILES:COC(C)=O",
1113
+ "SMILES:CC(C)=CCCC(C)[C@H]1CC[C@@]2(C)C3=C(CC[C@]12C)[C@@]1(C)CC[C@H](O)C(C)(C)[C@@H]1CC3",
1114
+ "SMILES:CC(C)C(=O)O",
1115
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1",
1116
+ "SMILES:CC(C)(c1ccc(O)cc1)c1ccc(O)cc1",
1117
+ "SMILES:CC1=CCC2CC1C2(C)C",
1118
+ "SMILES:CC(=O)OC1(C(C)C)C=CC(C)CC1",
1119
+ "SMILES:C=C(C)C(=O)OC",
1120
+ "SMILES:CC1=C(O)C(=O)CC1",
1121
+ "SMILES:CC(CC=O)c1ccc(C(C)(C)C)cc1",
1122
+ "SMILES:CNc1ccccc1C(=O)OC",
1123
+ "SMILES:O=C(OC1CCCCC1)c1ccccc1C(=O)OC1CCCCC1",
1124
+ "SMILES:CCCCOC(=O)COC(=O)c1ccccc1C(=O)OCCCC",
1125
+ "SMILES:CC(C)COC(=O)c1ccccc1O",
1126
+ "SMILES:CC(C)CCOC(=O)c1ccccc1O",
1127
+ "SMILES:CCOC(=O)c1ccccc1N",
1128
+ "SMILES:OC[C@@H](O)C(O)[C@@H](O)CO",
1129
+ "SMILES:CCC(CC)C(=O)O",
1130
+ "SMILES:CC(=O)c1cccs1",
1131
+ "SMILES:Cc1ccc(C(C)(C)C)c(O)c1",
1132
+ "SMILES:CC(C)c1ccccc1O",
1133
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C",
1134
+ "SMILES:CC1CCC(C(C)C)C(OC(=O)c2ccccc2O)C1",
1135
+ "SMILES:CC1CCC(C(C)C)C(=O)C1",
1136
+ "SMILES:CC(=O)c1ccc(C)cc1C",
1137
+ "SMILES:Cc1ccc(C(C)C)c(O)c1",
1138
+ "SMILES:O=Cc1ccccc1O",
1139
+ "SMILES:CC(=O)OC(c1ccccc1)C(Cl)(Cl)Cl",
1140
+ "SMILES:O=C1CCCCC1C1CCCCC1",
1141
+ "SMILES:O=C1O[C@H](CO)[C@@H](O)[C@H](O)[C@H]1O",
1142
+ "SMILES:c1ccc(-c2ccccc2)cc1",
1143
+ "SMILES:C=CCc1ccc(OC)c(OC)c1",
1144
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1",
1145
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1",
1146
+ "SMILES:COc1cc(C)ccc1O",
1147
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1",
1148
+ "SMILES:CC(C=O)c1ccccc1",
1149
+ "SMILES:CCC(=O)c1ccccc1",
1150
+ "SMILES:CCOC(=O)c1ccccc1",
1151
+ "SMILES:COC(=O)c1cccnc1",
1152
+ "SMILES:O=C(Oc1ccccc1)c1ccccc1",
1153
+ "SMILES:CC(=O)CC(=O)c1ccccc1",
1154
+ "SMILES:CCOC(=O)CC(=O)c1ccccc1",
1155
+ "SMILES:O=C(OOC(=O)c1ccccc1)c1ccccc1",
1156
+ "SMILES:CCCOC(=O)c1ccc(O)cc1",
1157
+ "SMILES:CCCCOC(=O)c1ccc(O)cc1",
1158
+ "SMILES:CC(C)CCOC(=O)c1ccccc1",
1159
+ "SMILES:O=C(OCCc1ccccc1)c1ccccc1",
1160
+ "SMILES:Cc1ccccc1C",
1161
+ "SMILES:Cc1ccc(O)cc1C",
1162
+ "SMILES:CCC(C)C=O",
1163
+ "SMILES:Cc1ccc(C)c(O)c1",
1164
+ "SMILES:CC1OC1C1CCC2(C)OC2C1",
1165
+ "SMILES:CCC(C)CN",
1166
+ "SMILES:O=C1CCCO1",
1167
+ "SMILES:CCC(=O)CC",
1168
+ "SMILES:C=C(C)C1CC=C(C)C(OC(C)=O)C1",
1169
+ "SMILES:CCOC(=O)C(C)C",
1170
+ "SMILES:C=C(C)C(=O)OCC",
1171
+ "SMILES:CCOC(=O)C(C)O",
1172
+ "SMILES:CCCCCCCCCCCC(=O)N(C)CC(=O)O",
1173
+ "SMILES:CC(C)COC(=O)C(C)C",
1174
+ "SMILES:CCC(C=O)CC",
1175
+ "SMILES:CCCCOC(=O)C(C)C",
1176
+ "SMILES:OCC1CCCO1",
1177
+ "SMILES:O=Cc1ccco1",
1178
+ "SMILES:O=Cc1cccs1",
1179
+ "SMILES:CC(C)(C)c1ccc(O)c(O)c1",
1180
+ "SMILES:CC(C)(C)C1CCC(=O)CC1",
1181
+ "SMILES:CC(C)(C)c1ccc(O)cc1",
1182
+ "SMILES:C=C(C)C1CC=C(C)C(O)C1",
1183
+ "SMILES:O=C(O)C1CCCCC1",
1184
+ "SMILES:CC(=O)c1ccccc1",
1185
+ "SMILES:CC1=CCC(C(C)C)C=C1",
1186
+ "SMILES:CC1CCC(C(C)C)CC1",
1187
+ "SMILES:COC(=O)c1ccc(C)cc1",
1188
+ "SMILES:COC(=O)c1ccc(O)cc1",
1189
+ "SMILES:CC1=CC=C(C(C)C)CC1",
1190
+ "SMILES:Cc1ccc(C(C)C)cc1",
1191
+ "SMILES:CC(C)c1ccc(O)cc1",
1192
+ "SMILES:C=Cc1ccccc1",
1193
+ "SMILES:CC(=O)c1ccc(Cl)cc1",
1194
+ "SMILES:CC(=O)c1ccc(O)cc1",
1195
+ "SMILES:COc1ccc(C(C)=O)cc1",
1196
+ "SMILES:CSc1ccccc1",
1197
+ "SMILES:CC(C=O)=Cc1ccccc1",
1198
+ "SMILES:COc1cccc(C)c1",
1199
+ "SMILES:c1ccc(CC2OCCO2)cc1",
1200
+ "SMILES:COC(=O)Cc1ccccc1",
1201
+ "SMILES:c1ccc(Cc2ccccc2)cc1",
1202
+ "SMILES:CCCCCCC(C=O)=Cc1ccccc1",
1203
+ "SMILES:CCOC(=O)Cc1ccccc1",
1204
+ "SMILES:O=C(Cc1ccccc1)Cc1ccccc1",
1205
+ "SMILES:CC(C)CCOC(=O)Cc1ccccc1",
1206
+ "SMILES:CCCN(CCC)CCC",
1207
+ "SMILES:COc1ccc(COC(=O)Cc2ccccc2)cc1",
1208
+ "SMILES:O=C(Cc1ccccc1)OCCc1ccccc1",
1209
+ "SMILES:CC(=O)OC(C)(C)CCc1ccccc1",
1210
+ "SMILES:CCCCC(CC)COC(C)=O",
1211
+ "SMILES:COC(=O)C=Cc1ccccc1",
1212
+ "SMILES:COC(=O)CCc1ccccc1",
1213
+ "SMILES:CCOC(=O)C=Cc1ccccc1",
1214
+ "SMILES:CCCC(=O)OCc1ccccc1",
1215
+ "SMILES:CC(C)C(=O)OCc1ccccc1",
1216
+ "SMILES:CC(C)CC(=O)OCc1ccccc1",
1217
+ "SMILES:CC(C)C(=O)OCCc1ccccc1",
1218
+ "SMILES:c1ccc(COCc2ccccc2)cc1",
1219
+ "SMILES:BrC=Cc1ccccc1",
1220
+ "SMILES:CCCC(=O)OCCc1ccccc1",
1221
+ "SMILES:CC(=O)OCC=Cc1ccccc1",
1222
+ "SMILES:CC(C)C(=O)OCCCc1ccccc1",
1223
+ "SMILES:CCC(=O)OCC=Cc1ccccc1",
1224
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1",
1225
+ "SMILES:COc1ccc(COC(C)=O)cc1",
1226
+ "SMILES:CCCc1ccc(OC)cc1",
1227
+ "SMILES:CCCCC1CCC(=O)O1",
1228
+ "SMILES:O=CCCc1ccccc1",
1229
+ "SMILES:CCCCCC1CCC(=O)O1",
1230
+ "SMILES:O=COCc1ccccc1",
1231
+ "SMILES:O=COCC=Cc1ccccc1",
1232
+ "SMILES:O=COCCc1ccccc1",
1233
+ "SMILES:CCCCC(CC)CO",
1234
+ "SMILES:Cc1ccc(C=O)cc1",
1235
+ "SMILES:COc1ccc(C)cc1",
1236
+ "SMILES:CCCC1CCC(=O)O1",
1237
+ "SMILES:CCOC(=O)CC",
1238
+ "SMILES:COc1ccc(CO)cc1",
1239
+ "SMILES:CCC(C)CC(=O)O",
1240
+ "SMILES:COC(=O)CC(C)=O",
1241
+ "SMILES:CCC(C)OC(C)=O",
1242
+ "SMILES:CCOC(=O)CC(=O)OCC",
1243
+ "SMILES:CCCC(=O)OCC",
1244
+ "SMILES:O=C1CCCCCN1",
1245
+ "SMILES:CCOC(C)OCC",
1246
+ "SMILES:Cc1ccc(O)c(C)c1",
1247
+ "SMILES:CCCOC(=O)CCC",
1248
+ "SMILES:CCC(=O)OCCC(C)C",
1249
+ "SMILES:CC(C)CCCC(C)CCO",
1250
+ "SMILES:CCCCCC(=O)OCC(C)C",
1251
+ "SMILES:CC(C)=CCCC(C)CCOC=O",
1252
+ "SMILES:C=C(C)CCCC(C)CCOC(=O)CC",
1253
+ "SMILES:CC(C)=CCC[C@H](C)CCO",
1254
+ "SMILES:CC(C)=CCCC(C)CC=O",
1255
+ "SMILES:CCCOC(=O)CCCCC(=O)OCCC",
1256
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCCOCCO",
1257
+ "SMILES:CCCC(=O)OCCC(C)C",
1258
+ "SMILES:CCCCC(=O)CC",
1259
+ "SMILES:CCCCCCC(=O)OCC",
1260
+ "SMILES:CCCCCCCC(=O)OCC",
1261
+ "SMILES:COC(=O)CCC(=O)OC",
1262
+ "SMILES:CCCOC(=O)CC",
1263
+ "SMILES:CCCCCCCCCCCC(=O)OCC",
1264
+ "SMILES:C=CC=O",
1265
+ "SMILES:C#CCO",
1266
+ "SMILES:C=CCO",
1267
+ "SMILES:CCCCCC(=O)OC",
1268
+ "SMILES:O=CC=O",
1269
+ "SMILES:CCCN",
1270
+ "SMILES:CCCCCCC(=O)OC",
1271
+ "SMILES:COC=O",
1272
+ "SMILES:CC(O)CC(C)(C)O",
1273
+ "SMILES:CC(CC=O)CCCC(C)(C)O",
1274
+ "SMILES:CCCC(C)=O",
1275
+ "SMILES:CC(=O)CC(C)C",
1276
+ "SMILES:CC(=O)OC(C)C",
1277
+ "SMILES:C=C(C)OC(C)=O",
1278
+ "SMILES:Cc1ccnc(C)c1",
1279
+ "SMILES:CC1COC(=O)O1",
1280
+ "SMILES:CC1CCC(=O)O1",
1281
+ "SMILES:Cc1cccc(C)c1",
1282
+ "SMILES:Cc1cncc(C)n1",
1283
+ "SMILES:CC(C)CC(O)CC(C)C",
1284
+ "SMILES:CCOC(=O)CC(C)C",
1285
+ "SMILES:COC(=O)CC(=O)OC",
1286
+ "SMILES:O=C1CCCCC1",
1287
+ "SMILES:CC(C)CC(=O)CC(C)C",
1288
+ "SMILES:CC(=O)OC(C)CC(C)C",
1289
+ "SMILES:CC1CCCCN1",
1290
+ "SMILES:Cc1cnccn1",
1291
+ "SMILES:CCCCOC(=O)CC(C)C",
1292
+ "SMILES:CCCCOC(=O)CCC",
1293
+ "SMILES:C=CCCC(C)=O",
1294
+ "SMILES:CCCCOC(=O)CCCCCCCCC(=O)OCCCC",
1295
+ "SMILES:CCCCC(=O)O",
1296
+ "SMILES:CCCCN",
1297
+ "SMILES:CCCOC(C)=O",
1298
+ "SMILES:COCOC",
1299
+ "SMILES:CCOC=O",
1300
+ "SMILES:CCNCC",
1301
+ "SMILES:c1ccsc1",
1302
+ "SMILES:CC(=O)OCC(C)C",
1303
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C",
1304
+ "SMILES:CCCCCCCCCC(=O)OCC",
1305
+ "SMILES:CCCCCCCCCCCCCC(=O)OCCCC",
1306
+ "SMILES:CC(C)CCOC=O",
1307
+ "SMILES:CCCCCC(C)=O",
1308
+ "SMILES:CCOC(=O)CCCCCCCCC(=O)OCC",
1309
+ "SMILES:CCCCCCCCCC(=O)OC",
1310
+ "SMILES:CCCCC=O",
1311
+ "SMILES:CCSSCC",
1312
+ "SMILES:CCCOC=O",
1313
+ "SMILES:CCCCCS",
1314
+ "SMILES:C1CCNCC1",
1315
+ "SMILES:CC(O)COCC(C)O",
1316
+ "SMILES:CCCCCCCC(=O)OC",
1317
+ "SMILES:CC=CC=CCO",
1318
+ "SMILES:CCCCCCC(C)=O",
1319
+ "SMILES:CCCCCCC(=O)O",
1320
+ "SMILES:CCCCCC#CC(=O)OC",
1321
+ "SMILES:C=CCCCCCC",
1322
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCC",
1323
+ "SMILES:CCCCCCC=O",
1324
+ "SMILES:CCCCCCC=CC(=O)OC",
1325
+ "SMILES:CCCCCCC#CC(=O)OC",
1326
+ "SMILES:C=CCCCCCCCCC(=O)OC",
1327
+ "SMILES:CCCCCCCCCCCC(=O)OC",
1328
+ "SMILES:CCCCCCCCC(=O)O",
1329
+ "SMILES:CCCCCCCCCC(C)=O",
1330
+ "SMILES:CCCCCCCCOC(C)=O",
1331
+ "SMILES:CCCCCCCOC(C)=O",
1332
+ "SMILES:CCCCCCCOC=O",
1333
+ "SMILES:CCCCCCCCCC=O",
1334
+ "SMILES:CCCCCCCCCCOC(C)=O",
1335
+ "SMILES:CCCCCCCCOC=O",
1336
+ "SMILES:CCCCCCCCCCC(=O)O",
1337
+ "SMILES:C=CCCCCCCCCCO",
1338
+ "54452-50-3",
1339
+ "68039-33-4",
1340
+ "142-62-3",
1341
+ "111-79-5",
1342
+ "6790-58-9",
1343
+ "127-42-4",
1344
+ "17283-81-7",
1345
+ "91-64-5",
1346
+ "928-96-1",
1347
+ "928-97-2",
1348
+ "674-86-6",
1349
+ "110-44-1",
1350
+ "119-64-2",
1351
+ "89-43-0",
1352
+ "89-86-1",
1353
+ "106-26-3",
1354
+ "117-98-6",
1355
+ "89-78-1",
1356
+ "80-56-8",
1357
+ "5392-40-5",
1358
+ "469-01-2",
1359
+ "65405-77-8",
1360
+ "23696-85-7",
1361
+ "102-13-6",
1362
+ "103-95-7",
1363
+ "105-53-3",
1364
+ "105-86-2",
1365
+ "106-29-6",
1366
+ "107-75-5",
1367
+ "111-12-6",
1368
+ "112-44-7",
1369
+ "122-40-7",
1370
+ "122-57-6",
1371
+ "123-11-5",
1372
+ "140-39-6",
1373
+ "141-78-6",
1374
+ "150-78-7",
1375
+ "2039-67-0",
1376
+ "2050-08-0",
1377
+ "2173-56-0",
1378
+ "67-66-3",
1379
+ "6812-78-8",
1380
+ "75-07-0",
1381
+ "120-57-0",
1382
+ "606-09-1",
1383
+ "120-72-9",
1384
+ "9000-65-5",
1385
+ "68606-83-7",
1386
+ "8000-27-9",
1387
+ "8000-28-0",
1388
+ "8000-29-1",
1389
+ "8000-41-7",
1390
+ "8000-46-2",
1391
+ "8007-00-9",
1392
+ "8007-46-3",
1393
+ "8007-80-5",
1394
+ "8014-17-3",
1395
+ "8016-63-5",
1396
+ "8016-78-2",
1397
+ "8016-96-4",
1398
+ "8023-75-2",
1399
+ "8023-79-2",
1400
+ "8023-91-4",
1401
+ "8024-13-1",
1402
+ "8046-19-3",
1403
+ "9000-50-4",
1404
+ "9000-64-0",
1405
+ "9000-64-2",
1406
+ "8016-26-0",
1407
+ "8022-96-6",
1408
+ "8000-34-8",
1409
+ "8007-01-0",
1410
+ "8007-06-5",
1411
+ "8007-75-8",
1412
+ "8014-09-3",
1413
+ "123-35-3",
1414
+ "80-54-6",
1415
+ "141-12-8",
1416
+ "127-91-3",
1417
+ "562-74-3",
1418
+ "5989-27-5",
1419
+ "5989-54-8",
1420
+ "151-05-3",
1421
+ "79-69-6",
1422
+ "66068-84-6",
1423
+ "141-25-3",
1424
+ "128-50-7"
1425
+ ],
1426
+ "amber_oriental": [
1427
+ "106-24-1",
1428
+ "106-22-9",
1429
+ "624-15-7",
1430
+ "93-58-3",
1431
+ "105-87-3",
1432
+ "140-11-4",
1433
+ "103-45-7",
1434
+ "78-70-6",
1435
+ "60-12-8",
1436
+ "100-51-6",
1437
+ "104-54-1",
1438
+ "127-41-3",
1439
+ "14901-07-6",
1440
+ "127-51-5",
1441
+ "1335-46-2",
1442
+ "706-14-9",
1443
+ "713-95-1",
1444
+ "1222-05-5",
1445
+ "21145-77-7",
1446
+ "81-14-1",
1447
+ "105-95-3",
1448
+ "541-91-3",
1449
+ "83-66-9",
1450
+ "32388-55-9",
1451
+ "33704-61-9",
1452
+ "97-53-0",
1453
+ "97-54-1",
1454
+ "90-05-1",
1455
+ "134-20-3",
1456
+ "103-82-2",
1457
+ "4602-84-0",
1458
+ "515-69-5",
1459
+ "7779-50-2",
1460
+ "104-55-2",
1461
+ "600-18-0",
1462
+ "99-50-3",
1463
+ "501-52-0",
1464
+ "123-08-0",
1465
+ "99-96-7",
1466
+ "SMILES:C(CCC(=O)O)CC(=O)O",
1467
+ "1132639-46-3",
1468
+ "513-86-0",
1469
+ "100-52-7",
1470
+ "65-85-0",
1471
+ "SMILES:CCCC(=O)O",
1472
+ "SMILES:O=C(O)C=C(CC(=O)O)C(=O)O",
1473
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O",
1474
+ "SMILES:O=C(O)c1ccccc1O",
1475
+ "SMILES:CCC=O",
1476
+ "SMILES:Cc1cccc(O)c1",
1477
+ "SMILES:CCCCCCCC(=O)O",
1478
+ "SMILES:NC(CC(=O)O)C(=O)O",
1479
+ "SMILES:O=C(O)CC(O)C(=O)O",
1480
+ "SMILES:CSCCC(=O)O",
1481
+ "SMILES:CC(N)C(=O)O",
1482
+ "SMILES:CS(C)=O",
1483
+ "SMILES:CC(=O)C(C)=O",
1484
+ "SMILES:O=C(O)C=CC(=O)O",
1485
+ "SMILES:O=C(O)CCCC(=O)O",
1486
+ "SMILES:O=C(O)CO",
1487
+ "SMILES:NCC(=O)O",
1488
+ "SMILES:CCC(C)C(N)C(=O)O",
1489
+ "SMILES:CC(C)CC(N)C(=O)O",
1490
+ "SMILES:NCCCCC(N)C(=O)O",
1491
+ "SMILES:O=C(O)C(O)C(O)C(=O)O",
1492
+ "SMILES:CSCCC(N)C(=O)O",
1493
+ "SMILES:O=C(O)C(=O)O",
1494
+ "SMILES:O=C(O)C(=O)CO",
1495
+ "SMILES:CCCCCCCCCCCCCCCC(=O)O",
1496
+ "SMILES:NC(Cc1ccccc1)C(=O)O",
1497
+ "SMILES:O=CCc1ccccc1",
1498
+ "SMILES:O=C(O)C(=O)Cc1ccccc1",
1499
+ "SMILES:CCC(=O)O",
1500
+ "SMILES:CSC",
1501
+ "SMILES:CC(=O)C(=O)O",
1502
+ "SMILES:O=C(O)CCC(=O)O",
1503
+ "SMILES:C1CCSC1",
1504
+ "SMILES:CN(C)C",
1505
+ "SMILES:CC(C)C(N)C(=O)O",
1506
+ "SMILES:COc1cc(C(C)=O)ccc1O",
1507
+ "SMILES:CCCCCCCCCC(=O)O",
1508
+ "SMILES:CCOCC",
1509
+ "SMILES:O=CCCCC=O",
1510
+ "SMILES:CCCCCCCCC(=O)NCc1ccc(O)c(OC)c1",
1511
+ "SMILES:CCCCCCCCCCCC(=O)O",
1512
+ "SMILES:C1CNCCN1",
1513
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O",
1514
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)O",
1515
+ "SMILES:N[C@@H](CS)C(=O)O",
1516
+ "SMILES:N[C@@H](CC(=O)O)C(=O)O",
1517
+ "SMILES:NCCCC[C@H](N)C(=O)O",
1518
+ "SMILES:NC(=O)CC[C@H](N)C(=O)O",
1519
+ "SMILES:O[C@@H]1[C@@H](O)[C@@H](O)OC[C@H]1O",
1520
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O",
1521
+ "SMILES:CC(C)C[C@H](N)C(=O)O",
1522
+ "SMILES:N[C@@H](Cc1ccc(O)cc1)C(=O)O",
1523
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC",
1524
+ "SMILES:N[C@@H](Cc1ccccc1)C(=O)O",
1525
+ "SMILES:NC(=O)C[C@H](N)C(=O)O",
1526
+ "SMILES:CC(C)[C@H](N)C(=O)O",
1527
+ "SMILES:CCS",
1528
+ "SMILES:CC(C)N",
1529
+ "SMILES:C[C@@H](O)[C@H](N)C(=O)O",
1530
+ "SMILES:CC[C@H](C)[C@H](N)C(=O)O",
1531
+ "SMILES:CC1CO1",
1532
+ "SMILES:CC(C)(O)C(C)(C)O",
1533
+ "SMILES:CC(=O)OC1CC2CCC1(C)C2(C)C",
1534
+ "SMILES:CCOC(=O)CC(CC(=O)OCC)(OC(C)=O)C(=O)OCC",
1535
+ "SMILES:C=CC(C)(CCC=C(C)C)OC(=O)C(C)C",
1536
+ "SMILES:CCCCOC(=O)CC(O)(CC(=O)OCCCC)C(=O)OCCCC",
1537
+ "SMILES:CCOC(=O)CC(O)(CC(=O)OCC)C(=O)OCC",
1538
+ "SMILES:CCCCOC(=O)CC(CC(=O)OCCCC)(OC(C)=O)C(=O)OCCCC",
1539
+ "SMILES:CC1=CC(=O)CC(C)(C)C1",
1540
+ "SMILES:CC(C)C=O",
1541
+ "SMILES:CC(C)CN",
1542
+ "SMILES:CCC(C)=O",
1543
+ "SMILES:C=C1C2CCC(C2)C1(C)C",
1544
+ "SMILES:COC(C)=O",
1545
+ "SMILES:CC(C)=CCCC(C)[C@H]1CC[C@@]2(C)C3=C(CC[C@]12C)[C@@]1(C)CC[C@H](O)C(C)(C)[C@@H]1CC3",
1546
+ "SMILES:CC(C)C(=O)O",
1547
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1",
1548
+ "SMILES:CC1=CCC2CC1C2(C)C",
1549
+ "SMILES:CC1=C(O)C(=O)CC1",
1550
+ "SMILES:CCC(CC)C(=O)O",
1551
+ "SMILES:CC(C)=C1CCC(C)C2=C(C1)C(C)CC2",
1552
+ "SMILES:CC(=O)c1cccs1",
1553
+ "SMILES:Cc1ccc(C(C)(C)C)c(O)c1",
1554
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C",
1555
+ "SMILES:CC1CCC(C(C)C)C(=O)C1",
1556
+ "SMILES:CC(=O)c1ccc(C)cc1C",
1557
+ "SMILES:CC(C)=C1CCC(C)CC1=O",
1558
+ "SMILES:C=CCc1ccc(OC)c(OC)c1",
1559
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1",
1560
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1",
1561
+ "SMILES:COc1cc(C)ccc1O",
1562
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1",
1563
+ "SMILES:CC(=O)CC(=O)c1ccccc1",
1564
+ "SMILES:CCCCOC(=O)c1ccc(O)cc1",
1565
+ "SMILES:O=C(OCCc1ccccc1)c1ccccc1",
1566
+ "SMILES:Cc1ccc(C)c(O)c1",
1567
+ "SMILES:CCC(C)CN",
1568
+ "SMILES:CCC(=O)CC",
1569
+ "SMILES:CCCCCCCCCCCC(=O)N(C)CC(=O)O",
1570
+ "SMILES:CCC(C=O)CC",
1571
+ "SMILES:CC(C)(C)C1CCC(=O)CC1",
1572
+ "SMILES:C=C(C)C1CC=C(C)C(O)C1",
1573
+ "SMILES:O=C(O)C1CCCCC1",
1574
+ "SMILES:CC(=O)c1ccccc1",
1575
+ "SMILES:C=C(C)C1CC=C(C)C(=O)C1",
1576
+ "SMILES:CC1=CCC(C(C)C)C=C1",
1577
+ "SMILES:CC1CCC(C(C)C)CC1",
1578
+ "SMILES:COC(=O)c1ccc(C)cc1",
1579
+ "SMILES:COC(=O)c1ccc(O)cc1",
1580
+ "SMILES:CC(=O)c1ccc(Cl)cc1",
1581
+ "SMILES:CC(=O)c1ccc(O)cc1",
1582
+ "SMILES:COc1ccc(C(C)=O)cc1",
1583
+ "SMILES:CSc1ccccc1",
1584
+ "SMILES:COc1cccc(C)c1",
1585
+ "SMILES:COC(=O)Cc1ccccc1",
1586
+ "SMILES:CCOC(=O)Cc1ccccc1",
1587
+ "SMILES:O=C(Cc1ccccc1)Cc1ccccc1",
1588
+ "SMILES:CCCN(CCC)CCC",
1589
+ "SMILES:O=C(Cc1ccccc1)OCCc1ccccc1",
1590
+ "SMILES:CC(=O)OC(C)(C)CCc1ccccc1",
1591
+ "SMILES:c1ccc(COCc2ccccc2)cc1",
1592
+ "SMILES:CCCC(=O)OCCc1ccccc1",
1593
+ "SMILES:CC(=O)OCC=Cc1ccccc1",
1594
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1",
1595
+ "SMILES:COc1ccc(COC(C)=O)cc1",
1596
+ "SMILES:O=CCCc1ccccc1",
1597
+ "SMILES:CCCCCC1CCC(=O)O1",
1598
+ "SMILES:COc1ccc(C)cc1",
1599
+ "SMILES:CCCC1CCC(=O)O1",
1600
+ "SMILES:CCC(C)CC(=O)O",
1601
+ "SMILES:COC(=O)CC(C)=O",
1602
+ "SMILES:Cc1ccc(O)c(C)c1",
1603
+ "SMILES:CC(C)=CCC[C@H](C)CCO",
1604
+ "SMILES:CC(C)=CCCC(C)CC=O",
1605
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCCOCCO",
1606
+ "SMILES:CCCCC(=O)CC",
1607
+ "SMILES:COC(=O)CCC(=O)OC",
1608
+ "SMILES:CCCCCC(=O)OC",
1609
+ "SMILES:CCCCCCC(=O)OC",
1610
+ "SMILES:COC=O",
1611
+ "SMILES:CC(CC=O)CCCC(C)(C)O",
1612
+ "SMILES:CC(C)CCN",
1613
+ "SMILES:CCCC(C)=O",
1614
+ "SMILES:CC(=O)CC(C)C",
1615
+ "SMILES:CC(=O)OC(C)C",
1616
+ "SMILES:Cc1ccnc(C)c1",
1617
+ "SMILES:CC1COC(=O)O1",
1618
+ "SMILES:CC1CCC(=O)O1",
1619
+ "SMILES:Cc1cncc(C)n1",
1620
+ "SMILES:COC(=O)CC(=O)OC",
1621
+ "SMILES:O=C1CCCCC1",
1622
+ "SMILES:CC1CCCCN1",
1623
+ "SMILES:Cc1cnccn1",
1624
+ "SMILES:CCCCOC(=O)CCC",
1625
+ "SMILES:CCCCOC(=O)CCCCCCCCC(=O)OCCCC",
1626
+ "SMILES:CCCCC(=O)O",
1627
+ "SMILES:CCCCN",
1628
+ "SMILES:CCCOC(C)=O",
1629
+ "SMILES:COCOC",
1630
+ "SMILES:CCNCC",
1631
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C",
1632
+ "SMILES:CCCCCCCCCCCCCC(=O)OCCCC",
1633
+ "SMILES:CCCCCC(C)=O",
1634
+ "SMILES:CCCCCCCCCC(=O)OC",
1635
+ "SMILES:CCCCC=O",
1636
+ "SMILES:CCCCCN",
1637
+ "SMILES:CCCCCS",
1638
+ "SMILES:C1CCNCC1",
1639
+ "SMILES:CCCCCCCC(=O)OC",
1640
+ "SMILES:CCCCCCC(C)=O",
1641
+ "SMILES:CCCCCCC(=O)O",
1642
+ "SMILES:CCCCCC#CC(=O)OC",
1643
+ "SMILES:CCCCCCN",
1644
+ "SMILES:CCCSCCC",
1645
+ "SMILES:CCCCCCCCC",
1646
+ "SMILES:CCCCCCC#CC(=O)OC",
1647
+ "SMILES:CCCCCCCCCCCC(=O)OC",
1648
+ "SMILES:CCCCCCCCC(=O)O",
1649
+ "SMILES:CCCCCCCCCC(C)=O",
1650
+ "SMILES:CCCCCCCCOC(C)=O",
1651
+ "SMILES:CCCCCCCOC(C)=O",
1652
+ "SMILES:CCCCCCCOC=O",
1653
+ "SMILES:CCCCCCCCCCOC(C)=O",
1654
+ "SMILES:CCCCCCCCOC=O",
1655
+ "SMILES:CCCCCCCCCCC(=O)O",
1656
+ "6790-58-9",
1657
+ "127-42-4",
1658
+ "91-64-5",
1659
+ "674-86-6",
1660
+ "110-44-1",
1661
+ "89-43-0",
1662
+ "121-34-6",
1663
+ "89-86-1",
1664
+ "117-98-6",
1665
+ "5392-40-5",
1666
+ "469-01-2",
1667
+ "23696-85-7",
1668
+ "121-33-5",
1669
+ "105-86-2",
1670
+ "106-29-6",
1671
+ "107-75-5",
1672
+ "111-12-6",
1673
+ "140-39-6",
1674
+ "141-78-6",
1675
+ "150-78-7",
1676
+ "2039-67-0",
1677
+ "2173-56-0",
1678
+ "507-70-0",
1679
+ "75-07-0",
1680
+ "76-49-3",
1681
+ "120-72-9",
1682
+ "9000-65-5",
1683
+ "68606-83-7",
1684
+ "8000-25-7",
1685
+ "8000-29-1",
1686
+ "8000-41-7",
1687
+ "8007-80-5",
1688
+ "8014-17-3",
1689
+ "8016-38-4",
1690
+ "8016-63-5",
1691
+ "8016-96-4",
1692
+ "8023-75-2",
1693
+ "8023-79-2",
1694
+ "8023-91-4",
1695
+ "8031-03-6",
1696
+ "9000-64-0",
1697
+ "9000-64-2",
1698
+ "8022-96-6",
1699
+ "8000-34-8",
1700
+ "8007-01-0",
1701
+ "8007-75-8",
1702
+ "141-12-8",
1703
+ "127-91-3",
1704
+ "6485-40-1",
1705
+ "2244-16-8",
1706
+ "151-05-3",
1707
+ "79-69-6",
1708
+ "66068-84-6",
1709
+ "128-50-7"
1710
+ ],
1711
+ "fougere": [
1712
+ "106-24-1",
1713
+ "106-22-9",
1714
+ "624-15-7",
1715
+ "93-58-3",
1716
+ "105-87-3",
1717
+ "140-11-4",
1718
+ "103-45-7",
1719
+ "78-70-6",
1720
+ "60-12-8",
1721
+ "100-51-6",
1722
+ "104-54-1",
1723
+ "127-41-3",
1724
+ "14901-07-6",
1725
+ "127-51-5",
1726
+ "1335-46-2",
1727
+ "706-14-9",
1728
+ "1222-05-5",
1729
+ "21145-77-7",
1730
+ "81-14-1",
1731
+ "105-95-3",
1732
+ "541-91-3",
1733
+ "83-66-9",
1734
+ "32388-55-9",
1735
+ "33704-61-9",
1736
+ "97-53-0",
1737
+ "97-54-1",
1738
+ "90-05-1",
1739
+ "134-20-3",
1740
+ "103-82-2",
1741
+ "4602-84-0",
1742
+ "515-69-5",
1743
+ "7779-50-2",
1744
+ "104-55-2",
1745
+ "600-18-0",
1746
+ "99-50-3",
1747
+ "501-52-0",
1748
+ "99-96-7",
1749
+ "SMILES:C(CCC(=O)O)CC(=O)O",
1750
+ "100-52-7",
1751
+ "65-85-0",
1752
+ "SMILES:CCCC(=O)O",
1753
+ "SMILES:O=C(O)C=C(CC(=O)O)C(=O)O",
1754
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O",
1755
+ "SMILES:O=C(O)c1ccccc1O",
1756
+ "SMILES:CCC=O",
1757
+ "SMILES:Cc1cccc(O)c1",
1758
+ "SMILES:CCCCCCCC(=O)O",
1759
+ "SMILES:NC(CC(=O)O)C(=O)O",
1760
+ "SMILES:O=C(O)CC(O)C(=O)O",
1761
+ "SMILES:CSCCC(=O)O",
1762
+ "SMILES:CC(N)C(=O)O",
1763
+ "SMILES:CS(C)=O",
1764
+ "SMILES:CC(=O)C(C)=O",
1765
+ "SMILES:O=C(O)C=CC(=O)O",
1766
+ "SMILES:O=C(O)CCCC(=O)O",
1767
+ "SMILES:O=C(O)CO",
1768
+ "SMILES:NCC(=O)O",
1769
+ "SMILES:CCC(C)C(N)C(=O)O",
1770
+ "SMILES:CC(C)CC(N)C(=O)O",
1771
+ "SMILES:NCCCCC(N)C(=O)O",
1772
+ "SMILES:O=C(O)C(O)C(O)C(=O)O",
1773
+ "SMILES:CSCCC(N)C(=O)O",
1774
+ "SMILES:O=C(O)C(=O)O",
1775
+ "SMILES:O=C(O)C(=O)CO",
1776
+ "SMILES:CCCCCCCCCCCCCCCC(=O)O",
1777
+ "SMILES:NC(Cc1ccccc1)C(=O)O",
1778
+ "SMILES:O=CCc1ccccc1",
1779
+ "SMILES:O=C(O)C(=O)Cc1ccccc1",
1780
+ "SMILES:CCC(=O)O",
1781
+ "SMILES:CSC",
1782
+ "SMILES:CC(=O)C(=O)O",
1783
+ "SMILES:O=C(O)CCC(=O)O",
1784
+ "SMILES:CN(C)C",
1785
+ "SMILES:CC(C)C(N)C(=O)O",
1786
+ "SMILES:COc1cc(C(C)=O)ccc1O",
1787
+ "SMILES:CCCCCCCCCC(=O)O",
1788
+ "SMILES:CCOCC",
1789
+ "SMILES:O=CCCCC=O",
1790
+ "SMILES:CCCCCCCCC(=O)NCc1ccc(O)c(OC)c1",
1791
+ "SMILES:CCCCCCCCCCCC(=O)O",
1792
+ "SMILES:C1CNCCN1",
1793
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O",
1794
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)O",
1795
+ "SMILES:N[C@@H](CS)C(=O)O",
1796
+ "SMILES:N[C@@H](CC(=O)O)C(=O)O",
1797
+ "SMILES:NCCCC[C@H](N)C(=O)O",
1798
+ "SMILES:NC(=O)CC[C@H](N)C(=O)O",
1799
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O",
1800
+ "SMILES:CC(C)C[C@H](N)C(=O)O",
1801
+ "SMILES:N[C@@H](Cc1ccc(O)cc1)C(=O)O",
1802
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC",
1803
+ "SMILES:N[C@@H](Cc1ccccc1)C(=O)O",
1804
+ "SMILES:NC(=O)C[C@H](N)C(=O)O",
1805
+ "SMILES:CC(C)[C@H](N)C(=O)O",
1806
+ "SMILES:CCS",
1807
+ "SMILES:CC(C)N",
1808
+ "SMILES:C[C@@H](O)[C@H](N)C(=O)O",
1809
+ "SMILES:CC[C@H](C)[C@H](N)C(=O)O",
1810
+ "SMILES:CC(C)(O)C(C)(C)O",
1811
+ "SMILES:CCOC(=O)CC(CC(=O)OCC)(OC(C)=O)C(=O)OCC",
1812
+ "SMILES:C=CC(C)(CCC=C(C)C)OC(=O)C(C)C",
1813
+ "SMILES:CCCCOC(=O)CC(O)(CC(=O)OCCCC)C(=O)OCCCC",
1814
+ "SMILES:CCOC(=O)CC(O)(CC(=O)OCC)C(=O)OCC",
1815
+ "SMILES:CCCCOC(=O)CC(CC(=O)OCCCC)(OC(C)=O)C(=O)OCCCC",
1816
+ "SMILES:CC(C)C=O",
1817
+ "SMILES:CC(C)CN",
1818
+ "SMILES:CCC(C)=O",
1819
+ "SMILES:COC(C)=O",
1820
+ "SMILES:CC(C)=CCCC(C)[C@H]1CC[C@@]2(C)C3=C(CC[C@]12C)[C@@]1(C)CC[C@H](O)C(C)(C)[C@@H]1CC3",
1821
+ "SMILES:CC(C)C(=O)O",
1822
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1",
1823
+ "SMILES:CC1=CCC2CC1C2(C)C",
1824
+ "SMILES:CC1=C(O)C(=O)CC1",
1825
+ "SMILES:COc1ccccc1-c1ccccc1",
1826
+ "SMILES:O=C1OCc2ccccc21",
1827
+ "SMILES:CCC(CC)C(=O)O",
1828
+ "SMILES:CC(=O)c1cccs1",
1829
+ "SMILES:Cc1ccc(C(C)(C)C)c(O)c1",
1830
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C",
1831
+ "SMILES:CC1CCC(C(C)C)C(=O)C1",
1832
+ "SMILES:CC(=O)c1ccc(C)cc1C",
1833
+ "SMILES:COc1cccc(OC)c1O",
1834
+ "SMILES:COc1ccccc1OC",
1835
+ "SMILES:C=CCc1ccc(OC)c(OC)c1",
1836
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1",
1837
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1",
1838
+ "SMILES:COc1cc(C)ccc1O",
1839
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1",
1840
+ "SMILES:CC(=O)CC(=O)c1ccccc1",
1841
+ "SMILES:CCCCOC(=O)c1ccc(O)cc1",
1842
+ "SMILES:O=C(OCCc1ccccc1)c1ccccc1",
1843
+ "SMILES:Cc1ccc(C)c(O)c1",
1844
+ "SMILES:CCC(C)CN",
1845
+ "SMILES:CCC(=O)CC",
1846
+ "SMILES:CCCCCCCCCCCC(=O)N(C)CC(=O)O",
1847
+ "SMILES:CCC(C=O)CC",
1848
+ "SMILES:CC(C)(C)C1CCC(=O)CC1",
1849
+ "SMILES:C=C(C)C1CC=C(C)C(O)C1",
1850
+ "SMILES:O=C(O)C1CCCCC1",
1851
+ "SMILES:CC(=O)c1ccccc1",
1852
+ "SMILES:CC1=CCC(C(C)C)C=C1",
1853
+ "SMILES:CC1CCC(C(C)C)CC1",
1854
+ "SMILES:COC(=O)c1ccc(C)cc1",
1855
+ "SMILES:COC(=O)c1ccc(O)cc1",
1856
+ "SMILES:CC(=O)c1ccc(Cl)cc1",
1857
+ "SMILES:CC(=O)c1ccc(O)cc1",
1858
+ "SMILES:COc1ccc(C(C)=O)cc1",
1859
+ "SMILES:COc1ccccc1",
1860
+ "SMILES:CSc1ccccc1",
1861
+ "SMILES:COc1cccc(C)c1",
1862
+ "SMILES:COC(=O)Cc1ccccc1",
1863
+ "SMILES:CCOC(=O)Cc1ccccc1",
1864
+ "SMILES:O=C(Cc1ccccc1)Cc1ccccc1",
1865
+ "SMILES:CCCN(CCC)CCC",
1866
+ "SMILES:O=C(Cc1ccccc1)OCCc1ccccc1",
1867
+ "SMILES:CC(=O)OC(C)(C)CCc1ccccc1",
1868
+ "SMILES:c1ccc(COCc2ccccc2)cc1",
1869
+ "SMILES:CCCC(=O)OCCc1ccccc1",
1870
+ "SMILES:CC(=O)OCC=Cc1ccccc1",
1871
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1",
1872
+ "SMILES:COc1ccc(COC(C)=O)cc1",
1873
+ "SMILES:O=CCCc1ccccc1",
1874
+ "SMILES:CCCCCC1CCC(=O)O1",
1875
+ "SMILES:COc1ccc(C)cc1",
1876
+ "SMILES:CCCC1CCC(=O)O1",
1877
+ "SMILES:CCC(C)CC(=O)O",
1878
+ "SMILES:COC(=O)CC(C)=O",
1879
+ "SMILES:Cc1ccc(O)c(C)c1",
1880
+ "SMILES:CC(C)=CCC[C@H](C)CCO",
1881
+ "SMILES:CC(C)=CCCC(C)CC=O",
1882
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCCOCCO",
1883
+ "SMILES:CCCCC(=O)CC",
1884
+ "SMILES:COC(=O)CCC(=O)OC",
1885
+ "SMILES:CCCCCC(=O)OC",
1886
+ "SMILES:CCCCCCC(=O)OC",
1887
+ "SMILES:COC=O",
1888
+ "SMILES:CC(CC=O)CCCC(C)(C)O",
1889
+ "SMILES:CCCC(C)=O",
1890
+ "SMILES:CC(=O)CC(C)C",
1891
+ "SMILES:CC(=O)OC(C)C",
1892
+ "SMILES:Cc1ccnc(C)c1",
1893
+ "SMILES:CC1COC(=O)O1",
1894
+ "SMILES:CC1CCC(=O)O1",
1895
+ "SMILES:Cc1cncc(C)n1",
1896
+ "SMILES:COC(=O)CC(=O)OC",
1897
+ "SMILES:O=C1CCCCC1",
1898
+ "SMILES:CC1CCCCN1",
1899
+ "SMILES:Cc1cnccn1",
1900
+ "SMILES:CCCCOC(=O)CCC",
1901
+ "SMILES:CCCCOC(=O)CCCCCCCCC(=O)OCCCC",
1902
+ "SMILES:CCCCC(=O)O",
1903
+ "SMILES:CCCCN",
1904
+ "SMILES:CCCOC(C)=O",
1905
+ "SMILES:COCOC",
1906
+ "SMILES:CCNCC",
1907
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C",
1908
+ "SMILES:CCCCCCCCCCCCCC(=O)OCCCC",
1909
+ "SMILES:CCCCCC(C)=O",
1910
+ "SMILES:CCCCCCCCCC(=O)OC",
1911
+ "SMILES:CCCCC=O",
1912
+ "SMILES:CCCCCS",
1913
+ "SMILES:C1CCNCC1",
1914
+ "SMILES:CCCCCCCC(=O)OC",
1915
+ "SMILES:CCCCCCC(C)=O",
1916
+ "SMILES:CCCCCCC(=O)O",
1917
+ "SMILES:CCCCCC#CC(=O)OC",
1918
+ "SMILES:CCCCCCC#CC(=O)OC",
1919
+ "SMILES:CCCCCCCCCCCC(=O)OC",
1920
+ "SMILES:CCCCCCCCC(=O)O",
1921
+ "SMILES:CCCCCCCCCC(C)=O",
1922
+ "SMILES:CCCCCCCCOC(C)=O",
1923
+ "SMILES:CCCCCCCOC(C)=O",
1924
+ "SMILES:CCCCCCCOC=O",
1925
+ "SMILES:CCCCCCCCCCOC(C)=O",
1926
+ "SMILES:CCCCCCCCOC=O",
1927
+ "SMILES:CCCCCCCCCCC(=O)O",
1928
+ "6790-58-9",
1929
+ "127-42-4",
1930
+ "91-64-5",
1931
+ "140-67-0",
1932
+ "674-86-6",
1933
+ "110-44-1",
1934
+ "89-43-0",
1935
+ "89-86-1",
1936
+ "117-98-6",
1937
+ "5392-40-5",
1938
+ "469-01-2",
1939
+ "23696-85-7",
1940
+ "105-86-2",
1941
+ "106-29-6",
1942
+ "107-75-5",
1943
+ "111-12-6",
1944
+ "140-39-6",
1945
+ "141-78-6",
1946
+ "150-78-7",
1947
+ "2039-67-0",
1948
+ "2173-56-0",
1949
+ "75-07-0",
1950
+ "120-72-9",
1951
+ "9000-65-5",
1952
+ "68606-83-7",
1953
+ "8000-29-1",
1954
+ "8000-41-7",
1955
+ "8007-80-5",
1956
+ "8014-17-3",
1957
+ "8016-63-5",
1958
+ "8016-96-4",
1959
+ "8023-75-2",
1960
+ "8023-79-2",
1961
+ "8023-91-4",
1962
+ "9000-64-0",
1963
+ "9000-64-2",
1964
+ "8022-96-6",
1965
+ "8000-34-8",
1966
+ "8007-01-0",
1967
+ "8007-75-8",
1968
+ "141-12-8",
1969
+ "127-91-3",
1970
+ "151-05-3",
1971
+ "79-69-6",
1972
+ "66068-84-6",
1973
+ "128-50-7"
1974
+ ],
1975
+ "wildcard": [
1976
+ "64-17-5",
1977
+ "67-63-0",
1978
+ "25265-71-8",
1979
+ "120-51-4",
1980
+ "84-66-2",
1981
+ "138-86-3",
1982
+ "106-24-1",
1983
+ "106-25-2",
1984
+ "106-22-9",
1985
+ "624-15-7",
1986
+ "99-85-4",
1987
+ "93-58-3",
1988
+ "115-95-7",
1989
+ "105-87-3",
1990
+ "150-84-5",
1991
+ "140-11-4",
1992
+ "103-45-7",
1993
+ "78-70-6",
1994
+ "60-12-8",
1995
+ "100-51-6",
1996
+ "104-54-1",
1997
+ "24851-98-7",
1998
+ "127-41-3",
1999
+ "14901-07-6",
2000
+ "127-51-5",
2001
+ "1335-46-2",
2002
+ "43052-87-5",
2003
+ "706-14-9",
2004
+ "713-95-1",
2005
+ "1222-05-5",
2006
+ "21145-77-7",
2007
+ "6790-58-5",
2008
+ "54464-57-2",
2009
+ "81-14-1",
2010
+ "81-15-2",
2011
+ "105-95-3",
2012
+ "541-91-3",
2013
+ "83-66-9",
2014
+ "77-53-2",
2015
+ "77-42-9",
2016
+ "19870-74-7",
2017
+ "32388-55-9",
2018
+ "33704-61-9",
2019
+ "115-71-9",
2020
+ "87-44-5",
2021
+ "97-53-0",
2022
+ "97-54-1",
2023
+ "118-58-1",
2024
+ "90-05-1",
2025
+ "134-20-3",
2026
+ "103-82-2",
2027
+ "76-22-2",
2028
+ "2216-51-5",
2029
+ "16409-43-1",
2030
+ "6259-76-3",
2031
+ "4602-84-0",
2032
+ "7212-44-4",
2033
+ "515-69-5",
2034
+ "5986-55-0",
2035
+ "515-03-7",
2036
+ "7779-50-2",
2037
+ "104-67-6",
2038
+ "104-55-2",
2039
+ "816-66-0",
2040
+ "600-18-0",
2041
+ "328-50-7",
2042
+ "SMILES:CC(CN)O",
2043
+ "SMILES:C1=CC(=CC=C1CO)O",
2044
+ "99-50-3",
2045
+ "56-12-2",
2046
+ "501-52-0",
2047
+ "123-08-0",
2048
+ "64-19-7",
2049
+ "60-35-5",
2050
+ "99-96-7",
2051
+ "67-64-1",
2052
+ "SMILES:C(CCC(=O)O)CC(=O)O",
2053
+ "SMILES:C(CN)C(=O)O",
2054
+ "1132639-46-3",
2055
+ "513-86-0",
2056
+ "100-52-7",
2057
+ "123-72-8",
2058
+ "65-85-0",
2059
+ "SMILES:CCCC(=O)O",
2060
+ "SMILES:O=C(O)C=C(CC(=O)O)C(=O)O",
2061
+ "SMILES:O=C(O)CC(O)(CC(=O)O)C(=O)O",
2062
+ "SMILES:CC(C)c1ccc(CO)cc1",
2063
+ "SMILES:CC(C)c1ccc(C=O)cc1",
2064
+ "SMILES:Cc1ccccc1O",
2065
+ "SMILES:C=Cc1ccc(O)c(OC)c1",
2066
+ "SMILES:O=C(O)c1ccccc1O",
2067
+ "SMILES:CCC=O",
2068
+ "SMILES:Cc1cccc(O)c1",
2069
+ "SMILES:CCCCCCCC=O",
2070
+ "SMILES:CCCCCCCC(=O)O",
2071
+ "SMILES:NC(CC(=O)O)C(=O)O",
2072
+ "SMILES:O=C(O)CC(O)C(=O)O",
2073
+ "SMILES:CSCCC(=O)O",
2074
+ "SMILES:O=C1CCc2ccccc2O1",
2075
+ "SMILES:CC(O)C(=O)O",
2076
+ "SMILES:CC(N)C(=O)O",
2077
+ "SMILES:CS(C)=O",
2078
+ "SMILES:CC(=O)C(C)=O",
2079
+ "SMILES:O=C(O)C=CC(=O)O",
2080
+ "SMILES:O=C(O)CCCC(=O)O",
2081
+ "SMILES:O=C(O)CO",
2082
+ "SMILES:NCC(=O)O",
2083
+ "SMILES:CCC(C)C(N)C(=O)O",
2084
+ "SMILES:CC(C)CC(N)C(=O)O",
2085
+ "SMILES:NCCCCC(N)C(=O)O",
2086
+ "SMILES:O=C(O)C(O)C(O)C(=O)O",
2087
+ "SMILES:CC(=O)C=O",
2088
+ "SMILES:CSCCC(N)C(=O)O",
2089
+ "SMILES:O=C(O)C(=O)O",
2090
+ "SMILES:CCCCCCCCCCCCCCCC=O",
2091
+ "SMILES:O=C(O)C(=O)CO",
2092
+ "SMILES:CCCCCCCCCCCCCCCC(=O)O",
2093
+ "SMILES:NC(Cc1ccccc1)C(=O)O",
2094
+ "SMILES:Oc1ccccc1",
2095
+ "SMILES:CC(O)CO",
2096
+ "SMILES:O=CCc1ccccc1",
2097
+ "SMILES:O=C(O)C(=O)Cc1ccccc1",
2098
+ "SMILES:CCC(=O)O",
2099
+ "SMILES:NCCCCN",
2100
+ "SMILES:CSC",
2101
+ "SMILES:CC(=O)C(=O)O",
2102
+ "SMILES:O=C(O)CCC(=O)O",
2103
+ "SMILES:CNCC(=O)O",
2104
+ "SMILES:C1CCSC1",
2105
+ "SMILES:Cc1ccccc1",
2106
+ "SMILES:CN(C)C",
2107
+ "SMILES:CC(C)C(N)C(=O)O",
2108
+ "SMILES:CC1CCCC2(C)CCCCC12O",
2109
+ "SMILES:COc1cc(C=O)ccc1O",
2110
+ "SMILES:COc1cc(C(C)=O)ccc1O",
2111
+ "SMILES:Cc1ccc(O)cc1",
2112
+ "SMILES:CCCCCCCCCC(=O)O",
2113
+ "SMILES:CCOCC",
2114
+ "SMILES:O=CCCCC=O",
2115
+ "SMILES:CCCCCCCCC(=O)NCc1ccc(O)c(OC)c1",
2116
+ "SMILES:CCCCOC(=O)c1ccccc1C(=O)OCCCC",
2117
+ "SMILES:CCCCCCCCCCCC(=O)O",
2118
+ "SMILES:COC(=O)c1ccccc1O",
2119
+ "SMILES:C1CNCCN1",
2120
+ "SMILES:O=C(CCc1ccc(O)cc1)c1c(O)cc(O)cc1O",
2121
+ "SMILES:CC(C)c1cccc(C(C)C)c1O",
2122
+ "SMILES:Oc1cccc(O)c1",
2123
+ "SMILES:CCCOC(=O)c1cc(O)c(O)c(O)c1",
2124
+ "SMILES:CC(=O)OCC(COC(C)=O)OC(C)=O",
2125
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)O",
2126
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@@H](O)CO",
2127
+ "SMILES:CC(C)(C)CC(C)(C)c1ccc(OCCO)cc1",
2128
+ "SMILES:N[C@@H](CS)C(=O)O",
2129
+ "SMILES:C=CCCCCCCCCC(=O)O",
2130
+ "SMILES:NCCc1ccc(O)cc1",
2131
+ "SMILES:N[C@@H](CC(=O)O)C(=O)O",
2132
+ "SMILES:NCCCC[C@H](N)C(=O)O",
2133
+ "SMILES:NC(=O)CC[C@H](N)C(=O)O",
2134
+ "SMILES:O=C(CO)[C@@H](O)[C@H](O)[C@H](O)CO",
2135
+ "SMILES:CC(C)CCC[C@@H](C)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C",
2136
+ "SMILES:O[C@@H]1[C@@H](O)[C@@H](O)OC[C@H]1O",
2137
+ "SMILES:N[C@@H](Cc1ccc(O)c(O)c1)C(=O)O",
2138
+ "SMILES:CCCCCC=O",
2139
+ "SMILES:CC(C)C[C@H](N)C(=O)O",
2140
+ "SMILES:N[C@@H](Cc1ccc(O)cc1)C(=O)O",
2141
+ "SMILES:CCCC(=O)OCC(COC(=O)CCC)OC(=O)CCC",
2142
+ "SMILES:N[C@@H](Cc1ccccc1)C(=O)O",
2143
+ "SMILES:OC[C@@H](O)[C@@H](O)[C@H](O)[C@H](O)CO",
2144
+ "SMILES:NC(=O)C[C@H](N)C(=O)O",
2145
+ "SMILES:CC(C)[C@H](N)C(=O)O",
2146
+ "SMILES:CCS",
2147
+ "SMILES:CC(C)N",
2148
+ "SMILES:C[C@@H](O)[C@H](N)C(=O)O",
2149
+ "SMILES:CC[C@H](C)[C@H](N)C(=O)O",
2150
+ "SMILES:CC1CO1",
2151
+ "SMILES:CC(C)(O)C(C)(C)O",
2152
+ "SMILES:CC(=O)OC1CC2CCC1(C)C2(C)C",
2153
+ "SMILES:CC(=O)OC1(C)CCC23CC1C(C)(C)[C@@H]2CC[C@H]3C",
2154
+ "SMILES:CCOC(=O)CC(CC(=O)OCC)(OC(C)=O)C(=O)OCC",
2155
+ "SMILES:CCOC(=O)C1OC1(C)c1ccccc1",
2156
+ "SMILES:C=CC(C)(CCC=C(C)C)OC(=O)C(C)C",
2157
+ "SMILES:CCCCOC(=O)CC(O)(CC(=O)OCCCC)C(=O)OCCCC",
2158
+ "SMILES:CCOC(=O)CC(O)(CC(=O)OCC)C(=O)OCC",
2159
+ "SMILES:CCCCOC(=O)CC(CC(=O)OCCCC)(OC(C)=O)C(=O)OCCCC",
2160
+ "SMILES:CCC(C)(O)CCCC(C)C",
2161
+ "SMILES:CC1=CC(=O)CC(C)(C)C1",
2162
+ "SMILES:CCC(C)C",
2163
+ "SMILES:C=C(C)C=O",
2164
+ "SMILES:CC(C)C=O",
2165
+ "SMILES:CC(C)CN",
2166
+ "SMILES:CCC(C)=O",
2167
+ "SMILES:C=CC(C)=O",
2168
+ "SMILES:C=C1C2CCC(C2)C1(C)C",
2169
+ "SMILES:COC(C)=O",
2170
+ "SMILES:CC(C)=CCCC(C)[C@H]1CC[C@@]2(C)C3=C(CC[C@]12C)[C@@]1(C)CC[C@H](O)C(C)(C)[C@@H]1CC3",
2171
+ "SMILES:CC(C)C(=O)O",
2172
+ "SMILES:CC(=O)OC(C)(C)C1CCC(C)CC1",
2173
+ "SMILES:CC(C)(c1ccc(O)cc1)c1ccc(O)cc1",
2174
+ "SMILES:CC1=CCC2CC1C2(C)C",
2175
+ "SMILES:CC(=O)OC1(C(C)C)C=CC(C)CC1",
2176
+ "SMILES:C=C(C)C(=O)OC",
2177
+ "SMILES:CC1=C(O)C(=O)CC1",
2178
+ "SMILES:CC(CC=O)c1ccc(C(C)(C)C)cc1",
2179
+ "SMILES:CNc1ccccc1C(=O)OC",
2180
+ "SMILES:O=C(OC1CCCCC1)c1ccccc1C(=O)OC1CCCCC1",
2181
+ "SMILES:COc1ccccc1-c1ccccc1",
2182
+ "SMILES:CCCCOC(=O)COC(=O)c1ccccc1C(=O)OCCCC",
2183
+ "SMILES:CC(C)COC(=O)c1ccccc1O",
2184
+ "SMILES:CC(C)CCOC(=O)c1ccccc1O",
2185
+ "SMILES:CCOC(=O)c1ccccc1N",
2186
+ "SMILES:OC[C@@H](O)C(O)[C@@H](O)CO",
2187
+ "SMILES:O=C1OCc2ccccc21",
2188
+ "SMILES:CCC(CC)C(=O)O",
2189
+ "SMILES:CC(C)=C1CCC(C)C2=C(C1)C(C)CC2",
2190
+ "SMILES:CC(=O)c1cccs1",
2191
+ "SMILES:Cc1ccc(C(C)(C)C)c(O)c1",
2192
+ "SMILES:CC(C)c1ccccc1O",
2193
+ "SMILES:CCc1cc2c(cc1C(C)=O)C(C)(C)CCC2(C)C",
2194
+ "SMILES:CC1CCC(C(C)C)C(OC(=O)c2ccccc2O)C1",
2195
+ "SMILES:CC1CCC(C(C)C)C(=O)C1",
2196
+ "SMILES:CC(=O)c1ccc(C)cc1C",
2197
+ "SMILES:CC(C)=C1CCC(C)CC1=O",
2198
+ "SMILES:Cc1ccc(C(C)C)c(O)c1",
2199
+ "SMILES:O=Cc1ccccc1O",
2200
+ "SMILES:CC(=O)OC(c1ccccc1)C(Cl)(Cl)Cl",
2201
+ "SMILES:O=C1CCCCC1C1CCCCC1",
2202
+ "SMILES:O=C1O[C@H](CO)[C@@H](O)[C@H](O)[C@H]1O",
2203
+ "SMILES:COc1cccc(OC)c1O",
2204
+ "SMILES:COc1ccccc1OC",
2205
+ "SMILES:c1ccc(-c2ccccc2)cc1",
2206
+ "SMILES:C=CCc1ccc(OC)c(OC)c1",
2207
+ "SMILES:CC=Cc1ccc(OC)c(OC)c1",
2208
+ "SMILES:C=CCc1ccc(OC(C)=O)c(OC)c1",
2209
+ "SMILES:COc1cc(C)ccc1O",
2210
+ "SMILES:CC=Cc1ccc(OC(C)=O)c(OC)c1",
2211
+ "SMILES:CC(C=O)c1ccccc1",
2212
+ "SMILES:CCC(=O)c1ccccc1",
2213
+ "SMILES:CCOC(=O)c1ccccc1",
2214
+ "SMILES:COC(=O)c1cccnc1",
2215
+ "SMILES:O=C(Oc1ccccc1)c1ccccc1",
2216
+ "SMILES:CC(=O)CC(=O)c1ccccc1",
2217
+ "SMILES:CCOC(=O)CC(=O)c1ccccc1",
2218
+ "SMILES:O=C(OOC(=O)c1ccccc1)c1ccccc1",
2219
+ "SMILES:CCCOC(=O)c1ccc(O)cc1",
2220
+ "SMILES:CCCCOC(=O)c1ccc(O)cc1",
2221
+ "SMILES:CC(C)CCOC(=O)c1ccccc1",
2222
+ "SMILES:O=C(OCCc1ccccc1)c1ccccc1",
2223
+ "SMILES:Cc1ccccc1C",
2224
+ "SMILES:Cc1ccc(O)cc1C",
2225
+ "SMILES:CCC(C)C=O",
2226
+ "SMILES:Cc1ccc(C)c(O)c1",
2227
+ "SMILES:CC1OC1C1CCC2(C)OC2C1",
2228
+ "SMILES:CCC(C)CN",
2229
+ "SMILES:O=C1CCCO1",
2230
+ "SMILES:CCC(=O)CC",
2231
+ "SMILES:C=C(C)C1CC=C(C)C(OC(C)=O)C1",
2232
+ "SMILES:CCOC(=O)C(C)C",
2233
+ "SMILES:C=C(C)C(=O)OCC",
2234
+ "SMILES:CCOC(=O)C(C)O",
2235
+ "SMILES:CCCCCCCCCCCC(=O)N(C)CC(=O)O",
2236
+ "SMILES:CC(C)COC(=O)C(C)C",
2237
+ "SMILES:CCC(C=O)CC",
2238
+ "SMILES:CCCCOC(=O)C(C)C",
2239
+ "SMILES:OCC1CCCO1",
2240
+ "SMILES:O=Cc1ccco1",
2241
+ "SMILES:O=Cc1cccs1",
2242
+ "SMILES:CC(C)(C)c1ccc(O)c(O)c1",
2243
+ "SMILES:CC(C)(C)C1CCC(=O)CC1",
2244
+ "SMILES:CC(C)(C)c1ccc(O)cc1",
2245
+ "SMILES:C=C(C)C1CC=C(C)C(O)C1",
2246
+ "SMILES:O=C(O)C1CCCCC1",
2247
+ "SMILES:CC(=O)c1ccccc1",
2248
+ "SMILES:C=C(C)C1CC=C(C)C(=O)C1",
2249
+ "SMILES:CC1=CCC(C(C)C)C=C1",
2250
+ "SMILES:CC1CCC(C(C)C)CC1",
2251
+ "SMILES:COC(=O)c1ccc(C)cc1",
2252
+ "SMILES:COC(=O)c1ccc(O)cc1",
2253
+ "SMILES:CC1=CC=C(C(C)C)CC1",
2254
+ "SMILES:Cc1ccc(C(C)C)cc1",
2255
+ "SMILES:CC(C)c1ccc(O)cc1",
2256
+ "SMILES:C=Cc1ccccc1",
2257
+ "SMILES:CC(=O)c1ccc(Cl)cc1",
2258
+ "SMILES:CC(=O)c1ccc(O)cc1",
2259
+ "SMILES:COc1ccc(C(C)=O)cc1",
2260
+ "SMILES:COc1ccccc1",
2261
+ "SMILES:CSc1ccccc1",
2262
+ "SMILES:CC(C=O)=Cc1ccccc1",
2263
+ "SMILES:COc1cccc(C)c1",
2264
+ "SMILES:c1ccc(CC2OCCO2)cc1",
2265
+ "SMILES:COC(=O)Cc1ccccc1",
2266
+ "SMILES:c1ccc(Cc2ccccc2)cc1",
2267
+ "SMILES:CCCCCCC(C=O)=Cc1ccccc1",
2268
+ "SMILES:CCOC(=O)Cc1ccccc1",
2269
+ "SMILES:O=C(Cc1ccccc1)Cc1ccccc1",
2270
+ "SMILES:CC(C)CCOC(=O)Cc1ccccc1",
2271
+ "SMILES:CCCN(CCC)CCC",
2272
+ "SMILES:COc1ccc(COC(=O)Cc2ccccc2)cc1",
2273
+ "SMILES:O=C(Cc1ccccc1)OCCc1ccccc1",
2274
+ "SMILES:CC(=O)OC(C)(C)CCc1ccccc1",
2275
+ "SMILES:CCCCC(CC)COC(C)=O",
2276
+ "SMILES:COC(=O)C=Cc1ccccc1",
2277
+ "SMILES:COC(=O)CCc1ccccc1",
2278
+ "SMILES:CCOC(=O)C=Cc1ccccc1",
2279
+ "SMILES:CCCC(=O)OCc1ccccc1",
2280
+ "SMILES:CC(C)C(=O)OCc1ccccc1",
2281
+ "SMILES:CC(C)CC(=O)OCc1ccccc1",
2282
+ "SMILES:CC(C)C(=O)OCCc1ccccc1",
2283
+ "SMILES:c1ccc(COCc2ccccc2)cc1",
2284
+ "SMILES:BrC=Cc1ccccc1",
2285
+ "SMILES:CCCC(=O)OCCc1ccccc1",
2286
+ "SMILES:CC(=O)OCC=Cc1ccccc1",
2287
+ "SMILES:CC(C)C(=O)OCCCc1ccccc1",
2288
+ "SMILES:CCC(=O)OCC=Cc1ccccc1",
2289
+ "SMILES:Cc1ccc(OC(=O)C(C)C)cc1",
2290
+ "SMILES:COc1ccc(COC(C)=O)cc1",
2291
+ "SMILES:CCCc1ccc(OC)cc1",
2292
+ "SMILES:CCCCC1CCC(=O)O1",
2293
+ "SMILES:O=CCCc1ccccc1",
2294
+ "SMILES:CCCCCC1CCC(=O)O1",
2295
+ "SMILES:O=COCc1ccccc1",
2296
+ "SMILES:O=COCC=Cc1ccccc1",
2297
+ "SMILES:O=COCCc1ccccc1",
2298
+ "SMILES:CCCCC(CC)CO",
2299
+ "SMILES:Cc1ccc(C=O)cc1",
2300
+ "SMILES:COc1ccc(C)cc1",
2301
+ "SMILES:CCCC1CCC(=O)O1",
2302
+ "SMILES:CCOC(=O)CC",
2303
+ "SMILES:COc1ccc(CO)cc1",
2304
+ "SMILES:CCC(C)CC(=O)O",
2305
+ "SMILES:COC(=O)CC(C)=O",
2306
+ "SMILES:CCC(C)OC(C)=O",
2307
+ "SMILES:CCOC(=O)CC(=O)OCC",
2308
+ "SMILES:CCCC(=O)OCC",
2309
+ "SMILES:O=C1CCCCCN1",
2310
+ "SMILES:CCOC(C)OCC",
2311
+ "SMILES:Cc1ccc(O)c(C)c1",
2312
+ "SMILES:CCCOC(=O)CCC",
2313
+ "SMILES:CCC(=O)OCCC(C)C",
2314
+ "SMILES:CC(C)CCCC(C)CCO",
2315
+ "SMILES:CCCCCC(=O)OCC(C)C",
2316
+ "SMILES:CC(C)=CCCC(C)CCOC=O",
2317
+ "SMILES:C=C(C)CCCC(C)CCOC(=O)CC",
2318
+ "SMILES:CC(C)=CCC[C@H](C)CCO",
2319
+ "SMILES:CC(C)=CCCC(C)CC=O",
2320
+ "SMILES:CCCOC(=O)CCCCC(=O)OCCC",
2321
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCCOCCO",
2322
+ "SMILES:CCCC(=O)OCCC(C)C",
2323
+ "SMILES:CCCCC(=O)CC",
2324
+ "SMILES:CCCCCCC(=O)OCC",
2325
+ "SMILES:CCCCCCCC(=O)OCC",
2326
+ "SMILES:COC(=O)CCC(=O)OC",
2327
+ "SMILES:CCCOC(=O)CC",
2328
+ "SMILES:CCCCCCCCCCCC(=O)OCC",
2329
+ "SMILES:C=CC=O",
2330
+ "SMILES:C#CCO",
2331
+ "SMILES:C=CCO",
2332
+ "SMILES:CCCCCC(=O)OC",
2333
+ "SMILES:O=CC=O",
2334
+ "SMILES:CCCN",
2335
+ "SMILES:CCCCCCC(=O)OC",
2336
+ "SMILES:COC=O",
2337
+ "SMILES:CC(O)CC(C)(C)O",
2338
+ "SMILES:CC(CC=O)CCCC(C)(C)O",
2339
+ "SMILES:CC(C)CCN",
2340
+ "SMILES:CCCC(C)=O",
2341
+ "SMILES:CC(=O)CC(C)C",
2342
+ "SMILES:CC(=O)OC(C)C",
2343
+ "SMILES:C=C(C)OC(C)=O",
2344
+ "SMILES:Cc1ccnc(C)c1",
2345
+ "SMILES:CC1COC(=O)O1",
2346
+ "SMILES:CC1CCC(=O)O1",
2347
+ "SMILES:Cc1cccc(C)c1",
2348
+ "SMILES:Cc1cncc(C)n1",
2349
+ "SMILES:CC(C)CC(O)CC(C)C",
2350
+ "SMILES:CCOC(=O)CC(C)C",
2351
+ "SMILES:COC(=O)CC(=O)OC",
2352
+ "SMILES:O=C1CCCCC1",
2353
+ "SMILES:CC(C)CC(=O)CC(C)C",
2354
+ "SMILES:CC(=O)OC(C)CC(C)C",
2355
+ "SMILES:CC1CCCCN1",
2356
+ "SMILES:Cc1cnccn1",
2357
+ "SMILES:CCCCOC(=O)CC(C)C",
2358
+ "SMILES:CCCCOC(=O)CCC",
2359
+ "SMILES:C=CCCC(C)=O",
2360
+ "SMILES:CCCCOC(=O)CCCCCCCCC(=O)OCCCC",
2361
+ "SMILES:CCCCC(=O)O",
2362
+ "SMILES:CCCCN",
2363
+ "SMILES:CCCOC(C)=O",
2364
+ "SMILES:COCOC",
2365
+ "SMILES:CCOC=O",
2366
+ "SMILES:CCNCC",
2367
+ "SMILES:c1ccsc1",
2368
+ "SMILES:CC(=O)OCC(C)C",
2369
+ "SMILES:CCCCCCCCCCCCCC(=O)OC(C)C",
2370
+ "SMILES:CCCCCCCCCC(=O)OCC",
2371
+ "SMILES:CCCCCCCCCCCCCC(=O)OCCCC",
2372
+ "SMILES:CC(C)CCOC=O",
2373
+ "SMILES:CCCCCC(C)=O",
2374
+ "SMILES:CCOC(=O)CCCCCCCCC(=O)OCC",
2375
+ "SMILES:CCCCCCCCCC(=O)OC",
2376
+ "SMILES:CCCCC=O",
2377
+ "SMILES:CCCCCN",
2378
+ "SMILES:CCSSCC",
2379
+ "SMILES:CCCOC=O",
2380
+ "SMILES:CCCCCS",
2381
+ "SMILES:C1CCNCC1",
2382
+ "SMILES:CC(O)COCC(C)O",
2383
+ "SMILES:CCCCCCCC(=O)OC",
2384
+ "SMILES:CC=CC=CCO",
2385
+ "SMILES:CCCCCCC(C)=O",
2386
+ "SMILES:CCCCCCC(=O)O",
2387
+ "SMILES:CCCCCC#CC(=O)OC",
2388
+ "SMILES:CCCCCCN",
2389
+ "SMILES:C=CCCCCCC",
2390
+ "SMILES:CCCSCCC",
2391
+ "SMILES:CCCCCCCCCCCCCCCCCC(=O)OCC",
2392
+ "SMILES:CCCCCCC=O",
2393
+ "SMILES:CCCCCCCCC",
2394
+ "SMILES:CCCCCCC=CC(=O)OC",
2395
+ "SMILES:CCCCCCC#CC(=O)OC",
2396
+ "SMILES:C=CCCCCCCCCC(=O)OC",
2397
+ "SMILES:CCCCCCCCCCCC(=O)OC",
2398
+ "SMILES:CCCCCCCCC(=O)O",
2399
+ "SMILES:CCCCCCCCCC(C)=O",
2400
+ "SMILES:CCCCCCCCOC(C)=O",
2401
+ "SMILES:CCCCCCCOC(C)=O",
2402
+ "SMILES:CCCCCCCOC=O",
2403
+ "SMILES:CCCCCCCCCC=O",
2404
+ "SMILES:CCCCCCCCCCOC(C)=O",
2405
+ "SMILES:CCCCCCCCOC=O",
2406
+ "SMILES:CCCCCCCCCCC(=O)O",
2407
+ "SMILES:C=CCCCCCCCCCO",
2408
+ "54452-50-3",
2409
+ "68039-33-4",
2410
+ "142-62-3",
2411
+ "111-79-5",
2412
+ "6790-58-9",
2413
+ "127-42-4",
2414
+ "17283-81-7",
2415
+ "110-17-8",
2416
+ "91-64-5",
2417
+ "928-96-1",
2418
+ "928-97-2",
2419
+ "140-67-0",
2420
+ "674-86-6",
2421
+ "110-44-1",
2422
+ "119-64-2",
2423
+ "89-43-0",
2424
+ "121-34-6",
2425
+ "89-86-1",
2426
+ "106-26-3",
2427
+ "117-98-6",
2428
+ "89-78-1",
2429
+ "80-56-8",
2430
+ "5392-40-5",
2431
+ "469-01-2",
2432
+ "65405-77-8",
2433
+ "23696-85-7",
2434
+ "121-33-5",
2435
+ "102-13-6",
2436
+ "103-95-7",
2437
+ "105-53-3",
2438
+ "105-86-2",
2439
+ "106-29-6",
2440
+ "107-75-5",
2441
+ "111-12-6",
2442
+ "112-44-7",
2443
+ "122-40-7",
2444
+ "122-57-6",
2445
+ "123-11-5",
2446
+ "140-39-6",
2447
+ "141-78-6",
2448
+ "150-78-7",
2449
+ "2039-67-0",
2450
+ "2050-08-0",
2451
+ "2173-56-0",
2452
+ "507-70-0",
2453
+ "67-66-3",
2454
+ "6812-78-8",
2455
+ "75-07-0",
2456
+ "76-49-3",
2457
+ "120-57-0",
2458
+ "606-09-1",
2459
+ "120-72-9",
2460
+ "9000-65-5",
2461
+ "68606-83-7",
2462
+ "8000-25-7",
2463
+ "8000-27-9",
2464
+ "8000-28-0",
2465
+ "8000-29-1",
2466
+ "8000-41-7",
2467
+ "8000-46-2",
2468
+ "8007-00-9",
2469
+ "8007-46-3",
2470
+ "8007-80-5",
2471
+ "8014-17-3",
2472
+ "8016-38-4",
2473
+ "8016-63-5",
2474
+ "8016-78-2",
2475
+ "8016-96-4",
2476
+ "8023-75-2",
2477
+ "8023-79-2",
2478
+ "8023-91-4",
2479
+ "8024-13-1",
2480
+ "8031-03-6",
2481
+ "8046-19-3",
2482
+ "9000-50-4",
2483
+ "9000-64-0",
2484
+ "9000-64-2",
2485
+ "8016-26-0",
2486
+ "8022-96-6",
2487
+ "8000-34-8",
2488
+ "8007-01-0",
2489
+ "8007-06-5",
2490
+ "8007-75-8",
2491
+ "8014-09-3",
2492
+ "123-35-3",
2493
+ "80-54-6",
2494
+ "141-12-8",
2495
+ "127-91-3",
2496
+ "562-74-3",
2497
+ "5989-27-5",
2498
+ "5989-54-8",
2499
+ "6485-40-1",
2500
+ "2244-16-8",
2501
+ "151-05-3",
2502
+ "79-69-6",
2503
+ "66068-84-6",
2504
+ "141-25-3",
2505
+ "128-50-7"
2506
+ ]
2507
+ }
2508
+ }
artifacts/non_fragrance_exclusions.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "SMILES:C=CCOCCO",
3
+ "SMILES:CC(=O)OCCOC(C)=O",
4
+ "SMILES:CC(=O)c1ccc2ccccc2c1",
5
+ "SMILES:CC(C)(C)C1CCC(O)CC1",
6
+ "SMILES:CC(C)(C)O",
7
+ "SMILES:CC(C)(O)CCc1ccccc1",
8
+ "SMILES:CC(C)(O)Cc1ccccc1",
9
+ "SMILES:CC(C)CC(C)O",
10
+ "SMILES:CC(C)CO",
11
+ "SMILES:CC(C)Cc1ccc2ccccc2n1",
12
+ "SMILES:CC(O)C(C)O",
13
+ "SMILES:CC(O)CCO",
14
+ "SMILES:CC(O)CNCC(C)O",
15
+ "SMILES:CC(O)c1ccccc1",
16
+ "SMILES:CCC(C)(C)O",
17
+ "SMILES:CCC(C)(O)CC",
18
+ "SMILES:CCC(C)O",
19
+ "SMILES:CCC(CC)CO",
20
+ "SMILES:CCC(O)c1ccccc1",
21
+ "SMILES:CCCC(=O)OCC=Cc1ccccc1",
22
+ "SMILES:CCCC(O)C(CC)CO",
23
+ "SMILES:CCCCCCCCCCCCCCCCO",
24
+ "SMILES:CCCCCCCCCCO",
25
+ "SMILES:CCCCCCCCO",
26
+ "SMILES:CCCCCCCCS",
27
+ "SMILES:CCCCCCCO",
28
+ "SMILES:CCCCCCO",
29
+ "SMILES:CCCCCCS",
30
+ "SMILES:CCCCCO",
31
+ "SMILES:CCCCO",
32
+ "SMILES:CCCCS",
33
+ "SMILES:CCCO",
34
+ "SMILES:CCCS",
35
+ "SMILES:CCOCCOCCO",
36
+ "SMILES:CCOc1ccc2ccccc2c1",
37
+ "SMILES:CCc1ccc(C)nc1",
38
+ "SMILES:CCc1ccccn1",
39
+ "SMILES:COCCOCCO",
40
+ "SMILES:COc1ccc(C(=O)O)cc1",
41
+ "SMILES:COc1ccc2ccccc2c1",
42
+ "SMILES:Cc1ccc2ccccc2c1",
43
+ "SMILES:Cc1ccc2ncccc2c1",
44
+ "SMILES:Cc1cccc(C)n1",
45
+ "SMILES:Cc1cccc2ccccc12",
46
+ "SMILES:Cc1ccccn1",
47
+ "SMILES:Cn1cccc1",
48
+ "SMILES:NCCNCCO",
49
+ "SMILES:NCCc1ccccc1",
50
+ "SMILES:O=C(CO)CO",
51
+ "SMILES:O=C(O)c1ccc(O)cc1O",
52
+ "SMILES:O=C1CCCCCCCCCCCCCCCO1",
53
+ "SMILES:OC(c1ccccc1)c1ccccc1",
54
+ "SMILES:OC1CCCCC1",
55
+ "SMILES:OCC(O)CO",
56
+ "SMILES:OCCNCCO",
57
+ "SMILES:OCCOCCO",
58
+ "SMILES:SCCCS",
59
+ "SMILES:SCc1ccccc1",
60
+ "SMILES:c1ccc2ccccc2c1",
61
+ "SMILES:c1ccc2ncccc2c1",
62
+ "SMILES:c1ccncc1"
63
+ ]
artifacts/physchem_regression_coefficients.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vp_model": {
3
+ "mw_coef": -0.024469143000107763,
4
+ "logp_coef": 0.0,
5
+ "intercept": 4.257695661627519,
6
+ "r2": 0.7051441296954977
7
+ },
8
+ "ot_model": {
9
+ "log_vp_coef": 0.5191609652567883,
10
+ "mw_coef": -0.004870984292959662,
11
+ "intercept": 1.598229299763003,
12
+ "r2": 0.5593218585706197
13
+ },
14
+ "calibration_n": 63,
15
+ "source": "regression on 63 registry chemicals with known VP+OT"
16
+ }
artifacts/scalar_stats_v1.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "v1",
3
+ "dataset": "data/empirical_dataset_v8.jsonl",
4
+ "description": "Training-set statistics for standardization in ConcentrationAwarePyramidHead",
5
+ "log10_oav_sum": {
6
+ "mean": 34.857809,
7
+ "std": 21.489253,
8
+ "min": -170.0,
9
+ "max": 132.630259
10
+ },
11
+ "x_liquid_sum": {
12
+ "mean": 0.993135,
13
+ "std": 0.082417,
14
+ "min": 0.0,
15
+ "max": 1.0
16
+ },
17
+ "per_tier": {
18
+ "top": {
19
+ "log10_oav_sum": {
20
+ "mean": 27.260823,
21
+ "std": 12.912329,
22
+ "min": -23.314005,
23
+ "max": 131.092756,
24
+ "count": 71084
25
+ },
26
+ "x_liquid_sum": {
27
+ "mean": 0.999969,
28
+ "std": 0.003564,
29
+ "min": 0.309483,
30
+ "max": 1.0,
31
+ "count": 71084
32
+ }
33
+ },
34
+ "mid": {
35
+ "log10_oav_sum": {
36
+ "mean": 40.418986,
37
+ "std": 21.058904,
38
+ "min": -130.0,
39
+ "max": 131.943269,
40
+ "count": 114828
41
+ },
42
+ "x_liquid_sum": {
43
+ "mean": 0.997014,
44
+ "std": 0.054257,
45
+ "min": 0.0,
46
+ "max": 1.0,
47
+ "count": 114828
48
+ }
49
+ },
50
+ "base": {
51
+ "log10_oav_sum": {
52
+ "mean": 33.656214,
53
+ "std": 25.463328,
54
+ "min": -170.0,
55
+ "max": 132.630259,
56
+ "count": 82020
57
+ },
58
+ "x_liquid_sum": {
59
+ "mean": 0.981782,
60
+ "std": 0.133665,
61
+ "min": 0.0,
62
+ "max": 1.0,
63
+ "count": 82020
64
+ }
65
+ }
66
+ }
67
+ }
artifacts/vp_clausius_clapeyron.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Clausius-Clapeyron: log10(VP_Pa) = A - B/T_K",
3
+ "A": -3.9246822861404023,
4
+ "B": 1354.0108758101255,
5
+ "R2": 0.05519872518009983,
6
+ "calibration_n": 118
7
+ }
scripts/_tmp_check_vocabs.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ from pathlib import Path
3
+
4
+ vocab_a = json.loads(Path('data/odor_descriptor_vocab.json').read_text())
5
+ vocab_b = json.loads(Path('data/pyrfume_vocabulary.json').read_text())
6
+ if isinstance(vocab_b, dict):
7
+ vocab_b = vocab_b.get('vocabulary', list(vocab_b.keys()))
8
+
9
+ print('odor_descriptor_vocab', len(vocab_a), vocab_a[:10])
10
+ print('pyrfume_vocabulary', len(vocab_b), vocab_b[:10])
11
+ print('same?', vocab_a == vocab_b)
12
+ print('intersection', len(set(vocab_a) & set(vocab_b)))
13
+
14
+ desc = json.loads(Path('data/pyrfume_descriptors_by_cas.json').read_text())
15
+ print('pyrfume descriptor records', len(desc))
16
+ print('sample keys', list(desc.keys())[:5])
17
+
18
+ odt = json.loads(Path('data/pyrfume_odt_by_cas.json').read_text())
19
+ print('pyrfume odt records', len(odt))
scripts/_tmp_inspect_dataset.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ from pathlib import Path
3
+
4
+ lines = Path('data/empirical_dataset_v1.jsonl').read_text().splitlines()
5
+ rec = json.loads(lines[0])
6
+ print('formula type', type(rec['formula']))
7
+ print('formula len', len(rec['formula']))
8
+ print('first item', rec['formula'][0] if isinstance(rec['formula'], list) else rec['formula'])
9
+ print('trajectory type', type(rec['trajectory']))
10
+ print('trajectory len', len(rec['trajectory']))
11
+ print('trajectory first item', rec['trajectory'][0] if isinstance(rec['trajectory'], list) else rec['trajectory'])
12
+ print('objective_targets shape', len(rec['objective_targets']), len(rec['objective_targets'][0]))
13
+ print('metadata', rec.get('metadata'))
14
+ print('genre', rec.get('genre'))
scripts/_tmp_maxvar.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import numpy as np
3
+ from pathlib import Path
4
+
5
+ lines = Path('data/empirical_dataset_v2.jsonl').read_text().splitlines()
6
+ records = [json.loads(l) for l in lines]
7
+
8
+ variances = []
9
+ for rec in records:
10
+ obj = np.array(rec['objective_targets'])
11
+ variances.append(float(obj.var(axis=0).mean()))
12
+
13
+ variances = np.array(variances)
14
+ idx = int(np.argmax(variances))
15
+ print('max variance record', idx, variances[idx])
16
+ print('genre', records[idx].get('genre'))
17
+ print('metadata', records[idx].get('metadata'))
18
+ print('formula', [(c.get('cas'), c.get('name'), c.get('weight_fraction')) for c in records[idx]['formula']])
19
+ print('objective_targets first 5 rows', records[idx]['objective_targets'][:5])
20
+ print('objective_targets last 5 rows', records[idx]['objective_targets'][-5:])
scripts/_tmp_oav_variance.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import numpy as np
3
+ from pathlib import Path
4
+
5
+ lines = Path('data/empirical_dataset_v1.jsonl').read_text().splitlines()[:1000]
6
+ records = [json.loads(l) for l in lines]
7
+
8
+ variances = []
9
+ for rec in records:
10
+ traj = rec['trajectory']
11
+ t_steps = len(traj)
12
+ s_ing = len(rec['formula'])
13
+ oav = np.zeros((t_steps, s_ing))
14
+ for t, step in enumerate(traj):
15
+ oav_step = step.get('OAV', {})
16
+ for s, comp in enumerate(rec['formula']):
17
+ cas = comp.get('cas', '')
18
+ if cas.startswith('NATURAL:'):
19
+ cas = cas[len('NATURAL:'):]
20
+ oav[t, s] = oav_step.get(cas, 0.0)
21
+ # Mean CV of OAV per ingredient across time.
22
+ mean_per_ing = oav.mean(axis=0)
23
+ std_per_ing = oav.std(axis=0)
24
+ cv = (std_per_ing / (mean_per_ing + 1e-8)).mean()
25
+ variances.append(cv)
26
+
27
+ print('mean CV', np.mean(variances))
28
+ print('median CV', np.median(variances))
29
+ print('max CV', np.max(variances))
30
+
31
+ # Check a single-ingredient record.
32
+ for rec in records:
33
+ if len(rec['formula']) == 1:
34
+ print('single ing OAV', [step['OAV'][rec['formula'][0]['cas']] for step in rec['trajectory'][:5]])
35
+ break
scripts/_tmp_poll_job.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Poll HF job status and print concise summary."""
3
+ import os
4
+ import sys
5
+ import json
6
+ from pathlib import Path
7
+ from huggingface_hub import HfApi
8
+
9
+ token = os.environ.get('HF_TOKEN') or Path('/tmp/hf_token.txt').read_text().strip()
10
+ api = HfApi(token=token)
11
+ job_id = sys.argv[1] if len(sys.argv) > 1 else 'mattbitzesty/6a4e88fc1499512f23779daa'
12
+ job = api.get_job(job_id)
13
+ print(json.dumps({
14
+ 'id': job.id,
15
+ 'status': job.status.stage,
16
+ 'created_at': job.created_at,
17
+ 'started_at': job.started_at,
18
+ 'flavor': job.flavor,
19
+ }, indent=2, default=str))
scripts/_tmp_vocab_overlap.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ from pathlib import Path
3
+ from collections import Counter
4
+
5
+ formulas = [json.loads(line) for line in Path('data/tgsc_demo_formulas_enriched.jsonl').open()]
6
+ cache = json.loads(Path('data/tgsc_odor_cache.json').read_text())
7
+
8
+ tgsc_words = set()
9
+ for entry in cache.values():
10
+ for word in entry.get('odor_type', []):
11
+ tgsc_words.add(word.lower())
12
+ for desc in entry.get('odor_descriptions', []):
13
+ for word in desc.split():
14
+ tgsc_words.add(word.lower().strip('.,;'))
15
+
16
+ vocab = json.loads(Path('data/odor_descriptor_vocab.json').read_text())
17
+ vocab_set = set(vocab)
18
+
19
+ print('TGSC unique words:', len(tgsc_words))
20
+ print('Vocab words:', len(vocab))
21
+ overlap = tgsc_words & vocab_set
22
+ print('Overlap:', len(overlap), f'{len(overlap)/len(vocab)*100:.1f}%')
23
+ print('Missing vocab words:', sorted(vocab_set - tgsc_words)[:30])
scripts/audit_labels.py ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Label variance audit for PIMT pyramid targets.
3
+
4
+ Computes per-tier (Top/Mid/Base) and per-descriptor variance and positive-label
5
+ frequency across the full dataset. Flags tiers whose mean label variance is
6
+ below a threshold and descriptors with <5 positive examples.
7
+
8
+ Additionally computes and caches training-set mean/variance of intensity scalars
9
+ (log₁₀ΣOAV per tier snapshot, Ξ£x_liquid) to artifacts/scalar_stats_v1.json.
10
+
11
+ Usage:
12
+ python scripts/audit_labels.py [--data data/empirical_dataset_v4.jsonl]
13
+ """
14
+ from __future__ import annotations
15
+
16
+ import argparse
17
+ import json
18
+ from pathlib import Path
19
+
20
+ import numpy as np
21
+
22
+
23
+ VARIANCE_THRESHOLD = 0.01
24
+ MIN_POSITIVE_EXAMPLES = 5
25
+
26
+ # Step→tier mapping for 49-step trajectories (~3600s total):
27
+ # top: 0-12 (~0-15min), mid: 13-33 (~15min-1hr), base: 34-48 (1hr+)
28
+ STEP_RANGES = {"top": (0, 13), "mid": (13, 34), "base": (34, 49)}
29
+ TIER_NAMES = ["top", "mid", "base"]
30
+
31
+
32
+ def load_dataset(path: str) -> list[dict]:
33
+ with open(path) as f:
34
+ return [json.loads(line) for line in f]
35
+
36
+
37
+ def load_vocabulary(path: str = "data/pyrfume_vocabulary.json") -> list[str]:
38
+ with open(path) as f:
39
+ data = json.load(f)
40
+ return data["vocabulary"] if isinstance(data, dict) else data
41
+
42
+
43
+ def audit_pyramid_labels(
44
+ records: list[dict], vocab: list[str], variance_threshold: float = VARIANCE_THRESHOLD
45
+ ) -> dict:
46
+ """Compute per-tier variance, positive-label frequency, and descriptor stats."""
47
+ mixtures = [r for r in records if not r.get("is_control")]
48
+ pyramids = []
49
+ for r in mixtures:
50
+ if "pyramid_targets" in r:
51
+ pt = np.array(r["pyramid_targets"], dtype=np.float32)
52
+ if pt.shape == (3, 138):
53
+ pyramids.append(pt)
54
+
55
+ if not pyramids:
56
+ raise ValueError("No records with pyramid_targets found in dataset")
57
+
58
+ all_pyramids = np.stack(pyramids) # (N, 3, 138)
59
+ N = len(all_pyramids)
60
+ report = {"N": N, "tiers": {}}
61
+
62
+ for i, name in enumerate(TIER_NAMES):
63
+ tier = all_pyramids[:, i, :] # (N, 138)
64
+ positive_freq = tier.mean(axis=0)
65
+ per_desc_var = tier.var(axis=0)
66
+ mean_var = float(per_desc_var.mean())
67
+ records_positive = int((tier.sum(axis=1) > 0).sum())
68
+ descs_active = int(np.count_nonzero(positive_freq))
69
+ descs_below_min = int(np.sum(positive_freq * N < MIN_POSITIVE_EXAMPLES))
70
+
71
+ tier_report = {
72
+ "records_with_any_positive": records_positive,
73
+ "records_with_any_positive_pct": round(100 * records_positive / N, 2),
74
+ "descriptors_active": descs_active,
75
+ "descriptors_active_pct": round(100 * descs_active / 138, 2),
76
+ "mean_variance": round(mean_var, 6),
77
+ "variance_threshold": variance_threshold,
78
+ "passes_variance_threshold": mean_var >= variance_threshold,
79
+ "descriptors_below_min_examples": descs_below_min,
80
+ "mean_label_frequency": round(float(tier.mean()), 6),
81
+ "top_descriptors": [],
82
+ }
83
+
84
+ top_idx = np.argsort(positive_freq)[::-1][:20]
85
+ for idx in top_idx:
86
+ n_pos = int(positive_freq[idx] * N)
87
+ desc_name = vocab[idx] if idx < len(vocab) else f"desc_{idx}"
88
+ tier_report["top_descriptors"].append({
89
+ "idx": int(idx),
90
+ "name": desc_name,
91
+ "positive_count": n_pos,
92
+ "frequency": round(float(positive_freq[idx]), 6),
93
+ "variance": round(float(per_desc_var[idx]), 6),
94
+ })
95
+
96
+ report["tiers"][name] = tier_report
97
+
98
+ return report
99
+
100
+
101
+ def compute_scalar_stats(records: list[dict]) -> dict:
102
+ """Compute training-set mean/variance of intensity scalars per tier."""
103
+ mixtures = [r for r in records if not r.get("is_control")]
104
+ log_oav = {t: [] for t in TIER_NAMES}
105
+ x_liq = {t: [] for t in TIER_NAMES}
106
+
107
+ for r in mixtures:
108
+ traj = r.get("trajectory", [])
109
+ for tier_name, (start, end) in STEP_RANGES.items():
110
+ for step in traj[start:end]:
111
+ oavs = step.get("OAV", {})
112
+ xliqs = step.get("x_liquid", {})
113
+ log_oav[tier_name].append(
114
+ sum(np.log10(max(v, 1e-10)) for v in oavs.values())
115
+ )
116
+ x_liq[tier_name].append(sum(xliqs.values()))
117
+
118
+ stats = {}
119
+ for tier_name in TIER_NAMES:
120
+ lo = np.array(log_oav[tier_name])
121
+ xl = np.array(x_liq[tier_name])
122
+ stats[f"log10_oav_sum_{tier_name}"] = {
123
+ "mean": round(float(lo.mean()), 6),
124
+ "std": round(float(lo.std()), 6),
125
+ "min": round(float(lo.min()), 6),
126
+ "max": round(float(lo.max()), 6),
127
+ "count": len(lo),
128
+ }
129
+ stats[f"x_liquid_sum_{tier_name}"] = {
130
+ "mean": round(float(xl.mean()), 6),
131
+ "std": round(float(xl.std()), 6),
132
+ "min": round(float(xl.min()), 6),
133
+ "max": round(float(xl.max()), 6),
134
+ "count": len(xl),
135
+ }
136
+
137
+ all_lo = np.concatenate([np.array(log_oav[t]) for t in TIER_NAMES])
138
+ all_xl = np.concatenate([np.array(x_liq[t]) for t in TIER_NAMES])
139
+ stats["log10_oav_sum_overall"] = {
140
+ "mean": round(float(all_lo.mean()), 6),
141
+ "std": round(float(all_lo.std()), 6),
142
+ "min": round(float(all_lo.min()), 6),
143
+ "max": round(float(all_lo.max()), 6),
144
+ }
145
+ stats["x_liquid_sum_overall"] = {
146
+ "mean": round(float(all_xl.mean()), 6),
147
+ "std": round(float(all_xl.std()), 6),
148
+ "min": round(float(all_xl.min()), 6),
149
+ "max": round(float(all_xl.max()), 6),
150
+ }
151
+ return stats
152
+
153
+
154
+ def generate_histograms(report: dict, output_dir: Path) -> None:
155
+ """Generate histogram plots of per-descriptor positive-label frequency."""
156
+ import matplotlib
157
+ matplotlib.use("Agg")
158
+ import matplotlib.pyplot as plt
159
+
160
+ output_dir.mkdir(parents=True, exist_ok=True)
161
+
162
+ fig, axes = plt.subplots(1, 3, figsize=(18, 5))
163
+ fig.suptitle("Per-Descriptor Positive-Label Frequency by Tier", fontsize=14)
164
+
165
+ for ax, tier_name in zip(axes, TIER_NAMES):
166
+ tier_data = report["tiers"][tier_name]
167
+ freqs = [d["frequency"] for d in tier_data["top_descriptors"]]
168
+ names = [d["name"] for d in tier_data["top_descriptors"]]
169
+
170
+ status = "PASS" if tier_data["passes_variance_threshold"] else "FAIL"
171
+ ax.barh(range(len(freqs)), freqs, color="steelblue")
172
+ ax.set_yticks(range(len(names)))
173
+ ax.set_yticklabels(names, fontsize=8)
174
+ ax.set_xlabel("Frequency")
175
+ ax.set_title(f"{tier_name.upper()} ({status}, var={tier_data['mean_variance']:.4f})")
176
+ ax.invert_yaxis()
177
+
178
+ plt.tight_layout()
179
+ path = output_dir / "label_frequency_histograms.png"
180
+ fig.savefig(path, dpi=150)
181
+ plt.close(fig)
182
+ print(f"πŸ“Š Histogram saved to {path}")
183
+
184
+
185
+ def main():
186
+ parser = argparse.ArgumentParser(description="Label variance audit for PIMT pyramid targets")
187
+ parser.add_argument("--data", default="data/empirical_dataset_v4.jsonl")
188
+ parser.add_argument("--variance-threshold", type=float, default=VARIANCE_THRESHOLD)
189
+ parser.add_argument("--output", default="reports/label_variance_audit_v4.json")
190
+ args = parser.parse_args()
191
+
192
+ print(f"Loading dataset from {args.data}...")
193
+ records = load_dataset(args.data)
194
+ vocab = load_vocabulary()
195
+
196
+ print(f"Auditing pyramid labels ({len(records)} records)...")
197
+ label_report = audit_pyramid_labels(records, vocab, args.variance_threshold)
198
+
199
+ print("Computing scalar statistics...")
200
+ scalar_stats = compute_scalar_stats(records)
201
+
202
+ # Build full report
203
+ report = {
204
+ "dataset": args.data,
205
+ "total_records": len(records),
206
+ "controls": sum(1 for r in records if r.get("is_control")),
207
+ "mixtures": sum(1 for r in records if not r.get("is_control")),
208
+ "variance_threshold": args.variance_threshold,
209
+ "min_positive_examples": MIN_POSITIVE_EXAMPLES,
210
+ **label_report,
211
+ "scalar_stats": scalar_stats,
212
+ }
213
+
214
+ # Save JSON report
215
+ report_path = Path(args.output)
216
+ report_path.parent.mkdir(parents=True, exist_ok=True)
217
+ report_path.write_text(json.dumps(report, indent=2, ensure_ascii=False))
218
+ print(f"πŸ“„ Report saved to {report_path}")
219
+
220
+ # Save scalar stats artifact
221
+ scalar_artifact = {
222
+ "version": "v1",
223
+ "dataset": args.data,
224
+ "description": "Training-set statistics for standardization in ConcentrationAwarePyramidHead",
225
+ "log10_oav_sum": scalar_stats["log10_oav_sum_overall"],
226
+ "x_liquid_sum": scalar_stats["x_liquid_sum_overall"],
227
+ "per_tier": {
228
+ t: {
229
+ "log10_oav_sum": scalar_stats[f"log10_oav_sum_{t}"],
230
+ "x_liquid_sum": scalar_stats[f"x_liquid_sum_{t}"],
231
+ }
232
+ for t in TIER_NAMES
233
+ },
234
+ }
235
+ scalar_path = Path("artifacts/scalar_stats_v1.json")
236
+ scalar_path.parent.mkdir(parents=True, exist_ok=True)
237
+ scalar_path.write_text(json.dumps(scalar_artifact, indent=2, ensure_ascii=False))
238
+ print(f"πŸ“„ Scalar stats artifact saved to {scalar_path}")
239
+
240
+ # Generate histogram plots
241
+ generate_histograms(report, Path("reports/figures"))
242
+
243
+ # Print verdict
244
+ print(f"\n{'='*60}")
245
+ print("VARIANCE AUDIT VERDICT")
246
+ print(f"{'='*60}")
247
+ all_pass = True
248
+ for name in TIER_NAMES:
249
+ t = report["tiers"][name]
250
+ status = "βœ… PASS" if t["passes_variance_threshold"] else "❌ FAIL"
251
+ print(f" {name}: {status} (variance={t['mean_variance']:.6f}, threshold={args.variance_threshold})")
252
+ print(f" Records with any positive: {t['records_with_any_positive']}/{report['N']} ({t['records_with_any_positive_pct']}%)")
253
+ print(f" Active descriptors: {t['descriptors_active']}/138 ({t['descriptors_active_pct']}%)")
254
+ if not t["passes_variance_threshold"]:
255
+ all_pass = False
256
+
257
+ if not all_pass:
258
+ print(f"\n⚠️ STOP CONDITION TRIGGERED")
259
+ print(f"One or more tiers fail the variance threshold ({args.variance_threshold}).")
260
+ print(f"The top/mid tier labels are too sparse for reliable training.")
261
+ print(f"Recommended: enrich tier labels before proceeding to Phase 1.")
262
+ else:
263
+ print(f"\nβœ… All tiers pass variance threshold.")
264
+
265
+
266
+ if __name__ == "__main__":
267
+ main()
scripts/diagnostic_activation.py ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch, json, numpy as np
2
+ from pathlib import Path
3
+ import sys
4
+ sys.path.insert(0, 'src')
5
+
6
+ from pino.embeddings import OlfactoryEmbeddingEngine
7
+ from pino.heads import PIMTHeads
8
+ from pino.pimt_model import DEFAULT_EMBEDDING_DIM, PhysicsInformedMixtureTransformer
9
+ from pino.registry import AromaRegistry
10
+ from pino.thermo.naturals import NATURAL_PROFILES
11
+
12
+ device = torch.device('cpu')
13
+ checkpoint = torch.load('models/pimt_v1.pt', map_location=device)
14
+ model = PhysicsInformedMixtureTransformer(embedding_dim=DEFAULT_EMBEDDING_DIM, state_dim=2, hidden_dim=256, num_heads=4, num_layers=4).to(device)
15
+ heads = PIMTHeads(hidden_dim=256, objective_dim=138).to(device)
16
+ model.load_state_dict(checkpoint['model_state_dict'])
17
+ heads.load_state_dict(checkpoint['heads_state_dict'])
18
+ model.eval(); heads.eval()
19
+
20
+ with open('data/empirical_dataset_v1.jsonl') as f:
21
+ for line in f:
22
+ rec = json.loads(line)
23
+ if any(str(i.get('cas','')).startswith('NATURAL:') for i in rec.get('formula',[])):
24
+ sample = rec
25
+ break
26
+
27
+ engine = OlfactoryEmbeddingEngine()
28
+ registry = AromaRegistry()
29
+
30
+ tokens = []
31
+ for item in sample['formula']:
32
+ cas = str(item['cas']).strip()
33
+ bare = cas.replace('NATURAL:', '')
34
+ rec = registry.get(bare)
35
+ smiles = rec.get('smiles', '') if rec else ''
36
+ z = engine.get_embedding(smiles, cas=cas)
37
+ tokens.append(torch.from_numpy(z))
38
+ tokens = torch.stack(tokens, dim=0).unsqueeze(0).float().to(device)
39
+
40
+ physics = np.zeros((len(sample['trajectory']), len(sample['formula']), 2), dtype=np.float32)
41
+ const_to_token = {}
42
+ for idx, item in enumerate(sample['formula']):
43
+ raw_cas = str(item['cas']).strip()
44
+ bare = raw_cas.replace('NATURAL:', '')
45
+ profile = NATURAL_PROFILES.get(bare) or NATURAL_PROFILES.get(f'NATURAL:{bare}')
46
+ if profile:
47
+ for const_cas in profile['constituents']:
48
+ const_to_token[const_cas] = idx
49
+ else:
50
+ const_to_token[bare] = idx
51
+ for t, step in enumerate(sample['trajectory']):
52
+ for const_cas, token_idx in const_to_token.items():
53
+ physics[t, token_idx, 0] += step['x_liquid'].get(const_cas, 0.0)
54
+ physics[t, token_idx, 1] += step['OAV'].get(const_cas, 0.0)
55
+ physics[:,:,1] = np.log10(np.maximum(physics[:,:,1], 1e-10))
56
+ physics_t = torch.from_numpy(physics).unsqueeze(0).float().to(device)
57
+ mask = torch.zeros(1, tokens.size(1), dtype=torch.bool, device=device)
58
+
59
+ # Probe gating
60
+ gated = model.gating(tokens, physics_t)
61
+ print('Gated output shape:', gated.shape)
62
+ print('Gated variance across time:', gated.var(dim=1).mean().item())
63
+ print('Gated first timestep mean/std:', gated[0,0].mean().item(), gated[0,0].std().item())
64
+ print('Gated last timestep mean/std:', gated[0,-1].mean().item(), gated[0,-1].std().item())
65
+
66
+ # Probe input projection
67
+ proj = model.input_proj(gated)
68
+ print('Projected variance across time:', proj.var(dim=1).mean().item())
69
+
70
+ # Probe encoder output
71
+ b, t, s, _ = proj.shape
72
+ x = proj.reshape(b * t, s, 256)
73
+ enc_out = model.encoder(x, src_key_padding_mask=mask.unsqueeze(1).expand(-1, t, -1).reshape(b * t, s))
74
+ enc_out = enc_out.reshape(b, t, s, 256)
75
+ print('Encoder output variance across time:', enc_out.var(dim=1).mean().item())
76
+
77
+ # Compare with zero physics
78
+ physics0 = torch.zeros_like(physics_t)
79
+ gated0 = model.gating(tokens, physics0)
80
+ proj0 = model.input_proj(gated0)
81
+ x0 = proj0.reshape(b * t, s, 256)
82
+ enc_out0 = model.encoder(x0, src_key_padding_mask=mask.unsqueeze(1).expand(-1, t, -1).reshape(b * t, s))
83
+ enc_out0 = enc_out0.reshape(b, t, s, 256)
84
+ print('Diff encoder output vs zero physics (mean):', (enc_out - enc_out0).abs().mean().item())
85
+ print('Diff encoder output vs zero physics (max):', (enc_out - enc_out0).abs().max().item())
86
+
87
+ # Distribution of physics values
88
+ print('Physics tensor shape:', physics_t.shape)
89
+ print('Physics x_liquid range:', physics_t[0,:,:,0].min().item(), physics_t[0,:,:,0].max().item())
90
+ print('Physics log10OAV range:', physics_t[0,:,:,1].min().item(), physics_t[0,:,:,1].max().item())
scripts/diagnostic_film_variance.py ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch, json, numpy as np
2
+ from pathlib import Path
3
+ import sys
4
+ sys.path.insert(0, 'src')
5
+
6
+ from pino.embeddings import OlfactoryEmbeddingEngine
7
+ from pino.heads import PIMTHeads
8
+ from pino.pimt_model import DEFAULT_EMBEDDING_DIM, PhysicsInformedMixtureTransformer
9
+ from pino.registry import AromaRegistry
10
+ from pino.thermo.naturals import NATURAL_PROFILES
11
+
12
+ # Use a fresh, randomly initialized model to verify the FiLM block propagates time variance
13
+ device = torch.device('cpu')
14
+ model = PhysicsInformedMixtureTransformer(embedding_dim=DEFAULT_EMBEDDING_DIM, state_dim=2, hidden_dim=256, num_heads=4, num_layers=4).to(device)
15
+ model.eval()
16
+
17
+ # Load a sample record
18
+ with open('data/empirical_dataset_v1.jsonl') as f:
19
+ for line in f:
20
+ rec = json.loads(line)
21
+ if any(str(i.get('cas','')).startswith('NATURAL:') for i in rec.get('formula',[])):
22
+ sample = rec
23
+ break
24
+
25
+ engine = OlfactoryEmbeddingEngine()
26
+ registry = AromaRegistry()
27
+
28
+ tokens = []
29
+ for item in sample['formula']:
30
+ cas = str(item['cas']).strip()
31
+ bare = cas.replace('NATURAL:', '')
32
+ rec = registry.get(bare)
33
+ smiles = rec.get('smiles', '') if rec else ''
34
+ z = engine.get_embedding(smiles, cas=cas)
35
+ tokens.append(torch.from_numpy(z))
36
+ tokens = torch.stack(tokens, dim=0).unsqueeze(0).float().to(device)
37
+
38
+ physics = np.zeros((len(sample['trajectory']), len(sample['formula']), 2), dtype=np.float32)
39
+ const_to_token = {}
40
+ for idx, item in enumerate(sample['formula']):
41
+ raw_cas = str(item['cas']).strip()
42
+ bare = raw_cas.replace('NATURAL:', '')
43
+ profile = NATURAL_PROFILES.get(bare) or NATURAL_PROFILES.get(f'NATURAL:{bare}')
44
+ if profile:
45
+ for const_cas in profile['constituents']:
46
+ const_to_token[const_cas] = idx
47
+ else:
48
+ const_to_token[bare] = idx
49
+ for t, step in enumerate(sample['trajectory']):
50
+ for const_cas, token_idx in const_to_token.items():
51
+ physics[t, token_idx, 0] += step['x_liquid'].get(const_cas, 0.0)
52
+ physics[t, token_idx, 1] += step['OAV'].get(const_cas, 0.0)
53
+ physics[:,:,1] = np.log10(np.maximum(physics[:,:,1], 1e-10))
54
+ physics_t = torch.from_numpy(physics).unsqueeze(0).float().to(device)
55
+ mask = torch.zeros(1, tokens.size(1), dtype=torch.bool, device=device)
56
+
57
+ with torch.no_grad():
58
+ gated = model.gating(tokens, physics_t)
59
+ print('FiLM gated variance across time:', gated.var(dim=1).mean().item())
60
+ print('FiLM gated first vs last timestep mean diff:', (gated[0,0] - gated[0,-1]).abs().mean().item())
61
+ print('FiLM gated first vs last timestep max diff:', (gated[0,0] - gated[0,-1]).abs().max().item())
62
+
63
+ proj = model.input_proj(gated)
64
+ b, t, s, _ = proj.shape
65
+ x = proj.reshape(b * t, s, 256)
66
+ enc_out = model.encoder(x, src_key_padding_mask=mask.unsqueeze(1).expand(-1, t, -1).reshape(b * t, s))
67
+ enc_out = enc_out.reshape(b, t, s, 256)
68
+ print('Encoder output variance across time:', enc_out.var(dim=1).mean().item())
69
+ print('Encoder output first vs last timestep mean diff:', (enc_out[0,0] - enc_out[0,-1]).abs().mean().item())
70
+ print('Encoder output first vs last timestep max diff:', (enc_out[0,0] - enc_out[0,-1]).abs().max().item())
71
+
72
+ # Compare to zero physics
73
+ physics0 = torch.zeros_like(physics_t)
74
+ gated0 = model.gating(tokens, physics0)
75
+ proj0 = model.input_proj(gated0)
76
+ x0 = proj0.reshape(b * t, s, 256)
77
+ enc_out0 = model.encoder(x0, src_key_padding_mask=mask.unsqueeze(1).expand(-1, t, -1).reshape(b * t, s))
78
+ enc_out0 = enc_out0.reshape(b, t, s, 256)
79
+ print('Diff encoder vs zero physics (mean):', (enc_out - enc_out0).abs().mean().item())
80
+ print('Diff encoder vs zero physics (max):', (enc_out - enc_out0).abs().max().item())
scripts/diagnostic_v3_intermediate.py ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from pathlib import Path
3
+ import json
4
+ import numpy as np
5
+ import torch
6
+
7
+ sys.path.insert(0, "src")
8
+
9
+ from pino.pimt_model import PhysicsInformedMixtureTransformer, DEFAULT_EMBEDDING_DIM
10
+ from pino.heads import PIMTHeads
11
+ from pino.embeddings import get_openpom_embedding
12
+ from pino.registry import AromaRegistry
13
+ from huggingface_hub import hf_hub_download
14
+
15
+ SHALIMAR_1990 = [
16
+ ("AMBREINE PURE", 6.00), ("BENZOAT BENZYL", 23.00), ("BENZOIN SIAM RESINOID", 21.50),
17
+ ("BENZYL ACETATE", 10.00), ("BERGAMOTE ITALIAN OIL", 255.00), ("CARDAMOM GUATEMALA OIL", 5.00),
18
+ ("CASTOREUM GIVCO", 116.00), ("CITRONELLOL", 0.50), ("CITRONELLYL ACETATE", 0.10),
19
+ ("CIVETTE SYNTHETIC", 0.50), ("CORIANDER SEED OIL", 20.00), ("COUMARIN", 72.00),
20
+ ("DIMETHYL BENZYL CARBINYL ACETATE", 0.10), ("DIPROPYLENE GLYCOL", 320.00), ("ESTRAGOLE", 5.00),
21
+ ("GERANIUM OIL CHINE", 5.00), ("GERANIUM OIL EGYPT", 0.10), ("GUAIACWOOD OIL", 0.05),
22
+ ("HONEY BEE ABSOLUTE (Cire D'abeille)", 0.10), ("IRONE ALPHA", 5.00), ("LAVANDER OIL 40/42", 5.20),
23
+ ("LEMON SICILIAN OIL", 1.30), ("LINALYL ACETATE", 25.40), ("MUSK KETONE (MUSK XYLOL <0,1%)", 4.00),
24
+ ("MYRRH RESINOID", 0.20), ("OPOPONAX RESINOID", 1.00), ("ORANGE SEET BRASIL OIL", 26.20),
25
+ ("PETITGRAIN BIGARADE OIL", 5.00), ("PHENYL ETHYL ACETATE", 0.10), ("PHENYLETHYL ALCOHOL", 1.50),
26
+ ("POLYSANTOL", 25.00), ("RHODINOL 70", 0.50), ("ROSALVA", 0.05), ("ROSE ACETATE", 0.20),
27
+ ("ROSE OIL TURKISH", 4.30), ("SANDALOR", 30.00), ("VANILLIN", 95.00), ("VETIVER OIL JAVA", 8.00),
28
+ ]
29
+
30
+ NAME_TO_CAS = {
31
+ "AMBREINE PURE": "NATURAL:68916-26-7", "BENZOAT BENZYL": "120-51-4", "BENZOIN SIAM RESINOID": "NATURAL:9000-05-9",
32
+ "BENZYL ACETATE": "140-11-4", "BERGAMOTE ITALIAN OIL": "NATURAL:8007-35-0", "CARDAMOM GUATEMALA OIL": "NATURAL:8000-66-6",
33
+ "CASTOREUM GIVCO": "NATURAL:8023-83-4", "CITRONELLOL": "106-22-9", "CITRONELLYL ACETATE": "150-84-5",
34
+ "CIVETTE SYNTHETIC": "NATURAL:68916-26-7", "CORIANDER SEED OIL": "NATURAL:8008-52-4", "COUMARIN": "91-64-5",
35
+ "DIMETHYL BENZYL CARBINYL ACETATE": "151-05-3", "DIPROPYLENE GLYCOL": "25265-71-8", "ESTRAGOLE": "140-67-0",
36
+ "GERANIUM OIL CHINE": "NATURAL:8000-46-2", "GERANIUM OIL EGYPT": "NATURAL:8000-46-2", "GUAIACWOOD OIL": "NATURAL:8016-23-7",
37
+ "HONEY BEE ABSOLUTE (Cire D'abeille)": "NATURAL:8029-66-5", "IRONE ALPHA": "79-69-6", "LAVANDER OIL 40/42": "NATURAL:8000-28-0",
38
+ "LEMON SICILIAN OIL": "NATURAL:8008-56-8", "LINALYL ACETATE": "115-95-7", "MUSK KETONE (MUSK XYLOL <0,1%)": "81-14-1",
39
+ "MYRRH RESINOID": "NATURAL:8016-37-3", "OPOPONAX RESINOID": "NATURAL:9000-78-6", "ORANGE SEET BRASIL OIL": "NATURAL:8008-57-9",
40
+ "PETITGRAIN BIGARADE OIL": "NATURAL:8014-17-3", "PHENYL ETHYL ACETATE": "103-45-7", "PHENYLETHYL ALCOHOL": "60-12-8",
41
+ "POLYSANTOL": "NATURAL:66068-84-6", "RHODINOL 70": "141-25-3", "ROSALVA": "128-50-7", "ROSE ACETATE": "141-12-8",
42
+ "ROSE OIL TURKISH": "NATURAL:8007-01-0", "SANDALOR": "NATURAL:66068-84-6", "VANILLIN": "121-33-5", "VETIVER OIL JAVA": "NATURAL:8016-96-4",
43
+ }
44
+
45
+
46
+ def build_inputs():
47
+ registry = AromaRegistry()
48
+ records = registry.all_records()
49
+ vocab_emb = []
50
+ for cas, rec in records.items():
51
+ try:
52
+ emb = get_openpom_embedding(rec.get("smiles", "") or "", dim=DEFAULT_EMBEDDING_DIM, cas=cas)
53
+ vocab_emb.append(emb)
54
+ except Exception:
55
+ vocab_emb.append(np.zeros(DEFAULT_EMBEDDING_DIM, dtype=np.float32))
56
+ vocab_emb = np.array(vocab_emb, dtype=np.float32)
57
+
58
+ # Build token list: find nearest registry token for each Shalimar ingredient
59
+ token_to_cas = {i: cas for i, cas in enumerate(records.keys())}
60
+
61
+ tokens, weights = [], []
62
+ for name, w in SHALIMAR_1990:
63
+ cas = NAME_TO_CAS[name]
64
+ emb = get_openpom_embedding("", dim=DEFAULT_EMBEDDING_DIM, cas=cas)
65
+ norm = np.linalg.norm(emb)
66
+ emb = emb / (norm + 1e-8)
67
+ sims = vocab_emb @ emb
68
+ best_idx = int(np.argmax(sims))
69
+ tokens.append(best_idx)
70
+ weights.append(w)
71
+ total = sum(weights)
72
+ weights = [w / total for w in weights]
73
+ return tokens, weights
74
+
75
+
76
+ def load_model(device, untrained=False):
77
+ model = PhysicsInformedMixtureTransformer(
78
+ embedding_dim=DEFAULT_EMBEDDING_DIM, state_dim=2, hidden_dim=256, num_heads=4, num_layers=4
79
+ ).to(device)
80
+ heads = PIMTHeads(hidden_dim=256, objective_dim=138).to(device)
81
+ if not untrained:
82
+ checkpoint_path = Path("models/pimt_v3.pt")
83
+ if not checkpoint_path.exists():
84
+ hf_hub_download(repo_id="mattbitzesty/pino-pimt-checkpoint", filename="pimt_v3.pt", repo_type="model", local_dir="models")
85
+ checkpoint = torch.load(checkpoint_path, map_location=device)
86
+ model.load_state_dict(checkpoint["model_state_dict"])
87
+ heads.load_state_dict(checkpoint["heads_state_dict"])
88
+ model.eval()
89
+ heads.eval()
90
+ return model, heads
91
+
92
+
93
+ def run_forward(model, heads, tokens, weights, device):
94
+ activations = {}
95
+
96
+ def make_hook(name):
97
+ def fn(m, i, o):
98
+ activations[name] = o.detach() if not isinstance(o, tuple) else o[0].detach()
99
+ return fn
100
+
101
+ model.gating.register_forward_hook(make_hook("film"))
102
+ model.encoder.register_forward_hook(make_hook("encoder"))
103
+
104
+ tokens = torch.tensor([tokens], dtype=torch.long, device=device)
105
+ weights = torch.tensor([weights], dtype=torch.float32, device=device)
106
+ with torch.no_grad():
107
+ out = model(tokens, weights)
108
+ h = heads(out)
109
+ return out, h, activations
110
+
111
+
112
+ def main():
113
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
114
+ tokens, weights = build_inputs()
115
+
116
+ print("=== TRAINED v3 ===")
117
+ model, heads = load_model(device, untrained=False)
118
+ out, h, acts = run_forward(model, heads, tokens, weights, device)
119
+ print(f"physics state: shape {out['physics_state'].shape}")
120
+ print(" per-channel mean time-variance:", out["physics_state"][0].var(dim=0).mean(dim=0).cpu().numpy())
121
+ for k in ["film", "encoder"]:
122
+ v = acts[k]
123
+ print(f"{k}: shape {v.shape}")
124
+ print(f" mean per-token time-variance: {v[0].var(dim=0).mean().item():.6e}")
125
+ print(f" max per-token time-variance: {v[0].var(dim=0).max().item():.6e}")
126
+ print(f"objective: shape {h['objective'].shape}")
127
+ print(f" mean per-dim time-variance: {h['objective'][0].var(dim=0).mean().item():.6e}")
128
+ print(f" max per-dim time-variance: {h['objective'][0].var(dim=0).max().item():.6e}")
129
+
130
+ print("\n=== UNTRAINED ===")
131
+ model2, heads2 = load_model(device, untrained=True)
132
+ out2, h2, acts2 = run_forward(model2, heads2, tokens, weights, device)
133
+ for k in ["film", "encoder"]:
134
+ v = acts2[k]
135
+ print(f"{k}: mean per-token time-variance: {v[0].var(dim=0).mean().item():.6e}")
136
+ print(f"objective mean per-dim time-variance: {h2['objective'][0].var(dim=0).mean().item():.6e}")
137
+
138
+
139
+ if __name__ == "__main__":
140
+ main()
scripts/diagnostic_v3_shalimar.py ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from pathlib import Path
3
+ import json
4
+ import numpy as np
5
+ import torch
6
+
7
+ sys.path.insert(0, "src")
8
+ sys.path.insert(0, "scripts")
9
+
10
+ from predict_shalimar import (
11
+ build_model_inputs,
12
+ aggregate_physics_for_tokens,
13
+ expand_naturals_for_vle,
14
+ map_ingredients_to_cas,
15
+ parse_formula,
16
+ load_pimt_checkpoint,
17
+ HARDCODED_CAS,
18
+ )
19
+ from pino.registry import AromaRegistry
20
+ from pino.embeddings import OlfactoryEmbeddingEngine
21
+ from pino.verifier import FragrancePipelineVerifier
22
+
23
+
24
+ def main():
25
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
26
+ pdf_path = "/home/hermes/.hermes/cache/documents/doc_fa4254a05dd7_SHALIMAR_1990.pdf"
27
+
28
+ import fitz
29
+
30
+ doc = fitz.open(pdf_path)
31
+ text = "\n".join(page.get_text() for page in doc)
32
+ doc.close()
33
+
34
+ formula = parse_formula(text)
35
+ registry = AromaRegistry()
36
+ mapped = map_ingredients_to_cas(formula, registry)
37
+
38
+ semantic_recipe = []
39
+ total = 0.0
40
+ for name, (cas, qty) in mapped.items():
41
+ if "dipropylene glycol" in name.lower() or not cas:
42
+ continue
43
+ semantic_recipe.append({"cas": cas, "weight_fraction": qty})
44
+ total += qty
45
+ for item in semantic_recipe:
46
+ item["weight_fraction"] /= total
47
+
48
+ vle_recipe = expand_naturals_for_vle(semantic_recipe)
49
+ verifier = FragrancePipelineVerifier()
50
+ result = verifier.run_sim(vle_recipe, duration_seconds=8 * 3600, interval_seconds=600, skip_ifra=True)
51
+ if result["status"] != "passed":
52
+ print("Simulation failed")
53
+ return
54
+
55
+ engine = OlfactoryEmbeddingEngine()
56
+ tokens = build_model_inputs(semantic_recipe, registry, engine).to(device)
57
+ physics, _ = aggregate_physics_for_tokens(result["trajectory"], semantic_recipe)
58
+ physics_t = torch.from_numpy(physics).unsqueeze(0).float().to(device)
59
+ mask = torch.zeros(1, tokens.size(1), dtype=torch.bool, device=device)
60
+
61
+ model, heads, _ = load_pimt_checkpoint()
62
+ model.to(device)
63
+ heads.to(device)
64
+
65
+ activations = {}
66
+
67
+ def make_hook(name):
68
+ def fn(m, i, o):
69
+ activations[name] = o.detach() if not isinstance(o, tuple) else o[0].detach()
70
+ return fn
71
+
72
+ model.gating.register_forward_hook(make_hook("film"))
73
+ model.encoder.register_forward_hook(make_hook("encoder"))
74
+
75
+ with torch.no_grad():
76
+ latent = model(tokens, physics_t, src_key_padding_mask=mask)
77
+ output = heads(latent)
78
+
79
+ print(f"tokens shape: {tokens.shape}")
80
+ print(f"physics shape: {physics_t.shape}")
81
+ print(f"physics per-channel mean time-variance: {physics_t[0].var(dim=0).mean(dim=0).cpu().numpy()}")
82
+ print(f"latent shape: {latent.shape}")
83
+ print(f"latent mean per-token time-variance: {latent[0].var(dim=0).mean().item():.6e}")
84
+ print(f"latent max per-token time-variance: {latent[0].var(dim=0).max().item():.6e}")
85
+ for k in ["film", "encoder"]:
86
+ v = activations[k]
87
+ print(f"{k} shape: {v.shape}")
88
+ print(f" mean per-token time-variance: {v[0].var(dim=0).mean().item():.6e}")
89
+ print(f" max per-token time-variance: {v[0].var(dim=0).max().item():.6e}")
90
+ obj = output["objective"]
91
+ print(f"objective shape: {obj.shape}")
92
+ print(f" mean per-dim time-variance: {obj[0].var(dim=0).mean().item():.6e}")
93
+ print(f" max per-dim time-variance: {obj[0].var(dim=0).max().item():.6e}")
94
+
95
+
96
+ if __name__ == "__main__":
97
+ main()
scripts/find_max_variance_sample.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json, numpy as np
2
+ import sys
3
+ sys.path.insert(0, 'src')
4
+ from pino.thermo.naturals import NATURAL_PROFILES
5
+
6
+ records = []
7
+ with open('data/empirical_dataset_v1.jsonl') as f:
8
+ for line in f:
9
+ rec = json.loads(line)
10
+ if not rec.get('formula') or not rec.get('trajectory'):
11
+ continue
12
+ records.append(rec)
13
+ if len(records) >= 200:
14
+ break
15
+
16
+ max_variance = -1
17
+ best_rec = None
18
+ best_physics = None
19
+ for rec in records:
20
+ physics = np.zeros((len(rec['trajectory']), len(rec['formula']), 2), dtype=np.float32)
21
+ for t, step in enumerate(rec['trajectory']):
22
+ for j, comp in enumerate(rec['formula']):
23
+ name = comp.get('cas', f'ing_{j}')
24
+ x_liq = step['x_liquid'].get(name, 0.0)
25
+ oav = step['OAV'].get(name, 0.0)
26
+ physics[t, j, 0] = x_liq
27
+ physics[t, j, 1] = np.log10(max(oav, 1e-10))
28
+ # Compute total variance across time, summed over tokens and state dims
29
+ variance = np.sum(np.var(physics, axis=0))
30
+ if variance > max_variance:
31
+ max_variance = variance
32
+ best_rec = rec
33
+ best_physics = physics
34
+
35
+ print(f'Best sample total time variance: {max_variance:.6f}')
36
+ print(f'Formula tokens: {[i.get("cas") for i in best_rec["formula"]]}')
37
+ print(f'Physics shape: {best_physics.shape}')
38
+ print(f'x_liquid range: {best_physics[:,:,0].min():.4f} to {best_physics[:,:,0].max():.4f}')
39
+ print(f'log10OAV range: {best_physics[:,:,1].min():.4f} to {best_physics[:,:,1].max():.4f}')
40
+
41
+ # Save best record index info for diagnostic script
42
+ import pickle
43
+ with open('/tmp/best_film_record.pkl', 'wb') as f:
44
+ pickle.dump({'record': best_rec, 'physics': best_physics}, f)
scripts/generate_empirical_bootstrap.py CHANGED
@@ -248,17 +248,36 @@ def _mixture_records(
248
  seed: int = 2026,
249
  natural_oil_fraction: float = 0.25,
250
  ) -> list[dict[str, Any]]:
251
- """Generate non-ideal multi-component mixture records."""
252
  random.seed(seed)
253
  np.random.seed(seed)
254
 
255
  verifier = FragrancePipelineVerifier()
256
  resolver = IngredientResolver(registry)
257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  valid_cas = [
259
  row["cas"]
260
  for row in registry.all_records().values()
261
  if row.get("smiles") and row.get("unifac_groups")
 
262
  ]
263
  if not valid_cas:
264
  raise RuntimeError("No valid chemicals with UNIFAC groups found in registry")
@@ -271,7 +290,24 @@ def _mixture_records(
271
  while len(records) < num_formulas and attempts < max_attempts:
272
  attempts += 1
273
  n_components = random.randint(3, 10)
274
- chosen_cas = random.sample(valid_cas, n_components)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
 
276
  # Optionally inject one or two natural complex substances.
277
  if natural_oil_cas and random.random() < natural_oil_fraction:
@@ -321,15 +357,14 @@ def _mixture_records(
321
 
322
  fingerprint = _formula_fingerprint(formula_list)
323
  formula_hash = hashlib.sha256(fingerprint.encode("utf-8")).hexdigest()[:16]
324
- strategy = random.choice(GENRES)
325
 
326
- composition = [{"cas": cas} for cas in expanded_ratios.keys()]
327
  record = _build_record(
328
  formula_id=f"EMPIRICAL_{formula_hash}",
329
  formula_list=formula_list,
330
  trajectory=trajectory,
331
  composition=composition,
332
- strategy=strategy,
333
  is_control=False,
334
  )
335
  records.append(record)
 
248
  seed: int = 2026,
249
  natural_oil_fraction: float = 0.25,
250
  ) -> list[dict[str, Any]]:
251
+ """Generate non-ideal multi-component mixture records with genre-aware sampling."""
252
  random.seed(seed)
253
  np.random.seed(seed)
254
 
255
  verifier = FragrancePipelineVerifier()
256
  resolver = IngredientResolver(registry)
257
 
258
+ # Load genre-aware ingredient pools
259
+ genre_pool_path = Path(__file__).parent.parent / "artifacts" / "genre_ingredient_pools.json"
260
+ if genre_pool_path.exists():
261
+ import json as _json
262
+ genre_data = _json.loads(genre_pool_path.read_text())
263
+ genre_pools = genre_data.get("ingredient_pools", {})
264
+ logger.info("Loaded genre-aware ingredient pools for %d genres", len(genre_pools))
265
+ else:
266
+ genre_pools = {}
267
+
268
+ # Load non-fragrance exclusion list
269
+ exclusion_path = Path(__file__).parent.parent / "artifacts" / "non_fragrance_exclusions.json"
270
+ excluded_cas: set[str] = set()
271
+ if exclusion_path.exists():
272
+ import json as _json2
273
+ excluded_cas = set(_json2.loads(exclusion_path.read_text()))
274
+ logger.info("Loaded %d non-fragrance exclusions", len(excluded_cas))
275
+
276
  valid_cas = [
277
  row["cas"]
278
  for row in registry.all_records().values()
279
  if row.get("smiles") and row.get("unifac_groups")
280
+ and row["cas"] not in excluded_cas
281
  ]
282
  if not valid_cas:
283
  raise RuntimeError("No valid chemicals with UNIFAC groups found in registry")
 
290
  while len(records) < num_formulas and attempts < max_attempts:
291
  attempts += 1
292
  n_components = random.randint(3, 10)
293
+
294
+ # Genre-aware ingredient selection
295
+ genre = random.choice(GENRES)
296
+ pool = genre_pools.get(genre)
297
+ if pool and len(pool) > n_components:
298
+ # Bias 70% of ingredients from genre pool, 30% from general pool
299
+ n_genre = max(1, int(n_components * 0.7))
300
+ n_general = n_components - n_genre
301
+ genre_cas = random.sample(pool, n_genre)
302
+ general_pool = [c for c in valid_cas if c not in set(genre_cas)]
303
+ if general_pool and n_general > 0:
304
+ general_cas = random.sample(general_pool, min(n_general, len(general_pool)))
305
+ chosen_cas = genre_cas + general_cas
306
+ else:
307
+ chosen_cas = genre_cas[:n_components]
308
+ random.shuffle(chosen_cas)
309
+ else:
310
+ chosen_cas = random.sample(valid_cas, n_components)
311
 
312
  # Optionally inject one or two natural complex substances.
313
  if natural_oil_cas and random.random() < natural_oil_fraction:
 
357
 
358
  fingerprint = _formula_fingerprint(formula_list)
359
  formula_hash = hashlib.sha256(fingerprint.encode("utf-8")).hexdigest()[:16]
 
360
 
361
+ composition = [{ "cas": cas} for cas in expanded_ratios.keys()]
362
  record = _build_record(
363
  formula_id=f"EMPIRICAL_{formula_hash}",
364
  formula_list=formula_list,
365
  trajectory=trajectory,
366
  composition=composition,
367
+ strategy=genre,
368
  is_control=False,
369
  )
370
  records.append(record)
scripts/generate_pyramid_targets.py ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Generate empirical_dataset_v4.jsonl with static 3-tier pyramid targets.
3
+
4
+ Each perfume record gets three binary 138-D vectors: top_notes, mid_notes,
5
+ base_notes. Ingredient descriptors are sourced in the same tier fallback order
6
+ as v3:
7
+
8
+ Tier 1: Pyrfume exact CAS -> descriptor vector.
9
+ Tier 2: Registry odor_description text -> vocabulary token matching.
10
+ Tier 3: Volatility fallback: ingredient is classified top/heart/base from
11
+ its OAV centroid, then assigned one of the canonical tier tokens.
12
+
13
+ The final tier vectors are summed per-record, L1-normalised, and binarised with
14
+ a percentile threshold so each record has a sparse but non-empty pyramid.
15
+ """
16
+ from __future__ import annotations
17
+
18
+ import argparse
19
+ import json
20
+ import re
21
+ from pathlib import Path
22
+ from typing import Any
23
+
24
+ import numpy as np
25
+
26
+ DESCRIPTOR_DIM = 138
27
+
28
+ # Canonical vocabulary tokens for each pyramid tier.
29
+ TOP_TOKENS = ["citrus", "green", "fresh", "fruity", "herbal"]
30
+ HEART_TOKENS = ["floral", "spicy", "clean", "aldehydic"]
31
+ BASE_TOKENS = ["woody", "amber", "musk", "vanilla", "balsamic", "animalic"]
32
+
33
+ # Lazy-loaded filtered descriptors (non-discriminative OpenPom descriptors removed).
34
+ _FILTERED_DESCS: dict[str, list[float]] | None = None
35
+
36
+
37
+ def _load_filtered_descs() -> None:
38
+ """Load pre-computed filtered descriptors from artifacts/."""
39
+ global _FILTERED_DESCS
40
+ from pathlib import Path
41
+ path = Path("artifacts/filtered_descriptors.json")
42
+ if path.exists():
43
+ import json as _json
44
+ _FILTERED_DESCS = _json.loads(path.read_text())
45
+ else:
46
+ _FILTERED_DESCS = {}
47
+
48
+
49
+ def load_vocab(path: Path) -> list[str]:
50
+ raw = json.loads(path.read_text())
51
+ if isinstance(raw, list):
52
+ return raw
53
+ if isinstance(raw, dict):
54
+ if "vocabulary" in raw:
55
+ return raw["vocabulary"]
56
+ return raw.get("descriptors", raw.get("vocab", list(raw.keys())))
57
+ raise ValueError(f"Unexpected vocab format in {path}")
58
+
59
+
60
+ def load_pyrfume_descriptors(path: Path) -> dict[str, list[float]]:
61
+ raw = json.loads(path.read_text())
62
+ return {k: v for k, v in raw.items()}
63
+
64
+
65
+ def tier_from_centroid(centroid: float) -> str:
66
+ if centroid < 16.0:
67
+ return "top"
68
+ if centroid < 33.0:
69
+ return "mid"
70
+ return "base"
71
+
72
+
73
+ def _normalize_cas_for_lookup(cas: str) -> str:
74
+ """Strip SMILES: and NATURAL: prefixes for descriptor lookups."""
75
+ if cas.startswith("NATURAL:"):
76
+ return cas.split(":", 1)[1]
77
+ return cas
78
+
79
+
80
+ def _openpom_descriptor_vector(cas: str, registry_rec: dict | None) -> np.ndarray | None:
81
+ """Return a 138-D descriptor vector from filtered OpenPom embedding.
82
+
83
+ Loads pre-computed filtered descriptors from artifacts/filtered_descriptors.json
84
+ which suppresses non-discriminative OpenPom descriptors (tomato, tropical,
85
+ vegetable, violet, weedy, winey, woody β€” all fire for >85% of chemicals).
86
+ """
87
+ global _FILTERED_DESCS
88
+ if _FILTERED_DESCS is None:
89
+ _load_filtered_descs()
90
+ if cas in _FILTERED_DESCS:
91
+ vec = np.array(_FILTERED_DESCS[cas], dtype=np.float32)
92
+ if vec.shape[0] == DESCRIPTOR_DIM and vec.sum() > 0:
93
+ return vec
94
+ return None
95
+
96
+
97
+ def build_descriptor_vector(cas: str, vocab: list[str], pyrfume_by_cas: dict, registry_rec: dict | None) -> np.ndarray:
98
+ """Return a 138-D descriptor vector for a single ingredient CAS.
99
+
100
+ Tries multiple lookup strategies:
101
+ Tier 1: Pyrfume exact CAS match (binary descriptors).
102
+ Tier 2: OpenPom predicted embedding (sigmoid + threshold).
103
+ Tier 3: Registry odor_description text matching.
104
+ Falls back to zero vector (Tier 3 canonical tokens applied at record level).
105
+ """
106
+ vec = np.zeros(DESCRIPTOR_DIM, dtype=np.float32)
107
+
108
+ # Tier 1: Pyrfume exact match (try raw CAS, then stripped NATURAL: prefix).
109
+ lookup_cas = _normalize_cas_for_lookup(cas)
110
+ if lookup_cas in pyrfume_by_cas:
111
+ row = np.array(pyrfume_by_cas[lookup_cas], dtype=np.float32)
112
+ if row.shape[0] == DESCRIPTOR_DIM:
113
+ return row
114
+
115
+ # Tier 2: OpenPom predicted embedding.
116
+ pom_vec = _openpom_descriptor_vector(cas, registry_rec)
117
+ if pom_vec is not None and pom_vec.sum() > 0:
118
+ return pom_vec
119
+
120
+ # Tier 3: registry odor_description text.
121
+ odor_text = ""
122
+ if registry_rec is not None:
123
+ odor_text = registry_rec.get("odor_description") or ""
124
+ if odor_text:
125
+ text_lower = odor_text.lower()
126
+ for i, token in enumerate(vocab):
127
+ if token.lower() in text_lower:
128
+ vec[i] = 1.0
129
+ if vec.sum() > 0:
130
+ return vec
131
+
132
+ # No descriptor available β€” Tier 3 canonical tokens applied at record level.
133
+ return vec
134
+
135
+
136
+ def classify_ingredient(cas: str, oav_series: np.ndarray, registry_rec: dict | None) -> str:
137
+ """Classify an ingredient as top/mid/base using volatility data when available.
138
+
139
+ Priority:
140
+ 1. OAV decay shape (primary, most physically meaningful).
141
+ 2. Vapor pressure (secondary, calibrated to real perfumery thresholds).
142
+ 3. Boiling point (tertiary).
143
+
144
+ VP thresholds calibrated against known top-note materials:
145
+ Citral (5392-40-5): VP=26.7 Pa β†’ top
146
+ Benzyl acetate: VP=23.6 Pa β†’ top
147
+ Linalyl acetate: VP=2.0 Pa β†’ mid (borderline top)
148
+ Limonene: VP=193 Pa β†’ top
149
+ Geraniol: VP=2.8 Pa β†’ mid
150
+ """
151
+ # --- Primary: OAV decay persistence ---
152
+ nonzero = oav_series[oav_series > 1e-12]
153
+ if len(nonzero) >= 3:
154
+ peak = nonzero.max()
155
+ end = nonzero[-1]
156
+ persistence = end / peak
157
+ if persistence < 0.20:
158
+ return "top"
159
+ if persistence < 0.65:
160
+ return "mid"
161
+ return "base"
162
+
163
+ # --- Secondary: Vapor pressure ---
164
+ vp = registry_rec.get("vapor_pressure_pa") if registry_rec else None
165
+ if vp is not None and vp > 0:
166
+ if vp >= 10.0:
167
+ return "top"
168
+ if vp >= 0.5:
169
+ return "mid"
170
+ return "base"
171
+
172
+ # --- Tertiary: Boiling point ---
173
+ bp = registry_rec.get("boiling_point_k") if registry_rec else None
174
+ if bp is not None and bp > 0:
175
+ if bp <= 430.0:
176
+ return "top"
177
+ if bp <= 520.0:
178
+ return "mid"
179
+ return "base"
180
+
181
+ # Ultimate fallback
182
+ return "base"
183
+
184
+
185
+ classify_ingredient_by_oav = classify_ingredient # backward compatibility
186
+
187
+
188
+ def build_pyramid_targets(record: dict[str, Any], vocab: list[str], pyrfume_by_cas: dict, registry: Any | None) -> np.ndarray:
189
+ """Return (3, 138) float tier vectors [top, mid, base] for a record."""
190
+ tiers = {"top": np.zeros(DESCRIPTOR_DIM, dtype=np.float32),
191
+ "mid": np.zeros(DESCRIPTOR_DIM, dtype=np.float32),
192
+ "base": np.zeros(DESCRIPTOR_DIM, dtype=np.float32)}
193
+
194
+ formula = record.get("formula", [])
195
+ trajectory = record.get("trajectory", [])
196
+
197
+ registry_recs: dict[str, Any] = {}
198
+
199
+ for comp in formula:
200
+ cas = comp.get("cas", "")
201
+ if not cas:
202
+ continue
203
+
204
+ registry_rec = None
205
+ if registry is not None:
206
+ if cas not in registry_recs:
207
+ try:
208
+ registry_recs[cas] = registry.get(cas)
209
+ except Exception:
210
+ registry_recs[cas] = None
211
+ registry_rec = registry_recs[cas]
212
+
213
+ # Base descriptor vector (Tier 1 or Tier 2).
214
+ d_vec = build_descriptor_vector(cas, vocab, pyrfume_by_cas, registry_rec)
215
+
216
+ # Determine volatility tier.
217
+ oav_series = np.zeros(len(trajectory), dtype=np.float32)
218
+ for t, step in enumerate(trajectory):
219
+ oav_series[t] = step.get("OAV", {}).get(cas, 0.0)
220
+ tier = classify_ingredient(cas, oav_series, registry_rec)
221
+
222
+ # If Tier 1/2 gave a descriptor profile, add it to the tier.
223
+ if d_vec.sum() > 0:
224
+ tiers[tier] += d_vec * comp.get("weight_fraction", 1.0)
225
+ else:
226
+ # Tier 3 volatility fallback: assign the canonical tokens for this tier.
227
+ tier_tokens = TOP_TOKENS if tier == "top" else (HEART_TOKENS if tier == "mid" else BASE_TOKENS)
228
+ for token in tier_tokens:
229
+ if token in vocab:
230
+ idx = vocab.index(token)
231
+ tiers[tier][idx] = max(tiers[tier][idx], comp.get("weight_fraction", 1.0))
232
+
233
+ pyramid = np.stack([tiers["top"], tiers["mid"], tiers["base"]], axis=0)
234
+
235
+ # Per-tier binarization: keep descriptors above a lower percentile threshold
236
+ # to improve tier fill rate (was 50th β†’ now 25th percentile).
237
+ # Also cap the number of active descriptors per tier to prevent base overload.
238
+ MAX_DESCS_PER_TIER = 20
239
+ MIN_THRESHOLD = 0.01 # absolute floor on weighted contribution
240
+
241
+ for i in range(3):
242
+ tier_vec = pyramid[i]
243
+ non_zero = tier_vec[tier_vec > MIN_THRESHOLD]
244
+ if non_zero.size == 0:
245
+ # Try lower threshold
246
+ non_zero = tier_vec[tier_vec > 0]
247
+ if non_zero.size == 0:
248
+ continue
249
+ threshold = max(np.percentile(non_zero, 25), non_zero.max() * 0.05)
250
+ binary = (tier_vec >= threshold).astype(np.float32)
251
+ # Cap at MAX_DESCS_PER_TIER by keeping the highest-weighted
252
+ active = np.where(binary > 0)[0]
253
+ if len(active) > MAX_DESCS_PER_TIER:
254
+ weights = tier_vec[active]
255
+ keep = active[np.argsort(weights)[::-1][:MAX_DESCS_PER_TIER]]
256
+ binary = np.zeros_like(binary)
257
+ binary[keep] = 1.0
258
+ pyramid[i] = binary
259
+
260
+ return pyramid
261
+
262
+
263
+ def main() -> None:
264
+ parser = argparse.ArgumentParser()
265
+ parser.add_argument("--input", default="data/empirical_dataset_v3.jsonl")
266
+ parser.add_argument("--output", default="data/empirical_dataset_v4.jsonl")
267
+ parser.add_argument("--vocab", default="data/pyrfume_vocabulary.json")
268
+ parser.add_argument("--pyrfume", default="data/pyrfume_descriptors_by_cas.json")
269
+ parser.add_argument("--registry", default="src/pino/registry.db")
270
+ args = parser.parse_args()
271
+
272
+ vocab = load_vocab(Path(args.vocab))
273
+ assert len(vocab) == DESCRIPTOR_DIM, f"Expected {DESCRIPTOR_DIM} vocab items, got {len(vocab)}"
274
+ pyrfume_by_cas = load_pyrfume_descriptors(Path(args.pyrfume))
275
+
276
+ # Lazy registry import; rdkit may not be available in all environments.
277
+ try:
278
+ from pino.registry import AromaRegistry
279
+ registry = AromaRegistry(path=args.registry)
280
+ except Exception as exc:
281
+ print(f"Warning: could not load AromaRegistry ({exc}); using Tier 1/3 only")
282
+ registry = None
283
+
284
+ out_path = Path(args.output)
285
+ out_path.parent.mkdir(parents=True, exist_ok=True)
286
+
287
+ # Load vocabulary for formula-derived psychometric targets
288
+ from pino.semantics import compute_formula_psychometric_targets
289
+
290
+ with open(args.input, "r") as fin, open(out_path, "w") as fout:
291
+ for line in fin:
292
+ record = json.loads(line)
293
+ pyramid = build_pyramid_targets(record, vocab, pyrfume_by_cas, registry)
294
+ record["pyramid_targets"] = pyramid.tolist()
295
+ # Recompute psychometric targets from the pyramid (formula-derived, not genre-locked)
296
+ formula = record.get("formula", [])
297
+ psychometric = compute_formula_psychometric_targets(formula, pyramid, vocab)
298
+ record["psychometric_targets"] = psychometric.tolist()
299
+ fout.write(json.dumps(record) + "\n")
300
+
301
+ if registry is not None:
302
+ registry.close()
303
+
304
+ print(f"Wrote {out_path}")
305
+
306
+
307
+ if __name__ == "__main__":
308
+ main()
scripts/predict_shalimar.py CHANGED
@@ -222,7 +222,7 @@ def load_pimt_checkpoint() -> tuple[PhysicsInformedMixtureTransformer, PIMTHeads
222
  if not checkpoint_path.exists():
223
  hf_hub_download(
224
  repo_id="mattbitzesty/pino-pimt-checkpoint",
225
- filename="pimt_v5.pt",
226
  repo_type="model",
227
  local_dir="models",
228
  )
@@ -312,7 +312,7 @@ def run_sensitivity_backtest(
312
 
313
  with torch.no_grad():
314
  latent = model(tokens, physics_t, src_key_padding_mask=mask)
315
- output = heads(latent)
316
  obj_last = output["objective"][:, 0, :].mean().item()
317
  wear = output["subjective"]["wearability"][0].cpu().numpy()
318
  results.append((delta, obj_last, wear[0], wear[1]))
@@ -329,7 +329,7 @@ def run_sensitivity_backtest(
329
  dummy_physics = torch.zeros(1, 10, 1, 2, device=device)
330
  dummy_mask = torch.zeros(1, 1, dtype=torch.bool, device=device)
331
  latent = model(scaled_embedding, dummy_physics, src_key_padding_mask=dummy_mask)
332
- output = heads(latent)
333
  loss = output["objective"].mean() + output["subjective"]["wearability"].sum()
334
  grad = torch.autograd.grad(loss, weight_param)[0]
335
  print(f" d(loss)/d(Bergamot weight) = {grad.item():.6f}")
@@ -406,7 +406,7 @@ def main() -> None:
406
 
407
  with torch.no_grad():
408
  latent = model(tokens.to(device), physics_t.to(device), src_key_padding_mask=mask.to(device))
409
- output = heads(latent)
410
 
411
  pyramid = output["objective"].cpu().numpy() # (1, 3, 138)
412
  sub = output["subjective"]
 
222
  if not checkpoint_path.exists():
223
  hf_hub_download(
224
  repo_id="mattbitzesty/pino-pimt-checkpoint",
225
+ filename="pimt_v6.pt", # Updated for v6 concentration-aware head
226
  repo_type="model",
227
  local_dir="models",
228
  )
 
312
 
313
  with torch.no_grad():
314
  latent = model(tokens, physics_t, src_key_padding_mask=mask)
315
+ output = heads(latent, physics_t, mask)
316
  obj_last = output["objective"][:, 0, :].mean().item()
317
  wear = output["subjective"]["wearability"][0].cpu().numpy()
318
  results.append((delta, obj_last, wear[0], wear[1]))
 
329
  dummy_physics = torch.zeros(1, 10, 1, 2, device=device)
330
  dummy_mask = torch.zeros(1, 1, dtype=torch.bool, device=device)
331
  latent = model(scaled_embedding, dummy_physics, src_key_padding_mask=dummy_mask)
332
+ output = heads(latent, dummy_physics, dummy_mask)
333
  loss = output["objective"].mean() + output["subjective"]["wearability"].sum()
334
  grad = torch.autograd.grad(loss, weight_param)[0]
335
  print(f" d(loss)/d(Bergamot weight) = {grad.item():.6f}")
 
406
 
407
  with torch.no_grad():
408
  latent = model(tokens.to(device), physics_t.to(device), src_key_padding_mask=mask.to(device))
409
+ output = heads(latent, physics_t.to(device), mask.to(device))
410
 
411
  pyramid = output["objective"].cpu().numpy() # (1, 3, 138)
412
  sub = output["subjective"]
scripts/regenerate_trajectories.py ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Regenerate VLE trajectories for existing formulas using the fixed registry.
3
+
4
+ Re-runs the FragrancePipelineVerifier on every record's formula and replaces
5
+ the trajectory with the new physics (non-zero OAVs for all chemicals).
6
+
7
+ Usage:
8
+ python scripts/regenerate_trajectories.py \
9
+ --input data/empirical_dataset_v4.jsonl \
10
+ --output data/empirical_dataset_v5.jsonl
11
+ """
12
+ from __future__ import annotations
13
+
14
+ import argparse
15
+ import json
16
+ import logging
17
+ import sys
18
+ import time
19
+ from pathlib import Path
20
+ from typing import Any
21
+
22
+ import numpy as np
23
+
24
+ from pino.verifier import FragrancePipelineVerifier
25
+ # Import from generate_empirical_bootstrap (where the function is defined)
26
+ import sys as _sys
27
+ _sys.path.insert(0, str(Path(__file__).parent))
28
+ from generate_empirical_bootstrap import expand_naturals_to_cas_ratios
29
+
30
+ logger = logging.getLogger("pino.regen_traj")
31
+
32
+
33
+ def regenerate_trajectory(
34
+ record: dict[str, Any],
35
+ verifier: FragrancePipelineVerifier,
36
+ duration: float = 28800.0,
37
+ interval: float = 600.0,
38
+ ) -> dict[str, Any]:
39
+ """Re-simulate VLE for a record's formula and update the trajectory."""
40
+ formula = record.get("formula", [])
41
+ if not formula:
42
+ return record
43
+
44
+ # Build formula list for the verifier (CAS + weight_fraction only)
45
+ formula_list = [
46
+ {"cas": comp.get("cas", ""), "weight_fraction": comp.get("weight_fraction", 1.0)}
47
+ for comp in formula
48
+ ]
49
+
50
+ # Expand natural oils
51
+ expanded = expand_naturals_to_cas_ratios(formula_list)
52
+ if not expanded:
53
+ # Fallback: try without expansion
54
+ expanded_formula = formula_list
55
+ else:
56
+ expanded_formula = [{"cas": k, "weight_fraction": v} for k, v in expanded.items()]
57
+
58
+ try:
59
+ result = verifier.run_sim(
60
+ expanded_formula,
61
+ duration_seconds=duration,
62
+ interval_seconds=interval,
63
+ skip_ifra=True,
64
+ )
65
+ except Exception as exc:
66
+ logger.warning("Simulation failed for %s: %s", record.get("formula_id", "?"), exc)
67
+ return record
68
+
69
+ if result.get("status") not in ("passed", "Status.PASSED", "depleted"):
70
+ logger.debug("Sim rejected for %s: %s", record.get("formula_id", "?"), result.get("message"))
71
+ return record
72
+
73
+ new_traj = result.get("trajectory", [])
74
+ if new_traj:
75
+ record["trajectory"] = new_traj
76
+
77
+ return record
78
+
79
+
80
+ def main():
81
+ parser = argparse.ArgumentParser(description="Regenerate VLE trajectories with fixed registry")
82
+ parser.add_argument("--input", default="data/empirical_dataset_v4.jsonl")
83
+ parser.add_argument("--output", default="data/empirical_dataset_v5.jsonl")
84
+ parser.add_argument("--duration", type=float, default=28800.0)
85
+ parser.add_argument("--interval", type=float, default=600.0)
86
+ parser.add_argument("--limit", type=int, default=None, help="Process only first N records (debug)")
87
+ args = parser.parse_args()
88
+
89
+ logging.basicConfig(
90
+ level=logging.INFO,
91
+ format="%(asctime)s %(levelname)s %(name)s: %(message)s",
92
+ )
93
+
94
+ verifier = FragrancePipelineVerifier()
95
+
96
+ input_path = Path(args.input)
97
+ output_path = Path(args.output)
98
+ output_path.parent.mkdir(parents=True, exist_ok=True)
99
+
100
+ # Count lines
101
+ with open(input_path) as f:
102
+ total = sum(1 for _ in f)
103
+ if args.limit:
104
+ total = min(total, args.limit)
105
+ logger.info("Processing %d records from %s", total, input_path)
106
+
107
+ t0 = time.time()
108
+ processed = 0
109
+ updated = 0
110
+ failed = 0
111
+
112
+ with open(input_path) as fin, open(output_path, "w") as fout:
113
+ for line in fin:
114
+ if args.limit and processed >= args.limit:
115
+ break
116
+
117
+ record = json.loads(line)
118
+ old_traj = record.get("trajectory", [])
119
+
120
+ try:
121
+ record = regenerate_trajectory(
122
+ record, verifier, args.duration, args.interval
123
+ )
124
+ new_traj = record.get("trajectory", [])
125
+
126
+ if new_traj != old_traj:
127
+ updated += 1
128
+ processed += 1
129
+ except Exception as exc:
130
+ logger.warning("Failed on record %d: %s", processed, exc)
131
+ failed += 1
132
+
133
+ fout.write(json.dumps(record, ensure_ascii=False) + "\n")
134
+
135
+ if processed % 500 == 0:
136
+ elapsed = time.time() - t0
137
+ rate = processed / max(elapsed, 0.01)
138
+ eta = (total - processed) / max(rate, 0.01)
139
+ logger.info(
140
+ "Progress: %d/%d (%.1f%%) | updated=%d | failed=%d | %.1f rec/s | ETA: %.0fs",
141
+ processed, total, 100 * processed / total,
142
+ updated, failed, rate, eta,
143
+ )
144
+
145
+ elapsed = time.time() - t0
146
+ logger.info(
147
+ "Done: %d processed, %d updated, %d failed in %.1fs (%.1f rec/s)",
148
+ processed, updated, failed, elapsed, processed / max(elapsed, 0.01),
149
+ )
150
+ print(f"βœ… Wrote {processed} records to {output_path}")
151
+
152
+
153
+ if __name__ == "__main__":
154
+ main()
scripts/verify_synergistic_head.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Verify the SynergisticObjectiveHead preserves time-varying signal and gradients.
3
+
4
+ Checks:
5
+ 1. Encoder output variance across time is > 1e-3 (not collapsed).
6
+ 2. Objective head output variance across time is > 1e-3.
7
+ 3. Perturbing a high-volatility ingredient changes the attention distribution and
8
+ produces a non-zero gradient on the objective output.
9
+ """
10
+ from __future__ import annotations
11
+
12
+ import sys
13
+ from pathlib import Path
14
+
15
+ import numpy as np
16
+ import torch
17
+
18
+ SRC = Path(__file__).resolve().parents[1] / "src"
19
+ sys.path.insert(0, str(SRC))
20
+
21
+ from pino.heads import PIMTHeads
22
+ from pino.pimt_model import PhysicsInformedMixtureTransformer
23
+
24
+
25
+ def _make_synthetic_batch(
26
+ bsz: int = 2,
27
+ t_steps: int = 16,
28
+ seq_len: int = 8,
29
+ embedding_dim: int = 151,
30
+ hidden_dim: int = 64,
31
+ ) -> tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
32
+ """Build a synthetic batch with time-varying OAV."""
33
+ tokens = torch.randn(bsz, seq_len, embedding_dim)
34
+ # OAV: first few ingredients are top notes (high early, low late),
35
+ # last few are base notes (low early, high late).
36
+ states = torch.zeros(bsz, t_steps, seq_len, 2)
37
+ for t in range(t_steps):
38
+ frac = t / (t_steps - 1)
39
+ for s in range(seq_len):
40
+ if s < seq_len // 2:
41
+ # Top note: high OAV early, exponential decay.
42
+ oav = 10.0 ** (1.0 - 3.0 * frac)
43
+ else:
44
+ # Base note: OAV rises late.
45
+ oav = 10.0 ** (-2.0 + 2.0 * frac)
46
+ states[:, t, s, 0] = 1.0 / seq_len # x_liquid
47
+ states[:, t, s, 1] = np.log10(oav) # log10_OAV
48
+
49
+ mask = torch.zeros(bsz, seq_len, dtype=torch.bool)
50
+ return tokens, states, mask
51
+
52
+
53
+ def main() -> None:
54
+ device = torch.device("cpu")
55
+ embedding_dim = 151
56
+ hidden_dim = 64
57
+ state_dim = 2
58
+
59
+ model = PhysicsInformedMixtureTransformer(
60
+ embedding_dim=embedding_dim,
61
+ state_dim=state_dim,
62
+ hidden_dim=hidden_dim,
63
+ num_heads=2,
64
+ num_layers=2,
65
+ ).to(device)
66
+ heads = PIMTHeads(hidden_dim=hidden_dim, objective_dim=138).to(device)
67
+
68
+ tokens, states, mask = _make_synthetic_batch(hidden_dim=hidden_dim)
69
+ tokens = tokens.to(device)
70
+ states = states.to(device)
71
+ mask = mask.to(device)
72
+
73
+ # Forward pass.
74
+ latent = model(tokens, states, src_key_padding_mask=mask)
75
+ pred = heads(latent, states=states, src_key_padding_mask=mask)
76
+ objective = pred["objective"] # (B, T, 138)
77
+
78
+ # Variance checks.
79
+ latent_var = latent.var(dim=1).mean().item()
80
+ obj_var = objective.var(dim=1).mean().item()
81
+ print(f"Latent variance across time: {latent_var:.6e}")
82
+ print(f"Objective variance across time: {obj_var:.6e}")
83
+ assert latent_var > 1e-3, f"Latent variance collapsed: {latent_var}"
84
+ # The objective head may be near-static with random weights; the critical
85
+ # requirement is that the latent representation is time-varying and that
86
+ # gradients flow through the head when it is trained. We check objective
87
+ # variance after a few training steps below.
88
+
89
+ # Train for a handful of steps to make the head sensitive to physics.
90
+ t_steps = states.size(1)
91
+ optimizer = torch.optim.AdamW(list(model.parameters()) + list(heads.parameters()), lr=1e-3)
92
+ target = torch.zeros_like(objective)
93
+ for t in range(t_steps):
94
+ # Top-note descriptors should be high early, base-note descriptors late.
95
+ target[:, t, 0] = 1.0 - t / (t_steps - 1)
96
+ target[:, t, 1] = t / (t_steps - 1)
97
+ for _ in range(50):
98
+ optimizer.zero_grad()
99
+ latent = model(tokens, states, src_key_padding_mask=mask)
100
+ pred = heads(latent, states=states, src_key_padding_mask=mask)
101
+ loss = torch.nn.functional.mse_loss(pred["objective"], target)
102
+ loss.backward()
103
+ optimizer.step()
104
+
105
+ with torch.no_grad():
106
+ latent = model(tokens, states, src_key_padding_mask=mask)
107
+ pred = heads(latent, states=states, src_key_padding_mask=mask)
108
+ obj_var = pred["objective"].var(dim=1).mean().item()
109
+ print(f"Objective variance after quick training: {obj_var:.6e}")
110
+ assert obj_var > 1e-3, f"Objective variance collapsed after training: {obj_var}"
111
+
112
+ # Gradient check: perturb high-volatility input (ingredient 0, mass fraction).
113
+ tokens_pert = tokens.clone()
114
+ states_pert = states.clone()
115
+ # Increase mass fraction of the first (top-note) ingredient.
116
+ states_pert[:, :, 0, 0] += 0.20
117
+ states_pert.requires_grad_(True)
118
+
119
+ model.zero_grad()
120
+ latent_pert = model(tokens_pert, states_pert, src_key_padding_mask=mask)
121
+ pred_pert = heads(latent_pert, states=states_pert, src_key_padding_mask=mask)
122
+ obj_mean = pred_pert["objective"].mean()
123
+ obj_mean.backward()
124
+
125
+ assert states_pert.grad is not None, "No gradient flowed to states"
126
+ grad_norm = states_pert.grad.norm().item()
127
+ print(f"Gradient norm on states: {grad_norm:.6e}")
128
+ assert grad_norm > 1e-8, f"Gradient norm too small: {grad_norm}"
129
+
130
+ print("All SynergisticObjectiveHead verification checks passed.")
131
+
132
+
133
+ if __name__ == "__main__":
134
+ main()
src/pino/evaporation.py CHANGED
@@ -204,10 +204,14 @@ class EvaporationModel:
204
  )
205
 
206
  def _oav(self, x: np.ndarray, C_gas: np.ndarray) -> np.ndarray:
207
- """Odor Activity Value = C_gas_i / odor_threshold_i (ug/m3)."""
 
 
 
 
208
  thresholds = np.array(
209
  [i.odor_threshold_ug_m3 or np.nan for i in self.formula.ingredients],
210
  dtype=float,
211
  )
212
  with np.errstate(divide="ignore", invalid="ignore"):
213
- return np.where(thresholds > 0, C_gas / thresholds, 0.0)
 
204
  )
205
 
206
  def _oav(self, x: np.ndarray, C_gas: np.ndarray) -> np.ndarray:
207
+ """Odor Activity Value = C_gas_i / odor_threshold_i.
208
+
209
+ C_gas is in mg/mΒ³. odor_threshold_ug_m3 is in Β΅g/mΒ³.
210
+ Convert C_gas to Β΅g/mΒ³ (Γ—1000) before dividing so the units match.
211
+ """
212
  thresholds = np.array(
213
  [i.odor_threshold_ug_m3 or np.nan for i in self.formula.ingredients],
214
  dtype=float,
215
  )
216
  with np.errstate(divide="ignore", invalid="ignore"):
217
+ return np.where(thresholds > 0, (C_gas * 1000.0) / thresholds, 0.0)
src/pino/heads.py CHANGED
@@ -1,43 +1,237 @@
1
- """PIMT classification heads.
2
 
3
- The model predicts three static pyramid tiers (top, middle, base notes) rather
4
- than a 49-step time trajectory. This matches the way fragrance data is
5
- actually catalogued (the scent pyramid) and removes the degenerate time axis
6
- that was collapsing the model.
 
 
 
 
 
 
7
  """
8
  from __future__ import annotations
9
 
 
 
 
10
  from typing import Any
11
 
12
  import torch
13
  import torch.nn as nn
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
 
 
15
 
16
- class PyramidOdorHead(nn.Module):
17
- """Three parallel multi-label heads for top, middle, and base descriptors.
 
 
18
 
19
- Input: pooled token representation (B, E).
20
- Output: (B, 3, 138) with sigmoid probabilities for [top, mid, base].
21
  """
22
 
23
- def __init__(self, embedding_dim: int, output_dim: int = 138) -> None:
 
 
 
 
 
 
24
  super().__init__()
25
- self.top_head = nn.Linear(embedding_dim, output_dim)
26
- self.mid_head = nn.Linear(embedding_dim, output_dim)
27
- self.base_head = nn.Linear(embedding_dim, output_dim)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
- def forward(self, x: torch.Tensor) -> torch.Tensor:
30
- # x: (B, T, S, E) from the transformer encoder. Pool over both time and
31
- # molecules to get a single formula representation.
32
- latent = x.mean(dim=(1, 2)) # (B, E)
33
- top = torch.nn.functional.sigmoid(self.top_head(latent))
34
- mid = torch.nn.functional.sigmoid(self.mid_head(latent))
35
- base = torch.nn.functional.sigmoid(self.base_head(latent))
36
- return torch.stack([top, mid, base], dim=1) # (B, 3, 138)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
 
39
  class PIMTHeads(nn.Module):
40
- """Container for the pyramid objective head and the existing subjective heads."""
 
 
 
 
41
 
42
  def __init__(
43
  self,
@@ -45,32 +239,63 @@ class PIMTHeads(nn.Module):
45
  objective_dim: int = 138,
46
  seasonality_classes: int = 4,
47
  wearability_classes: int = 2,
 
48
  ) -> None:
49
  super().__init__()
50
- self.objective_head = PyramidOdorHead(hidden_dim, objective_dim)
 
 
51
 
52
- # Subjective heads remain unchanged.
53
  self.seasonality_head = nn.Linear(hidden_dim, seasonality_classes)
54
  self.gender_head = nn.Linear(hidden_dim, 1)
55
  self.wearability_head = nn.Linear(hidden_dim, wearability_classes)
56
 
57
- def forward(self, latent: torch.Tensor) -> dict[str, Any]:
58
- # latent: (B, S, E) from the transformer encoder.
59
- pyramid = self.objective_head(latent) # (B, 3, 138)
60
-
61
- # Alignment head: a unified 138-D descriptor profile that is the mean of
62
- # the predicted pyramid tiers. This keeps the dense cosine-alignment loss
63
- # without adding extra parameters.
64
- pooled = latent.mean(dim=(1, 2)) # (B, E)
65
- alignment = torch.stack([
66
- self.objective_head.top_head(pooled),
67
- self.objective_head.mid_head(pooled),
68
- self.objective_head.base_head(pooled),
69
- ], dim=1).mean(dim=1) # (B, 138)
70
- alignment = torch.sigmoid(alignment)
71
- seasonality = self.seasonality_head(pooled)
72
- gender = self.gender_head(pooled)
73
- wearability = self.wearability_head(pooled)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
  return {
76
  "objective": pyramid,
@@ -80,4 +305,9 @@ class PIMTHeads(nn.Module):
80
  "wearability": wearability,
81
  },
82
  "alignment": alignment,
 
 
 
 
 
83
  }
 
1
+ """PIMT classification heads β€” v6 ConcentrationAwarePyramidHead.
2
 
3
+ The model predicts three static pyramid tiers (top, middle, base notes) using
4
+ physics-informed concentration routing. Each tier pools token representations
5
+ weighted by OAV-based routing scores, so that top notes are dominated by
6
+ high-volatility ingredients and base notes by low-volatility ingredients.
7
+
8
+ Key design decisions (from v6 spec):
9
+ (a) Temperature-controlled routing softmax with learnable per-tier temperature.
10
+ (b) Physics-as-bias: routing = learned_attention + log_OAV / tau (init at pure physics).
11
+ (c) Scalar conditioning via 2-layer MLP (not raw concatenation).
12
+ (d) Complete padding hygiene with NaN guards.
13
  """
14
  from __future__ import annotations
15
 
16
+ import json
17
+ import math
18
+ from pathlib import Path
19
  from typing import Any
20
 
21
  import torch
22
  import torch.nn as nn
23
+ import torch.nn.functional as F
24
+
25
+
26
+ def _load_scalar_stats(path: str = "artifacts/scalar_stats_v1.json") -> dict[str, dict[str, float]]:
27
+ """Load training-set scalar statistics for standardization."""
28
+ p = Path(path)
29
+ if p.exists():
30
+ return json.loads(p.read_text())
31
+ # Fallback defaults
32
+ return {
33
+ "log10_oav_sum": {"mean": 35.0, "std": 21.5},
34
+ "x_liquid_sum": {"mean": 1.0, "std": 0.08},
35
+ }
36
+
37
 
38
+ class ConcentrationAwarePyramidHead(nn.Module):
39
+ """Three-tier pyramid head with physics-informed concentration routing.
40
 
41
+ Input:
42
+ latent: (B, S, H) β€” per-token hidden states from the transformer (time already pooled).
43
+ physics: (B, S, 2) β€” per-token physics states [x_liquid, log10(OAV)].
44
+ src_key_padding_mask: (B, S) β€” True for padding positions.
45
 
46
+ Output: (B, 3, 138) sigmoid probabilities for [top, mid, base].
 
47
  """
48
 
49
+ def __init__(
50
+ self,
51
+ hidden_dim: int,
52
+ output_dim: int = 138,
53
+ scalar_stats: dict[str, dict[str, float]] | None = None,
54
+ scalar_embed_dim: int = 16,
55
+ ) -> None:
56
  super().__init__()
57
+ self.hidden_dim = hidden_dim
58
+ self.output_dim = output_dim
59
+
60
+ # Load scalar standardization constants
61
+ if scalar_stats is None:
62
+ scalar_stats = _load_scalar_stats()
63
+ oav_stats = scalar_stats.get("log10_oav_sum", {"mean": 35.0, "std": 21.5})
64
+ xliq_stats = scalar_stats.get("x_liquid_sum", {"mean": 1.0, "std": 0.08})
65
+ self.register_buffer("oav_mean", torch.tensor(oav_stats["mean"], dtype=torch.float32))
66
+ self.register_buffer("oav_std", torch.tensor(max(oav_stats["std"], 1e-6), dtype=torch.float32))
67
+ self.register_buffer("xliq_mean", torch.tensor(xliq_stats["mean"], dtype=torch.float32))
68
+ self.register_buffer("xliq_std", torch.tensor(max(xliq_stats["std"], 1e-6), dtype=torch.float32))
69
+
70
+ # (a) Learnable per-tier temperature for routing softmax.
71
+ # Init tau=1.0, clamp to [0.1, 10].
72
+ self.log_tau = nn.Parameter(torch.zeros(3)) # log(1.0) = 0
73
+
74
+ # (b) Physics-as-bias: learned attention projection (init at zero = pure physics).
75
+ self.attn_proj = nn.Linear(hidden_dim, 1, bias=False)
76
+ nn.init.zeros_(self.attn_proj.weight) # Start at pure-physics routing
77
+
78
+ # (c) Scalar conditioning MLP: [standardized log10(Ξ£OAV), standardized Ξ£x_liquid] β†’ 16-D.
79
+ self.scalar_mlp = nn.Sequential(
80
+ nn.Linear(2, scalar_embed_dim),
81
+ nn.GELU(),
82
+ nn.Linear(scalar_embed_dim, scalar_embed_dim),
83
+ )
84
+
85
+ # Tier-specific linear heads that take the routed pooled vector + scalar embedding.
86
+ pooled_dim = hidden_dim + scalar_embed_dim
87
+ self.top_head = nn.Linear(pooled_dim, output_dim)
88
+ self.mid_head = nn.Linear(pooled_dim, output_dim)
89
+ self.base_head = nn.Linear(pooled_dim, output_dim)
90
+
91
+ # Tier-specific scalar stats for routing (which OAV snapshot to use)
92
+ # We use three time-window OAV summaries. For now, they share the overall stats.
93
+ # The routing is per-token: each token gets a routing weight per tier.
94
+
95
+ def _compute_routing_weights(
96
+ self,
97
+ latent: torch.Tensor,
98
+ physics: torch.Tensor,
99
+ src_key_padding_mask: torch.Tensor,
100
+ ) -> torch.Tensor:
101
+ """Compute per-tier routing weights for each token.
102
+
103
+ Args:
104
+ latent: (B, S, H)
105
+ physics: (B, S, 2) β€” [x_liquid, log10(OAV)]
106
+ src_key_padding_mask: (B, S) β€” True for padding
107
+
108
+ Returns:
109
+ routing_weights: (B, 3, S) β€” per-tier softmax weights over tokens.
110
+ """
111
+ B, S, H = latent.shape
112
+
113
+ # Extract log10(OAV) per token (physics channel 1)
114
+ log_oav = physics[..., 1] # (B, S)
115
+
116
+ # (b) Learned attention score (init at zero β†’ pure physics at start)
117
+ attn_score = self.attn_proj(latent).squeeze(-1) # (B, S)
118
+
119
+ # Temperature: tau = exp(clamp(log_tau, -2.3, 2.3)) β†’ clamp tau to [0.1, 10]
120
+ tau = torch.exp(torch.clamp(self.log_tau, -2.303, 2.303)) # (3,)
121
+
122
+ routing_weights = []
123
+ for tier_idx in range(3):
124
+ # Routing logits = w * attn_score + log_oav / tau
125
+ # w is folded into attn_score (single learned weight per tier)
126
+ # For simplicity, attn_score is shared but tau differs per tier
127
+ logits = attn_score + log_oav / tau[tier_idx] # (B, S)
128
+
129
+ # (d) Mask padding with finfo.min (not hardcoded -1e9)
130
+ neg_mask_val = torch.finfo(logits.dtype).min
131
+ logits = logits.masked_fill(src_key_padding_mask, neg_mask_val)
132
+
133
+ # NaN guard: if ALL positions are masked (shouldn't happen), use uniform
134
+ all_masked = src_key_padding_mask.all(dim=1, keepdim=True) # (B, 1)
135
+ if all_masked.any():
136
+ # Replace fully-masked rows with uniform distribution
137
+ safe_logits = torch.zeros_like(logits)
138
+ safe_logits = safe_logits.masked_fill(src_key_padding_mask, neg_mask_val)
139
+ logits = torch.where(all_masked.expand_as(logits), safe_logits, logits)
140
+
141
+ weights = F.softmax(logits, dim=-1) # (B, S)
142
+ routing_weights.append(weights)
143
+
144
+ return torch.stack(routing_weights, dim=1) # (B, 3, S)
145
+
146
+ def _compute_intensity_scalars(
147
+ self,
148
+ physics: torch.Tensor,
149
+ src_key_padding_mask: torch.Tensor,
150
+ ) -> torch.Tensor:
151
+ """Compute standardized intensity scalars: [log10(Ξ£OAV), Ξ£x_liquid].
152
+
153
+ These are computed per-tier (using different OAV snapshots), but for now
154
+ we use the overall per-token physics.
155
+
156
+ Args:
157
+ physics: (B, S, 2) β€” [x_liquid, log10(OAV)]
158
+ src_key_padding_mask: (B, S)
159
 
160
+ Returns:
161
+ scalars: (B, 2) β€” standardized [log10(Ξ£OAV), Ξ£x_liquid]
162
+ """
163
+ B, S, _ = physics.shape
164
+
165
+ # Zero out padding in the sums
166
+ mask = (~src_key_padding_mask).float().unsqueeze(-1) # (B, S, 1)
167
+ masked_physics = physics * mask # (B, S, 2)
168
+
169
+ # Sum over tokens (axis 1)
170
+ log_oav_sum = masked_physics[..., 1].sum(dim=1) # (B,)
171
+ x_liq_sum = masked_physics[..., 0].sum(dim=1) # (B,)
172
+
173
+ # Standardize using training-set statistics
174
+ std_oav = (log_oav_sum - self.oav_mean) / self.oav_std # (B,)
175
+ std_xliq = (x_liq_sum - self.xliq_mean) / self.xliq_std # (B,)
176
+
177
+ return torch.stack([std_oav, std_xliq], dim=-1) # (B, 2)
178
+
179
+ def forward(
180
+ self,
181
+ latent: torch.Tensor,
182
+ physics: torch.Tensor,
183
+ src_key_padding_mask: torch.Tensor,
184
+ ) -> dict[str, torch.Tensor]:
185
+ """Forward pass.
186
+
187
+ Args:
188
+ latent: (B, S, H) β€” per-token hidden states.
189
+ physics: (B, S, 2) β€” [x_liquid, log10(OAV)] per token.
190
+ src_key_padding_mask: (B, S) β€” True for padding.
191
+
192
+ Returns:
193
+ dict with:
194
+ "pyramid": (B, 3, 138) sigmoid probabilities
195
+ "routing_weights": (B, 3, S) routing weights (for diagnostics)
196
+ "scalar_embedding": (B, 16) scalar conditioning embedding
197
+ """
198
+ B, S, H = latent.shape
199
+
200
+ # (a, b) Compute routing weights
201
+ routing = self._compute_routing_weights(latent, physics, src_key_padding_mask) # (B, 3, S)
202
+
203
+ # (c) Compute scalar conditioning
204
+ scalars = self._compute_intensity_scalars(physics, src_key_padding_mask) # (B, 2)
205
+ scalar_emb = self.scalar_mlp(scalars) # (B, 16)
206
+
207
+ # Routed pooling: weighted sum of token representations per tier
208
+ # routing: (B, 3, S), latent: (B, S, H)
209
+ pooled = torch.bmm(routing, latent) # (B, 3, H)
210
+
211
+ # Concatenate scalar embedding to each tier
212
+ scalar_expanded = scalar_emb.unsqueeze(1).expand(-1, 3, -1) # (B, 3, 16)
213
+ pooled_with_scalar = torch.cat([pooled, scalar_expanded], dim=-1) # (B, 3, H+16)
214
+
215
+ # Tier-specific linear heads + sigmoid
216
+ top = torch.sigmoid(self.top_head(pooled_with_scalar[:, 0])) # (B, 138)
217
+ mid = torch.sigmoid(self.mid_head(pooled_with_scalar[:, 1]))
218
+ base = torch.sigmoid(self.base_head(pooled_with_scalar[:, 2]))
219
+
220
+ pyramid = torch.stack([top, mid, base], dim=1) # (B, 3, 138)
221
+
222
+ return {
223
+ "pyramid": pyramid,
224
+ "routing_weights": routing,
225
+ "scalar_embedding": scalar_emb,
226
+ }
227
 
228
 
229
  class PIMTHeads(nn.Module):
230
+ """Container for the concentration-aware pyramid head and subjective heads.
231
+
232
+ Accepts the full 4D latent from the transformer (B, T, S, H) and pools
233
+ over time before feeding to the pyramid head.
234
+ """
235
 
236
  def __init__(
237
  self,
 
239
  objective_dim: int = 138,
240
  seasonality_classes: int = 4,
241
  wearability_classes: int = 2,
242
+ scalar_stats: dict[str, dict[str, float]] | None = None,
243
  ) -> None:
244
  super().__init__()
245
+ self.objective_head = ConcentrationAwarePyramidHead(
246
+ hidden_dim, objective_dim, scalar_stats=scalar_stats
247
+ )
248
 
249
+ # Subjective heads operate on a globally-pooled representation.
250
  self.seasonality_head = nn.Linear(hidden_dim, seasonality_classes)
251
  self.gender_head = nn.Linear(hidden_dim, 1)
252
  self.wearability_head = nn.Linear(hidden_dim, wearability_classes)
253
 
254
+ def forward(
255
+ self,
256
+ latent: torch.Tensor,
257
+ physics: torch.Tensor | None = None,
258
+ src_key_padding_mask: torch.Tensor | None = None,
259
+ ) -> dict[str, Any]:
260
+ """Forward pass.
261
+
262
+ Args:
263
+ latent: (B, T, S, H) from the transformer encoder.
264
+ physics: (B, T, S, 2) physics states. If None, uses zero physics.
265
+ src_key_padding_mask: (B, S) padding mask. If None, no padding.
266
+
267
+ Returns:
268
+ dict with objective, subjective, alignment, and diagnostics.
269
+ """
270
+ # Pool over time dimension to get (B, S, H)
271
+ latent_pooled_time = latent.mean(dim=1) # (B, S, H)
272
+
273
+ B, S, H = latent_pooled_time.shape
274
+
275
+ # Handle physics input
276
+ if physics is not None:
277
+ # Pool physics over time too: (B, T, S, 2) β†’ (B, S, 2)
278
+ physics_pooled = physics.mean(dim=1) # (B, S, 2)
279
+ else:
280
+ physics_pooled = latent_pooled_time.new_zeros(B, S, 2)
281
+
282
+ # Handle padding mask
283
+ if src_key_padding_mask is None:
284
+ src_key_padding_mask = torch.zeros(B, S, dtype=torch.bool, device=latent.device)
285
+
286
+ # Concentration-aware pyramid prediction
287
+ pyramid_result = self.objective_head(latent_pooled_time, physics_pooled, src_key_padding_mask)
288
+ pyramid = pyramid_result["pyramid"] # (B, 3, 138)
289
+
290
+ # Alignment head: mean of tier logits for cosine alignment loss
291
+ pooled_global = latent_pooled_time.mean(dim=1) # (B, H)
292
+ alignment_raw = pyramid_result["pyramid"].mean(dim=1) # (B, 138) β€” already sigmoided
293
+ alignment = alignment_raw # Use the mean of sigmoid outputs as alignment target
294
+
295
+ # Subjective heads
296
+ seasonality = self.seasonality_head(pooled_global)
297
+ gender = self.gender_head(pooled_global)
298
+ wearability = self.wearability_head(pooled_global)
299
 
300
  return {
301
  "objective": pyramid,
 
305
  "wearability": wearability,
306
  },
307
  "alignment": alignment,
308
+ "diagnostics": {
309
+ "routing_weights": pyramid_result["routing_weights"],
310
+ "scalar_embedding": pyramid_result["scalar_embedding"],
311
+ "tau": torch.exp(torch.clamp(self.objective_head.log_tau, -2.303, 2.303)),
312
+ },
313
  }
src/pino/semantics.py CHANGED
@@ -241,6 +241,85 @@ def get_psychometric_targets(generation_strategy: str) -> np.ndarray:
241
  return np.concatenate([season, gender, wear_compressed]).astype(np.float32)
242
 
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  def sample_noisy_psychometric_targets(
245
  generation_strategy: str,
246
  *,
 
241
  return np.concatenate([season, gender, wear_compressed]).astype(np.float32)
242
 
243
 
244
+ def compute_formula_psychometric_targets(
245
+ formula: list[dict[str, Any]],
246
+ pyramid_targets: np.ndarray,
247
+ vocab: list[str] | None = None,
248
+ ) -> np.ndarray:
249
+ """Derive psychometric targets from actual formula composition.
250
+
251
+ Instead of using hardcoded genre lookups, compute seasonality, gender,
252
+ and wearability from the pyramid descriptor profile.
253
+
254
+ - Gender: feminine descriptors (floral, rose, sweet, powdery) push negative;
255
+ masculine descriptors (woody, leather, tobacco, smoky) push positive.
256
+ - Wearability: base-note weight fraction determines day vs night orientation.
257
+ - Seasonality: citrus/fresh/green content pushes summer; warm/spicy pushes winter.
258
+
259
+ Args:
260
+ formula: list of {cas, weight_fraction, ...} dicts.
261
+ pyramid_targets: (3, 138) array of binary pyramid labels.
262
+ vocab: optional vocabulary list for descriptor name lookup.
263
+
264
+ Returns:
265
+ 7-D float32 vector: [spring, summer, autumn, winter, gender, day, night]
266
+ """
267
+ pyramid = np.asarray(pyramid_targets, dtype=np.float32)
268
+ if pyramid.shape != (3, 138):
269
+ return get_psychometric_targets("wildcard")
270
+
271
+ if vocab is None:
272
+ try:
273
+ vocab = load_vocabulary()
274
+ except Exception:
275
+ vocab = [str(i) for i in range(138)]
276
+
277
+ # Build descriptor name β†’ index map
278
+ desc_idx = {name: i for i, name in enumerate(vocab) if i < 138}
279
+
280
+ def _desc_score(indices_of_names: list[str]) -> float:
281
+ total = 0.0
282
+ for name in indices_of_names:
283
+ idx = desc_idx.get(name)
284
+ if idx is not None:
285
+ total += float(pyramid[2, idx]) * 0.5 + float(pyramid[1, idx]) * 0.3 + float(pyramid[0, idx]) * 0.2
286
+ return total
287
+
288
+ # --- Gender: feminine (negative) vs masculine (positive) ---
289
+ feminine = _desc_score(["floral", "rose", "sweet", "powdery", "creamy", "vanilla",
290
+ "jasmine", "lily", "waxy", "fruity"])
291
+ masculine = _desc_score(["leather", "tobacco", "smoky", "animal", "phenolic",
292
+ "earthy", "mossy", "spicy"])
293
+ total_g = feminine + masculine
294
+ gender = np.clip((masculine - feminine) / max(total_g, 1.0) * 1.5, -0.8, 0.5)
295
+
296
+ # --- Seasonality ---
297
+ summer_descs = _desc_score(["citrus", "fresh", "green", "cooling", "fruity",
298
+ "mint", "cucumber", "watery", "ozone"])
299
+ winter_descs = _desc_score(["warm", "spicy", "cinnamon", "clove", "incense",
300
+ "vanilla", "amber", "balsamic"])
301
+ spring_descs = _desc_score(["floral", "rose", "fresh", "green", "lily"])
302
+ autumn_descs = _desc_score(["woody", "earthy", "mossy", "dry", "leather"])
303
+
304
+ season_raw = np.array([spring_descs, summer_descs, autumn_descs, winter_descs],
305
+ dtype=np.float32)
306
+ season_raw = np.maximum(season_raw, 0.05) # floor
307
+ seasonality = season_raw / season_raw.sum()
308
+
309
+ # --- Wearability ---
310
+ top_weight = float(pyramid[0].sum()) / 138.0
311
+ base_weight = float(pyramid[2].sum()) / 138.0
312
+ # More base notes β†’ night-oriented; more top notes β†’ day-oriented
313
+ night_oriented = base_weight / max(top_weight + base_weight, 0.01)
314
+ day_wear = np.clip(1.0 - night_oriented, 0.3, 0.9)
315
+ night_wear = np.clip(0.3 + night_oriented * 0.6, 0.3, 0.95)
316
+
317
+ return np.array([
318
+ seasonality[0], seasonality[1], seasonality[2], seasonality[3],
319
+ gender, day_wear, night_wear
320
+ ], dtype=np.float32)
321
+
322
+
323
  def sample_noisy_psychometric_targets(
324
  generation_strategy: str,
325
  *,
src/pino/train.py CHANGED
@@ -168,8 +168,8 @@ def train_epoch(
168
  }
169
  optimizer.zero_grad()
170
  latent = model(tokens, physics, src_key_padding_mask) # (B, T, S, H)
171
- # Compute pyramid objective predictions.
172
- pred = heads(latent)
173
  loss, comps = multitask_loss(
174
  pred["objective"], target_obj, pred["subjective"], target_sub,
175
  pred["alignment"], loss_balancer,
@@ -217,7 +217,7 @@ def validate(
217
  "wearability": batch["target_sub_wearability"].to(device),
218
  }
219
  latent = model(tokens, physics, src_key_padding_mask)
220
- pred = heads(latent)
221
  loss, comps = multitask_loss(
222
  pred["objective"], target_obj, pred["subjective"], target_sub,
223
  pred["alignment"], loss_balancer,
@@ -234,8 +234,8 @@ def main():
234
  parser = argparse.ArgumentParser(description="Train the PINO Physics-Informed Mixture Transformer")
235
  parser.add_argument(
236
  "--data",
237
- default="data/empirical_dataset_v4.jsonl",
238
- help="Path to the empirical dataset JSONL (default: v4 pyramid targets).",
239
  )
240
  parser.add_argument("--epochs", type=int, default=5)
241
  parser.add_argument("--batch-size", type=int, default=4)
@@ -273,7 +273,7 @@ def main():
273
  "max_batches_per_epoch": None,
274
  "lr": args.lr,
275
  "weight_decay": 1e-2,
276
- "checkpoint_name": "pimt_v5.pt",
277
  }
278
  logger.info("Configuration: %s", cfg)
279
 
 
168
  }
169
  optimizer.zero_grad()
170
  latent = model(tokens, physics, src_key_padding_mask) # (B, T, S, H)
171
+ # Compute pyramid objective predictions with physics-informed routing.
172
+ pred = heads(latent, physics, src_key_padding_mask)
173
  loss, comps = multitask_loss(
174
  pred["objective"], target_obj, pred["subjective"], target_sub,
175
  pred["alignment"], loss_balancer,
 
217
  "wearability": batch["target_sub_wearability"].to(device),
218
  }
219
  latent = model(tokens, physics, src_key_padding_mask)
220
+ pred = heads(latent, physics, src_key_padding_mask)
221
  loss, comps = multitask_loss(
222
  pred["objective"], target_obj, pred["subjective"], target_sub,
223
  pred["alignment"], loss_balancer,
 
234
  parser = argparse.ArgumentParser(description="Train the PINO Physics-Informed Mixture Transformer")
235
  parser.add_argument(
236
  "--data",
237
+ default="data/empirical_dataset_v8.jsonl",
238
+ help="Path to the empirical dataset JSONL (default: v8 with curated descriptors + TGSC formulas).",
239
  )
240
  parser.add_argument("--epochs", type=int, default=5)
241
  parser.add_argument("--batch-size", type=int, default=4)
 
273
  "max_batches_per_epoch": None,
274
  "lr": args.lr,
275
  "weight_decay": 1e-2,
276
+ "checkpoint_name": "pimt_v6.pt",
277
  }
278
  logger.info("Configuration: %s", cfg)
279
 
tests/test_head_invariances.py ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Phase 2 invariance tests for ConcentrationAwarePyramidHead.
2
+
3
+ All must pass before any cluster spend. These test every failure class
4
+ discovered in v1–v5.
5
+ """
6
+ from __future__ import annotations
7
+
8
+ import json
9
+ import numpy as np
10
+ import torch
11
+ import torch.nn as nn
12
+
13
+ from pino.heads import ConcentrationAwarePyramidHead, PIMTHeads
14
+ from pino.pimt_model import PhysicsInformedMixtureTransformer, DEFAULT_EMBEDDING_DIM
15
+
16
+
17
+ def _make_dummy_batch(B=4, S=8, H=256, T=49):
18
+ """Create dummy batch for testing."""
19
+ latent = torch.randn(B, S, H)
20
+ physics = torch.randn(B, S, 2)
21
+ mask = torch.zeros(B, S, dtype=torch.bool)
22
+ # Add some padding
23
+ for i in range(B):
24
+ pad_start = S - np.random.randint(0, 3)
25
+ mask[i, pad_start:] = True
26
+ # Ensure at least one valid token per row
27
+ mask[:, 0] = False
28
+ return latent, physics, mask
29
+
30
+
31
+ def test_1_shape():
32
+ """Output is (B, 3, 138)."""
33
+ head = ConcentrationAwarePyramidHead(256)
34
+ latent, physics, mask = _make_dummy_batch()
35
+ result = head(latent, physics, mask)
36
+ assert result["pyramid"].shape == (4, 3, 138), f"Expected (4, 3, 138), got {result['pyramid'].shape}"
37
+ print("βœ… Test 1 PASSED: Output shape is (B, 3, 138)")
38
+
39
+
40
+ def test_2_sensitivity():
41
+ """Β±20% mass on a top-note ingredient changes top-tier output."""
42
+ head = ConcentrationAwarePyramidHead(256)
43
+ head.eval()
44
+ B, S, H = 2, 6, 256
45
+
46
+ latent = torch.randn(B, S, H)
47
+ mask = torch.zeros(B, S, dtype=torch.bool)
48
+
49
+ # Baseline physics
50
+ physics_base = torch.randn(B, S, 2)
51
+ with torch.no_grad():
52
+ result_base = head(latent, physics_base, mask)
53
+
54
+ # Perturb physics for token 0 (simulate +20% mass β†’ higher OAV)
55
+ physics_perturbed = physics_base.clone()
56
+ physics_perturbed[:, 0, 1] += 0.5 # Increase log10(OAV) of first ingredient
57
+ with torch.no_grad():
58
+ result_pert = head(latent, physics_perturbed, mask)
59
+
60
+ delta_top = (result_pert["pyramid"][:, 0] - result_base["pyramid"][:, 0]).abs().mean()
61
+ print(f"βœ… Test 2 PASSED: Top-tier delta from OAV perturbation = {delta_top:.6f} (non-zero)")
62
+ assert delta_top > 1e-8, "Top-tier output unchanged by physics perturbation"
63
+
64
+
65
+ def test_3_permutation_invariance():
66
+ """Shuffling ingredient order leaves outputs unchanged (within 1e-5)."""
67
+ head = ConcentrationAwarePyramidHead(256)
68
+ head.eval()
69
+ B, S, H = 2, 6, 256
70
+
71
+ latent = torch.randn(B, S, H)
72
+ physics = torch.randn(B, S, 2)
73
+ mask = torch.zeros(B, S, dtype=torch.bool)
74
+
75
+ with torch.no_grad():
76
+ result_orig = head(latent, physics, mask)
77
+
78
+ # Shuffle both latent and physics together
79
+ perm = torch.randperm(S)
80
+ latent_shuffled = latent[:, perm]
81
+ physics_shuffled = physics[:, perm]
82
+
83
+ with torch.no_grad():
84
+ result_shuffled = head(latent_shuffled, physics_shuffled, mask)
85
+
86
+ delta = (result_orig["pyramid"] - result_shuffled["pyramid"]).abs().max()
87
+ print(f"βœ… Test 3 PASSED: Permutation delta = {delta:.8f} (threshold: 1e-5)")
88
+ assert delta < 1e-5, f"Permutation changed outputs by {delta}"
89
+
90
+
91
+ def test_4_padding_invariance():
92
+ """Same formula padded to different lengths produces identical outputs."""
93
+ head = ConcentrationAwarePyramidHead(256)
94
+ head.eval()
95
+ B, H = 2, 256
96
+
97
+ # Real formula: 5 ingredients
98
+ S1 = 5
99
+ latent_real = torch.randn(B, S1, H)
100
+ physics_real = torch.randn(B, S1, 2)
101
+ mask_real = torch.zeros(B, S1, dtype=torch.bool)
102
+
103
+ # Padded to 10
104
+ S2 = 10
105
+ latent_padded = torch.zeros(B, S2, H)
106
+ latent_padded[:, :S1] = latent_real
107
+ physics_padded = torch.zeros(B, S2, 2)
108
+ physics_padded[:, :S1] = physics_real
109
+ mask_padded = torch.ones(B, S2, dtype=torch.bool)
110
+ mask_padded[:, :S1] = False
111
+
112
+ with torch.no_grad():
113
+ result_real = head(latent_real, physics_real, mask_real)
114
+ result_padded = head(latent_padded, physics_padded, mask_padded)
115
+
116
+ delta = (result_real["pyramid"] - result_padded["pyramid"]).abs().max()
117
+ print(f"βœ… Test 4 PASSED: Padding delta = {delta:.8f} (threshold: 1e-5)")
118
+ assert delta < 1e-5, f"Padding changed outputs by {delta}"
119
+
120
+
121
+ def test_5_routing_mass():
122
+ """Doubling bergamot OAV increases its normalized routing weight in top tier."""
123
+ head = ConcentrationAwarePyramidHead(256)
124
+ head.eval()
125
+ B, S, H = 1, 5, 256
126
+
127
+ latent = torch.randn(B, S, H)
128
+ mask = torch.zeros(B, S, dtype=torch.bool)
129
+
130
+ # Simulate bergamot at position 0 with moderate OAV
131
+ physics_base = torch.randn(B, S, 2)
132
+ physics_base[:, 0, 1] = 3.0 # log10(OAV) = 3.0
133
+
134
+ with torch.no_grad():
135
+ rw_base = head(latent, physics_base, mask)["routing_weights"]
136
+
137
+ # Double bergamot OAV
138
+ physics_double = physics_base.clone()
139
+ physics_double[:, 0, 1] = 3.3 # log10(2x OAV) β‰ˆ +0.3
140
+
141
+ with torch.no_grad():
142
+ rw_double = head(latent, physics_double, mask)["routing_weights"]
143
+
144
+ # Check: bergamot's routing weight in top tier should increase
145
+ base_w = rw_base[0, 0, 0].item() # tier 0 (top), token 0
146
+ double_w = rw_double[0, 0, 0].item()
147
+ print(f"βœ… Test 5 PASSED: Bergamot routing weight top-tier: {base_w:.4f} β†’ {double_w:.4f}")
148
+ assert double_w > base_w, f"Routing weight didn't increase: {base_w} β†’ {double_w}"
149
+
150
+
151
+ def test_6_single_batch_overfit():
152
+ """Model overfits one batch to near-zero loss in ≀500 steps."""
153
+ B, S, H, T = 2, 5, 64, 49
154
+ model = PhysicsInformedMixtureTransformer(
155
+ embedding_dim=DEFAULT_EMBEDDING_DIM, state_dim=2, hidden_dim=H, num_heads=2, num_layers=2
156
+ )
157
+ heads = PIMTHeads(hidden_dim=H)
158
+ params = list(model.parameters()) + list(heads.parameters())
159
+ optimizer = torch.optim.Adam(params, lr=1e-3)
160
+
161
+ tokens = torch.randn(B, S, DEFAULT_EMBEDDING_DIM)
162
+ physics = torch.randn(B, T, S, 2)
163
+ mask = torch.zeros(B, S, dtype=torch.bool)
164
+
165
+ # Random targets
166
+ target_obj = torch.randint(0, 2, (B, 3, 138)).float()
167
+
168
+ losses = []
169
+ for step in range(500):
170
+ optimizer.zero_grad()
171
+ latent = model(tokens, physics, mask)
172
+ pred = heads(latent, physics, mask)
173
+ loss = nn.functional.binary_cross_entropy(pred["objective"], target_obj)
174
+ loss.backward()
175
+ optimizer.step()
176
+ losses.append(loss.item())
177
+
178
+ final_loss = losses[-1]
179
+ print(f"βœ… Test 6: Final loss after 500 steps = {final_loss:.6f} (started at {losses[0]:.4f})")
180
+ assert final_loss < 0.1, f"Failed to overfit: loss={final_loss}"
181
+
182
+ # Check prediction variance (not all-same)
183
+ pred_variance = pred["objective"].var(dim=2).mean()
184
+ print(f" Prediction variance per descriptor: {pred_variance:.6f}")
185
+ assert pred_variance > 1e-6, "Predictions collapsed to constant"
186
+
187
+
188
+ def test_7_routing_entropy():
189
+ """Routing weight entropy is between 0 (winner-take-all) and log(S) (uniform)."""
190
+ head = ConcentrationAwarePyramidHead(256)
191
+ head.eval()
192
+ B, S, H = 4, 8, 256
193
+
194
+ latent, physics, mask = _make_dummy_batch(B, S, H)
195
+ with torch.no_grad():
196
+ result = head(latent, physics, mask)
197
+
198
+ rw = result["routing_weights"] # (B, 3, S)
199
+ # Entropy per tier per sample
200
+ for b in range(min(B, 2)):
201
+ for tier in range(3):
202
+ w = rw[b, tier]
203
+ # Mask out padding for entropy calc
204
+ valid = ~mask[b]
205
+ w_valid = w[valid]
206
+ w_norm = w_valid / w_valid.sum()
207
+ entropy = -(w_norm * torch.log(w_norm + 1e-12)).sum().item()
208
+ max_entropy = np.log(valid.sum().item())
209
+ ratio = entropy / max_entropy if max_entropy > 0 else 0
210
+ if b == 0:
211
+ print(f" Tier {tier}: entropy={entropy:.4f}, max={max_entropy:.4f}, ratio={ratio:.2f}")
212
+
213
+ print(f"βœ… Test 7 PASSED: Routing entropy is in valid range")
214
+
215
+
216
+ def main():
217
+ print("=" * 60)
218
+ print("PHASE 2: INVARIANCE TEST SUITE")
219
+ print("=" * 60 + "\n")
220
+
221
+ test_1_shape()
222
+ test_2_sensitivity()
223
+ test_3_permutation_invariance()
224
+ test_4_padding_invariance()
225
+ test_5_routing_mass()
226
+ test_7_routing_entropy()
227
+
228
+ print("\n" + "=" * 60)
229
+ print("Running overfit test (may take 30-60s)...")
230
+ print("=" * 60 + "\n")
231
+ test_6_single_batch_overfit()
232
+
233
+ print("\n" + "=" * 60)
234
+ print("ALL TESTS PASSED βœ…")
235
+ print("=" * 60)
236
+
237
+
238
+ if __name__ == "__main__":
239
+ main()