@Nemoralis reached out to me, mentioning this link recommendation to HP-GL article at az.wikipedia shouldn't have been recommended, because the edit is in the Ədəbiyyat section, which is explicitly excluded via CommunityConfiguration and its List of excluded sections from the Add link task feature:
At first, I thought this is happening because the recommendation was generated before Add Link configuration was updated (as T370550 is still unresolved). However, then I realised this is probably not the case, as we revalidated all suggestions at az.wikipedia via T370262: Run revalidateLinkRecommendations script for azwiki. That led me to think this might be a recent suggestion that somehow got added in violation of configuration.
To see whether this might be the case, I copied the article to my sandbox (before the Add Link edit) and I requested an Add Link recommendation to be generated for it:
[urbanecm@mwmaint2002 ~]$ mwscript extensions/GrowthExperiments/maintenance/refreshLinkRecommendations.php --wiki=azwiki --page='İstifadəçi:Martin_Urbanec_(WMF)/Qaralama' --verbose --force DEPRECATION WARNING: Maintenance scripts are moving to Kubernetes. See https://wikitech.wikimedia.org/wiki/Maintenance_scripts for the new process. Maintenance hosts will be going away; please submit feedback promptly if maintenance scripts on Kubernetes don't work for you. (T341553) Refreshing link recommendations... checking candidate İstifadəçi:Martin_Urbanec_(WMF)/Qaralama... success, updating index [urbanecm@mwmaint2002 ~]$
Then, I checked the DB for the recommendation (select gelr_data from growthexperiments_link_recommendations where gelr_page=879870 was the query), formatted results:
= [ "links" => [ [ "link_text" => "İnformatika terminlərinin izahlı lüğəti", "link_target" => "İnformatika terminlərinin izahlı lüğəti", "match_index" => 0, "wikitext_offset" => 1850, "score" => 0.89774417877197, "context_before" => "adıqov), "", "context_after" => "", 2017, "", "link_index" => 0, ], [ "link_text" => "Bakı", "link_target" => "Bakı", "match_index" => 0, "wikitext_offset" => 1899, "score" => 0.65352535247803, "context_before" => "", 2017, "", "context_after" => "" nəşriyya", "link_index" => 1, ], ], "meta" => [ "application_version" => "a443077", "dataset_checksums" => [ "anchors" => "adb9536e93a626a8dd020cef970727891b0a68eb0cc4be2e53031e54d6a6ae12", "model" => "12910c55eaa872b8507f0a3cccbf68bccf36ae133203b2fbe0e2e486e561d0f7", "pageids" => "68c3074afbae8bbf9c2f29f7ad9218ba8d3b6ba29c1833cc388690691f416392", "redirects" => "8a33cea883534fc0bb9586210dba7317ef9feaccde229c8817006acb49479324", "w2vfiltered" => "91868c81fd23deeb1568048995137b3acdeb77cec50b5bf197d170d35269a6c5", ], "format_version" => 1, "task_timestamp" => 1732055506, ], ]
We can see Add Link recommended İnformatika terminlərinin izahlı lüğəti to be linked, which is indeed in the Ədəbiyyat section (which is excluded via Community Configuration). Why was this recommendation generated?