Full documentation

TerraByte

What does a farmer need to know to deal with confidence, and how should it reach them?

This page explains the whole project from the beginning: why it exists, what farmers said, what was built, what the tests showed, what changed as a result, and what has still not been tried. It assumes you know nothing about it.

Status: concept stage, not a deployed product Tested with farmers: small smoke tests in 2024 only Rebuilt: September 2026

Annie Vaithara, BDes Pre-Thesis, Srishti Manipal Institute of Art, Design and Technology.
Faculty guide: Vivek Garady, Dean of Creative and Applied Computations.

Jump to a section The short versionThe problemWhat farmers saidHow the idea changedThe hubModule 1: the price messageThe forecasting pipelineThe dataThe modelThe test and its resultsWhat happens nextRun it yourselfLimitationsGlossaryReferences
Start here

The short version

TerraByte began as a way to predict crop prices. It became a project about confidence.

TerraByte is the start of a framework that could grow into a knowledge hub for farmers in rural regions, beginning with smallholder farmers in Palghar district, Maharashtra. It is a design research project. It is not a deployed product and not a startup.

In 2024 the idea was prediction: map the weather and forecast crop prices, then send both to farmers. Informal fieldwork around a family farm changed that. Farmers said a daily weather feed only made them anxious. And not knowing market prices turned out to be only part of the problem. The larger part was how little confidence farmers had, in selling to a buyer they did not know and in appealing for government schemes.

In 2026 the original forecasting pipeline was rebuilt and tested against the simplest possible alternative: repeating last month's price. On the only data available, the forecast was not reliably better. That pointed the same way as the fieldwork: current prices first, forecasts second.

So the hub is designed to start with one thing: the latest actual price, named and dated so a farmer can check it and point to it, delivered by SMS, an automated voice call and a notice at the Panchayat office. The working hypothesis, which has not been tested, is that a price a farmer can check gives them something to bargain with, and more confidence in their own trade.

What exists and what doesn't

Built in code

A forecasting pipeline

Prepares price data, fits a model, and backtests it against simple baselines. It supports the price module only indirectly and does not feed the default message.

Designed as a concept

Module 1: market prices

The price message (SMS, voice, Panchayat notice) and its principles. Never shown to farmers in its revised form.

Direction only

Modules 2 and 3

Government schemes, and larger-scale environmental disturbances. No design, no code, nothing tested.

Written, not run

The farmer test

A full protocol for testing four versions of the price message with six to eight farmers. Planned, not yet carried out.

Context

The problem and the place

A farmer selling at the farm gate sees only the first step of a long chain.

Palghar is a district a few hours north of Mumbai, in the North Konkan region of Maharashtra. It has coastal plains in the west, hilly forested talukas such as Jawhar and Mokhada in the east, and a large Adivasi population. Paddy is the main monsoon crop. Mango is grown in talukas such as Dahanu and Wada, and Dahanu's chikoo (sapota) is the district's One District One Product.

Most farmers here are smallholders. Their produce passes from village buyers and collectors to wholesale mandis (regulated produce markets), commission agents and, eventually, city shops. Each step takes a margin. A farmer selling at the farm gate sees only the first.

The project's starting premise was that farmers' knowledge of their land and crops is not the gap. What they cannot see from the village is information from beyond it, above all market prices. The fieldwork then added a second gap that had not been planned for: confidence in acting on what they do know.

The author's family has farmed near Malwada for about forty years. That provided a way in, and a position that had to be accounted for (see the caveats in the next section).

Fieldwork, 2024

What farmers said

Missing information was only part of the problem. The crux was confidence.

How the fieldwork was done

The fieldwork took place during the 2024 semester in the villages around the family farm in Malwada: informal conversations with farmers and other residents, plus observation, arranged through the author's parents. There was no fixed interview guide or sampling plan, though the author asked her father to raise two questions: how confident farmers felt about selling to a buyer they had not sold to before, and how aware they were of government schemes.

Language decided who could be heard. Most conversations were in Marathi, which the author is not fluent in. Farmers were not comfortable talking at length with someone who was not, and opened up once her father, a fluent Marathi speaker, led the conversations while she observed. Some farmers spoke Hindi, and with them she could talk directly. What follows therefore reaches us by two routes: the father's interpretation of the Marathi conversations, and the author's own conversations in Hindi.

How much weight this can bear

