Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python Simulator] Color code the terminal output #4

Open
1 task
Olshansk opened this issue Jan 16, 2023 · 0 comments
Open
1 task

[Python Simulator] Color code the terminal output #4

Olshansk opened this issue Jan 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Olshansk
Copy link
Member

Objective

Colour code the terminal output of the python simulator, so it is easier to see which nodes are involved in message gossip, and how frequently.

Origin Document

The current output of the Python Simulator outputs a visual to terminal to display how messages are gossiped as seen in the output below. By color coding val_1, ..., val_n at every single height, it'll be easier to see which nodes are involved at every step.

//                                val_1
//           ┌──────────────────────┴────────────┬────────────────────────────────┐
//         val_4                               val_1                            val_7
//   ┌───────┴────┬─────────┐            ┌───────┴────┬─────────┐         ┌───────┴────┬─────────┐
// val_6        val_4     val_8        val_3        val_1     val_5     val_9        val_7     val_2

Goals

  • A starter task into the python simulator for a new engineer to familiarize themselves with the codebase
  • Improve simulator output visualisation for debugging purposes

Deliverable

  • A PR where the terminal output results in val_XXX being the same color at every height of the tree

Non-goals / Non-deliverables

  • Changing the RainTree algorithm
  • Implementing the Redundancy or Cleanup layer in the simulator

Creator: @Olshansk

@Olshansk Olshansk added the enhancement New feature or request label Jan 16, 2023
@Olshansk Olshansk moved this to Backlog in V1 Dashboard Jan 17, 2023
@bryanchriswhite bryanchriswhite moved this from Backlog to In Progress in V1 Dashboard Jan 23, 2023
@bryanchriswhite bryanchriswhite moved this from In Progress to Backlog in V1 Dashboard Jan 23, 2023
@jessicadaugherty jessicadaugherty moved this from Backlog to Up Next in V1 Dashboard Feb 8, 2023
@bryanchriswhite bryanchriswhite moved this from Up Next to In Progress in V1 Dashboard Feb 13, 2023
@jessicadaugherty jessicadaugherty moved this from In Progress to Up Next in V1 Dashboard Feb 22, 2023
@Olshansk Olshansk moved this from Up Next to Backlog in V1 Dashboard May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants