Skip to content

Commit

Permalink
Merge pull request #7 from pkreissel/removerecommend
Browse files Browse the repository at this point in the history
removerecommend
  • Loading branch information
pkreissel authored Jul 25, 2024
2 parents 44acdd3 + e17a964 commit c0bec0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const topPostsFeed_1 = __importDefault(require("./feeds/topPostsFeed"));
const Storage_1 = __importDefault(require("./Storage"));
const Paginator_1 = __importDefault(require("./Paginator"));
const chaosFeatureScorer_1 = __importDefault(require("./scorer/feature/chaosFeatureScorer"));
const recommenderFeed_1 = __importDefault(require("./feeds/recommenderFeed"));
//import getRecommenderFeed from "./feeds/recommenderFeed";
class TheAlgorithm {
user;
fetchers = [homeFeed_1.default, topPostsFeed_1.default, recommenderFeed_1.default];
fetchers = [homeFeed_1.default, topPostsFeed_1.default];
featureScorer = [
new scorer_1.favsFeatureScorer(),
new scorer_1.reblogsFeatureScorer(),
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import topPostsFeed from "./feeds/topPostsFeed";
import Storage from "./Storage";
import Paginator from "./Paginator"
import chaosFeatureScorer from "./scorer/feature/chaosFeatureScorer";
import getRecommenderFeed from "./feeds/recommenderFeed";
//import getRecommenderFeed from "./feeds/recommenderFeed";

export default class TheAlgorithm {
user: mastodon.v1.Account;
fetchers = [getHomeFeed, topPostsFeed, getRecommenderFeed];
fetchers = [getHomeFeed, topPostsFeed];
featureScorer = [
new favsFeatureScorer(),
new reblogsFeatureScorer(),
Expand Down

0 comments on commit c0bec0f

Please sign in to comment.