The family owns land in the area, and people were talking to a landowner, which may have shaped what they chose to say. These are observations from a small, connected circle, not a representative survey. No traders, extension workers or Panchayat officials were interviewed, and the views of women farmers, or of Adivasi farmers whose first language is neither Marathi nor Hindi, cannot be separated out. The conversations were informal, so there was no written consent process, and no participant is named.

The seven things that came out of it

What was heardDetail
1. Prices over weather and soilFarmers cared more about what their harvest would sell for. What they mainly wanted was direct, current market prices.
2. Daily weather made farmers anxiousHeard directly, in Hindi, without an interpreter. The author's reading: a farmer cannot change tomorrow's weather, so a daily feed gives them something to worry about and nothing to do. This says nothing about rarer, larger-scale information such as a major disturbance to the season.
3. One buyerBuyers who come to the village can move on to the next seller if terms are not met, but most farmers have only one buyer willing to take their harvest. There are no cooperatives or other channels.
4. Little confidence, little hopeApart from a few very popular schemes, which farmers felt were being misused to some extent, they had little hope of getting funding, support or help. As relayed by the author's father, a lack of information was only part of it; the main problem was a lack of confidence, in selling to someone new and in getting help from schemes.
5. Data runs outA common practice was to let a 30-day mobile data pack run its course even if the data ran out after 15 days, because renewing early was not affordable. Power cuts lasting several hours were frequent.
6. Outsiders are distrustedVillagers were proud of their ways and sceptical of outside interventions, which they felt came from people who did not understand their lives.
7. Land lies idleMuch agricultural land is legally protected for Scheduled Caste and Scheduled Tribe communities. With large families and little land, ownership disputes are common and fertile land can lie unused. Outside TerraByte's scope, but part of the picture.
“Real time market price and price forecast, in that order of importance.”The author's conclusion, 2024 project notes

Taken together: farmers wanted prices (1). More information was not simply better, because a daily weather feed made them anxious (2). And what stood between them and a better deal was confidence as much as information (3, 4). Information matters to the extent that farmers feel able to act on it, and it has to reach them in a way that reduces worry instead of adding to it. A price they can trust and point to, in front of their buyer or a new one, might give them something to bargain with. Whether it does is the question the rest of the project has to answer.

The confidence finding is the father's account of the Marathi conversations plus the author's reading of it. The weather finding comes from her own Hindi conversations. Neither is a measured result.

History

How the idea changed

From a forecasting tool to a knowledge hub, one piece of evidence at a time.

  1. Aug-Nov 2024Start: predict weather and pricesBrief, proposal, fieldwork around Malwada, and a first system architecture that showed IoT sensors, WiFi modules and cloud servers. None of those exist in remote Palghar.
  2. Oct 2024Crop-recommendation classifiers, droppedRandom Forest experiments to recommend which crop to grow. Set aside once fieldwork showed farmers cared more about what a crop would sell for.
  3. Nov 2024Price forecasts and an SMS conceptA monthly dataset for rice, mango and onion (2015-2023) and first Prophet forecasts with default settings. Delivery redrawn around SMS and a Panchayat notice instead of IoT. During the semester, smoke tests with a small group of farmers: shown as a pop-up the message felt scary, like something to rush; as an SMS it felt calmer and more dependable.
  4. Dec 2024ExhibitionThe semester ended. There was no time left to run proper alpha tests.
  5. Sept 2026The revisionThe data was looked at properly (it turned out not to be prices at all, see The data). The pipeline was rebuilt and backtested against a simple baseline. The project was reframed from forecasting to a knowledge hub that starts with the latest actual price.

The mistakes that taught the most

The 2024 SMS led with a forecast

It read, in Marathi: “141: mango price, four months from now. For more information, visit your nearest Gram Panchayat office.” A number with no unit, four months out, came first. That was the opposite of what farmers had said they wanted, and gave them nothing to check or cite in front of a buyer.

A fix that was not a fix

A first attempt to handle a sudden drop in the data rescaled rice to match the paddy Minimum Support Price. That was a calibration to a government-set price for a different commodity, not a unit conversion. It was removed, and the draft is kept as evidence.

A flattering baseline

The first backtest only compared the model with “same month last year”, the weakest baseline. Adding “last month's price” showed the model did not reliably beat it, which changed how the project describes its own contribution.

A display that sounded clever and read badly

The 2026 Panchayat display prototype wrote “151 > 165” (which reads as 151 is greater than 165), used English capitals on the main screen, assumed statistical literacy, and showed index points as if they were prices. It stays in the repository as a record of the iteration, not the proposal.

