Skip to content

[WIP] Split ground_truthing/__init__.py into multiple files for improved readability #67

Draft
elliott-ruebush wants to merge 6 commits into
mainfrom
fix/split_ground_truthing_into_multiple_files
Draft

[WIP] Split ground_truthing/__init__.py into multiple files for improved readability #67
elliott-ruebush wants to merge 6 commits into
mainfrom
fix/split_ground_truthing_into_multiple_files

Conversation

@elliott-ruebush

@elliott-ruebush elliott-ruebush commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Overview

Currently all of the tkinter app logic for the ground truthing app lives in ground_truthing/__init__.py, which makes it harder for humans (and LLMs) to parse.

This PR is a pure move of classes/functions into separate files so that the ground truthing logic is more easily navigable. The only code changes that are present are type hint adjustments

[SUBJECT TO CHANGE] Additionally, I'm adding two example files with ADS-B and AIS data for reference if writing unit tests or other logic

Manual Testing

I did a quick smoke test to confirm that the ground truthing app launches and seems to behave with identical functionality after the file reorgs. The run_ground_truthing.py script is unchanged with this update, it's purely a file restructure of the internal ground truthing GUI logic.

Unit Testing

I have added some basic unit tests for functionality around audible time ranges and initial limit lines as well. I think these could be refined more for clarity but just wanted to get something down to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant