Skip to content

Commit

Permalink
Fixed experiments calls to Tournesol inputs API
Browse files Browse the repository at this point in the history
  • Loading branch information
lenhoanglnh committed Jun 1, 2024
1 parent dde4c9f commit 498f4a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions solidago/experiments/tournesol.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,9 @@
vouches = pipeline_objects["vouches"]
all_entities = pipeline_objects["entities"]
privacy = pipeline_objects["privacy"]
judgments = pipeline_objects["judgements"]
judgments = pipeline_objects["judgments"]

users = pipeline.trust_propagation(users, vouches)

judgments = inputs.get_judgments(c)

voting_rights[c], entities[c] = pipeline.voting_rights(users, all_entities, vouches, privacy)
user_models = pipeline.preference_learning(judgments, users, entities[c])
scaled_user_models[c] = pipeline.scaling(user_models, users, entities[c], voting_rights[c], privacy)
Expand Down

0 comments on commit 498f4a3

Please sign in to comment.