The proposal

The hub: one trusted place for what a farmer needs to know

The first thing it says is the price.

TerraByte is meant as public, non-commercial infrastructure delivered through local institutions and basic phones, not an app. It does not start as a forecaster. Forecasting is where the project began, and the fieldwork and the backtest are why it is not where the hub starts.

TerraByte system architecture in four tiers: what the hub tells farmers, making it trustworthy, delivery concepts, and the farmer, with a line returning from the farmer to decide the next module.
The hub, not the code. Tier 1: what the hub tells farmers (module 1 is a designed concept; modules 2 and 3 are direction only). Tier 2: what makes it trustworthy. Tier 3: delivery concepts. Tier 4: the farmer, where the confidence hypothesis is still to be tested. A dashed line returns from the farmer to decide the next module.
Tier 1
What the hub tells farmersModule 1 market prices; Module 2 government schemes; Module 3 larger-scale environmental disturbances; further modules decided by what farmers ask for.
Tier 2
Making it trustworthySource and date on every figure; plain words, no alerts; Marathi and Hindi checked by native speakers; a forecast outlook that stays off by default and appears only if testing supports it.
Tier 3
Delivery (concepts)SMS; automated voice call; weekly Panchayat notice.
Tier 4
The farmerA price to check, cite and act on. Confidence is a hypothesis. A line goes back up to Tier 1: what farmers ask for decides the next module.

The modules

ModuleWhat it would give a farmerStatus
1. Market pricesThe latest actual price from the mandi or procurement centre they sell to, named and dated.Concept designed, untested. The pipeline so far runs on retail indices, not mandi prices.
2. Government schemesWhich schemes exist, who qualifies and how to apply, in plain local language.Direction only. First find out what stops farmers applying: information, paperwork, distrust or something else.
3. Larger-scale environmental disturbancesNotice of major disturbances that affect a season or its prices. Not daily weather.Direction only. What counts as worth telling, and how, is untested.
4. Whatever farmers ask for nextDecided by what they say they need, not by what is easy to build.Not defined.

Seven principles that apply across the hub

  1. Something to act on or point to, not raw data. Each message says what it means for the farmer.
  2. Calm. No alerts, no pop-ups, no daily feeds, nothing worded with urgency.
  3. Checkable. Every figure names its source and date.
  4. Reachable without a data pack or smartphone. SMS, a voice call, and a notice at the Panchayat office.
  5. Public and local. Delivered through local institutions, so a notice at the Panchayat also tells a buyer that farmers have seen the same figure.
  6. In the farmer's language, written and checked by native speakers. The author can hold a conversation in Hindi but not in Marathi, so the Marathi cannot be left to her.
  7. Earns its place. A module is added, and an outlook is shown, only if testing shows farmers can use it.
Why the hub promises no better price

Price information on its own rarely changes what farmers are paid. A randomised trial of an SMS price service in Maharashtra (Fafchamps and Minten, 2012) found no statistically significant average effect on the prices farmers received. So TerraByte promises nothing about prices. Its test is built to check whether knowing the going rate changes anything at all, including how confident a farmer feels.

Module 1

The price message

The first thing a farmer would actually receive.

Concept. The revised message has not been tested with farmers. The examples below use placeholders on purpose. They show structure and wording, not real prices.

2024 SMS (replaced)English translation
141: mango price, four months from now. For more information, visit your nearest Gram Panchayat office.

A forecast first, no unit, nothing to check.

Revised: Card Aplaceholders
Onion, [mandi], [date]: ₹[x] per quintal.

The latest actual price. Named, dated, in rupees.

How the revised message is built

  1. The latest actual price comes first, in rupees per quintal, from the mandi or procurement centre the farmer sells to, named and dated so it can be checked and cited.
  2. No outlook by default. Whether a line about next month helps, and in what form (a word, a range, or a track record), is what the farmer test decides.
  3. If an outlook is shown, its track record is stated in plain words and defined, for example “the actual price ended up inside this range about N times in 10”, computed on the same mandi prices the message shows. The retail-index figures from the backtest cannot be reused for this.
  4. Plain SMS, and the same message as an automated voice call. No data pack or smartphone needed, and the call needs no reading. A call arrives on someone else's schedule, so it could feel rushed too; the test checks that.
  5. A weekly notice at the Panchayat office, printed or on a simple display, for people who do not receive messages. A public notice also means a buyer knows farmers have seen the price.
  6. Marathi wording written and checked by native speakers, and Hindi where farmers speak it.

