[PR #633] [MERGED] horizon-port-pack report: coverage per mod, and ATM10 measured #2685

Closed
opened 2026-11-02 15:58:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/633
Author: @ludovic111
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @ludovic111

Base: main ← Head: feat/port-pack-report


📝 Commits (4)

  • ddc115e Content mods: load real carried-over mods (large tables, convention tags, mod recipes)
  • 886def4 horizon-port-pack carry: templates and numbers from the NeoForge oracle, 1.21.1 loot upgraded
  • 32f5f01 Per-mod parity harness against a dev-only NeoForge oracle
  • 0560bbf horizon-port-pack report: coverage per mod, and ATM10 measured

📊 Changes

25 files changed (+2709 additions, -103 deletions)

View changed files

➕ crates/horizon-client/examples/mod_port_probe.rs (+271 -0)
📝 crates/horizon-client/src/collisions.rs (+1 -1)
📝 crates/horizon-client/src/items.rs (+14 -6)
📝 crates/horizon-client/src/light.rs (+1 -1)
📝 crates/horizon-client/src/mod_content.rs (+81 -2)
📝 crates/horizon-client/src/mod_content_tests.rs (+18 -4)
📝 crates/horizon-client/src/models.rs (+1 -1)
📝 crates/horizon-client/src/motion.rs (+1 -1)
📝 crates/horizon-client/src/stations.rs (+17 -10)
📝 crates/horizon-mods/src/content.rs (+10 -6)
📝 crates/horizon-port-pack/src/carry.rs (+358 -35)
📝 crates/horizon-port-pack/src/import.rs (+88 -2)
📝 crates/horizon-port-pack/src/inventory.rs (+7 -3)
📝 crates/horizon-port-pack/src/jar.rs (+16 -0)
📝 crates/horizon-port-pack/src/main.rs (+78 -7)
➕ crates/horizon-port-pack/src/oracle.rs (+384 -0)
➕ crates/horizon-port-pack/src/report.rs (+428 -0)
📝 crates/horizon-world/src/nbt.rs (+12 -0)
📝 crates/horizon-world/src/worldgen/generator_blocks.rs (+6 -8)
📝 docs/modpacks.md (+99 -13)

...and 5 more files

📄 Description

horizon-port-pack report <work> writes coverage.json and coverage.md. Each mod is ported, partial, not yet or not needed, with the reason, and there are totals by class, tier and licence family.

  • It reads the inventory, each mod's carry report and its harness result (#632).
    • Ported: a green harness with nothing left out. Blocks with a class of their own are counted and named.
    • Partial: lists the failing checks, the blocks left out and what the templates miss.
    • Not yet: names the API tier or the dependency the mod waits for.
    • Not needed: libraries, performance mods and pack tooling.
    • Unclassified mods are not yet, never not needed.
  • import also reads Crash Assistant's modlist.json, the list ATM10 publishes in its repository (mod ids, names, versions, Modrinth hashes, the loader entry). When there is no jar, the inventory uses its mod ids and names.

ATM10, measured (496 files; the eight mods we downloaded were carried and checked)

status mods
ported 1
partial 7
not yet 367
not needed 121
class ported partial not yet not needed
content 1 7 268 0
library 0 0 0 77
integration 0 0 40 3
client-ui 0 0 27 2
performance 0 0 0 16
server-only 0 0 11 0
other 0 0 1 23
unknown 0 0 20 0

By licence family: permissive 131 (ported 1, partial 6), copyleft 85 (partial 1), all rights reserved 66, custom 28, restricted 14, unknown 172. Ports stay local; only permissive or copyleft ones could ever be published, and only after Ludovic asks the authors.

Not yet, by the API tier needed: data 57, logic 66, machines 97, deep 92, client 35, unclassified 20. The 57 data-tier mods are the next ones carry can take as they are. The rest wait on API 0.3 and later: callbacks, block entities, menus.

Stack: #630 → #631 → #632 → this → #648 (state limit, measured against NeoForge); #647 (textures past 2048 layers) is separate, on main. Not merged by me.

Checks

  • cargo fmt --all --check: clean
  • cargo clippy --workspace --all-targets -- -D warnings (release profile, -j $FLEET_LOAD_JOBS): clean
  • Crate tests: horizon-client mod_content (6), horizon-mods, horizon-port-pack (17): pass
  • Local parity on the top of this stack (tools/parity.py --changed origin/main, Mac mini, 3 jobs): 293 passed, 0 failed in 225 min

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/633 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/port-pack-report` --- ### 📝 Commits (4) - [`ddc115e`](https://github.com/horizon-rust/horizon/commit/ddc115e969690c3a868283b540af534cc9465310) Content mods: load real carried-over mods (large tables, convention tags, mod recipes) - [`886def4`](https://github.com/horizon-rust/horizon/commit/886def4360a904802f30d1e053281ef35cf6b4d6) horizon-port-pack carry: templates and numbers from the NeoForge oracle, 1.21.1 loot upgraded - [`32f5f01`](https://github.com/horizon-rust/horizon/commit/32f5f01e22fb4fcbb0017d4951560d27459f8525) Per-mod parity harness against a dev-only NeoForge oracle - [`0560bbf`](https://github.com/horizon-rust/horizon/commit/0560bbf87607c435bab58b7005b0fe0707891fec) horizon-port-pack report: coverage per mod, and ATM10 measured ### 📊 Changes **25 files changed** (+2709 additions, -103 deletions) <details> <summary>View changed files</summary> ➕ `crates/horizon-client/examples/mod_port_probe.rs` (+271 -0) 📝 `crates/horizon-client/src/collisions.rs` (+1 -1) 📝 `crates/horizon-client/src/items.rs` (+14 -6) 📝 `crates/horizon-client/src/light.rs` (+1 -1) 📝 `crates/horizon-client/src/mod_content.rs` (+81 -2) 📝 `crates/horizon-client/src/mod_content_tests.rs` (+18 -4) 📝 `crates/horizon-client/src/models.rs` (+1 -1) 📝 `crates/horizon-client/src/motion.rs` (+1 -1) 📝 `crates/horizon-client/src/stations.rs` (+17 -10) 📝 `crates/horizon-mods/src/content.rs` (+10 -6) 📝 `crates/horizon-port-pack/src/carry.rs` (+358 -35) 📝 `crates/horizon-port-pack/src/import.rs` (+88 -2) 📝 `crates/horizon-port-pack/src/inventory.rs` (+7 -3) 📝 `crates/horizon-port-pack/src/jar.rs` (+16 -0) 📝 `crates/horizon-port-pack/src/main.rs` (+78 -7) ➕ `crates/horizon-port-pack/src/oracle.rs` (+384 -0) ➕ `crates/horizon-port-pack/src/report.rs` (+428 -0) 📝 `crates/horizon-world/src/nbt.rs` (+12 -0) 📝 `crates/horizon-world/src/worldgen/generator_blocks.rs` (+6 -8) 📝 `docs/modpacks.md` (+99 -13) _...and 5 more files_ </details> ### 📄 Description `horizon-port-pack report <work>` writes `coverage.json` and `coverage.md`. Each mod is ported, partial, not yet or not needed, with the reason, and there are totals by class, tier and licence family. - It reads the inventory, each mod's carry report and its harness result (#632). - **Ported**: a green harness with nothing left out. Blocks with a class of their own are counted and named. - **Partial**: lists the failing checks, the blocks left out and what the templates miss. - **Not yet**: names the API tier or the dependency the mod waits for. - **Not needed**: libraries, performance mods and pack tooling. - Unclassified mods are not yet, never not needed. - `import` also reads Crash Assistant's `modlist.json`, the list ATM10 publishes in its repository (mod ids, names, versions, Modrinth hashes, the loader entry). When there is no jar, the inventory uses its mod ids and names. ### ATM10, measured (496 files; the eight mods we downloaded were carried and checked) | status | mods | |---|---| | ported | 1 | | partial | 7 | | not yet | 367 | | not needed | 121 | | class | ported | partial | not yet | not needed | |---|---|---|---|---| | content | 1 | 7 | 268 | 0 | | library | 0 | 0 | 0 | 77 | | integration | 0 | 0 | 40 | 3 | | client-ui | 0 | 0 | 27 | 2 | | performance | 0 | 0 | 0 | 16 | | server-only | 0 | 0 | 11 | 0 | | other | 0 | 0 | 1 | 23 | | unknown | 0 | 0 | 20 | 0 | By licence family: permissive 131 (ported 1, partial 6), copyleft 85 (partial 1), all rights reserved 66, custom 28, restricted 14, unknown 172. Ports stay local; only permissive or copyleft ones could ever be published, and only after Ludovic asks the authors. Not yet, by the API tier needed: data 57, logic 66, machines 97, deep 92, client 35, unclassified 20. The 57 data-tier mods are the next ones `carry` can take as they are. The rest wait on API 0.3 and later: callbacks, block entities, menus. Stack: #630 → #631 → #632 → **this** → #648 (state limit, measured against NeoForge); #647 (textures past 2048 layers) is separate, on main. Not merged by me. ## Checks - `cargo fmt --all --check`: clean - `cargo clippy --workspace --all-targets -- -D warnings` (release profile, `-j $FLEET_LOAD_JOBS`): clean - Crate tests: `horizon-client` mod_content (6), `horizon-mods`, `horizon-port-pack` (17): pass - Local parity on the top of this stack (`tools/parity.py --changed origin/main`, Mac mini, 3 jobs): **293 passed, 0 failed** in 225 min 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:58:13 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2685
No description provided.