-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from sarda-devesh/main
Fix server to include types when processing user feedback
- Loading branch information
Showing
10 changed files
with
935 additions
and
643 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
83 changes: 83 additions & 0 deletions
83
macrostrat_db_insertion/example_requests/feedback_examples/0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"nodes": [ | ||
{ | ||
"id": 392536, | ||
"type": 4, | ||
"name": "Tree", | ||
"txt_range": [ | ||
[ | ||
597, | ||
601 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392535, | ||
"type": 4, | ||
"name": "Gowganda", | ||
"txt_range": [ | ||
[ | ||
579, | ||
587 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": -1, | ||
"type": 1, | ||
"name": "mafic", | ||
"txt_range": [ | ||
[ | ||
305, | ||
310 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": -2, | ||
"type": 2, | ||
"name": "apparent", | ||
"txt_range": [ | ||
[ | ||
207, | ||
215 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": -3, | ||
"type": 3, | ||
"name": "feldspar", | ||
"txt_range": [ | ||
[ | ||
64, | ||
72 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"source": -1, | ||
"dest": -2 | ||
}, | ||
{ | ||
"source": -2, | ||
"dest": -3 | ||
} | ||
], | ||
"sourceTextId": 22938, | ||
"supersedesRunIds": [ | ||
26718 | ||
] | ||
} |
278 changes: 278 additions & 0 deletions
278
macrostrat_db_insertion/example_requests/feedback_examples/1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,278 @@ | ||
{ | ||
"nodes": [ | ||
{ | ||
"id": 392239, | ||
"type": 4, | ||
"name": "mediumto", | ||
"txt_range": [ | ||
[ | ||
986, | ||
994 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392238, | ||
"type": 4, | ||
"name": "DR3", | ||
"txt_range": [ | ||
[ | ||
829, | ||
832 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392237, | ||
"type": 4, | ||
"name": "Fig.", | ||
"txt_range": [ | ||
[ | ||
764, | ||
768 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392235, | ||
"type": 4, | ||
"name": "Suczek", | ||
"txt_range": [ | ||
[ | ||
476, | ||
482 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392236, | ||
"type": 10, | ||
"name": "Dickinson et al.", | ||
"txt_range": [ | ||
[ | ||
492, | ||
508 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392233, | ||
"type": 4, | ||
"name": "Ingersoll et al.", | ||
"txt_range": [ | ||
[ | ||
360, | ||
376 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392232, | ||
"type": 11, | ||
"name": "Gazzi Dickinson", | ||
"txt_range": [ | ||
[ | ||
320, | ||
335 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392234, | ||
"type": 8, | ||
"name": "Dickinson", | ||
"txt_range": [ | ||
[ | ||
326, | ||
335 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392231, | ||
"type": 4, | ||
"name": "Villeneuve", | ||
"txt_range": [ | ||
[ | ||
238, | ||
248 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392240, | ||
"type": 4, | ||
"name": "DeCelles et al.", | ||
"txt_range": [ | ||
[ | ||
1039, | ||
1054 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392228, | ||
"type": 4, | ||
"name": "North", | ||
"txt_range": [ | ||
[ | ||
44, | ||
49 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392227, | ||
"type": 1, | ||
"name": "North American basement", | ||
"txt_range": [ | ||
[ | ||
44, | ||
67 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392229, | ||
"type": 4, | ||
"name": "Ross", | ||
"txt_range": [ | ||
[ | ||
217, | ||
221 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392219, | ||
"type": 1, | ||
"name": "Ga Gehrels", | ||
"txt_range": [ | ||
[ | ||
202, | ||
212 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392220, | ||
"type": 2, | ||
"name": "rocks", | ||
"txt_range": [ | ||
[ | ||
81, | ||
86 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
}, | ||
{ | ||
"id": 392226, | ||
"type": 3, | ||
"name": "feldspar", | ||
"txt_range": [ | ||
[ | ||
155, | ||
163 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": { | ||
"type": "lith_att", | ||
"id": 96 | ||
} | ||
}, | ||
{ | ||
"id": 392224, | ||
"type": 3, | ||
"name": "quartz", | ||
"txt_range": [ | ||
[ | ||
144, | ||
150 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": { | ||
"type": "lith_att", | ||
"id": 94 | ||
} | ||
}, | ||
{ | ||
"id": 392222, | ||
"type": 3, | ||
"name": "Sedimentary", | ||
"txt_range": [ | ||
[ | ||
69, | ||
80 | ||
] | ||
], | ||
"reasoning": null, | ||
"match": null | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"source": 392235, | ||
"dest": 392236 | ||
}, | ||
{ | ||
"source": 392232, | ||
"dest": 392234 | ||
}, | ||
{ | ||
"source": 392227, | ||
"dest": 392229 | ||
}, | ||
{ | ||
"source": 392219, | ||
"dest": 392220 | ||
}, | ||
{ | ||
"source": 392220, | ||
"dest": 392226 | ||
}, | ||
{ | ||
"source": 392220, | ||
"dest": 392224 | ||
}, | ||
{ | ||
"source": 392220, | ||
"dest": 392222 | ||
} | ||
], | ||
"sourceTextId": 22924, | ||
"supersedesRunIds": [ | ||
26704 | ||
] | ||
} |
Oops, something went wrong.