How ecdysisfoundation/bugbox_open works
Bugbox3 is a Django application for ecological sample management and grower-facing farm programs. Growers submit applications and field measurements; administrators review them and can ingest survey files, generate labels, and manage results. Separate taxonomy and microbiome features support specimen classification and ecological data workflows. The README documents organization-scoped access, hybrid cloud/local deployment, an inference service, and a panorama stitcher. Several branches are represented by their exact directories because their implementation was not excerpted; links are limited to shown references or README documentation.
Main entry points: grower Grower workflow · admin Admin workflows · admin/data_ingestion.py Ingestion hub · services/data_ingestion.py Import processing
Components 25
Grower Portal
- Grower workflow
bugbox3/grower_portal/views/grower - Application forms
bugbox3/grower_portal/forms/grower/forms.py - Measurement capture
bugbox3/grower_portal/measurement_capture.py - Applications and farms
bugbox3/grower_portal/models/application.py - Farm records
bugbox3/grower_portal/models/farm.py - Admin workflows
bugbox3/grower_portal/views/admin
Data Operations
- Ingestion hub
bugbox3/grower_portal/views/admin/data_ingestion.py - Upload validation
bugbox3/grower_portal/forms/admin/data_ingestion_form.py - Import processing
bugbox3/grower_portal/services/data_ingestion.py - Import records
bugbox3/grower_portal/models/csv_import.py - Sample codes
bugbox3/grower_portal/models/sample_codes.py - Label generation
bugbox3/grower_portal/services/label_generator.py
Ecological Data
- Taxonomy
bugbox3/taxonomy - AI classification task
bugbox3/taxonomy/tasks.py - Specimen records
bugbox3/core/models.py - Microbiome workflows
bugbox3/microbiome - Panorama stitching
bugbox3/core/stitcher_api.py - Stitcher service
- Inference service
Platform Services
- Access control
bugbox3/core/permissions.py - Media storage
bugbox3/core/customstorage.py - Users and organizations
bugbox3/users/models.py - Background tasks
config/celery_app.py
Other components
- Grower
- Administrator
Connections 23
- Grower → Grower workflow: submits application
bugbox3/grower_portal/views/grower/application.py - Grower workflow → Application forms: uses forms
bugbox3/grower_portal/views/grower/application.py - Grower workflow → Applications and farms: creates and reads
bugbox3/grower_portal/views/grower/application.py - Grower workflow → Measurement capture: assigns measurements
bugbox3/grower_portal/views/grower/application.py - Grower workflow → Farm records: creates field
bugbox3/grower_portal/views/grower/application.py - Grower workflow → Access control: checks access
bugbox3/grower_portal/views/grower/application.py - Administrator → Admin workflows: manages applications
bugbox3/grower_portal/views/admin/applications.py - Admin workflows → Access control: checks access
bugbox3/grower_portal/views/admin/applications.py - Admin workflows → Applications and farms: reads records
bugbox3/grower_portal/views/admin/applications.py - Administrator → Ingestion hub: uploads data
bugbox3/grower_portal/views/admin/data_ingestion.py - Ingestion hub → Upload validation: validates upload
bugbox3/grower_portal/views/admin/data_ingestion.py - Ingestion hub → Import processing: builds storage path
bugbox3/grower_portal/views/admin/data_ingestion.py - Ingestion hub → Import records: creates import log
bugbox3/grower_portal/views/admin/data_ingestion.py - Import processing → Import records: writes import rows
bugbox3/grower_portal/services/data_ingestion.py - Import processing → Sample codes: resolves sample codes
bugbox3/grower_portal/services/data_ingestion.py - Admin workflows → Label generation: manages labels
- AI classification task → Inference service: requests predictions
bugbox3/taxonomy/tasks.py - AI classification task → Specimen records: updates classification
bugbox3/taxonomy/tasks.py - Taxonomy → Specimen records: classifies specimens
bugbox3/taxonomy/tasks.py - Microbiome workflows → Background tasks: runs background tasks
bugbox3/microbiome/tasks.py - Panorama stitching → Stitcher service: requests panoramas
- Media storage → Inference service: stores media
- Users and organizations → Grower workflow: organization-scoped access