xiaokui17 commited on
Commit
a582af8
·
verified ·
1 Parent(s): d364e5b

Publish v2 release manifests and scoped dataset card

Browse files
README.md CHANGED
@@ -2,187 +2,113 @@
2
  license: apache-2.0
3
  language:
4
  - en
5
- pretty_name: GlycoDA-Bench
6
  tags:
7
  - glycomics
8
  - compositional-data
9
  - benchmark
10
  - batch-effect-correction
11
  - workflow-recommendation
 
12
  ---
13
 
14
- # GlycoDA-Bench
15
 
16
- ## Dataset Description
 
 
17
 
18
- GlycoDA-Bench is a benchmark suite for evaluating data-analysis workflow
19
- recommendations in glycomics. It contains 648 deterministic cases covering
20
- single-matrix analysis, batch-correction-centered analysis, and paired or
21
- coupled glycome analysis.
22
 
23
- Each case combines a glycan abundance matrix with sample and feature metadata,
24
- a machine-readable task specification, and provenance information. The suite is
25
- designed to test whether an analysis system can choose and order appropriate
26
- steps for missing-value handling, compositional transformation, batch-effect
27
- assessment and correction, differential analysis, motif-level follow-up, and
28
- paired multi-block analysis.
29
 
30
- ### Benchmark Scope
31
 
32
  | Dimension | Coverage |
33
  | --- | ---: |
34
  | Total cases | 648 |
35
  | Single-workflow cases | 216 |
36
  | Batch-correction-centered cases | 216 |
37
- | Paired/coupled cases | 216 |
38
- | Simple / moderate / hard cases | 216 each |
39
  | Absent-or-weak / moderate / strong-or-confounded signal | 216 each |
40
- | Synthetic / template-derived cases | 324 each |
41
- | Cases requiring missing-value handling | 432 |
42
- | Cases requiring batch-sensitive intervention | 540 |
43
- | Cases with motif-level follow-up truth | 324 |
44
 
45
- ## Dataset Structure
46
-
47
- The repository is organized as follows:
48
 
49
  ```text
50
  dataset/
51
- ├── scenario_index.csv
52
- ├── benchmark_manifest.json
53
- ├── checksums.sha256
54
- ├── _private_hidden_truth/
55
- ├── gf_case_0001/
56
- │ ├── abundance.csv
57
- │ ├── sample_metadata.csv
58
- │ ├── feature_metadata.csv
59
- │ ├── task.json
60
- │ └── manifest.json
61
- └── ...
62
  source_templates/
63
  generate_benchmark.py
64
  validate_benchmark.py
 
65
  ```
66
 
67
- ### Global Files
68
-
69
- - `dataset/scenario_index.csv` provides one row per case with its task family,
70
- complexity tier, signal regime, dimensions, generation mode, and public hash.
71
- - `dataset/benchmark_manifest.json` records benchmark-level coverage,
72
- generation policy, source versions, and template provenance.
73
- - `dataset/checksums.sha256` contains SHA-256 checksums for the generated files.
74
- - `source_templates/` contains the packaged source matrix and deterministic
75
- feature subsets used by template-derived cases.
76
-
77
- ### Per-Case Files
78
-
79
- Every `dataset/gf_case_XXXX/` directory includes:
80
 
81
- - `abundance.csv`: glycan-by-sample relative-abundance matrix.
82
- - `sample_metadata.csv`: sample identifiers, condition labels, batch labels,
83
- and `pair_id` where applicable.
84
- - `feature_metadata.csv`: glycan identifiers and available annotations.
85
- - `task.json`: task description, available inputs, known constraints, schema,
86
- and expected output format.
87
- - `manifest.json`: case-level schema, dimensions, provenance, constraints, and
88
- file checksums.
89
- - `clr.csv`: centered log-ratio representation of the observed matrix.
90
- - `clean_*`, `batch_*`, and `missing_*` files: controlled benchmark variants
91
- used to construct and evaluate the scenario.
92
 
93
- Paired/coupled cases additionally provide `abundance_A.csv` and
94
- `abundance_B.csv`, together with corresponding CLR and controlled-variant
95
- files. These matrices contain two compositional blocks measured on the same
96
- sample identities. They should be transformed and analyzed blockwise before
97
- cross-block dependence is assessed. The combined `abundance.csv` file is
98
- provided only as a compatibility view.
99
 
100
- ## Using the Dataset
 
 
 
101
 
102
- The repository is a case-based benchmark rather than a conventional
103
- train/validation/test table, so it does not define predefined dataset splits. Cases
104
- can be selected from `scenario_index.csv` by task family, complexity, signal
105
- regime, or generation mode.
106
-
107
- Download the repository with `huggingface_hub`:
108
 
109
  ```python
110
  from pathlib import Path
111
-
112
  import pandas as pd
113
  from huggingface_hub import snapshot_download
114
 
115
- root = Path(
116
- snapshot_download(
117
- repo_id="xiaokui17/GlycoDA-Bench",
118
- repo_type="dataset",
119
- )
120
- )
121
-
122
  index = pd.read_csv(root / "dataset" / "scenario_index.csv")
123
- case_id = index.iloc[0]["dataset_id"]
124
- case_dir = root / "dataset" / case_id
125
-
126
- abundance = pd.read_csv(case_dir / "abundance.csv", index_col=0)
127
- sample_metadata = pd.read_csv(case_dir / "sample_metadata.csv")
128
- feature_metadata = pd.read_csv(case_dir / "feature_metadata.csv")
129
  ```
130
 
131
- For private access, authenticate first with `hf auth login` or provide a token
132
- through the standard Hugging Face authentication mechanism.
133
 
134
- ## Evaluation Protocol
135
-
136
- The primary task is to produce a defensible, ordered glycomics analysis plan
137
- for each case. A response should identify appropriate tools, parameter choices,
138
- and rationale while respecting the schema and constraints in `task.json` and
139
- `manifest.json`.
140
-
141
- To avoid evaluation leakage:
142
-
143
- - Do not use `dataset/_private_hidden_truth/` when generating predictions or
144
- workflow recommendations.
145
- - Do not infer answers from `clean_*`, `batch_*`, or other controlled benchmark
146
- variants unless the evaluation protocol explicitly makes them available.
147
- - Treat paired glycomes as separate compositional blocks before performing any
148
- joint or cross-block analysis.
149
-
150
- The `_private_hidden_truth` directory is intended for evaluator-side scoring.
151
- It should not be distributed to benchmark participants or exposed in a public
152
- mirror.
153
-
154
- ## Data Generation and Provenance
155
-
156
- The benchmark is generated deterministically with a base seed of `20260401`.
157
- It contains an equal number of synthetic and template-derived cases. The
158
- template-derived cases use the human leukemia N-glycomics dataset associated
159
- with [PMID: 34646384](https://pubmed.ncbi.nlm.nih.gov/34646384/) and packaged
160
- through `glycowork`.
161
 
162
- Generation provenance, software versions, seeds, and hashes are recorded in
163
- the benchmark-level and case-level manifests. The published build uses
164
- GlycoForge `0.2.0`, `glycowork` `1.8.0`, and generator version `2.1.0`.
165
 
166
- To validate a downloaded copy from the GlycoForge repository root:
 
 
 
 
167
 
168
- ```powershell
169
- python -X utf8 .\glycoforge_benchmark_648_v2\validate_benchmark.py --verify-checksums
170
- ```
 
171
 
172
  ## Limitations
173
 
174
- - The benchmark focuses on controlled workflow-selection scenarios and is not
175
- a substitute for prospective validation on independent clinical cohorts.
176
- - Synthetic and template-derived perturbations cannot represent every source
177
- of biological or technical variation encountered in real glycomics studies.
178
- - Some files encode intermediate or evaluator-side states and should not be
179
- treated as participant inputs unless explicitly permitted by the evaluation
180
- protocol.
181
- - Performance on these cases should be interpreted together with qualitative
182
- review of methodological validity and rationale.
183
 
184
  ## License
185
 
186
- This dataset is released under the Apache License 2.0. Users are responsible
187
- for reviewing the provenance and any applicable terms of the packaged source
188
- data before redistribution or downstream use.
 
2
  license: apache-2.0
3
  language:
4
  - en
5
+ pretty_name: GlycoDA-Bench — V2 Paired/Coupled Extension
6
  tags:
7
  - glycomics
8
  - compositional-data
9
  - benchmark
10
  - batch-effect-correction
11
  - workflow-recommendation
12
+ - paired-data
13
  ---
14
 
15
+ # GlycoDA-Bench — V2 Paired/Coupled Extension
16
 
17
+ This public supplementary release contains 648 deterministic GlycoDA-Bench cases,
18
+ including 216 realized paired/coupled cases with two compositional matrices measured on
19
+ matched sample identities.
20
 
21
+ - Public evaluation code: <https://github.com/evolan17/GlycoDA-Bench/tree/v3.0.0>
22
+ - Exact manuscript reproduction release and 22-system results:
23
+ <https://huggingface.co/datasets/xiaokui17/glycoforge_benchmark_648>
 
24
 
25
+ This is the **v2 paired/coupled extension**. It has different case hashes from the
26
+ manuscript reproduction release, and no manuscript model scores are attributed to v2.
 
 
 
 
27
 
28
+ ## Coverage
29
 
30
  | Dimension | Coverage |
31
  | --- | ---: |
32
  | Total cases | 648 |
33
  | Single-workflow cases | 216 |
34
  | Batch-correction-centered cases | 216 |
35
+ | Realized paired/coupled cases | 216 |
36
+ | Simple / moderate / hard | 216 each |
37
  | Absent-or-weak / moderate / strong-or-confounded signal | 216 each |
38
+ | Synthetic / template-derived | 324 each |
 
 
 
39
 
40
+ ## Structure
 
 
41
 
42
  ```text
43
  dataset/
44
+ scenario_index.csv
45
+ benchmark_manifest.json
46
+ checksums.sha256
47
+ _private_hidden_truth/
48
+ gf_case_0001/ ... gf_case_0648/
 
 
 
 
 
 
49
  source_templates/
50
  generate_benchmark.py
51
  validate_benchmark.py
52
+ release_manifests/
53
  ```
54
 
55
+ Paired cases contain `abundance_A.csv` and `abundance_B.csv` for two compositional
56
+ blocks, plus a compatibility-only combined `abundance.csv`. Blocks should be transformed
57
+ and analyzed separately before cross-block dependence is assessed.
 
 
 
 
 
 
 
 
 
 
58
 
59
+ ## Participant and evaluator separation
 
 
 
 
 
 
 
 
 
 
60
 
61
+ Participant inputs are the observed abundance matrix or matrices, sample metadata,
62
+ feature metadata, task card, and structural case manifest. Their exact paths are marked
63
+ `participant` in `release_manifests/file_manifest.csv`.
 
 
 
64
 
65
+ Evaluator truth, clean matrices, controlled intermediate states, and generation
66
+ diagnostics are public for reproducibility but must never be exposed to an evaluated
67
+ agent. A sealed runtime should mount only participant files and disable unrestricted
68
+ network access.
69
 
70
+ ## Use
 
 
 
 
 
71
 
72
  ```python
73
  from pathlib import Path
 
74
  import pandas as pd
75
  from huggingface_hub import snapshot_download
76
 
77
+ root = Path(snapshot_download(repo_id="xiaokui17/GlycoDA-Bench", repo_type="dataset"))
 
 
 
 
 
 
78
  index = pd.read_csv(root / "dataset" / "scenario_index.csv")
79
+ case_dir = root / "dataset" / index.iloc[0]["dataset_id"]
 
 
 
 
 
80
  ```
81
 
82
+ Validate a complete download with:
 
83
 
84
+ ```bash
85
+ python validate_benchmark.py --verify-checksums
86
+ ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
+ ## Construction and provenance
 
 
89
 
90
+ The release is deterministic with base seed `20260401`. The build records GlycoForge
91
+ **0.2.0** at exact upstream commit
92
+ `3e3ed302b2e3aaef1bc47c407c3528939c482a54`, glycowork 1.8.0, generator 2.1.0, per-case
93
+ seeds, and SHA-256 checksums. GlycoForge is a separately maintained MIT project and is
94
+ linked rather than vendored: <https://github.com/BojarLab/GlycoForge>.
95
 
96
+ Template-derived cases use the human leukemia N-glycomics dataset associated with PMID
97
+ 34646384 and packaged through glycowork. The full packaged template, deterministic
98
+ subsets, source version, and checksums are included under `source_templates/` and in the
99
+ benchmark manifest.
100
 
101
  ## Limitations
102
 
103
+ - Synthetic and template-derived perturbations do not cover every source of clinical or
104
+ technical variation.
105
+ - The template source has 98 measured features, so template-derived cases do not extend
106
+ to 150 features.
107
+ - Motif labels support motif-level follow-up evaluation; they are not a complete model
108
+ of biological motif inference.
109
+ - No manuscript model scores are published for this v2 extension.
 
 
110
 
111
  ## License
112
 
113
+ This dataset release is distributed under Apache-2.0. GlycoForge and glycowork remain
114
+ under their upstream MIT licenses.
 
release_manifests/file_manifest.csv ADDED
The diff for this file is too large to render. See raw diff
 
release_manifests/release_manifest.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "release_name": "v2-paired-coupled-extension",
4
+ "repository": "xiaokui17/GlycoDA-Bench",
5
+ "case_count": 648,
6
+ "code_repository": "https://github.com/evolan17/GlycoDA-Bench",
7
+ "code_commit": "24b12da3e94564c38faaa8b638c9920558a381f5",
8
+ "code_tag": "v3.0.0",
9
+ "glycoforge_version": "0.2.0",
10
+ "glycoforge_commit": "3e3ed302b2e3aaef1bc47c407c3528939c482a54",
11
+ "case_pack": {
12
+ "file_count": 10596,
13
+ "bytes": 441711816,
14
+ "component_counts": {
15
+ "construction": 8,
16
+ "evaluator_support": 6264,
17
+ "evaluator_truth": 648,
18
+ "participant": 3672,
19
+ "participant_index": 2,
20
+ "release_metadata": 2
21
+ },
22
+ "manifest_sha256": "69913b92e30d90351e486c988285f358e83cb6a3c72b8748cd82de76a479dcc6"
23
+ },
24
+ "results": null
25
+ }