Skip to content

Commit

Permalink
Merge pull request #104 from swisstopo/LGVISIUM-79/refactor-layers-ob…
Browse files Browse the repository at this point in the history
…ject

LGVISIUM-79: refactor layers object
  • Loading branch information
lhaibach authored Nov 12, 2024
2 parents b2998f0 + 9d617cf commit 2ffcdef
Show file tree
Hide file tree
Showing 19 changed files with 446 additions and 806 deletions.
217 changes: 0 additions & 217 deletions src/scripts/label_studio_annotation_to_ground_truth.py

This file was deleted.

Loading

1 comment on commit 2ffcdef

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/stratigraphy
   __init__.py8188%11
   extract.py1941940%3–498
   get_files.py19190%3–47
   main.py1141140%3–307
src/stratigraphy/benchmark
   metrics.py594229%22–25, 29–32, 36–39, 46–49, 53–54, 58, 65–74, 78–91, 96–133
src/stratigraphy/data_extractor
   data_extractor.py74495%33, 46, 123, 168
src/stratigraphy/depthcolumn
   boundarydepthcolumnvalidator.py412051%47, 57, 60, 81–84, 110–128, 140–149
   depthcolumn.py2328265%29, 34, 66, 82, 87, 93, 109–117, 138, 146, 154–155, 171–173, 188, 195, 208–209, 226, 254–269, 307, 315–316, 332–334, 379, 398–406, 417, 422, 429, 460, 465–472, 487–488, 530–571
   depthcolumnentry.py361072%17, 21, 37, 52, 55, 72, 81, 98–100
   find_depth_columns.py1061982%42–43, 73, 86, 180–181, 225–245
src/stratigraphy/depths_materials_column_pairs
   depths_materials_column_pairs.py19763%23, 34, 55–60
src/stratigraphy/evaluation
   evaluation_dataclasses.py491178%52, 71–74, 90, 104, 125–131, 147
   groundwater_evaluator.py48198%77
   layer_evaluator.py664630%29–30, 35–39, 47, 69–95, 105–113, 128–149
   metadata_evaluator.py371462%46–65, 86–93
   utility.py16756%43–52
src/stratigraphy/groundwater
   groundwater_extraction.py1569937%52, 94, 127–132, 140, 167–171, 186–206, 217–306, 322–354
   utility.py393315%10–17, 30–47, 59–73, 88–102
src/stratigraphy/layer
   layer.py391367%28, 31, 39, 55–83
   layer_identifier_column.py795530%16–17, 20, 28, 43, 52, 61, 69–73, 81, 89, 106–111, 123, 136, 149–150, 169–172, 195–205, 219–246
src/stratigraphy/lines
   geometric_line_utilities.py86298%81, 131
   line.py51492%25, 50, 60, 110
   linesquadtree.py46198%75
src/stratigraphy/metadata
   coordinate_extraction.py106496%29, 93–94, 106
   elevation_extraction.py906033%34–39, 47, 55, 63, 79–87, 124–138, 150–153, 165–197, 212–220, 228–232
   language_detection.py181328%17–23, 37–45
   metadata.py662464%27, 83, 101–127, 146–155, 195–198, 206
src/stratigraphy/text
   description_block_splitter.py70297%24, 139
   extract_text.py29390%19, 53–54
   find_description.py642856%27–35, 50–63, 79–95, 172–175
   textblock.py901188%22, 27, 39, 44, 71, 79, 104, 116, 139, 160, 189
src/stratigraphy/util
   dataclasses.py32391%37–39
   interval.py1045547%29–32, 37–40, 46, 52, 56, 66–68, 107–153, 174, 180–196
   predictions.py723453%76, 99–122, 150–194
   util.py341362%41, 69–76, 90–92, 116–117
TOTAL2416104857% 

Tests Skipped Failures Errors Time
99 0 💤 0 ❌ 0 🔥 7.877s ⏱️

Please sign in to comment.