Skip to content

Commit

Permalink
try adding more truth generation to e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Oct 29, 2024
1 parent c68c618 commit b49a804
Show file tree
Hide file tree
Showing 4 changed files with 4,161 additions and 4,159 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/e2etest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
# See https://stackoverflow.com/a/692407/388951 for the stdout/stderr redirection
- name: Generate truth data
run: |
PYTHONPATH=. poetry run oldnyc/geocode/truth/generate_truth_gtjson.py > data/geocode/truth.geojson
export PYTHONPATH=.
poetry run oldnyc/geocode/geocode.py --images_ndjson data/images.ndjson --output_format id-location.json --ids_filter data/geocode/random500-ids.txt --geocode > /tmp/id-to-location.json
poetry run oldnyc/geocode/truth/make_localturk_csv.py data/geocode/random500-ids.txt /tmp/id-to-location.json data/geocode/random500.csv
poetry run oldnyc/geocode/truth/generate_truth_gtjson.py > data/geocode/truth.geojson
jq -r '.features[].id' data/geocode/truth.geojson > data/geocode/truth-ids.txt
- name: Check for diffs
run: |
Expand Down
Loading

0 comments on commit b49a804

Please sign in to comment.