ChartGalaxyPP commited on
Commit
6b92e4e
·
verified ·
1 Parent(s): 43e7dcc

Align test review metadata and dataset documentation

Browse files
ANNOTATION_GUIDE.md CHANGED
@@ -30,7 +30,7 @@ Recognized visible wording belongs in a text node's `text` field. `desc` provide
30
 
31
  Dataset boxes use **`[y0, x0, y1, x1]`**, with integer coordinates normalized to 0–1000. Multiply horizontal coordinates by `width / 1000` and vertical coordinates by `height / 1000` to obtain pixels. These are axis-aligned logical boxes, not segmentation masks.
32
 
33
- The separate `spatial_relations` list uses node labels as endpoints. The `sibling-knn2-budget100-geometric-boolean-v1` policy preserves the original sibling-pair selection and enforces **at most 100 spatial relationship records per chart** across all four spatial types combined. The budget is a record limit, not a node-pair limit. The original selected records, their order, types, endpoints and distance fields are unchanged; `is_near` is added to the existing distance records. Hierarchy links are stored separately through `parent` and do not consume this budget. An unrecorded pair is not a negative label.
34
 
35
  `is_near` is a Boolean on each stored `bbox_distance` record. Positive-area overlap and containment are false; exact edge or corner contact is true. Otherwise the shortest box gap must be at most both **0.06 × min(width, height)** and **1.0 × min(sqrt(area_a), sqrt(area_b))**. Compute gaps and areas in pixels using the actual image width and height. The Boolean uses unrounded geometry; `distance_ratio` remains gap divided by the image diagonal.
36
 
@@ -38,6 +38,6 @@ The separate `spatial_relations` list uses node labels as endpoints. The `siblin
38
 
39
  The [included training example](examples/README.md) contains the exact image, graph object, spatial list, and row identity from the dataset. It illustrates the file format and is not an independent annotation-quality measurement.
40
 
41
- Annotations are model-produced and `human_gold` is false. Schema and identity checks establish structural consistency; they do not establish the correctness of every recognized value, box, group, or visual claim in the source image.
42
 
43
  Image2SceneGraph's native predictions use a different layout field and box order. Consult the model's output-format guide before comparing a prediction to this dataset.
 
30
 
31
  Dataset boxes use **`[y0, x0, y1, x1]`**, with integer coordinates normalized to 0–1000. Multiply horizontal coordinates by `width / 1000` and vertical coordinates by `height / 1000` to obtain pixels. These are axis-aligned logical boxes, not segmentation masks.
32
 
33
+ The separate `spatial_relations` list uses node labels as endpoints and stores selected sibling-pair relationships across the four spatial types. The original selected records, their order, types, endpoints and distance fields are unchanged; `is_near` is added to the existing distance records. Hierarchy links are stored separately through `parent`. An unrecorded pair is not a negative label.
34
 
35
  `is_near` is a Boolean on each stored `bbox_distance` record. Positive-area overlap and containment are false; exact edge or corner contact is true. Otherwise the shortest box gap must be at most both **0.06 × min(width, height)** and **1.0 × min(sqrt(area_a), sqrt(area_b))**. Compute gaps and areas in pixels using the actual image width and height. The Boolean uses unrounded geometry; `distance_ratio` remains gap divided by the image diagonal.
36
 
 
38
 
39
  The [included training example](examples/README.md) contains the exact image, graph object, spatial list, and row identity from the dataset. It illustrates the file format and is not an independent annotation-quality measurement.
40
 
41
+ Annotations are produced by the dataset annotation pipeline. The 1,000-chart test split, comprising 500 real and 500 synthetic charts, has been manually verified as described in the paper's annotation-quality assessment. The `human_gold` field is true for test records and false for training records.
42
 
43
  Image2SceneGraph's native predictions use a different layout field and box order. Consult the model's output-format guide before comparing a prediction to this dataset.
DATA_FORMAT.md CHANGED
@@ -16,9 +16,9 @@ The `real` and `synthetic` directories each have `train` and `test` splits. Each
16
  | `scene_graph` | Parsed scene graph JSON object |
17
  | `scene_graph_sha256` | SHA-256 of the compact UTF-8 JSON serialization with `ensure_ascii=False` and one trailing LF |
18
  | `spatial_relations` | JSON array containing stored spatial relationships |
19
- | `spatial_policy` | `sibling-knn2-budget100-geometric-boolean-v1` |
20
  | `annotation_version` | `training-0.6` or `heldout-v2-target-0.6` |
21
- | `human_gold` | False; these are not independently human-validated gold labels |
22
 
23
  ## Scene graphs
24
 
@@ -39,7 +39,7 @@ Every relationship has `relation_type`, `from_id`, and `to_id`. Endpoints refere
39
  | `bbox_overlaps` | No additional fields; boxes overlap with positive area |
40
  | `bbox_distance` | Boolean `is_near`, plus diagnostic `distance_px` and `distance_ratio` (normalized by the image diagonal) |
41
 
42
- The frozen policy nominates nearby siblings, prioritizes group structure, and stores complete bundles of applicable relationship types for selected pairs within a 100-record budget. The budget counts relationship records, not distinct pairs. Hierarchy is preserved separately through `parent`. Missing spatial relationships are unrecorded pairs, not negative examples.
43
 
44
  ## Real-image references
45
 
 
16
  | `scene_graph` | Parsed scene graph JSON object |
17
  | `scene_graph_sha256` | SHA-256 of the compact UTF-8 JSON serialization with `ensure_ascii=False` and one trailing LF |
18
  | `spatial_relations` | JSON array containing stored spatial relationships |
19
+ | `spatial_policy` | Identifier of the spatial relationship selection policy |
20
  | `annotation_version` | `training-0.6` or `heldout-v2-target-0.6` |
21
+ | `human_gold` | True for the 1,000 manually verified test charts; false for the training split |
22
 
23
  ## Scene graphs
24
 
 
39
  | `bbox_overlaps` | No additional fields; boxes overlap with positive area |
40
  | `bbox_distance` | Boolean `is_near`, plus diagnostic `distance_px` and `distance_ratio` (normalized by the image diagonal) |
41
 
42
+ The policy nominates nearby siblings, prioritizes group structure, and stores complete bundles of applicable relationship types for selected pairs. Hierarchy is preserved separately through `parent`. Missing spatial relationships are unrecorded pairs, not negative examples.
43
 
44
  ## Real-image references
45
 
README.md CHANGED
@@ -116,9 +116,9 @@ See the [project page](https://github.com/ChartGalaxyPP/ChartGalaxyPlusPlus#thre
116
  <summary>Exact annotation counts and release notes</summary>
117
 
118
  - **Nodes:** 15,591,656 visual elements + 3,088,632 explicit groups + 217,195 implicit roots = 18,897,483.
119
- - **Relationships:** 18,680,288 parent links + 21,308,862 stored spatial records = 39,989,150. Each chart stores at most 100 spatial records; unrecorded pairs are not negative labels.
120
  - `is_near` is Boolean. Positive-area overlaps and containment are excluded; both absolute and relative distance thresholds must hold. The format guide specifies the rule.
121
- - Annotations are model-produced (`human_gold: false`); the release does not claim that every chart has been independently verified by a human.
122
  - Generated replacement illustrations and their affected annotations are included in the main dataset. Historical benchmark packages retain the identities of their evaluated inputs; use their supplied references when inspecting reported results.
123
  - Real-image references are supplied without checking their current availability. Source pages, direct image URLs, and archive references are distinguished in the format guide.
124
 
 
116
  <summary>Exact annotation counts and release notes</summary>
117
 
118
  - **Nodes:** 15,591,656 visual elements + 3,088,632 explicit groups + 217,195 implicit roots = 18,897,483.
119
+ - **Relationships:** 18,680,288 parent links + 21,308,862 stored spatial records = 39,989,150. Unrecorded pairs are not negative labels.
120
  - `is_near` is Boolean. Positive-area overlaps and containment are excluded; both absolute and relative distance thresholds must hold. The format guide specifies the rule.
121
+ - The 1,000-chart test set, comprising 500 real and 500 synthetic charts, has been manually verified. `human_gold` is true for the test split and false for the training split.
122
  - Generated replacement illustrations and their affected annotations are included in the main dataset. Historical benchmark packages retain the identities of their evaluated inputs; use their supplied references when inspecting reported results.
123
  - Real-image references are supplied without checking their current availability. Source pages, direct image URLs, and archive references are distinguished in the format guide.
124
 
SHA256SUMS CHANGED
@@ -1,14 +1,14 @@
1
  577accb542221312b19cc79ecace9f5004ee51eb59acd1da2ab9699089463624 .gitattributes
2
- 51d00f5949434cf4a667dc2590abaef11ffe48098f992af9248b0bd939a9c221 ANNOTATION_GUIDE.md
3
- 6de7772ea60a4a144f5a1aa7ea734700f69bc4b97227c225682fc4b21c4d402e DATA_FORMAT.md
4
  cc97a2c4ff7723a1f25179dc7c18f676fa84191bbb36ea7d0061acaf3c102559 LICENSE
5
  81c88405668ceb8b2aba512be68db631e75a509cdfcd0267fa6e143680a97e50 LICENSE_AND_SOURCES.md
6
- 165c527b210d217a9a4fd72f85871a2f7348b4e942dfbfa96e1bd60885a19d72 README.md
7
  c8c494822b72a8b9790b7b941e430e6977b2ad2f5534634251c0297f7d9fab9b USAGE.md
8
  7fad1bd37cec5aad580943301da546b2a3e7d6f6386053f86c3df441746220ad assets/annotation.png
9
  3f67c1b2d4b551dadde581d92a04725cdde151e17767e6f5678f0b7ed8f0b0f6 assets/gallery.png
10
  a34d5f633eb5d702db16d122ca976060bc261c9aad2b1fe429398c1b1c09babf assets/sources.json
11
- d0852894bbda4c3e7dff2a4e863af4ce683c2ea9430a85b09e1793a69fda02c1 data/real/test/part-00000.tar.gz
12
  ec6f21c29bdab7a69f11fcc9238f427c73d0d86cfc5fbb661042dddc1d35ed4b data/real/train/part-00116.tar.gz
13
  f5970041c9dc754b6e220613e293783bb72d51e666d3deed857a83d68264ba99 data/real/train/part-00117.tar.gz
14
  8aa5050cf03b91edc49c08e25f2a415c8737c03db110678b221bc177e999b95d data/real/train/part-00118.tar.gz
@@ -31,11 +31,11 @@ c9f47cd08923ce43d745699835d0936b1ec58aab447e57166284f2a540e24579 data/real/trai
31
  cce639cdae9cbac38cdcb1d1d6a52ca8c9f3242aaab6f05571b71cf918eefe81 data/real/train/part-00135.tar.gz
32
  abf467f4811cd9bfd5890188e3cbf8bd6d164cbd2671c8a8c34e6fecd9daeb20 data/real/train/part-00136.tar.gz
33
  efe64f09256c3ad264655e963bb0b6c0c75fc11250b1a2f57e2b470670a7c87e data/real/train/part-00137.tar.gz
34
- 1c10fd756bb9cf3ffca7d719ec68d9600047c9854cd4d2d4145aef52944fdd79 data/synthetic/test/part-00000.tar.gz
35
- 3d226acdce8d5ceb7334ffafbe56da6061beab75747cbc18d2477c962d348c15 data/synthetic/test/part-00001.tar.gz
36
- 2223b252abe26333f0e3f37d4c6313cf21d93ad83786a0f63bad3ef7b5cd8a0a data/synthetic/test/part-00002.tar.gz
37
- 875c46c10983c189ed91661b1060fb2805d2bdcd7615d9fcc6edeb30b6501150 data/synthetic/test/part-00003.tar.gz
38
- 686f286d3c078a155b5acc44bdc7cfa84de3bc0559847427f2d1dc9161e04b63 data/synthetic/test/part-00004.tar.gz
39
  31877e1ffebc679475102ebf5727becb5b246c823b4b4a0ce53ed94d184f03e6 data/synthetic/train/part-00000-000.tar.gz
40
  2cadf244d90ed76e3d0b8c515ea263651f035ce0913548b079bc1e0fcb6b4d08 data/synthetic/train/part-00000-001.tar.gz
41
  917e737e014057302dfa937c22f897759ebf589e7814a54ec4793f6d40d635e6 data/synthetic/train/part-00001-000.tar.gz
@@ -940,8 +940,8 @@ bc98397d0b3b2132c5aea4388fda82aa0bb2920d657ed396fc3595ac9f9a74f0 data/synthetic
940
  7a60cf3dfd54216faddca58db5751f725d0d03c740f6ac47d7d7d0592f289786 examples/01-layout/spatial_relations.json
941
  421c7436dda117753e0aa29aefeb3183122a21edf8f50cf88c6eec81487da925 examples/README.md
942
  c6b5fb7bc2fd3a928558f70f81ca333450f57baa62173e7f6fd6fd688c016180 examples/index.json
943
- 604e58ebbbfd8188ef5bd25591ee3794cc6183102abbad1844fa681f9366d3e5 manifest.json
944
- 2974aa59488b3522957abfdefbd2a697464a588288b33d0c6ba930b7ad7cf5c8 sample_index.jsonl.gz
945
  369805de890f1f82d0eb8fbc9af61b781467f32b2e3413e1c01ca1d4eb6b0398 scene_graph.schema.json
946
  f0c6644e6a4c014a0621435cf1f15ddbba18730f99262f1f4f1786749e943aeb source_counts.json
947
  89397031ecd96bad6ec7e3c511b3a7da95458e87551ec56b1e659298288726e6 spatial_relations.schema.json
 
1
  577accb542221312b19cc79ecace9f5004ee51eb59acd1da2ab9699089463624 .gitattributes
2
+ 232c743b0c9d39449c2d8552e702c5787da41998f5f66f02090de5a3e700f954 ANNOTATION_GUIDE.md
3
+ 762dae6861c517ad6c1ccef8976f0fe0ac7904dda5b55de7bb42b68740b913f4 DATA_FORMAT.md
4
  cc97a2c4ff7723a1f25179dc7c18f676fa84191bbb36ea7d0061acaf3c102559 LICENSE
5
  81c88405668ceb8b2aba512be68db631e75a509cdfcd0267fa6e143680a97e50 LICENSE_AND_SOURCES.md
6
+ aaf52a7f8dbc67a35bc438f34fc00fd31ee05246799525765197b5bbcc915a59 README.md
7
  c8c494822b72a8b9790b7b941e430e6977b2ad2f5534634251c0297f7d9fab9b USAGE.md
8
  7fad1bd37cec5aad580943301da546b2a3e7d6f6386053f86c3df441746220ad assets/annotation.png
9
  3f67c1b2d4b551dadde581d92a04725cdde151e17767e6f5678f0b7ed8f0b0f6 assets/gallery.png
10
  a34d5f633eb5d702db16d122ca976060bc261c9aad2b1fe429398c1b1c09babf assets/sources.json
11
+ 0122287f03f3c89a5c9176c6edc2efe8dab87ddf32f9dd5b2e1869671825cf15 data/real/test/part-00000.tar.gz
12
  ec6f21c29bdab7a69f11fcc9238f427c73d0d86cfc5fbb661042dddc1d35ed4b data/real/train/part-00116.tar.gz
13
  f5970041c9dc754b6e220613e293783bb72d51e666d3deed857a83d68264ba99 data/real/train/part-00117.tar.gz
14
  8aa5050cf03b91edc49c08e25f2a415c8737c03db110678b221bc177e999b95d data/real/train/part-00118.tar.gz
 
31
  cce639cdae9cbac38cdcb1d1d6a52ca8c9f3242aaab6f05571b71cf918eefe81 data/real/train/part-00135.tar.gz
32
  abf467f4811cd9bfd5890188e3cbf8bd6d164cbd2671c8a8c34e6fecd9daeb20 data/real/train/part-00136.tar.gz
33
  efe64f09256c3ad264655e963bb0b6c0c75fc11250b1a2f57e2b470670a7c87e data/real/train/part-00137.tar.gz
34
+ 9771be2c2adcd87025743de2926577c387db0ff6da13164846feeba32162c4df data/synthetic/test/part-00000.tar.gz
35
+ 43006c04f0ea1c548c78eaa07be60c7ae899a8bdd471ab033a098be5207538f0 data/synthetic/test/part-00001.tar.gz
36
+ 97b49fac44f9a6e1657c9aadc406a49e291e3d51b4d6a167ccffc09604624cd5 data/synthetic/test/part-00002.tar.gz
37
+ 96628d5a0ff700e453270bffd50986bfceeeb1e982264eb6f390bcdb58a46b73 data/synthetic/test/part-00003.tar.gz
38
+ 247ad6657bd8902afb229fdc3cfd7c52e02c0e3837fcf7ab34e007948b1fd8c2 data/synthetic/test/part-00004.tar.gz
39
  31877e1ffebc679475102ebf5727becb5b246c823b4b4a0ce53ed94d184f03e6 data/synthetic/train/part-00000-000.tar.gz
40
  2cadf244d90ed76e3d0b8c515ea263651f035ce0913548b079bc1e0fcb6b4d08 data/synthetic/train/part-00000-001.tar.gz
41
  917e737e014057302dfa937c22f897759ebf589e7814a54ec4793f6d40d635e6 data/synthetic/train/part-00001-000.tar.gz
 
940
  7a60cf3dfd54216faddca58db5751f725d0d03c740f6ac47d7d7d0592f289786 examples/01-layout/spatial_relations.json
941
  421c7436dda117753e0aa29aefeb3183122a21edf8f50cf88c6eec81487da925 examples/README.md
942
  c6b5fb7bc2fd3a928558f70f81ca333450f57baa62173e7f6fd6fd688c016180 examples/index.json
943
+ 5931a84a4513b8225ec44214f9b81717f65d294bba87166c01e372ed06c8c3cb manifest.json
944
+ b3dd359c6b48b15a40767f3a3f31d67ddff702258b5499489d1e8ce122937d61 sample_index.jsonl.gz
945
  369805de890f1f82d0eb8fbc9af61b781467f32b2e3413e1c01ca1d4eb6b0398 scene_graph.schema.json
946
  f0c6644e6a4c014a0621435cf1f15ddbba18730f99262f1f4f1786749e943aeb source_counts.json
947
  89397031ecd96bad6ec7e3c511b3a7da95458e87551ec56b1e659298288726e6 spatial_relations.schema.json
data/real/test/part-00000.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0852894bbda4c3e7dff2a4e863af4ce683c2ea9430a85b09e1793a69fda02c1
3
- size 2944417
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0122287f03f3c89a5c9176c6edc2efe8dab87ddf32f9dd5b2e1869671825cf15
3
+ size 2944565
data/synthetic/test/part-00000.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c10fd756bb9cf3ffca7d719ec68d9600047c9854cd4d2d4145aef52944fdd79
3
- size 40285089
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9771be2c2adcd87025743de2926577c387db0ff6da13164846feeba32162c4df
3
+ size 40284973
data/synthetic/test/part-00001.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d226acdce8d5ceb7334ffafbe56da6061beab75747cbc18d2477c962d348c15
3
- size 41168846
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43006c04f0ea1c548c78eaa07be60c7ae899a8bdd471ab033a098be5207538f0
3
+ size 41168588
data/synthetic/test/part-00002.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2223b252abe26333f0e3f37d4c6313cf21d93ad83786a0f63bad3ef7b5cd8a0a
3
- size 60286015
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97b49fac44f9a6e1657c9aadc406a49e291e3d51b4d6a167ccffc09604624cd5
3
+ size 60285938
data/synthetic/test/part-00003.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:875c46c10983c189ed91661b1060fb2805d2bdcd7615d9fcc6edeb30b6501150
3
- size 76925395
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96628d5a0ff700e453270bffd50986bfceeeb1e982264eb6f390bcdb58a46b73
3
+ size 76925225
data/synthetic/test/part-00004.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:686f286d3c078a155b5acc44bdc7cfa84de3bc0559847427f2d1dc9161e04b63
3
- size 77829020
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247ad6657bd8902afb229fdc3cfd7c52e02c0e3837fcf7ab34e007948b1fd8c2
3
+ size 77828804
manifest.json CHANGED
The diff for this file is too large to render. See raw diff
 
sample_index.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2974aa59488b3522957abfdefbd2a697464a588288b33d0c6ba930b7ad7cf5c8
3
- size 36289107
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3dd359c6b48b15a40767f3a3f31d67ddff702258b5499489d1e8ce122937d61
3
+ size 38525207