riven-calen/statsconfig icon
public
Published on 5/1/2025
Добавить stats и config на страничке

Добавить аргументы stats и config в функции и вызовы

Prompts
Добавить stats и config на страничке
Добавить аргументы stats и config в функции и вызовы
Review each function on the page and determine which ones require the parameters `stats` and `config`.
Make sure that:
- Function definitions include `stats` and `config`, in the correct order. - Function calls explicitly pass these arguments as named: stats=stats, config=config. - In non-call contexts (e.g., list of arguments passed around), positional usage is allowed.
Fix any violations.
Please write all comments and explanations in Russian briefly and concisely,
but at the same time keep in mind that I have almost no experience in creating code.
If possible, offer an example of correcting lines of code or logic,
but do not rewrite the entire file.
If changes are not required, do not rewrite the code.