# 选种规则

## 选种规则

选种规则是指, 通过一系列的条件形成多条可以筛选种子的规则, 并且每条规则可以设定不同的优先级, 在执行任务时, 通过这一系列的规则, 筛选出自己想要的结果种子。

## 填写说明

选种规则包含以下几个属性: 优先级 / 排序规则 / 类型 / 条件

### 优先级

在执行选种任务时, 会按照优先级从大到小的顺序一一匹配, 因此用户更想选择的种子类型, 优先级应该更高

### 排序规则

排序规则是指, 在匹配规则之前, 会针对该规则所设置的排序规则, 按照排序规则进行排序, 在用户希望在符合当前规则情况下, 优先选择某一指标更高或更低的种子时, 可以选择排序规则, 比如选择做种人数降序, 则会选择做种人数最多的种子推送, 达到尽快下载的目的

### 类型

类型分为普通 与 JavaScript 普通指的时通过一系列条件判断出种子是否符合自己的规则, 而 JavaScript 是指, 可以利用 JavaScript 编写自己的选择函数, 属于高阶用法

### 条件

条件包含了一些种子的属性, 根据不同的比较类型做出判断

关于**比较类型**可以看这里 => 比较类型


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.vertex-app.top/zhu-yao-mo-kuai/xuan-zhong-gui-ze.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
