Page MenuHomePhabricator

Create a built-in equality function for Z31/Monolingual stringset
Closed, ResolvedPublic

Description

Description

Function implementations cannot rely on assumptions that values of Z31K1, which are instances of Z60, will consistently be either references or literals. (The design of ZObjects and the approach of orchestration require flexibility in the degree of resolution that gets performed, and when it gets performed.) For this reason, it's important to have A comprehensive Z31 equality function that can be used to determine when 2 instances are the same, regardless of whether those values are references or literals.

Since Z31 instances are numerous, it makes sense to have a built-in equality function to get the best possible performance characteristics. As a built-in, it can also maximally leverage built-in code created for the Z60 equality function.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • This built-in function should reliably and accurately determine whether two given instances of Z31 are equivalent, regardless of the form they have.

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (9cfefae)repos/abstract-wiki/wikifunctions/wikilambda-cli!111jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (9cfefae)repos/abstract-wiki/wikifunctions/function-evaluator!524jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (9cfefae)repos/abstract-wiki/wikifunctions/function-orchestrator!650dmartinsync-function-schematamain
Definitions: add Z832/Monolingual stringset equalityrepos/abstract-wiki/wikifunctions/function-schemata!341dmartinT424461main
Customize query in GitLab

Event Timeline

DMartin-WMF changed the task status from Open to In Progress.Apr 27 2026, 1:04 AM
DMartin-WMF claimed this task.
DMartin-WMF triaged this task as Medium priority.
DMartin-WMF updated the task description. (Show Details)

Change #1281265 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (9cfefae)

https://gerrit.wikimedia.org/r/1281265

Change #1281265 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (9cfefae)

https://gerrit.wikimedia.org/r/1281265

Change #1283785 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-04-29-001940 to 2026-05-05-223522

https://gerrit.wikimedia.org/r/1283785

Change #1283785 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-04-29-001940 to 2026-05-05-223522

https://gerrit.wikimedia.org/r/1283785

Change #1283786 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-04-21-184122 to 2026-05-05-223640

https://gerrit.wikimedia.org/r/1283786

Change #1283786 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-04-21-184122 to 2026-05-05-223640

https://gerrit.wikimedia.org/r/1283786

Service-side part of this is now deployed; waiting for the train to roll so that we can push the WikiLambda-side parts.