Skip to content

Don't set members to available by default

Jared Pereira requested to merge lazyCalling into master

Feature Merge Request

Related Issue

resolves #127 (closed)

Description of Feature

Currently as soon as a identity is added to a concept they are put into the members array, which makes them available for calling.

This MR changes it so they are not

Motivation and Context

This requires changing the addWeight function to not add an assessor to the pool if they are not already in it. However this then breaks all our tests as we expect the initial members to be available to assess. To resolve this we add them to the member's array in the addInitialMember function instead.

This MR also renames members to availableMembers to better communicate the distinction between having valid memberData and being available.

What's Next?


Merge request reports