Software

Introduction

VERDANT's wet-lab module senses methyl salicylate (MeSA), a compound corn releases when insect pests chew its leaves. The module converts MeSA to salicylic acid through SABP2, then amplifies that signal through an engineered extension of the shikimate pathway. The amplified signal triggers production of a Bt-derived Vip3A insecticidal protein, and a theophylline-gated kill switch keeps the bacteria contained.

In other words, VERDANT is a damage-sensitive, inducible biocontrol system that only activates during the part of the plant's life cycle when insects are chewing its leaves, not while the plant is at reproductive stages. The software developed here answers the most practical part of that question: for a particular field at a particular time, is the leaf-feeding condition likely to be met?

Overview

Fall armyworms feed on leaves and the whorl during the vegetative stages of corn, then migrate to the ear from ear formation through the dough stage3. Leaf feeding is exactly what the wet-lab circuit recognizes: as the pest eats, the damaged plant releases a signal that activates the circuit. Vip3A is therefore delivered only when an active pest is feeding on the plant, and not when no damage is occurring.

The Vigilant Insect Pest Emergence Radar (VIPER) models both timelines, corn development and fall armyworm development, separately using degree-day calculations, then combines them into a predicted calendar range showing when the system would likely be active.

System Architecture

VIPER uses a four-layer architecture:

  • Presentation layer: two separate front ends (a static HTML/JS page and a Python/Streamlit prototype) that run the same model.
  • Integration layer: communicates with an outside weather source, Open-Meteo, for both forecasts and historical archives.
  • Model layer: the degree-day calculations for corn growth and fall armyworm timing, the risk-window engine, and regional context.
  • Data layer: stores the static constants and dynamic values (weather cache, output state) used by each model.

Component Breakdown

VIPER's components map onto the four-layer architecture shown in Figure 1. The model layer does the calculation; the presentation layer delivers it to the user; the validation suite checks both against each other.

01

Model Layer

Degree-day calculations and the logic that combines them

Corn growth-stage model

Base 10 °C · ceiling 30 °C · VE / V6 / VT / R1

Using daily air temperature, with a base temperature of 10°C and a ceiling temperature of 30°C for the growing-degree-day calculation, the corn growth-stage model computes degree-days the same way state extension reports do. Each accumulated degree-day value is then assessed against pre-selected thresholds for VE, emergence; V6, the six-leaf whorl-formation stage, likely the range in which the insect is attracted by MeSA and can feed on the relevant part of the plant; VT, tasseling; and R1, silking, when the ear forms and the larvae shift their feeding there. These thresholds are conversion values derived directly from the Fahrenheit-based state extension publications2,8. Generic defaults, customizable by each user, are set within the code.

Fall armyworm generation-timing model

Base 13.51 °C · 490 DD egg–adult

Fall armyworm generation-timing model is a degree-day model with a basal temperature of 13.51°C and total degree-day requirement of 490 DD from egg hatching to adult emergence. These divisions can be divided as follows: eggs: 171.5 DD, larvae: 193.8 DD, and pupa: 124.7 DD7. Further division is made between early- and late-instar larvae and their probability of feeding on their native host versus the corn ear via a set of preliminary fractions: 45% for early instars, which eat on leaves and whorl, and 55% for late instars, which may relocate to the ear as development proceeds, as there were no specific data available about degree-day calculations specifically for early versus late instar larvae in either a plant versus the ear context. Field guidance recommends targeting younger, smaller larvae before they move deeper into the whorl or into the ear4. Figure 9, in the Usage section below, plots the degree-day curves behind one sample run of this calculation.

Risk-window engine

Output: a calendar date range

Each of the degree-day calculations from the corn growth-stage and fall-armyworm generation-timing models above was compared against one another to generate risk ranges, which were presented so that a risk window for larval feeding on the corn leaves could be determined. The final value generated by this engine was a calendar date range during which both the host plant and the potential attacker, fall armyworm, would be available.

Regional-context notes

Three published regional analyses

Each field submitted to the tool is then given background context drawn from three published regional analyses, to flag when the calculation may be less directly applicable outside the temperate U.S. regions where it was developed: a southeastern-U.S. zonation of overwintering risk6, a global climate-suitability model based on annual coldest-month temperatures5, and an African maize-specific model using a narrower 21-25°C optimal range1. These three sources are compared against the tool's temperate-U.S. thresholds so a user working outside that region can see how much the underlying assumptions might shift.

02

Presentation Layer

How the output reaches a grower

Two front-ends, one model

Python/Streamlit · JavaScript/HTML

As a dual implementation model, this exists in 2 forms that were initially built in tandem with each other. Both the prototyped software built with Python/Streamlit and the final product built from JavaScript/HTML share precisely the same mathematical models so the output is numerically identical; however, the single-file JavaScript version can be uploaded directly into an internet browser with nothing else required, eliminating all potential for download issues while remaining identical in output and functionality.

Identification guide

Five embedded CC BY 3.0 photographs

Located on the same static HTML page as the decision-making model, the identification guide now embeds five real reference photographs directly in the page instead of linking out to external sources, so the guide keeps working even if a source site is reorganized or taken down years from now. Three images show larvae at different angles, including the insect's characteristic inverted “Y” marking near the head capsule and the row of dark spots along the body; two further images show the corresponding leaf and whorl damage, ranging from transparent, “window-paned” tissue from early-instar feeding on a single leaf to ragged, torn damage across a heavily fed-upon whorl. Every photograph is individually licensed under Creative Commons CC BY 3.0 and credited in a caption beneath the image with photographer, institution, and source, consistent with the license's attribution requirement.

03

Validation

Cross-cutting checks on everything above

Validation suite

Two languages, checked against each other

The model is written in 2 separate coding languages to maintain reliability by comparing against itself and ensuring that output doesn't deviate on a single comparison run. Beyond that, a script directly opens the final tool in a Chromium Browser window for a test run without the developer GUI in order to ensure the same is true inside its standard application state and a clear failure state, rather than a broken and unnavigable page, appears correctly upon simulated network failure (see Figure 8).

Alignment with Judging Criteria

Synthetic Biology Standards

VIPER works on field, weather and degree-day data rather than genetic parts or sequences, so SBOL and GenBank formats don't directly apply. The data standard it relies on is Open-Meteo's weather API (JSON responses, ISO 8601 dates), documented at open-meteo.com. If a future modeling effort produces a circuit kinetic parameter, such as Vip3A concentration for a given MeSA concentration, VIPER's inputs are structured so that value could be read in alongside the existing biological parameters (see Future Enhancements). That integration has not been built yet.

Validation

Every degree-day value comes from established papers and extension resources rather than arbitrary choices, and all assumptions are stated directly in the code. Predictions were also checked against independent 2026 field data (see Validation against real 2026 field data).

Usefulness to Other Projects

Parameters are designed to be easy to change. A team studying a different insect or crop only needs that species' degree-day model, its developmental thresholds, and what their sensing mechanism detects. The same risk-window engine could support corn earworm, European corn borer or soybean looper, or a different plant–pest pair entirely, such as diamondback moth on brassicas or codling moth on apple, wherever a published degree-day model exists. More broadly, any team building a stage-gated or pest-triggered biocontrol circuit, not just one that senses MeSA, can reuse VIPER as a decision-support layer: swap in the new parameters and the calendar, risk-window and flagging logic carries over unchanged. Teams are welcome to extend it further, for example with a flag for a different vulnerable plant stage, a region-specific threshold set, or a weather source better suited to their region.

Integration with External Tools

Daily temperatures are pulled dynamically from Open-Meteo9. Unlike many decision tools, VIPER does not need a connection for most runs: demo mode works fully offline, and all non-weather values live in plain-text code that can be adapted easily.

User-Friendliness

The grower interface only asks for what a farmer can realistically provide: field location, planting date and, optionally, the date they first saw the pest or leaf injury. Each input uses plain wording, with an obvious default and an explanation of what that default means. Demo mode allows trial runs without a location or internet connection. The interface is available in English and Spanish, toggled with a single button (see Figure 7), and includes adjustable text size.

Documentation for Future Teams

All code is commented at the function level, including the biological reasoning behind each constant, so a future student can see not only what a line does but why that number was chosen. Each version has its own README with setup instructions, every simplification the model makes, and suggested follow-up work, so a new team can get the software running in minutes. Together with Figure 1, this is meant to be a first gateway for whoever takes up the work next.

Output Reference

Each run of the tool produces:

  • Corn growth-stage calendar: predicted dates for VE, V6, VT and R1 (emergence, six-leaf/whorl, tasseling and silking).
  • Leaf-feeding risk windows (Wave 1, Wave 2, …): a start and end date for each predicted fall armyworm generation, when larvae are feeding on leaves and whorl rather than the ear.
  • Silking-overlap flag: marks any window that overlaps R1, meaning ear feeding is also possible for that wave.
  • Headline risk status: a plain-language summary of today's risk and the next predicted high-risk window, so a grower doesn't have to read the full calendar.
  • Weather-source label: states whether the run used live weather, Open-Meteo's historical archive, or sample data, so the user knows how much to trust the dates.

Installation

Hardware. VIPER requires no hardware. It is a purely computational decision-support layer that works alongside the wet-lab components without controlling or interfacing with any equipment or sensor.

Wet-lab integration. The tool does not call into wet-lab equipment or lab software. The integration is conceptual: the risk window it predicts corresponds to the field condition the MeSA-responsive circuit was designed to respond to, young larvae feeding on leaves before ear development. The output should be read as "when is it appropriate to deploy or monitor the system in the field," not as an automated control signal.

Distribution. In line with team policy, all software is available as source code in the team's official iGEM GitLab repository, released under an OSI-approved open-source license (see the repository's LICENSE file). There is no public web app; to use the tool, clone or download the repository and run it as described below.

Requirements

Software Requirements

  • Any up-to-date web browser, no plugins (both versions)
  • A live internet connection for current weather data (not needed for demo mode)
  • Python 3.9 or higher (Streamlit prototype only)
  • pip packages streamlit, pandas, requests, matplotlib (Streamlit prototype only)

Static HTML Version (recommended for general users)

Clone the repository or download it as a ZIP, then open index.html in a browser. No server, build step or installation is needed. This is the version intended for farmers; it includes the identification guide, regional notes and a placeholder for the team's tutorial video.

Python / Streamlit Prototype

After downloading the code, install the requirements and start the app:

pip install -r requirements.txt streamlit run app.py

A browser tab opens at http://localhost:8501. This version is useful for anyone who wants to work with the model output in Python; because it takes the same inputs, a fresh clone of the repository reproduces the same results.

Development

Rather than building the whole pipeline before testing anything, VIPER was built in seven stages, with a verification step after each one.

Stage 1: Literature Review and Parametrization

Every biological assumption was sourced from citable material before any model code was written. Corn developmental thresholds came from U.S. extension growing-degree-day resources2,8. Fall armyworm feeding location, leaf and whorl versus ear, was confirmed using Cornell IPM3, Bayer Crop Science2 and University of Minnesota Extension8. Fall armyworm development rates were taken from a peer-reviewed temperature-dependent development study7, then checked against regional analyses from the southeastern U.S.6, a global climate-suitability study5 and an Africa-specific temperature study1. Together these established what to expect from the tool outside temperate climates.

Stage 2: Core Model in Python

The corn and fall armyworm degree-day models were implemented in Python and checked for sound internal logic before any interface was built. The model was run on synthetic inputs, producing predicted stage and generation dates, a graph, and a set of automated checks: output must be in chronological order, generations must not run backwards, and no computed window may have negative length.

Stage 3: Streamlit Prototype Interface

An interactive Streamlit front end was built around the Python model for quick iteration and early demonstrations. The existing model was plugged directly into a live Streamlit app, and a demo mode was added so the tool could be shown before live data was connected.

Stage 4: Live Weather Integration

Synthetic data was replaced with real weather. A simple geolocation and weather-retrieval system pulls historical data and forecasts up to 16 days ahead from Open-Meteo9. If the connection fails for any reason, the software automatically falls back to demo mode (see Figure 3).

Stage 5: Static, Dependency-Free Version

The server-dependent Python app was ported line by line to vanilla JavaScript, producing a single HTML file that runs in any browser with nothing installed. Outputs were confirmed identical by directly comparing Python and JavaScript results on a fixed set of inputs, and the page was tested in a separate Chromium-based engine to confirm it works outside the Python environment.

Stage 6: Team Branding Integration

