How Agile helps Developer Productivity

Measuring developer productivity is an art in itself. It’s generally agreed, however, that ‘Flow’ is one of the most important indicators of developer productivity. When a developer gets into flow…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Last Or Popular Autonomous Agent Version Available

The scripts of Autonomous Agents (AA) are set in stone, once stored in the Obyte DAG, they are there forever and this is what we like with AA. But, updates can be nice too…

With LOPAAVA (Last Or Popular Autonomous Agent Version Available) you can register your AA.

First utility is to make your AA known from others.

I can register it in LOPAAVAby setting ‘register’ to the name chosen and ‘address’ to the AA address:

Capture of the ‘send’ tab of the GUI wallet

Will appear in the state of LOPAAVAin the DAG:

The provided address has been defined as the version 1 of the given AA name. Now, are publicly visible: the AA address, its registration date, the number of ‘dislikes’ and ‘likes’ it received, the address of the last voter, the number of the last version available (version 1 is the only version for the moment) and the number of the most popular version (version 1 as well). The owner is also stored to avoid anyone to add fake new version using the same name.

Now we hope that someone willing to help or in need of this HOLLAA will review the code and vote with a ‘like’ if nothing problematic is detected.

This nice guy will then use:

and will be prompt to add the version number:

A user that is not confident in code review can now feel safer to use the address of the version 1 as it has 1 ‘like’ and no ‘dislike’.

Another AA can use the reviewed version 1 by accessing the state of LOPAAVAlike this:

The advantage compare to use directly the address like this:

Is to show to the primary AA reviewer that the secondary AA has been reviewed and to link him directly to its score in LOPAAVA.

The voters are added in a secondary AA list to forbid them to vote twice. They cannot use several different addresses as you need to be attested to vote (real name attestation i.e).

Now, comes the day when HOLLAA needs an update from its creator.

The creator will register the address of the new version the same way he did the first time:

And the state of LOPAAVAwill become:

The last version number has been update.

The most popular is still the version 1. Because its difference ‘likes’ - ‘dislike’ is bigger than for the version 2. The new version will need 2 ‘likes’ to become the most popular (if the version 1 does not get ‘dislikes’).

Now the developer of a primary AA that needs HOLLAA as secondary AA has several choices:

Of course, LOPAAVAis not to be used with sensitive AA when security is important, because it can change the behavior of the primary AA if the Secondary one change drastically.

Using the last version can be done with no safety issue for the developer if he is the creator of both the primary and secondary AA. If not he must be aware that his primary AA could act differently in the future).

Depending on the security level needed, the developer could also put conditions on the selection of the version:

In summary, be careful with LOPAAVAuse as it can annihilate the most important AA property: immutability.

But still, enjoy AA coding.

Add a comment

Related posts:

Muskogee Mission

Thursday I flew from Atlanta, Georgia, USA to Tulsa, Oklahoma, USA to do a day’s worth of work with old friends of mine in nearby Muskogee, OK, USA.

I Took My Kids to Story Time at the Library and It Forever Changed Me

It was yet another gloomy and rainy morning in central Florida in 2017. The weather had been weird: “Welcome to October! It rains on and off all day, every day now!” I dropped the kindergartner off…

Safe Holi means protecting your pets from colours!

Holi is around the corner, and we all enjoy Holi from the bottom of our heart. Water and powder colors are used to celebrate this festival with our friends, family and our pets also are a part of the…