MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / formatCategoryLabel

Function formatCategoryLabel

deployments/desktop/static/app.js:794–805  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

792}
793
794function formatCategoryLabel(value) {
795 const normalized = String(value || "").trim().toLowerCase();
796 const labels = {
797 pending: "待评分",
798 must_read: "必读命中",
799 high_relevant: "高度相关",
800 maybe_interested: "可能相关",
801 edge_relevant: "边缘相关",
802 unknown: "未知",
803 };
804 return labels[normalized] || value || "未知";
805}
806
807function relevanceSortValue(paper) {
808 const categoryRank = {

Callers 1

renderPushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected