Publish BBB V23.2 L5 degree96 release
Browse files- README.md +80 -0
- calibration.json +0 -0
- manifest.json +66 -0
- train/data.parquet +3 -0
- validation_ranking/data.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: train/data.parquet
|
| 7 |
+
- split: validation_ranking
|
| 8 |
+
path: validation_ranking/data.parquet
|
| 9 |
+
---
|
| 10 |
+
# BBB assay transfer V23.2: UID level datasets
|
| 11 |
+
|
| 12 |
+
Five separate, noncumulative datasets use BBB evidence library V10 and the pinned
|
| 13 |
+
upstream acquisition UID mapping. L1 = direct brain exposure; L2 = central functional
|
| 14 |
+
access proxy; L3 = passive permeability; L4 = efflux transport; L5 = influx transport.
|
| 15 |
+
Both the query and reference belong to the dataset's level. Source identity is
|
| 16 |
+
preserved independently. The mapping is joined on `source_row_uid`, never on
|
| 17 |
+
SMILES, source IDs, or upstream canonical IDs. Missing UIDs are excluded with an
|
| 18 |
+
identity audit; they are not assigned an inferred level.
|
| 19 |
+
|
| 20 |
+
V23.2 rebuilds from V10. It is not a filter of the published V23/V9 pairs.
|
| 21 |
+
Each exact V10 assay bucket is intersected with level before calibration, split
|
| 22 |
+
support gates, pair sampling, and ranking selection. `upstream_pair_bucket_key`
|
| 23 |
+
preserves the original bucket; `pair_bucket_key` appends the level to its JSON key.
|
| 24 |
+
Both acquisition UIDs and immutable canonical record IDs are retained in release rows.
|
| 25 |
+
|
| 26 |
+
V23's relaxed initial calibration gate (10 records, no initial molecule minimum)
|
| 27 |
+
is reconstructed using the V10 calibration implementation. Subsequent training
|
| 28 |
+
requires 12 training records and 6 distinct training parents per level-bucket.
|
| 29 |
+
Whole level-buckets with 10–11 records and at least 6 parents form OOD validation.
|
| 30 |
+
ID holds out the gold-validation scaffold components across all levels together.
|
| 31 |
+
OOD is bucket OOD; parent overlap with other buckets is possible.
|
| 32 |
+
|
| 33 |
+
Continuous targets retain V23's reviewed geometry, with recalculated sample SD
|
| 34 |
+
(ddof=1) on train plus validation within the level-bucket, or the whole OOD bucket.
|
| 35 |
+
Original assay keys select reviewed log transforms. Unreviewed tail alerts and
|
| 36 |
+
invalid transformations are excluded and audited. Binary calibration requires
|
| 37 |
+
both categories with at least three records each. Empirical binary targets retain
|
| 38 |
+
V23's source-native estimator, fitted only on retained training pairs.
|
| 39 |
+
|
| 40 |
+
The nonmixed build gives every level-bucket a record-role degree cap of 96,
|
| 41 |
+
including L1. It exports five separate L1-L5 datasets. The mixed build pools
|
| 42 |
+
all levels in one dataset and uses degree 48 for buckets with at least the
|
| 43 |
+
configured number of training records, and degree 96 for smaller buckets.
|
| 44 |
+
By default the cutoff is the smallest integer above the geometric mean of
|
| 45 |
+
training level-bucket sizes: 33 records for this pinned split (355 of 944
|
| 46 |
+
training buckets). Override with `--big-bucket-min-records` when building pairs.
|
| 47 |
+
Neither variant applies an L1-specific cap or share ceiling. Both retain the
|
| 48 |
+
global parent-role cap of 576 across levels. Degree is a cap, not a guarantee:
|
| 49 |
+
limited eligible partners and parent caps can reduce the realized degree.
|
| 50 |
+
The two variants are sampled separately and have separately fitted empirical
|
| 51 |
+
binary targets. Mixing datasets does not permit cross-level pairs.
|
| 52 |
+
|
| 53 |
+
Validation bucket quotas are computed across levels separately for each regime
|
| 54 |
+
and measurement family, using V23's second-smallest positive count rule. Up to
|
| 55 |
+
three heldout queries are selected per bucket. ID uses 19–20 nearest training
|
| 56 |
+
records; OOD uses the other 9–10 records. Ranking groups are complete and stay
|
| 57 |
+
within one level. Sparse level panels retain their actual support. There is no
|
| 58 |
+
test split. `assay_concept` and the metadata level group identify the level;
|
| 59 |
+
`source_id` continues to identify scientific source provenance.
|
| 60 |
+
|
| 61 |
+
Prompt rendering and masking reuse V23. Level and UID fields are provenance,
|
| 62 |
+
not extra prompt evidence. Each dataset carries the complete calibration artifact
|
| 63 |
+
because rows refer to its SHA-256. Input hashes are pinned in `inputs.json`.
|
| 64 |
+
|
| 65 |
+
Use the project `openrlhf_tfv4` Python environment:
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
python -m assay_transfer.record_level.v23_2.build all --variant all
|
| 69 |
+
python -m assay_transfer.record_level.v23_2.build verify
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
Outputs: `assay_transfer/record_level/artifacts/v23_2/degree96/hf/bbb_martins/by_level/L1`
|
| 73 |
+
through `L5`, plus `degree96/hf/bbb_martins/mixed`. The verified V10 splits and UID audit are shared with the original build.
|
| 74 |
+
`all` rebuilds pairs and exports; `splits` is a separate explicit reconstruction.
|
| 75 |
+
Use `--variant nonmixed` or `--variant mixed` for one variant. Existing outputs
|
| 76 |
+
require explicit `--overwrite`. The original lower-degree artifacts are retained.
|
| 77 |
+
|
| 78 |
+
Dataset: L5
|
| 79 |
+
|
| 80 |
+
Rows: {'train': 9723, 'validation_ranking': 270}
|
calibration.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifest.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"README.md": "7ed1ae49dabe5e97960a70eec6a6a94fbe11375c1aa79a17b6bdb5fbb65789a2",
|
| 4 |
+
"calibration.json": "34587e1aadc37eb132a6634351c4b2520917c52a90de81d11e2e1e55f9e51fa9",
|
| 5 |
+
"train/data.parquet": "4c93579f97bbc6b999f83d2fab09e8726d6b74d821363414539f2fd912332df9",
|
| 6 |
+
"validation_ranking/data.parquet": "0b518461f4517a007b54974d4604682ad29f17bd2c9a8660e353761e59b7dbdb"
|
| 7 |
+
},
|
| 8 |
+
"big_bucket_min_records": 33,
|
| 9 |
+
"calibration_sha256": "34587e1aadc37eb132a6634351c4b2520917c52a90de81d11e2e1e55f9e51fa9",
|
| 10 |
+
"dataset": "L5",
|
| 11 |
+
"pair_manifest_sha256": "33f556a40ee9137e261611ada2add39927b134de84cad2d20e34d76ad5823ae9",
|
| 12 |
+
"rows": {
|
| 13 |
+
"train": 9723,
|
| 14 |
+
"validation_ranking": 270
|
| 15 |
+
},
|
| 16 |
+
"source_snapshot": {
|
| 17 |
+
"gold_validation": {
|
| 18 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/gold_labels/BBB_Martins/v1/scaffold/valid_molecule_condition_labels.jsonl",
|
| 19 |
+
"sha256": "8477a2bf858d8e7a6cd4cd7ae9cd686e4c975a5df50f35a35c5a192de8a486d1"
|
| 20 |
+
},
|
| 21 |
+
"manifest": {
|
| 22 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/manifest.json",
|
| 23 |
+
"sha256": "4c28a1552b5279c63dc9fa2798baf2d48b1cf4bf91fc087de6d73cfce940c44d"
|
| 24 |
+
},
|
| 25 |
+
"pair_buckets": {
|
| 26 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/03_pair_buckets/pair_bucket_records.parquet",
|
| 27 |
+
"sha256": "479d3c4c2f5d905409d86531be0deb9104c6c3f5da53705e10aeb00776f20763"
|
| 28 |
+
},
|
| 29 |
+
"record_pruning": {
|
| 30 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/reviews/assay_transfer_record_pruning_v3/manifest.json",
|
| 31 |
+
"sha256": "c7434dee98f74c46819f4ec2dd28d12afaa47e36971a5ec77bba253d6543477e"
|
| 32 |
+
},
|
| 33 |
+
"records": {
|
| 34 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/03_pair_buckets/records.parquet",
|
| 35 |
+
"sha256": "82208d3d8d1de42ac9731cb6a02be37b4ddb5f8a729f889b471dbf798581f662"
|
| 36 |
+
},
|
| 37 |
+
"source_contract": {
|
| 38 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/02_canonicalized/source_contract.json",
|
| 39 |
+
"sha256": "dca8064421dd5223403e3ac6b32c45967a28052c40ab0cb4813a1647c1351960"
|
| 40 |
+
},
|
| 41 |
+
"stage2_manifest": {
|
| 42 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/02_canonicalized/manifest.json",
|
| 43 |
+
"sha256": "ca01a7cf34446d0fa09be20af863256c56d655fe5bfd72cb298f95c8e49da2b0"
|
| 44 |
+
},
|
| 45 |
+
"stage3_manifest": {
|
| 46 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/evidence_libraries/bbb_martins/v10/03_pair_buckets/manifest.json",
|
| 47 |
+
"sha256": "cb2618fc7335f8761b2d01c11fb6e7b8a075eb1da86cb00fc2393eef8740431c"
|
| 48 |
+
},
|
| 49 |
+
"uid_levels": {
|
| 50 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/artifacts/starling/source_uid_levels/bbb_martins.parquet",
|
| 51 |
+
"sha256": "d30ac0c3d335e213812fc684dd8c1154eacd5edb78c0f9d09629994c93852159"
|
| 52 |
+
},
|
| 53 |
+
"uid_manifest": {
|
| 54 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/TxAgent/data/artifacts/starling/source_uid_levels/manifest.json",
|
| 55 |
+
"sha256": "0a5146a7c6ff49e8cf0f4cc78bae7228aad67fbda6c552d246a91cf9ffa8d57c"
|
| 56 |
+
},
|
| 57 |
+
"upstream_calibration": {
|
| 58 |
+
"path": "/vast/projects/myatskar/design-documents/joseph/starling_assay_transfer/assay_transfer/record_level/artifacts/v23_2/upstream_calibration/pair_bucket_distance_calibration.json.gz",
|
| 59 |
+
"sha256": "58011f38c38e8150d523673561dcabeb65218b6d2e93cc5dfa668d9bb00bcdeb"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"split_manifest_sha256": "50d298aa7ad116261c1a7306ebaa3c865a5267668bd4d76c1492b827ca201a2e",
|
| 63 |
+
"training_policy": "degree96_all_buckets",
|
| 64 |
+
"variant": "nonmixed",
|
| 65 |
+
"version": "v23.2"
|
| 66 |
+
}
|
train/data.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c93579f97bbc6b999f83d2fab09e8726d6b74d821363414539f2fd912332df9
|
| 3 |
+
size 2296430
|
validation_ranking/data.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b518461f4517a007b54974d4604682ad29f17bd2c9a8660e353761e59b7dbdb
|
| 3 |
+
size 183138
|