Skip to content

test(element-count): cover player-variable target costs - #310

Merged
Teakowa merged 5 commits into
mainfrom
codex/workshop-rs-305
Sep 26, 2026
Merged

Teakowa merged 5 commits into
mainfrom
codex/workshop-rs-305

Conversation

@e54-bot

@e54-bot e54-bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Change

  • Add a regression for nontrivial player expressions embedded in player-variable targets.
  • Cover both Stop Chasing Player Variable and Set Player Variable At Index, including their direct-argument reduction.

Context

Validation

  • cargo test -p workshop-rs (231 library tests, 9 catalog-generator tests, and 103 integration tests passed; 3 performance tests ignored).
  • cargo clippy --locked --workspace --all-targets -- -D warnings
  • cargo fmt --check

@Teakowa Teakowa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One blocking correctness issue in variable-target counting.

Comment thread crates/workshop-rs/src/analysis/element_count.rs Outdated
@e54-bot e54-bot changed the title fix: align element count with Workshop evidence test(element-count): cover player-variable target costs Sep 26, 2026
@e54-bot
e54-bot requested a review from Teakowa September 26, 2026 17:49
@Teakowa
Teakowa merged commit 7e25fd5 into main Sep 26, 2026
10 checks passed
@Teakowa
Teakowa deleted the codex/workshop-rs-305 branch September 26, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Element count is about 37% below the client on a real project

2 participants