Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ docs/experiments/runs/sessions/
# Python 回归运行缓存
__pycache__/
*.py[cod]
tools/eval/last-run.json
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/*"]

[workspace.package]
version = "1.0.2"
version = "1.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
rust-version = "1.98"
Expand All @@ -12,11 +12,11 @@ description = "萤火虫输入法:跨平台、离线、只做核心输入的
## 内部路径依赖:显式写出 version 供 cargo-deny 解析(否则会被判为通配符 / 解析失败)。
## 发版时与 `[workspace.package] version` 一起改。
[workspace.dependencies]
ime-dict = { path = "crates/ime-dict", version = "1.0.2" }
ime-config = { path = "crates/ime-config", version = "1.0.2" }
ime-core = { path = "crates/ime-core", version = "1.0.2" }
ime-pinyin = { path = "crates/ime-pinyin", version = "1.0.2" }
ime-table = { path = "crates/ime-table", version = "1.0.2" }
ime-dict = { path = "crates/ime-dict", version = "1.1.0" }
ime-config = { path = "crates/ime-config", version = "1.1.0" }
ime-core = { path = "crates/ime-core", version = "1.1.0" }
ime-pinyin = { path = "crates/ime-pinyin", version = "1.1.0" }
ime-table = { path = "crates/ime-table", version = "1.1.0" }

[profile.release]
lto = true
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,17 @@ bootstrap: ## 安装开发依赖(版本固定,见 MVP 审计 SEC-07)
cargo install cargo-deny --version 0.20.2 --locked
cargo install cargo-fuzz --version 0.13.2 --locked

EVAL_SAMPLES ?= tools/eval/samples.tsv
EVAL_TABLE ?= data/generated/wubi86-core.tsv
EVAL_JSON ?= tools/eval/last-run.json

verify-no-network: ## 静态扫描已知网络依赖/符号(不代替最终包动态外联核验)
./scripts/verify-no-network.sh

eval-candidates: ## 候选排序评测(样本集对比;写 tools/eval/last-run.json)
$(CLEAN) $(CARGO) run -q -p ime-cli --bin ime-eval -- \
--samples $(EVAL_SAMPLES) --table $(EVAL_TABLE) --json $(EVAL_JSON)

usage-report: ## 汇总用量/成本(纯本地,不花 token)
./scripts/usage-report.sh

Expand Down
Loading
Loading