Example MRZ run - Gianfrancoalongi/murenzhuang GitHub Wiki

This is the story of one MRZ training session, with images and short descriptions. The first time I visit the page MRZ page, MRZ shows me the root program - which is the base for the system. It can be seen in the image.

First Root Program

The root program above, is the system with one feature - this is the feature of taking anything from STDIN, passing it to STDOUT.


Once it's implemented, I press 'Next step' and get the new addition (green colored)

Second step

This system has 2 features - first the root program, and then additionally, whatever it gets from STDIN goes to the file 'file_65'. In addition to show what I shall do, I get a history to the left of the graph. It shows the current step in bold and the step number after the double colons (::).


Once implemented - tested and refactored, pressing 'Done' takes me to the solid state - the whole graph is black again.

I then press 'Next step' again and get the new change

Third step

This new addition will result in a system with 3 features. The two previously described features, and a new feature that is dependent on the file feature! This new feature mutates the data and sends it to the file file_65.


Once implemented, tested and refactored, I press 'Done' and go to the solid state.

I then press 'Next step' again and get the new change

Fourth step

This requests the removal of the file_65 feature. Now, as the third feature depended on the file output feature, this means that the dependent feature is also removed. Having implemented the change, there will be nothing left but the root program once the change is done, tested and refactored. I press 'Done' and go to the solid state.

This shows a normal iteration through 4 cycles of MRZ. Every run will be unique as it's random.