Skip to content
Permalink
Branch: master
Commits on Dec 18, 2018
  1. fix package name

    tyleryasaka committed Dec 18, 2018
  2. Clean up with beforeEach

    tyleryasaka committed Dec 18, 2018
  3. clean up interface

    tyleryasaka committed Dec 18, 2018
  4. Differentiate between atheists and agnostics

    tyleryasaka committed Dec 18, 2018
    An atheist says "there is no god", while an agnostic simply does not say "there is a god". These are two very different things. It applies here because I was previously treating the statement, "peer A has cred value of 0" the same as "I have nothing to say of peer A", which meant that going from not saying anything to saying just a little bit could produce unexpected results.
  5. Rename test file

    tyleryasaka committed Dec 18, 2018
  6. Make `getValue` an external function that can be passed in

    tyleryasaka committed Dec 18, 2018
    The way that values are aggregated from peers is highly dependent on use case. You might wish to add the values together, or multiply them, or something else entirely. Point being, it doesn't make sense to try to couple this with the metric. The metric determines how *confidence* is aggregated, not value.
  7. add test

    tyleryasaka committed Dec 18, 2018
  8. simplify time

    tyleryasaka committed Dec 18, 2018
  9. add test

    tyleryasaka committed Dec 18, 2018
  10. Fix bug

    tyleryasaka committed Dec 18, 2018
Commits on Dec 17, 2018
  1. rename var

    tyleryasaka committed Dec 17, 2018
  2. Create `street` library

    tyleryasaka committed Dec 17, 2018
  3. Add `caller` parameter

    tyleryasaka committed Dec 17, 2018
    This allows the `getClaims` method to know what node has requested trust information from the current node.
    
    The concepts of `caller`, `current`, and `target` are best conceptualized like this:
    
    `caller -> current -> target`
    
    The `current` evaluates the `target` and reports back to the `caller`.
  4. Fix dependencies

    tyleryasaka committed Dec 17, 2018
  5. Refactor p2p trust - extreme modularity

    tyleryasaka committed Dec 17, 2018
    This library is now just a shell. By abstracting away the `getClaims` method and removing responsibility for maintaining the graph, the graph structure and funtionality can now be implemented separately. This adds flexibility and support for more use cases.
Commits on Dec 16, 2018
Commits on Dec 15, 2018
  1. Default value array

    tyleryasaka committed Dec 15, 2018
  2. Add default values

    tyleryasaka committed Dec 15, 2018
  3. Consistency fixes

    tyleryasaka committed Dec 15, 2018
Commits on Dec 13, 2018
  1. Remove the concept of doubts

    tyleryasaka committed Dec 13, 2018
    Thinking through some more, I don't think this approach makes much sense.
    
    1) it's unintuitive and hard to reason about
    2) it behaves rather unexpectedly; if you have a path to a doubt with equivalent weight to another path to a trust, they *don't* cancel each other out. The doubt is taken out of the trust as a percentage.
    3) it does not allow the values to be resolved locally at intermediate stages. That is, the warnings have to be passed down all the way to the initial observer, and only then can it be merged with the overall trust score. This makes it harder to extend the algorithm by augmenting values returned at each local step.
  2. Update readme

    tyleryasaka committed Dec 13, 2018
  3. Remove some packages

    tyleryasaka committed Dec 13, 2018
    Taking a break from this stuff for now. All of these packages still live in the `ki` branch.
Commits on Dec 8, 2018
  1. Adjust tests

    tyleryasaka committed Dec 8, 2018
  2. Implement warnings

    tyleryasaka committed Dec 8, 2018
Commits on Dec 7, 2018
  1. Better get methods

    tyleryasaka committed Dec 7, 2018
  2. Refactor getting edges

    tyleryasaka committed Dec 7, 2018
  3. Represent graph as a multigrpah

    tyleryasaka committed Dec 7, 2018
    This allows other types of edges to be represented
Older
You can’t perform that action at this time.