Skip to content

Commit

Permalink
Handle ranges per guidelines (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Shorouq <[email protected]>
  • Loading branch information
i-be-snek and i-be-snek authored Aug 7, 2024
1 parent 6ab138d commit aec20ae
Show file tree
Hide file tree
Showing 12 changed files with 10,226 additions and 87 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Unit Tests for Evaluation scripts via Pytest
name: Run Unit Tests via Pytest

on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ results

# ignore geopy cache (used for normalizing locations faster)
geopy_cache.sqlite

# pytest
.pytest_*
4 changes: 1 addition & 3 deletions Database/fix_nested_json.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import argparse
import pathlib

#from Database.scr.normalize_utils import Logging, NormalizeJsonOutput
# this one works tested by Ni 20240719
from scr.normalize_utils import Logging, NormalizeJsonOutput
#from .scr.normalize_utils import Logging, NormalizeJsonOutput

if __name__ == "__main__":
parser = argparse.ArgumentParser()
logger = Logging.get_logger("fix nested json sys output")
Expand Down
7 changes: 7 additions & 0 deletions Database/output/nlp4climate_guidelines_v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Annotation Guidelines v2 (changes in the normalization of numbers)

The files in this directory are the same gpt output from the [nlp4climate](Database/output/nlp4climate) experiments but with the normalization rules for a revised version of the annotation guidelines (v2).

The [jupyter notebook HTML export](guidelines_v1_versus_v2.html) shows a comparison with all items that underwent a change in the dev and test sets for these two categories: `Damage` and `Deaths`.

The annotation guidelines [can be found here](https://onedrive.live.com/personal/78d0e12ab2e8ce00/_layouts/15/doc2.aspx?resid=78D0E12AB2E8CE00!sb951b21f6a3b4408808a037df599c45d&cid=78d0e12ab2e8ce00&migratedtospo=true&app=Word) (you may need to request pormission to access the file).
Git LFS file not shown
Loading

0 comments on commit aec20ae

Please sign in to comment.