|
| 1 | +--- |
| 2 | +title: Weekly Summary - March 24, 2025 |
| 3 | +authors: |
| 4 | +- will |
| 5 | +tags: [progress, update, weekly] |
| 6 | +--- |
| 7 | + |
| 8 | +This week, the Leios team continued working on various aspects of the protocol and simulation capabilities. The team made progress on implementing and testing the Haskell and Rust simulators, focusing on protocol behavior under different network conditions. |
| 9 | + |
| 10 | +## Simulation Progress |
| 11 | + |
| 12 | +- **Haskell simulation** |
| 13 | + - Moved configuration and topology parsers to the `leios-trace-hs` package for reuse by formal methods. |
| 14 | + - Investigated differences in IBs referenced with Rust simulation: inconsistencies in their distribution are due to the same sequence of random samples being used across different runs. |
| 15 | + - Simplified sortition code by relying on the external statistics package. |
| 16 | + - Tested Full Leios, resolving tension between `r_EB`/`eb-max-age-slots` and `praos-chain-quality`/`η`. |
| 17 | + - Fixed `cabal run ols -- generate-topology close-and-random`, listing `producers` properly and decreasing variance in upstream peers. |
| 18 | + |
| 19 | +- **Rust simulation** |
| 20 | + - Investigated oddities in simulation results: IB production broke down earlier due to low connectivity, and CPU usage is lower than Haskell sim. |
| 21 | + - Refined Full Leios implementation. |
| 22 | + - Added Full Leios support to the visualizer. |
| 23 | + - Moved the visualizer off Next.js and onto vite. |
| 24 | + |
| 25 | +## Analysis of Simulations |
| 26 | + |
| 27 | +- **Tag `leios-2025w13`:** Simulated 198 scenarios of Short Leios for varied IB production rate, IB size, and network topology, CPU limits, and protocol flags. |
| 28 | +- **CPU limits:** Studied how limiting available CPU affects IB propagation and discovered that CPU can impact diffusion under stressful scenarios. |
| 29 | +- **Vote propagation:** Compared freshest-first and oldest-first vote propagation, with freshest-first potentially improving IB delivery reliability. |
| 30 | +- **Extended voting period:** Compared an extended voting period versus a limited one in the Haskell simulation, revealing little difference except for rare improvements in reliable vote delivery. |
| 31 | + |
| 32 | +## Ongoing Investigations |
| 33 | + |
| 34 | +- Investigating qualitative discrepancies between Haskell and Rust simulators' results to determine whether they are due to simulator resolution or simulation infidelities. |
0 commit comments