catboost icon indicating copy to clipboard operation
catboost copied to clipboard

Docs: template variables stripped during migration, leaving blank values on live site

Open stohirov opened this issue 4 months ago • 0 comments

Several docs pages have missing parameter values - the template variable was stripped, so the rendered sentence has a gap where the value belongs. This is live on catboost.ai today. The sentences remain grammatical, so the pages look fine at a glance.

Examples (all reproducible on the live site)

1. GPU training instruction doesn't say what to set - the instruction is unfollowable:

https://catboost.ai/docs/en/concepts/python-reference_catboostclassifier_fit > "Set the task_type parameter in the class constructor to to train the model on GPU."

Source: catboost/docs/en/_includes/work_src/reusage-python/how-to-train-on-gpu.md:4

Raw: 'Set the\xa0task_type parameter in the class constructor to\xa0 to train the model on GPU.'

The value GPU ({{ calcer_type__gpu }}, presets.yaml:164) is missing.

This is a shared include, so it's broken on 4 published pages: python-reference_{catboost,catboostclassifier,catboostregressor,catboostranker}_fit.md

2 & 3. Boosting type and bootstrap type values missing

https://catboost.ai/docs/en/concepts/speed-up-training > "By default, the boosting type is set to for small datasets. ... Try to set the value of this parameter to to speed up the training." > "By default, the method for sampling the weights of objects is set to ."

Source: catboost/docs/en/concepts/speed-up-training.md:38 and :51

Root cause

Not a regression - these files were created already broken in 09b8e55e9a ("catboost docs moving [DOCAPI-12200]"). The values were lost in the internal→GitHub export and have never been correct in this repo. git log -S confirms no revision ever contained them.

The underlying issue: a variable that renders to nothing does not fail the build and because of that, it is undetectable by review.

stohirov avatar Jul 15 '26 15:07 stohirov