K9 SAR Log

Feature

Training catalogs

Training catalogs in K9 SAR Log are three controlled lists on the Training tab: source material, placement, and terrain, each with readiness ratings for the active dog.

The catalogs ship 9 source keys, 8 placement keys, and 9 terrain keys, plus Other on each list, matching the same enums used when logging a problem.

Three lists, one readiness picture

Source material answers what the dog has worked. Placement answers how it was hidden. Terrain answers where the team ran.

Ratings live in public.training_focus when Neon is reachable, with a localStorage fallback so a dead radio does not blank the Training tab.

Placement catalog
Catalog keyLabel
surfaceSurface / open ground
grassIn grass / vegetation
buried_shallowBuried (shallow)
buried_deepBuried (deep)
elevatedElevated / tree / hanging
debrisUnder debris / rubble
waterUnder water / shoreline
concealedConcealed (container / vehicle / structure)

Terrain catalog

Terrain keys cover dense forest through shoreline and mixed ground. The training plan weights terrain slightly differently from source and placement when ranking gaps — see TERRAIN_PLAN_WEIGHT in trainingPlan.ts.

Terrain catalog
Catalog keyLabel
dense_forestDense forest
open_woodlandOpen woodland
meadowMeadow / field
mountainMountain / alpine
desertDesert / arid
wetlandWetland / swamp
urbanUrban / suburban
shorelineWater / shoreline
mixedMixed

The same vocabulary as the problem form

The Training tab does not invent a second taxonomy. Logging a problem and rating readiness share SOURCE_MATERIAL_LABELS, PLACEMENT_LABELS, and TERRAIN_LABELS from types.ts.

What it does not do

Catalogs are readiness preferences, not a certification curriculum.

Common questions

What catalogs does the Training tab include?

Source material (9 keys), placement (8 keys), and terrain (9 keys), each with an Other option.

Are training ratings per dog?

Yes. Preferences are scoped by dog_id, the same way sessions are.

Where are training focus prefs stored?

In Neon public.training_focus when available, with a localStorage fallback if the table is unreachable.

Do problem forms use the same source and terrain lists?

Yes. Both surfaces read the same label maps from types.ts.