The tool was styled to match the team wiki and other submitted materials, using the VERDANT logo and exactly matched colors, including a background color sampled from the logo. Colors were double-checked against reference samples before changes were committed.

Stage 7: Documentation and Grower-Facing Features

Following PI feedback to share source code through a repository rather than the public web, every reference to a hosted version was removed from both READMEs; the code is available through the team's iGEM GitLab repository. To make the tool useful directly to farmers, diagnostic photos, an identification guide and local temperature-based context were added. Both versions continued to pass the same cross-validation before release.

The identification guide was later revised to replace a list of external links with five individually licensed CC BY 3.0 photographs embedded directly in the page, so the guide stays intact even if a source page moves or disappears.

Usage

A user, whether a team member, a grower or an extension agent, either enters a field location or turns on demo mode. They then give one required input, the planting date, and one optional input, the date moths, egg masses or first leaf damage were noticed. If no date is entered, the tool assumes egg-laying 30 days after planting. From these inputs VIPER generates:

  • A predicted calendar of corn stages (emergence, six-leaf/whorl, tasseling, silking) for that field;
  • Leaf-feeding risk windows for each predicted fall armyworm generation;
  • Flags on any window that overlaps silking, showing where ear feeding can also occur;
  • A plain-language headline with the current risk status and the next expected high-risk window.

Alongside the results, the page includes a visual timeline, a "Common questions" section, the identification guide, and a regional climate comparison explaining how to interpret results outside the temperate range. The statically hosted page is the intended final version, with space reserved for a tutorial video.

Example Runs

The screenshots below are real runs of the static index.html version, captured October 18, 2026. They cover demo mode, live weather at two latitudes, the Spanish interface and the built-in limitations panel. Use the arrows, the thumbnails or your keyboard's arrow keys to move between figures, and click any image to enlarge it.

Validation Against Real 2026 Field Data

To test predictions against a real season rather than only against itself, we compared the Figure 5 Rochester run (planted May 15, 2026, no signs entered, real Open-Meteo weather) with Cornell's NY Sweet Corn Pheromone Trap Network10,11, which independently monitors fall armyworm moths at 33 sites across New York each week.

VIPER predictionCornell trap network
Wave 1 begins July 7, 2026 Fall armyworm first reported at 2 of 33 sites in the July 7, 2026 report10
Wave 2 ends September 22, 2026 (overlaps silking) Fall armyworm detected at 9 of 33 sites by the final report, September 22, 202611

Both predicted windows line up with real, independently measured fall armyworm activity for the same season.

Degree-day accumulation for corn growth stages and fall armyworm development.
Figure 11. Degree-day accumulation for the Figure 7 demo run (planted May 22, 2026; signs first seen September 2, 2026). The upper plot shows accumulated degree-days against corn growth-stage thresholds, while the lower plot shows the fall armyworm generation-1 leaf-feeding window.

User Feedback

Three outside testers used the static HTML version without developer help:

  • A farmer found the interface self-navigable for someone without a science background and, comparing predictions with his own field experience, said the results were accurate.
  • A tester with low vision said the large on-screen text was easier to read than the small print many sites default to.
  • A self-described non-tech-savvy tester completed the input form and understood each prompt without assistance.
Grower testing the software.
Figure 12. Grower testing the Software.

Connection to the Wet-Lab Circuit

The field validation above checks VIPER's risk windows against independent pest surveillance, not against VERDANT's engineered circuit; connecting the two is still open work. The strongest existing link is the Vip3A bioassay: fall armyworm larvae fed Vip3A-producing E. coli showed reduced weight gain and increased lethargy compared to controls, direct evidence of activity against the exact species VIPER models. Full part-by-part characterization is documented on our Experiments and Parts pages.

Future Enhancements

  • Instar-specific degree-day model: replace the 45/55 early/late instar split with a better-validated, instar-specific set of requirements. Field guidance recommends targeting younger larvae before they move deeper into the whorl or ear4, but no published degree-day split exists yet.
  • Hybrid-specific thresholds: let users set corn-stage degree-day intervals from their hybrid's maturity rating instead of general defaults.
  • Real-time regional trap data: read public pheromone-trap and migration data for the user's region in place of a user-estimated first egg-laying date, removing the model's biggest source of uncertainty.
  • Region-specific parameters: Malekera et al.'s7 defaults come from a wide range of conditions, while regional studies, from a U.S. zonation placing overwintering limits near 28–29° N6 to a global coldest-month model5 and an African maize model with a 21–25 °C optimum1, show how much these can vary. A revised tool could select or auto-detect appropriate thresholds for a given area.
  • Direct input of a circuit parameter: take engineered-signal kinetics, such as Vip3A output for a given MeSA concentration, from a related modeling effort and factor them directly into the risk window.
  • AI features: use a language model to turn free-text field notes (e.g. "whorl damage near border on eastern field") into structured observations with time and severity, and use image classification to estimate larval instar from a photo of damaged foliage.

Conclusion

VIPER combines two independent, literature-backed degree-day models into a tool that guides when VERDANT's inducible biocontrol should be deployed, field by field. Its two code bases, a Python/Streamlit implementation used for development and testing and a dependency-free static HTML version run locally from the repository, are cross-checked to guarantee identical modeling logic. An identification guide written for users without a technical or entomology background helps the tool reach growers directly. Every parameter comes from documented studies or is clearly labeled as a simplification, and the structure is built to expand with other modeling frameworks, so this example can be applied well beyond one pest and one crop.

References

  1. Adan, M., Tonnang, H. E. Z., Kassa, C. E. F., Greve, K., Borgemeister, C., & Goergen, G. (2024). Combining temperature-dependent life table data into Insect Life Cycle Model to forecast fall armyworm Spodoptera frugiperda (J.E. Smith) distribution in maize agro-ecological zones in Africa. PLOS ONE, 19(5), e0299154. https://doi.org/10.1371/journal.pone.0299154
  2. Bayer Crop Science. (n.d.). How to determine corn growth stages. https://cropscience.bayer.us/articles/bayer/corn-growth-stages-and-gdu-requirements
  3. Cornell Integrated Pest Management. (n.d.). Fall armyworm (Spodoptera frugiperda): Vegetable IPM fact sheet. Cornell University College of Agriculture and Life Sciences. https://cals.cornell.edu/integrated-pest-management/outreach-education/fact-sheets/fall-armyworm-spodoptera-frugiperda-vegetable-ipm-fact-sheet
  4. Corteva Agriscience. (2026, April 30). Fall armyworm. https://www.corteva.com/nz/News-and-Resources/faw.html
  5. Early, R., González-Moreno, P., Murphy, S. T., & Day, R. (2018). Forecasting the global extent of invasion of the cereal pest Spodoptera frugiperda, the fall armyworm. NeoBiota, 40, 25–50. https://neobiota.pensoft.net/articles.php?id=28165
  6. Garcia, A. G., Godoy, W. A. C., Thomas, J. M. G., Nagoshi, R. N., & Meagher, R. L. (2018). Delimiting strategic zones for the development of fall armyworm (Lepidoptera: Noctuidae) on corn in the state of Florida. Journal of Economic Entomology, 111(1), 120–126.
  7. Malekera, M. J., Acharya, R., Mostafiz, M. M., Hwang, H.-S., Bhusal, N., & Lee, K.-Y. (2022). Temperature-dependent development models describing the effects of temperature on the development of the fall armyworm Spodoptera frugiperda (J. E. Smith) (Lepidoptera: Noctuidae). Insects, 13(12), 1084. https://www.mdpi.com/2075-4450/13/12/1084
  8. University of Minnesota Extension. (n.d.). Corn growth and development. https://extension.umn.edu/growing-corn/growth-and-development
  9. Zippenfenig, P. (2023). Open-Meteo.com weather API [Computer software]. Zenodo. https://zenodo.org/records/14582479
  10. Zuefle, M., & Cornell New York State Integrated Pest Management Program. (2026a, July 7). New York sweet corn trap network report: July 7, 2026. https://sweetcorn.nysipm.cornell.edu/2026/07/07/new-york-sweet-corn-trap-network-report-7-7-2026/
  11. Zuefle, M., & Cornell New York State Integrated Pest Management Program. (2026b, September 22). New York sweet corn trap network report: September 22, 2026. https://sweetcorn.nysipm.cornell.edu/2026/09/22/new-york-sweet-corn-trap-network-report-9-22-26/