-
Notifications
You must be signed in to change notification settings - Fork 0
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 #3 from DARPA-CRITICALMAAS/cmaas_utils
Test suite for verification
- Loading branch information
Showing
25 changed files
with
1,538 additions
and
348 deletions.
There are no files selected for viewing
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,28 @@ | ||
# File extensions to ignore | ||
*.pyc | ||
*.log | ||
*.old | ||
*.DS_Store | ||
|
||
# Directories to ignore | ||
[Tt]estdata | ||
[Dd]ata | ||
[Oo]utput | ||
[Rr]esults | ||
[Ll]ogs | ||
[Tt]ools | ||
[Tt]mp | ||
tests/logs | ||
tests/uncommited_data | ||
__pycache__ | ||
.pytest_cache | ||
.vscode | ||
.ruff_cache | ||
|
||
|
||
# virtual environments | ||
venv | ||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,23 @@ | ||
numpy | ||
pandas | ||
rasterio | ||
opencv-python | ||
pandas | ||
numpy | ||
rich | ||
pytest | ||
matplotlib | ||
|
||
--extra-index-url https://test.pypi.org/simple/ | ||
cmaas_utils>=0.1.9 | ||
#cmaas_utils packages | ||
pydantic | ||
git+https://github.com/DARPA-CRITICALMAAS/[email protected]+draft | ||
|
||
# USGS grading metric requirements | ||
joblib | ||
tqdm | ||
joblib | ||
jupyter | ||
|
||
# For development testing | ||
pytest | ||
pytest-cov | ||
ruff |
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Empty file.
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,74 @@ | ||
{ | ||
"version": "5.0.1", | ||
"flags": {}, | ||
"shapes": [ | ||
{ | ||
"label": "2_pt", | ||
"points": [ | ||
[ | ||
79.0, | ||
25.0 | ||
], | ||
[ | ||
91.0, | ||
34.0 | ||
] | ||
], | ||
"group_id": null, | ||
"shape_type": "rectangle", | ||
"flags": {} | ||
}, | ||
{ | ||
"label": "3_pt", | ||
"points": [ | ||
[ | ||
80.0, | ||
36.0 | ||
], | ||
[ | ||
89.0, | ||
48.0 | ||
] | ||
], | ||
"group_id": null, | ||
"shape_type": "rectangle", | ||
"flags": {} | ||
}, | ||
{ | ||
"label": "L_poly", | ||
"points": [ | ||
[ | ||
75.0, | ||
2.0 | ||
], | ||
[ | ||
95.0, | ||
12.0 | ||
] | ||
], | ||
"group_id": null, | ||
"shape_type": "rectangle", | ||
"flags": {} | ||
}, | ||
{ | ||
"label": "TZ_poly", | ||
"points": [ | ||
[ | ||
75.0, | ||
14.0 | ||
], | ||
[ | ||
95.0, | ||
24.0 | ||
] | ||
], | ||
"group_id": null, | ||
"shape_type": "rectangle", | ||
"flags": {} | ||
} | ||
], | ||
"imagePath": "mock_map.tif", | ||
"imageData": null, | ||
"imageHeight": 100, | ||
"imageWidth": 100 | ||
} |
Binary file not shown.
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,5 @@ | ||
,Map,Feature,F1 Score,Precision,Recall,IoU Score,USGS F1 Score,USGS Precision,USGS Recall,Mean matched distance Points,Matched Points,Unmatched Points,Missing Points | ||
0,mock_map,mock_map_TZ_poly,0.9177215189873417,1.0,0.847953216374269,0.847953216374269,0.905625,1.0,0.8275271273557966,,,, | ||
1,mock_map,mock_map_3_pt,0.848584707450122,0.7425116190188568,0.9900154920251424,,0.848584707450122,0.7425116190188568,0.9900154920251424,,3.0,1.0,0.0 | ||
2,mock_map,mock_map_L_poly,0.9778021375719375,0.9845474613686535,0.9711486118671747,0.95656836461126,0.957057127269893,0.9690656565656564,0.945342571208622,,,, | ||
3,mock_map,mock_map_2_pt,0.99,0.99,0.99,,0.99,0.99,0.99,,1.0,0.0,0.0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.