ac-recommendation-systems
Building systems that rank items for users: implicit versus explicit feedback, candidate generation and its recall, cold start for new users and items, learning-to-rank with the loss chosen for the decision, position and feedback bias corrected counterfactually, ranking metrics from precision to NDCG, final filtering for diversity and fatigue, exploration, and the recommender record. It explains how recommenders are built and evaluated; it never promises engagement gains. Use when asking "recommendation system", "collaborative filtering", "implicit feedback", "candidate generation", "cold start", "learning to rank", "position bias", "NDCG", "diversify recommendations", "why do recommendations all look the same". Not for vector retrieval mechanics (ac-retrieval-and-vector-systems), not for online experiment measurement (ac-online-experiments), not for feed-level data pipelines (ac-data-pipeline-orchestration).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- ac-recommendation-systems
- status
- seedling
- license
- MIT
- metadata
- { "domain": "software-engineering" }
- description
- Building systems that rank items for users: implicit versus explicit feedback, candidate generation and its recall, cold start for new users and items, learning-to-rank with the loss chosen for the decision, position and feedback bias corrected counterfactually, ranking metrics from precision to NDCG, final filtering for diversity and fatigue, exploration, and the recommender record. It explains how recommenders are built and evaluated; it never promises engagement gains. Use when asking "recommendation system", "collaborative filtering", "implicit feedback", "candidate generation", "cold start", "learning to rank", "position bias", "NDCG", "diversify recommendations", "why do recommendations all look the same". Not for vector retrieval mechanics (ac-retrieval-and-vector-systems), not for online experiment measurement (ac-online-experiments), not for feed-level data pipelines (ac-data-pipeline-orchestration).
02 资源文件 12
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md381 B
- 参考文档subskills/bias-and-correction.md4.2 KB
- 参考文档subskills/candidate-generation.md4.0 KB
- 参考文档subskills/cold-start.md3.9 KB
- 参考文档subskills/exploration-and-coverage.md4.1 KB
- 参考文档subskills/feedback-signals.md3.7 KB
- 参考文档subskills/filtering-and-diversity.md4.1 KB
- 参考文档subskills/learning-to-rank.md4.0 KB
- 参考文档subskills/offline-metrics.md3.8 KB
- 参考文档subskills/recommender-record.md4.0 KB
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Recommendation systems
Overview
A recommender ranks items for a user, and the difficulty is that the system only ever sees the results of its own past rankings. Every click is contingent on what was shown, in which order, and what was never given a chance — so the raw interaction log is not data about preference; it is data about the ranking the system already served. Everything in the craft follows from that one uncomfortable fact.
The second defining fact is the two-stage shape. Ranking millions of items for every user, every time, is computationally unreachable, so real systems generate a candidate set cheaply from a union of signals — collaborative neighbourhoods, content similarity, popularity, co-occurrence — and then apply an expensive learned model to score only those candidates. The final ranking is then filtered for business rules, diversity, and fatigue before display. Each stage has its own failure mode, and a recommender that only optimizes the scorer is optimizing the middle of three problems.
Primary sources: https://en.wikipedia.org/wiki/Recommender_system and https://en.wikipedia.org/wiki/Collaborative_filtering.
When to use
- When building a system that ranks items, feeds, or matches for users.
- When choosing between collaborative, content-based, and hybrid signals.
- When designing evaluation or offline metrics for ranking quality.
- When recommendation quality degrades, narrows, or loops.
When NOT to use
- For vector index and retrieval mechanics (use ac-retrieval-and-vector-systems).
- For A/B experiment design and peeking discipline (use ac-online-experiments).
- For backfill and ingestion pipelines (use ac-data-pipeline-orchestration).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/feedback-signals.md |
software-engineering/feedback-signals |
Implicit and explicit data, and what each honestly measures. |
subskills/candidate-generation.md |
software-engineering/candidate-generation |
Cheap recall sources whose union is the judge of coverage. |
subskills/cold-start.md |
software-engineering/cold-start |
The bootstrap sequence for new users and new items. |
subskills/learning-to-rank.md |
software-engineering/learning-to-rank |
The scorer, its features, and its loss tied to the decision. |
subskills/bias-and-correction.md |
software-engineering/bias-and-correction |
Position, popularity, and feedback loops; counterfactual remedies. |
subskills/offline-metrics.md |
software-engineering/offline-metrics |
Precision and NDCG as arithmetic; what offline wins do and do not promise. |
subskills/filtering-and-diversity.md |
software-engineering/filtering-and-diversity |
Final ranking: coverage, repetition, and fatigue as explicit rules. |
subskills/exploration-and-coverage.md |
software-engineering/exploration-and-coverage |
Exploration as part of design, not an accident of randomness. |
subskills/recommender-record.md |
software-engineering/recommender-record |
The record: signals, stages, rules, and their reasons, kept current. |
Status and honest limits
Offline metrics are proxies; the interaction log is biased by what was already shown; offline wins at the proxy may or may not carry to the product — measurement belongs to the experiment skill, and the interface between them is a hypothesis. Relevance itself is not a fixed target; a recommender that is genuinely useful for one user in one context may be noise in another, and the record's job is to keep that gap visible rather than smoothed away.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.