Skip to content
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

removerecommend #7

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading