01
BSc Computer Science final-year research project2025 — 2026
Rescuify — Decentralized Food Surplus Redistribution using Blockchain and Reinforcement Learning
Product creator, researcher & developer · Anglia Ruskin University
A decentralised redistribution prototype that coordinates donors, recipients and transport under time, temperature and trust constraints — evaluated entirely in simulation.
Simulated / ExperimentalSimulated / experimental — all quantitative results come from simulation, not a live logistics network.
- Reinforcement learning
- PPO
- Blockchain-style audit
- Digital twin
- FastAPI
- React
- OSMnx
Research problem
Food-surplus redistribution requires efficient coordination between donors, recipients and transport or logistics actors while dealing with time, temperature and trust constraints. Surplus is perishable, actors are independent, and no participant has a reason to accept another's unverifiable record of what happened to a consignment.
Technical & research approach
- React role-based interfaces for donor, recipient and transport actors.
- FastAPI service layer coordinating allocation, dispatch and state.
- PPO reinforcement learning for routing and allocation decisions under changing conditions.
- Simulated IoT cold-chain sensing and digital-twin concepts for thermal state.
- SHA-256 cryptographic audit trail simulating blockchain immutability across handovers.
- Cambridge street-network modelling using OSMnx as the routing substrate.
Experimental results — simulated
These are simulation outputs used to compare policies against a static-routing baseline. They are not production metrics, deployed impact or commercial outcomes.
- 27 of 30 simulated thermal breaches rescued.
- 98.0% simulated waste diversion versus an 80.0% static-routing baseline.
- SHA-256 hashes generated for 150 simulated transactions.
Read the full study
Limitations
- Evaluation is simulation-only; no real donors, vehicles or consignments were involved.
- Cold-chain telemetry is synthetic, so sensor noise and failure modes are modelled rather than observed.
- The audit trail simulates blockchain immutability with hashing; it is not deployed on a distributed ledger with independent validators.
- The street network is a single-city model, so generalisation beyond Cambridge is untested.
What I learned
- A reward function is a product decision: what the policy optimises for is the specification, and small changes to it change behaviour more than model tuning does.
- Simulation is only useful when the baseline is honest — the static-routing comparison mattered more than the headline number.
- Trust mechanisms need a workflow before they need cryptography; the audit trail only helps if handovers are recorded at the right moments.
Future research directions
- Evaluate the policy against a real, instrumented pilot with a small number of donors.
- Compare PPO against simpler heuristics on cost, robustness and explainability, not just diversion rate.
- Study whether a verifiable audit trail measurably changes participation behaviour.
- Extend the digital twin to multi-city networks and to disruption scenarios.