How each thing farmers said shaped it

What was heardWhat the design now does
Current prices first, forecasts secondLead with the latest actual price; show an outlook only if testing shows farmers can use it.
Daily weather made farmers anxiousNo daily weather feed. If environmental information is added later, limit it to larger-scale disturbances, word it calmly and test it first.
Most farmers have one buyerPromise no better price; test whether knowing the going rate changes anything.
Confidence was the cruxMandi and date on every message, and the same figure posted publicly at the Panchayat. Test whether it changes how confident farmers feel with a buyer.
Mobile data runs out mid-monthSMS and ordinary calls need no data pack.
A pop-up felt scary; an SMS felt calmer (2024 smoke tests)A plain SMS worded without urgency. No pop-ups or app notifications.
Outsiders are distrustedDeliver through someone local; test whether the Panchayat is trusted as a source of prices.
The model's data were retail consumer indicesUse rupee prices from the mandis farmers actually sell to (for example Agmarknet's daily prices).
An open question about paddy

Palghar has government procurement centres that buy paddy at the Minimum Support Price (₹2,300 per quintal for common paddy in 2024-25). If most paddy in the area is sold there, a market-price message may matter little for paddy. The test asks each farmer where, and to whom, they sell.

Under the hood

The forecasting pipeline

What the code does, step by step, and why it sits behind the hub rather than inside it.

The forecasting pipeline is where the project started. It does not feed the default price message, but it is the part that has been built and tested, and the test is what shaped the redesign. It covers three crops: rice, onion and mango. In one sentence: it takes monthly retail price indices, spreads them into synthetic daily values, fits a time-series model, and checks every one-month-ahead forecast against what actually happened.

Prepare the data

Reads the Semester 7 monthly file, marks months with no price as missing (they were coded as 0), adds a before/after flag for September 2020, and generates a synthetic daily series. Also writes DATA_NOTES.md.

normalize_data.py → data/monthly-data_cleaned.csv, data/daily-data_cleaned.csv

Define the model once

One shared definition (Prophet on log prices, per-crop settings) used by both the backtest and the forecast generator, so the model that is validated is exactly the model that produces the outlooks.

terrabyte_model.py

Backtest

For every month from January 2018, retrains on everything before that month, forecasts the month, and compares the result with simple baselines. About two minutes to run.

validate_forecasts.py → assets/plots/validation_metrics.csv, rolling_validation_results.csv, validation plots

Generate outlooks

Fits the model to all data and produces an outlook for the calendar month after the last published month, with 80% and 95% ranges. Then copies the numbers into the display prototype.

generate_forecasts.py → assets/plots/*_forecast.png, *_forecast_data.csv, latest_outlook.json

Check noise sensitivity (optional)

Regenerates the synthetic daily series at 0.5×, 1×, 2× and 4× the default noise and records how the outlook and its range change.

check_noise_sensitivity.py → assets/plots/noise_sensitivity.csv

Every step uses fixed random seeds, so a clean re-run reproduces every data file and results table.

Under the hood

The data, and why it isn't prices

Every series dropped sharply in 2020. A staple crop does not crash like that.

Where it came from

The monthly figures were compiled in November 2024. The project files record the sources as the Labour Bureau of India's monthly retail price indices for prices, and World Weather Online for weather. The specific table and its geographic level (all-India or a single centre) were not recorded, so the series should not be described as Palghar-specific. No primary price data was collected.

ComponentResolutionCoverage and notes
Price indices: rice, mango, onionMonthlyRice Jan 2015-Dec 2023. Mango and onion to Mar 2023. Index points, not rupees. 120 monthly records in total.
Weather: temperature, rain days, rainfall, sun hoursMonthlyCompiled with the prices. Not used by any model.

The September 2020 break

Rebuilding the pipeline in 2026, the author found every series dropping sharply after 2020: rice and mango to less than half their earlier level, onion by about a third. The most likely explanation is that in September 2020 the Labour Bureau moved its Consumer Price Index for Industrial Workers (CPI-IW) from base year 2001 = 100 to 2016 = 100. The break in these data falls in the same month, and rice, onion and mango are all items in that basket.

If the later series is the earlier one rebased to 2016, multiplying it by the earlier series' own 2016 average should put it back on the old scale. For rice it does: January 2021 rescales to 282.7, against 280.0 in January 2020 and 281.1 in August 2020, the last month before the gap.

Rice retail price index 2015 to 2023. The published series drops from about 281 to 112 across a gap in late 2020. Rescaled by its own 2016 average, the later segment continues the earlier one.
The rice index before and after September 2020. Multiplied by the earlier segment's 2016 average (252.2) and divided by 100, the later segment continues the earlier one.
CropMedian before / afterEarlier 2016 avgLater valueRescaledSame month beforeDifference
Rice2.37×252.2112.1 (Jan 2021)282.7280.0+1.0%
Mango2.47×379.6147.8 (Mar 2021)561.0602.2−6.8%
Onion1.56×232.0180.8 (Sep 2020)419.4546.9−23.3%

Rice moves slowly, so a difference near zero is strong support for the base-year reading. Onion and mango swing much more from year to year, so those rows are weaker evidence either way.

Two consequences

The numbers are index points, not rupees. They show how an item's retail price compares with its average in the base year. In this documentation, “price” means that published index value.

They describe what industrial workers pay in shops, not what a Palghar farmer is paid at the farm gate or in a mandi. The two often move in the same direction, but the gap between them includes every margin along the chain.

The exact table has not been located, so the base-year reading is a strong inference, not a confirmed fact.

How the pipeline handles the break

  • No conversion factor is applied. Every data point carries a before/after flag for September 2020, and the model learns the size of the shift from the data.
  • Baselines never compare across the break. A month is only scored against a baseline whose reference value is on the same side of it. This removed one month per crop.
  • Linking is the standard alternative and is not implemented. Using each item's own 2016 average as a linking factor would be more principled, and would change every result below.

Gaps in the data

  • Onion is missing January-August 2020. Rice is missing September-December 2020.
  • Mango has no 2020 data, and only has values in its February-August season.
  • There are no commodity prices after 2023; 2024 rows hold weather only. These rows are excluded before the model is fitted.

The synthetic daily series

The forecasting model, Prophet, expects daily data, but the source is monthly. So each day is built as the published monthly value plus random noise:

daily value = monthly value + N(0, σ²), clipped at zero. No smoothing between months.

σ is 5 index points for rice and mango and 10 for onion. These are illustrative choices carried over from the 2024 script, not estimates from real daily prices. The daily averages stay within 1.8% (rice), 1.5% (mango) and 3.3% (onion) of the published monthly values. The result is 3,653 synthetic daily records.

What this means: the daily series adds no information beyond the monthly figures, so the model is in effect forecasting next month's average. And the width of the model's uncertainty ranges is partly a product of the chosen σ. For rice, moving σ from 2.5 to 20 barely moves the central outlook (165.8 to 160.4) but widens the 80% range from ±4.1 to ±25.5. The pipeline would run on real daily mandi prices without architectural changes.

Under the hood

The model

Deliberately simple, and honest about what it leaves out.

For each crop, Prophet (an open-source time-series forecasting library) is fitted to the logarithm of the index:

log P(t) = g(t) + s(t) + β; x(t) + ε
  • g(t) is the trend, a piecewise-linear curve that can bend at changepoints.
  • s(t) is yearly seasonality, a smooth repeating annual pattern.
  • x(t) is the September 2020 indicator (0 before, 1 from then on) and β is the size of the shift, learned from the data. It is only included when the training data contain both periods.
  • Working in logarithms makes seasonal swings and the shift act as percentages, and keeps back-transformed forecasts and ranges above zero.

No holidays, weekly seasonality, weather, or arrival volumes are used. Mango is fitted and forecast only within its February-August season.

SettingRiceMangoOnion
Training dataJan 2015 - Dec 2023Feb-Aug of each year, Mar 2015 - Mar 2023Jan 2015 - Mar 2023
Fourier order (yearly seasonality)5810
Changepoint prior scale0.050.150.20
SeasonYear-roundFeb-Aug onlyYear-round
2020 source-change termYesYesYes
OutputOne-month outlook with 80% and 95% ranges

A higher Fourier order lets the seasonal pattern wiggle more. A higher changepoint prior lets the trend bend more easily. These settings were chosen in 2026 with the full dataset visible, so the test below is not fully blind.

What the pipeline actually outputs

An outlook always covers the calendar month after the last published month in the data, not today's date.

CropOutlook monthLast publishedOutlook80% rangeChange
RiceJan 2024150.7164.7158.0-171.6+9.3%
MangoApr 2023164.8194.9170.9-222.1+18.3%
OnionApr 2023139.4121.1108.5-135.2−13.1%

All values are index points. These are shown to explain what the pipeline produces, not as predictions anyone should use. For example, the rice outlook of a 9% rise comes from the model having learned a single sudden jump (January 2023) as a seasonal pattern.

The test

The test and its results

On the only data available, the forecast was no better than last month's price.

For every month from January 2018 with a published value, the model was retrained on everything before that month, asked to forecast the month, and compared with the simplest alternative: repeating last month's published value. Forecasts for every day of the month were averaged and compared with the published monthly value. Error is the average gap as a percentage of the published value.

One month ahead, 2018-2023RiceOnionMango
Months tested675427
Model: average error2.0%12.0%32.5%
Last month's value: average error0.9%12.9%21.9%
Model: median error0.8%7.1%10.9%
Last month's value: median error0.4%9.5%21.2%
Months the model was closer223413
Published value inside model's 80% range85%61%26%
Published value inside model's 95% range93%72%52%
Average one-month-ahead error. Rice: model 2.0%, last month 0.9%. Onion: model 12.0%, last month 12.9%. Mango: model 32.5%, last month 21.9%.
Average error one month ahead, 2018-2023: the forecasting model against last month's value, repeated.

Reading the results

  • Rice: last month's value had less than half the model's error, on average and in a typical month. The model's worst month was January 2023 (15% error), a sudden jump it could not anticipate.
  • Onion: roughly level on average; in a typical month the model did slightly better. Its ranges were too narrow, holding the published value 61% of the time for an 80% range. The worst remaining month was December 2020 (75% error), just after the break.
  • Mango: better than last month's value in a typical month, but it missed badly at the start of some seasons (March 2018: forecast 1,269 against a published 289), and its ranges held the published value only about a quarter of the time. These failures were left untuned, to avoid tuning against the test results.
  • The weakest baseline: “same month last year” had average errors of 6.3% (rice), 36.2% (onion) and 24.1% (mango), measured on the months where all three methods could be compared. A backtest against that alone makes the model look stronger than it is.
What this does and does not show

It shows that on these data, a forecasting model added little over repeating the latest value, and that its uncertainty ranges were too narrow for onion and mango.

It does not show that forecasting is useless for farmers. These are smooth monthly averages of shop prices, exactly the kind of series where “same as last month” does well. The prices farmers deal with are mandi prices, which move day to day. Whether a forecast beats “the latest price” for those is an open question. The test is also not blind, because settings were chosen with all the data visible, and the mango test covers only 27 months.

Shocks: a model built only on past prices cannot anticipate export bans, tariff changes or fuel price spikes.

Next

What happens next: testing with farmers

Four versions of one message, in front of farmers. Then two open questions about the rest of the hub.

Protocol written, not yet run. Everything below is the plan.

The test does not measure forecast accuracy; the backtest did that. It checks what farmers understand, trust and would use before anything more is built. It is the first check of the confidence hypothesis.

The cards

CardVersionText (English reference)
ALatest price onlyOnion, [mandi], [date last year]: ₹[x] per quintal.
BPrice + plain outlook… Next month: likely a little lower.
CPrice + range… Next month: most likely between ₹[a] and ₹[b].
DPrice + range + track record… The price has ended up inside ranges like this about 6 times in 10. (An example for testing understanding only.)
EVoiceCard B, recorded and played on a basic phone.
FPanchayat displayA full-size printout of the display concept.

Participants see and hear only the Marathi (or Hindi). Card A is always shown first as the baseline; B, C and D are rotated between participants to limit order effects. Every card is read aloud as well as shown. The cards use real mandi prices from the same month a year earlier, so nobody can mistake them for current advice or act on them.

What the test asks

  1. Understanding. Can farmers say correctly what each version tells them?
  2. Does the outlook add anything? Compared with the latest price alone.
  3. Uncertainty. How do they read a range, and a track record?
  4. Channel. SMS, voice, or a notice at the Panchayat? Which feels calm and dependable, and which feels like something to rush?
  5. Trust. Whose message would they believe: the Panchayat, a buyer, a relative, an unknown number?
  6. Confidence. Does any version make them feel more or less confident to ask their buyer for a better price, or to approach another buyer?
  7. Schemes (open conversation). Have they tried to apply? What stopped them? Is information the barrier at all?
  8. Weather and larger events (open conversation). Do they want to hear about weather, how often, and what makes it feel calm or worrying?

Questions 7 and 8 are not tests of a design. Their answers decide whether modules 2 and 3 should exist and in what form.

Who and how

  • Six to eight farmers who sell their harvest, including at least two women, at least two people without a smartphone, and at least one person whose first language is not Marathi, plus one or two Panchayat staff or members.
  • A Marathi-speaking facilitator (planned: the author's father) reads the consent script, every card and every question word for word, and does not explain or correct. Confusion is itself the finding. The author observes and takes notes. With Hindi-speaking participants she can facilitate directly, reading the same script.
  • About 45 minutes per session: consent, how they sell now, cards A to D, voice versus text, channel and trust, the two open conversations, close. Consent is verbal and no names are recorded.
  • Translations are back-translated into English by a second fluent speaker, and an optional pilot with Marathi speakers who are not farmers catches confusing wording first. Pilot answers are not reported as findings about farmers.
  • Results are reported as counts and quotes, not percentages, including who was not reached.
What would change the author's mind

If people misread the range or the track record, the outlook stays off the message. If the latest price alone changes nothing about how they sell, the problem is the buyer, not the information. If knowing the price makes no difference to how confident they feel, a price message does not address the problem they described, and TerraByte has to look beyond information. If what stops farmers applying for schemes is paperwork or distrust rather than information, a module that only lists schemes will not help. If farmers say they want regular weather after all, the daily-weather finding needs a second look.

The protocol also names its own risks: people may tell a landowning family what it wants to hear, saying “more confident” in a session is not the same as acting differently with a buyer, and a handful of participants cannot generalise. The answers are treated as direction for the next round, not proof.

A second open question: does a forecast beat “the latest price” for the mandi prices farmers actually face? Answering it means rebuilding the pipeline on Agmarknet's daily mandi prices and rerunning the same backtest.

For developers

Run it yourself

All outputs are reproducible.

You need Python 3.10 or later and pip. The code uses pandas, numpy, matplotlib and Prophet.

# from the Revamp folder
cd "Project - TerraByte/Revamp"
pip install pandas numpy matplotlib prophet

# 1. Prepare the data
python normalize_data.py

# 2. Run the rolling backtest (about 2 minutes)
python validate_forecasts.py

# 3. Generate outlooks and plots
python generate_forecasts.py

# 4. (optional) Check sensitivity to the synthetic noise level
python check_noise_sensitivity.py

Windows: if Prophet fails to install because of long path issues, install it to a short custom directory:

pip install prophet --target C:\Users\<you>\prophet_pkg
$env:PYTHONPATH = "C:\Users\<you>\prophet_pkg"

What's in the repository

Revamp/
  README.md, case_study.md / .pdf
  normalize_data.py          data preparation + synthetic daily series
  terrabyte_model.py         shared model definition
  validate_forecasts.py      rolling backtest against baselines
  generate_forecasts.py      one-month outlooks and plots
  update_lcd_prototype.py    copies outlooks into the display prototype
  check_noise_sensitivity.py
  data/                      cleaned monthly (120 rows) and synthetic daily (3,653 rows) CSVs, DATA_NOTES.md
  assets/                    plots, diagrams, figures, mockups (incl. the LCD display prototype)
  research/                  user-testing protocol (not yet run)
  reports/superseded_2026_draft/   first-draft scripts, kept as evidence

Archival-PreThesis/          the original 2024 semester work, kept for history

The superseded draft is not part of the pipeline and should not be run as if it were. It is kept as evidence for two statements in the case study: the abandoned rice rescaling, and the first backtest that forecast onion prices between 0 and 83 for September-December 2021 when the published values were 171-230 (no break term).

Honesty

Limitations

What this project cannot yet claim.

  1. Retail indices, not farm-gate prices. The series are very likely CPI-IW items. Whether all-India or a single centre is not recorded, so nothing here is Palghar-specific.
  2. Synthetic daily data. It adds no information, and the model's ranges depend on the chosen noise level.
  3. Forecast accuracy. The model does not beat repeating last month's value for rice or, on average, for mango, and is roughly level for onion. Its ranges are too narrow for onion and mango.
  4. Test design. Settings were chosen with all the data visible, and the mango test covers only 27 months.
  5. No recent data. Prices end in 2023.
  6. Fieldwork. Informal conversations within one family's network, mostly led in Marathi by the author's father, plus the author's own Hindi conversations. Neither the confidence finding nor the weather finding is a measured result, and the number of farmers is not recorded.
  7. Smoke tests only. In 2024 a small group of farmers were shown the idea and a mid-fidelity prototype (SMS against pop-up). The revised message, the voice call and the 2026 Panchayat display have not been shown to farmers or Panchayat staff.
  8. One module, as a concept. Schemes and environmental information are direction, not design. The pipeline covers prices only.
Reference

Glossary

Agmarknet
The Government of India's portal of daily mandi prices. The planned source for real rupee prices.
Backtest
Testing a forecasting method on the past: pretend it is some earlier month, forecast the next one, and compare with what actually happened.
Baseline
A deliberately simple method a model must beat to be worth using. Here, “repeat last month's value”.
Base year
The year an index sets to 100. Changing it rescales every value, which is what caused the September 2020 break.
CPI-IW
Consumer Price Index for Industrial Workers, published by the Labour Bureau, Government of India.
Error (average and median)
How far a forecast was from the published value, as a percentage of that value, averaged over many months. The median is the typical month; the average is pulled up by bad misses.
80% / 95% range
The span the model says the true value should fall inside that often. A well-calibrated 80% range should hold the published value about 8 times in 10.
Gram Panchayat
The village-level elected local government, with an office where public notices are posted.
Index points
The unit of the price series. They compare an item's retail price with its average in the base year; they are not rupees.
Mandi
A regulated wholesale produce market.
MSP (Minimum Support Price)
The price at which the government buys certain crops, including paddy, at procurement centres.
Prophet
An open-source library for forecasting time series with a trend and yearly seasonal pattern.
Quintal
100 kilograms.
Smoke test
A quick, informal check that an idea makes sense to the people it is for. Weaker than a structured test, and treated here as a pointer, not proof.
Synthetic data
Data generated by a rule rather than observed. Here, daily prices invented from monthly ones.
Reference

References and credits

Related work

Giving farmers market information by phone has been tried and studied for two decades, with mixed results. Jensen (2007) found that when mobile phones reached fishers in Kerala, price differences between markets narrowed and waste fell; Srinivasan and Burrell (2013) later found a more complicated picture. Closer to Palghar, Fafchamps and Minten (2012) ran a randomised trial of an SMS service that sent crop prices and weather to farmers in Maharashtra and found no statistically significant average effect on prices received. On the interaction side, Avaaj Otalo (Patel et al., 2010) showed small farmers in Gujarat using a voice forum reachable from any phone, and Medhi, Sagar and Toyama (2006) showed that image-and-voice interfaces can serve people who cannot read text. Kay et al. (2016) found that people judged uncertainty more accurately from a quantile dotplot than from a continuous density plot.

  1. Fafchamps, M. and Minten, B. (2012). Impact of SMS-Based Agricultural Information on Indian Farmers. The World Bank Economic Review, 26(3), 383-414.
  2. Jensen, R. (2007). The Digital Provide: Information (Technology), Market Performance, and Welfare in the South Indian Fisheries Sector. The Quarterly Journal of Economics, 122(3), 879-924.
  3. Kay, M., Kola, T., Hullman, J. R. and Munson, S. A. (2016). When (ish) is My Bus? User-centered Visualizations of Uncertainty in Everyday, Mobile Predictive Systems. Proceedings of CHI 2016.
  4. Medhi, I., Sagar, A. and Toyama, K. (2006). Text-Free User Interfaces for Illiterate and Semi-Literate Users. Proceedings of ICTD 2006.
  5. Patel, N., Chittamuru, D., Jain, A., Dave, P. and Parikh, T. S. (2010). Avaaj Otalo: A Field Study of an Interactive Voice Forum for Small Farmers in Rural India. Proceedings of CHI 2010.
  6. Press Information Bureau (22 October 2020). Revised Consumer Price Index for Industrial Workers (CPI-IW) based on new series 2016=100 from the existing 2001=100.
  7. Srinivasan, J. and Burrell, J. (2013). Revisiting the Fishers of Kerala, India. Proceedings of ICTD 2013.

Data sources

Price data: retail price indices published by the Labour Bureau, Government of India. Weather data: World Weather Online.

Credits

Annie Vaithara: fieldwork, data, modelling and interaction design. Faculty guide: Vivek Garady, Dean of Creative and Applied Computations, Srishti Manipal Institute of Art, Design and Technology. Thanks to the farmers and residents around Malwada, Palghar who talked with the author; her father, who led the Marathi conversations; and the Hindi-speaking farmers who spoke with her directly. This is academic research conducted for a BDes Pre-Thesis and is not intended for commercial use.