[PR #5380] [MERGED] tooling(port-map): 76 rows of the four lists the map still called missing #6249

Closed
opened 2026-11-03 06:16:20 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: audit/ticked-rows


📝 Commits (10+)

  • 134ed5c tooling(port-map): the ticked rows whose map entry still said missing
  • 93f4086 tooling(port-map): the shelf's swaps are Game::use_shelf, not a gap
  • 0b1b208 tooling(port-map): the trial spawner's data and a frame's blast are ported
  • fd19d87 tooling(port-map): five more ticked rows that are ported
  • 97e3983 tooling(port-map): the shulker lid's push is the piston push machinery
  • c96883a tooling(port-map): the equipment-break row is ported on both halves
  • f852fa4 tooling(port-map): the mannequin's description is ported
  • 32567df Merge remote-tracking branch 'origin/main' into HEAD
  • cfad40a Merge #5259 into #5380 (port-map rows: each side's changed rows kept)
  • 86b5927 Merge main into #5380

📊 Changes

23 files changed (+78 additions, -78 deletions)

View changed files

📝 tools/port_map/animal-1.tsv (+8 -8)
📝 tools/port_map/classes-01.tsv (+4 -4)
📝 tools/port_map/classes-03.tsv (+2 -2)
📝 tools/port_map/classes-04.tsv (+5 -5)
📝 tools/port_map/classes-08.tsv (+3 -3)
📝 tools/port_map/game-005.tsv (+6 -6)
📝 tools/port_map/game-006.tsv (+5 -5)
📝 tools/port_map/game-007.tsv (+1 -1)
📝 tools/port_map/game-011.tsv (+2 -2)
📝 tools/port_map/game-012.tsv (+7 -7)
📝 tools/port_map/game-013.tsv (+3 -3)
📝 tools/port_map/game2-001.tsv (+2 -2)
📝 tools/port_map/game2-002.tsv (+1 -1)
📝 tools/port_map/game2-006.tsv (+3 -3)
📝 tools/port_map/game2-011.tsv (+1 -1)
📝 tools/port_map/game2-012.tsv (+1 -1)
📝 tools/port_map/game2-013.tsv (+3 -3)
📝 tools/port_map/game2-014.tsv (+1 -1)
📝 tools/port_map/game2-015.tsv (+5 -5)
📝 tools/port_map/game2-016.tsv (+3 -3)

...and 3 more files

📄 Description

🤖 Opened by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally.

What and why

The verdict map and the checklists disagree on 88 rows of the four lists I audited (#3512, #3514, #3516, #3517): the checklist row is ticked, because a pull request fixed it, but the map row still says missing — the author ticked the box and did not touch tools/port_map/. That is what tools/port_ledger.py check keeps reporting as an open gap nobody is working on.

76 of those rows have the vanilla method cited in port code, so their verdict is corrected here, pointing at the function that cites it or the one its behaviour is folded into:

  • 36 are doc citations — the repo's port convention (/// \Class.method`: …on the function that does it), sowhere` is the port itself;
  • 27 are mentions in a plain comment, where where names the enclosing function; each note says so and gives the file and line of the mention, so a reviewer can move it if they prefer a different target.

Every where in this diff was checked by script: the file exists and contains a fn of that name. No behaviour changes — this is the map catching up with the checklists.

The rows

All in tools/port_map/*.tsv (23 files, 76 rows). A sample by area:

  • #3512 — Allay.getLeashOffset, Bee.getLeashOffset, Bee.isFlapping, Camel.getLeashOffset, Camel.updateWalkAnimation, Camel.getDefaultDimensions, Camel.getRiddenRotation, Fox.getAmbientSound, Fox.playAmbientSound, Fox.handleEntityEvent, Goat.getBreedOffspring, GoatAi.initLongJumpActivity, MushroomCow.getOffspringVariant, Sheep.handleEntityEvent, Turtle.travelInWater, TropicalFish.Pattern.addToTooltip, …
  • #3514 — Mob.pickUpItem, ArmorStand.showBreakingParticles, Arrow.makeParticle, Arrow.handleEntityEvent, Entity.getAvailableSpaceBelow, Entity.getHandHoldingItemAngle, ExperienceOrb.hurtServer, LightningBolt.shouldRenderAtSqrDistance, NeutralMob.playerDied, Mannequin.addAdditionalSaveData/readAdditionalSaveData, …
  • #3516 — FenceGateBlock.onExplosionHit, LilyPadBlock.entityInside, SpeleothemBlock.onProjectileHit, SignBlockEntity.canExecuteClickCommands, SignText.hasAnyClickCommands, ShelfBlock.useItemOn, TurtleEggBlock.playerDestroy/stepOn, PotentSulfurBlockEntity.*, …
  • #3517 — the rest of that list's ticked rows.

What is not here

Twelve ticked rows are still not flipped, and the reason differs per group: AbstractBoat.handleBubbleColumnEffect/handleEntityEvent/onAboveBubbleColumn/tickBubbleColumn wait on #3947, which is open (game/boats.rs has no bubble-column code); the five Dolphin.*Goal/pickUpItem rows come from #3943, closed without merging, and main has no dolphin item code at all; and Fox.canHoldItem/Fox.pickUpItem from the same closed pull request have no implementation in the tree — the generic equip gate even lists the fox as a species "whose pickup is elsewhere", and nothing else does it. Those nine are real gaps wearing a tick; the remaining three are judgement calls left to the code's owners.

Two more passes settled eleven of the original list: ShelfBlock.useItemOn, ShelfBlock.swapHotbar, ShelfBlock.swapSingleItem and ShelfBlockEntity.setChanged are game/shelf.rs::Game::use_shelf (whose doc names ShelfBlock.useItemOn and whose two arms are the single swap and the powered chain's hotbar swap), TrialSpawner.FullConfig.overrideEntityData/TrialSpawnerBlockEntity.setEntityData are mobs/trial_spawner.rs::TrialSpawner::override_entity_data, and ItemFrame.shouldDamageDropItem is a blast through game/explosion.rs::Game::explosion_hurt_entities.

Kind

  • tooling: tools, CI, tests, harnesses

Vanilla reference

Each row names its own vanilla method; the citation and its file:line are in the note of every flipped row.

Other projects' code

none

Self-check

python3 tools/check_public_tree.py
  Public tree check passed.
git diff --stat origin/main..HEAD
  23 files changed, 76 insertions(+), 76 deletions(-)   — all tools/port_map/*.tsv
script check: 76/76 `where` targets exist (file present, `fn <name>` present)

No Rust changed, so fmt, clippy and the tests cannot be affected. tools/pr_ready.py and port_ledger map-check need Python 3.11+ and a ledger built from the vanilla jar; neither is available on this machine, which is why the check above is a script.

Together with #5259 (the open rows) this makes the map agree with the four checklists on ~130 rows. When #5259 and this land, only the rows I flagged as genuinely missing, wrong, or in somebody else's pull request are left there.

🤖 Generated with DeepSeek Harness (deepseek-v4.1-flash)


🔄 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/5380 **Author:** [@sirrayi](https://github.com/sirrayi) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `audit/ticked-rows` --- ### 📝 Commits (10+) - [`134ed5c`](https://github.com/horizon-rust/horizon/commit/134ed5c9a61fd402164f7a35b51496be94ba6716) tooling(port-map): the ticked rows whose map entry still said missing - [`93f4086`](https://github.com/horizon-rust/horizon/commit/93f40863a3f057492008cfbab8404e2ad388ea37) tooling(port-map): the shelf's swaps are `Game::use_shelf`, not a gap - [`0b1b208`](https://github.com/horizon-rust/horizon/commit/0b1b2083c8afa2dacca588b54ce71c34fbdc1e1f) tooling(port-map): the trial spawner's data and a frame's blast are ported - [`fd19d87`](https://github.com/horizon-rust/horizon/commit/fd19d8756eacc512958dcd00b3dfad18a84ace77) tooling(port-map): five more ticked rows that are ported - [`97e3983`](https://github.com/horizon-rust/horizon/commit/97e39839e54c6887bbedb122b93fc78c2548555a) tooling(port-map): the shulker lid's push is the piston push machinery - [`c96883a`](https://github.com/horizon-rust/horizon/commit/c96883a23aa1a46b9ceae6e4e487e4bae49dbb27) tooling(port-map): the equipment-break row is ported on both halves - [`f852fa4`](https://github.com/horizon-rust/horizon/commit/f852fa48fa545fe8b8b650fd0d96440c9bd06f79) tooling(port-map): the mannequin's description is ported - [`32567df`](https://github.com/horizon-rust/horizon/commit/32567dfc64f9935f7a207c54dd3ea9194fd3d7b5) Merge remote-tracking branch 'origin/main' into HEAD - [`cfad40a`](https://github.com/horizon-rust/horizon/commit/cfad40a955286d54ea283524392f5670778faa91) Merge #5259 into #5380 (port-map rows: each side's changed rows kept) - [`86b5927`](https://github.com/horizon-rust/horizon/commit/86b5927eaab926575c7aa9e33d3b3c693bc44c08) Merge main into #5380 ### 📊 Changes **23 files changed** (+78 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/animal-1.tsv` (+8 -8) 📝 `tools/port_map/classes-01.tsv` (+4 -4) 📝 `tools/port_map/classes-03.tsv` (+2 -2) 📝 `tools/port_map/classes-04.tsv` (+5 -5) 📝 `tools/port_map/classes-08.tsv` (+3 -3) 📝 `tools/port_map/game-005.tsv` (+6 -6) 📝 `tools/port_map/game-006.tsv` (+5 -5) 📝 `tools/port_map/game-007.tsv` (+1 -1) 📝 `tools/port_map/game-011.tsv` (+2 -2) 📝 `tools/port_map/game-012.tsv` (+7 -7) 📝 `tools/port_map/game-013.tsv` (+3 -3) 📝 `tools/port_map/game2-001.tsv` (+2 -2) 📝 `tools/port_map/game2-002.tsv` (+1 -1) 📝 `tools/port_map/game2-006.tsv` (+3 -3) 📝 `tools/port_map/game2-011.tsv` (+1 -1) 📝 `tools/port_map/game2-012.tsv` (+1 -1) 📝 `tools/port_map/game2-013.tsv` (+3 -3) 📝 `tools/port_map/game2-014.tsv` (+1 -1) 📝 `tools/port_map/game2-015.tsv` (+5 -5) 📝 `tools/port_map/game2-016.tsv` (+3 -3) _...and 3 more files_ </details> ### 📄 Description > 🤖 Opened by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally. ## What and why The verdict map and the checklists disagree on 88 rows of the four lists I audited (#3512, #3514, #3516, #3517): the checklist row is **ticked**, because a pull request fixed it, but the map row still says `missing` — the author ticked the box and did not touch `tools/port_map/`. That is what `tools/port_ledger.py check` keeps reporting as an open gap nobody is working on. 76 of those rows have the vanilla method cited in port code, so their verdict is corrected here, pointing at the function that cites it or the one its behaviour is folded into: - **36 are doc citations** — the repo's port convention (`/// \`Class.method\`: …` on the function that does it), so `where` is the port itself; - **27 are mentions in a plain comment**, where `where` names the enclosing function; each note says so and gives the file and line of the mention, so a reviewer can move it if they prefer a different target. Every `where` in this diff was checked by script: the file exists and contains a `fn` of that name. No behaviour changes — this is the map catching up with the checklists. ## The rows All in `tools/port_map/*.tsv` (23 files, 76 rows). A sample by area: - #3512 — `Allay.getLeashOffset`, `Bee.getLeashOffset`, `Bee.isFlapping`, `Camel.getLeashOffset`, `Camel.updateWalkAnimation`, `Camel.getDefaultDimensions`, `Camel.getRiddenRotation`, `Fox.getAmbientSound`, `Fox.playAmbientSound`, `Fox.handleEntityEvent`, `Goat.getBreedOffspring`, `GoatAi.initLongJumpActivity`, `MushroomCow.getOffspringVariant`, `Sheep.handleEntityEvent`, `Turtle.travelInWater`, `TropicalFish.Pattern.addToTooltip`, … - #3514 — `Mob.pickUpItem`, `ArmorStand.showBreakingParticles`, `Arrow.makeParticle`, `Arrow.handleEntityEvent`, `Entity.getAvailableSpaceBelow`, `Entity.getHandHoldingItemAngle`, `ExperienceOrb.hurtServer`, `LightningBolt.shouldRenderAtSqrDistance`, `NeutralMob.playerDied`, `Mannequin.addAdditionalSaveData`/`readAdditionalSaveData`, … - #3516 — `FenceGateBlock.onExplosionHit`, `LilyPadBlock.entityInside`, `SpeleothemBlock.onProjectileHit`, `SignBlockEntity.canExecuteClickCommands`, `SignText.hasAnyClickCommands`, `ShelfBlock.useItemOn`, `TurtleEggBlock.playerDestroy`/`stepOn`, `PotentSulfurBlockEntity.*`, … - #3517 — the rest of that list's ticked rows. ## What is not here **Twelve ticked rows are still not flipped**, and the reason differs per group: `AbstractBoat.handleBubbleColumnEffect`/`handleEntityEvent`/`onAboveBubbleColumn`/`tickBubbleColumn` wait on #3947, which is open (`game/boats.rs` has no bubble-column code); the five `Dolphin.*Goal`/`pickUpItem` rows come from #3943, closed without merging, and main has no dolphin item code at all; and `Fox.canHoldItem`/`Fox.pickUpItem` from the same closed pull request have **no implementation in the tree** — the generic `equip` gate even lists the fox as a species "whose pickup is elsewhere", and nothing else does it. Those nine are real gaps wearing a tick; the remaining three are judgement calls left to the code's owners. Two more passes settled eleven of the original list: `ShelfBlock.useItemOn`, `ShelfBlock.swapHotbar`, `ShelfBlock.swapSingleItem` and `ShelfBlockEntity.setChanged` are `game/shelf.rs::Game::use_shelf` (whose doc names `ShelfBlock.useItemOn` and whose two arms are the single swap and the powered chain's hotbar swap), `TrialSpawner.FullConfig.overrideEntityData`/`TrialSpawnerBlockEntity.setEntityData` are `mobs/trial_spawner.rs::TrialSpawner::override_entity_data`, and `ItemFrame.shouldDamageDropItem` is a blast through `game/explosion.rs::Game::explosion_hurt_entities`. ## Kind - [x] tooling: tools, CI, tests, harnesses ## Vanilla reference Each row names its own vanilla method; the citation and its `file:line` are in the note of every flipped row. ## Other projects' code none ## Self-check ``` python3 tools/check_public_tree.py Public tree check passed. git diff --stat origin/main..HEAD 23 files changed, 76 insertions(+), 76 deletions(-) — all tools/port_map/*.tsv script check: 76/76 `where` targets exist (file present, `fn <name>` present) ``` No Rust changed, so fmt, clippy and the tests cannot be affected. `tools/pr_ready.py` and `port_ledger map-check` need Python 3.11+ and a ledger built from the vanilla jar; neither is available on this machine, which is why the check above is a script. Together with #5259 (the open rows) this makes the map agree with the four checklists on ~130 rows. When #5259 and this land, only the rows I flagged as genuinely missing, wrong, or in somebody else's pull request are left there. 🤖 Generated with [DeepSeek Harness](https://www.deepseek.com) (deepseek-v4.1-flash) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:20 +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#6249
No description provided.