-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TrustGraph Refactor #43
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
harlantwood
force-pushed
the
zome/TG-refactor
branch
2 times, most recently
from
May 27, 2022 05:59
953ffa9
to
291c7a8
Compare
dauphin3
force-pushed
the
zome/TG-refactor
branch
from
May 27, 2022 06:02
291c7a8
to
953ffa9
Compare
trust graph algorithm, rollup tests one zome, trust_graph, rollup, agents Notes Notes alt strategy for agent, slver & gold rollup method alt strategy for agent, slver & gold rollup method alt strategy for agent, slver & gold rollup method Comment bin/run (cargo-release) version 0.0.6 (cargo-release) start next development iteration 0.0.7-dev Docs on latest version Remove HC patches, no longer needed Upgrade to HDK 125 / HC 130 Remove hc version from holonix (cargo-release) version 0.0.7 (cargo-release) start next development iteration 0.0.8-dev Iterate Notes and discussion Comment out new code Comment out tests Test not failing Write outline of test for rollup algo with self weight of 80% source TAs in rollup extra, cleanup code, WIP redo patterns, fix scoping, finish tests Refactor: extract function Refactor: extract function Refactor: extract function Refactor & clean warnings Debuuuuuuug tests tests fix query fix rollup silver fix convert links, get_latest update more debuging add sleep, fix rollup_gold test (without extra) test (without extra) fix algo, calc is passing checks Update docs: roadmap and code samples Bugfix: we should always have same number of null bytes, even when chunks are empty Tweak Notes all tests passing all tests passing add more test data add test_data add test data, algo using power of phi debug tests, cleanup code Fix typo Clippy the pendantic paperclip check tests shipit fmt
harlantwood
force-pushed
the
zome/TG-refactor
branch
from
May 27, 2022 06:02
953ffa9
to
aaac3dd
Compare
Stale; closing; reopen if inspired. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #25 and #28
TrustGraph Zome creates rollup of Trust Atoms 2 levels deep (self + other agents whom you placed TA)
first builds agent list by identifying which targets have done a rollup (indicating they are an agent)
then rollup_silver returns BTreemap structure... Key: Target (AnyLinkableHash) V: BTreeMap<Agent, RollupData>
where RollupData contains content value and agent's rating
then rollup_gold calculates an amalgamation of the targets those agents have rated (latest ie most recent update) thus "rolling up" a net value per each, returning a Vec
algorithm is now slightly weighted higher by the curve x^phi