[PR #6604] [MERGED] Advancement command parity cases: subtrees, single criteria, everything on no target #6976

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6604
Author: @MSedgeMC
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: fix/advancement-command-cases


📝 Commits (1)

  • d7469b8 Advancement command parity cases: subtrees, single criteria, everything on no target

📊 Changes

1 file changed (+13 additions, -0 deletions)

View changed files

📝 tools/command_exec_corpus.py (+13 -0)

📄 Description

Vanilla's AdvancementCommand answers from with the named advancement and everything below it, through with its ancestors and everything below it, until with its ancestors only, a named criterion with that one criterion's grant or revoke (and refuses a criterion the advancement does not have), and everything against a selector that matches no entity with "No entity was found" - each with the count of advancements it changed in the message.

Horizon matches vanilla on all of these; the corpus granted and revoked roots and everything, but never a from/through/until around a mid-tree advancement, never one criterion of an advancement with hundreds of them (adventuring_time), and never everything on a selector with no target, so those states were unpinned - this adds the nine commands and one /experience query to the progression group.

Proven: on the build VM, cd ~/.wt/adv1 && python3 tools/test_command_exec_parity.py --only progression → progression: 42/42 commands match, total: 42/42 commands match.

Not proven: the advancement toast and the advancement screen for those grants (the group compares the command feedback, the chat announcements and the player's experience, not the client's toasts).


🔄 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/6604 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/advancement-command-cases` --- ### 📝 Commits (1) - [`d7469b8`](https://github.com/horizon-rust/horizon/commit/d7469b82c66af10334e8ca137be76387a57be17b) Advancement command parity cases: subtrees, single criteria, everything on no target ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tools/command_exec_corpus.py` (+13 -0) </details> ### 📄 Description Vanilla's `AdvancementCommand` answers `from` with the named advancement and everything below it, `through` with its ancestors and everything below it, `until` with its ancestors only, a named criterion with that one criterion's grant or revoke (and refuses a criterion the advancement does not have), and `everything` against a selector that matches no entity with "No entity was found" - each with the count of advancements it changed in the message. Horizon matches vanilla on all of these; the corpus granted and revoked roots and `everything`, but never a `from`/`through`/`until` around a mid-tree advancement, never one criterion of an advancement with hundreds of them (`adventuring_time`), and never `everything` on a selector with no target, so those states were unpinned - this adds the nine commands and one `/experience query` to the progression group. **Proven:** on the build VM, `cd ~/.wt/adv1 && python3 tools/test_command_exec_parity.py --only progression` → `progression: 42/42 commands match`, `total: 42/42 commands match`. **Not proven:** the advancement toast and the advancement screen for those grants (the group compares the command feedback, the chat announcements and the player's experience, not the client's toasts). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:30:31 +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#6976
No description provided.