deis-tools / distributedexercisesaau Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Make a GUI overlay in tkinter that displays the current state of the simulator and allows for interaction with the simulator via #21
Extend the framework with the ability to replay concrete execution-sequences as to provoke errors in implementation and allow for self-evaluation by the users.
Implement a new Emulator that supports stepping by keyboard interaction.
python
is version 3.10 on my system.
Using the command
python exercise_runner.py --lecture 0 --algorithm PingPong --type async --devices 3
Gives the following backtrace:
Traceback (most recent call last):
File "/home/mads/GitHub/DistributedExercisesAAU/exercise_runner.py", line 100, in <module>
run_exercise(args.lecture[0], args.algorithm[0], args.type[0], args.devices[0], False)
File "/home/mads/GitHub/DistributedExercisesAAU/exercise_runner.py", line 79, in run_exercise
instance.shell.start()
^^^^^^^^^^^^^^
AttributeError: 'AsyncEmulator' object has no attribute 'shell'
It seems that only the SteppingEmulator
has this attribute.
It seems to run anyway, though.
The "Stepper" needs to be extended with a few extra commands.
show
command that displays all messages currently in transit (with an index in the list)pick
command that allows the user to pick a specific message in transit to deliver nextstep
, fast-forward
and skip-to-end
commands s.t. these can be done as either sync or AsyncWrt. the last task, a sufficient solution is for the user to pick the specific mode initially (i.e. prompt the user) and then fix the default behavior throughout the execution.
However, it is important that the pick
and show
commands allow for modifying the order of message delivery.
Currently the README lacks mentions of the stepper and packages needed to run the scripts.
The README should be extended with a "setup"-section.
A suggested addition to the framework from the presentation was to have arrows between nodes in the distributed network with the message written next to it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.