Skip to content

Source References

This page maps each section of the documentation to the source code that informed it. Use it to trace any claim back to the codebase.

SectionSource filesWhat was referenced
The pipeline at a glance../CLAUDE.md, ../../CLAUDE.mdPipeline stages: capture, preprocess, ingest, visualize, train, deploy
Who this documentation is forsrc/routes/+layout.svelte:1-50App navigation structure, version display, overall purpose
SectionSource filesWhat was referenced
UI walkthroughsrc/routes/+page.svelte:1-100Main page layout: filter pane (left) and image grid (right)
Image grid controlssrc/routes/+page.svelte:200-400Pagination, select/clear buttons, images per page, results count
Image cardssrc/lib/components/image/ImageCard.svelte:1-200Thumbnail, predictions, annotations, tags, checkbox selector
Image cards (auto-show)src/routes/+page.server.js:15-30, src/routes/api/inference_results/+server.js:60-72auto_show.predictions, auto_show.annotations, auto_show.tags
Tag managementsrc/routes/+page.svelte:400-550Tag add/remove with autocomplete, bulk operations
Annotation and comparisonsrc/lib/components/filter/FilterPane.svelte:145-200startAnnotation(), compareSelected(), action buttons
SectionSource filesWhat was referenced
Filter fieldssrc/lib/components/filter/FilterPane.svelte:203-476All filter component instances in template
Site-specific fieldssrc/lib/components/filter/FilterPane.svelte:237-252{#each additionalDataFields} loop
How values combine within a single filtersrc/lib/server/filters.js:61-88_parseFilter(): $in (OR) and $nin for negated
How values combine (Prediction AND)src/lib/server/filters.js:246-606Classification labels pushed to $and array
How different filters combinesrc/lib/server/filters.js:53-166Top-level filters object in $match stage
Negationsrc/lib/components/filter/FilterInputText.svelte:1-50, src/lib/server/filters.js:69-71! prefix toggle, $nin query
Date range — From and Tosrc/lib/utils.js:42-74getDefaultFilters(): midnight default, hour < 2 logic
Date range (components)src/lib/components/filter/FilterPane.svelte:213-236FilterInputsDateAndTime for From/To
Confidence range vs. threshold slidersrc/lib/components/filter/FilterPane.svelte:278-310, 392-403Confidence min/max inputs vs. threshold_confidence2 slider
Confidence range (query)src/lib/server/filters.js:168-196confidence_filters with prediction_score and detection_score
Annotation and Prediction formatsrc/lib/components/filter/FilterPane.svelte:254-276regexFilter=".+:.+", datalist from labelList
Annotation format (query)src/lib/server/filters.js:198-244$elemMatch with $or positive, $and negated
Prediction format (query)src/lib/server/filters.js:246-606new_filters.$and (AND logic)
Show/Hide togglessrc/lib/components/filter/FilterPane.svelte:73-83, 427-445ANNOTATION_OPTIONS, PREDICTION_OPTIONS arrays
Show/Hide toggles (query)src/lib/server/filters.js:142-159filters.annotated, filters.inference_result.$exists
Hide skipped annotationssrc/lib/components/filter/FilterPane.svelte:415-422hideSkipped checkbox
Hide skipped (query)src/lib/server/filters.js:665-668user_skip_annotation field in pipeline
Auto-updatesrc/lib/components/filter/FilterPane.svelte:406-413Checkbox, 1-second polling tooltip
Apply / Clear Filterssrc/lib/components/filter/FilterPane.svelte:134-143, 203-210, 449-457handleApply(), clearFilters()
Filter profilessrc/lib/stores/filter-profile-store.ts, src/routes/api/filter_profiles/+server.jsProfile CRUD
SectionSource filesWhat was referenced
Why thresholds mattersrc/routes/thresholds/+page.svelte:1-50Page purpose
Selecting an annotation configurationsrc/routes/thresholds/+page.svelte:50-120Config dropdown, img_label and img_id
Threshold controlssrc/routes/thresholds/+page.svelte:120-250Default value selector, slider (0–1), number input
Saving changessrc/routes/thresholds/+page.svelte:250-308Save button, toast notifications
SectionSource filesWhat was referenced
UI walkthroughsrc/routes/stats/+page.svelte:1-100Two-column layout
Available chartssrc/routes/stats/+page.svelte:100-400LineChart components for all chart types
Model selectorsrc/routes/stats/+page.svelte:150-200Dropdowns for classification and object detection
Chart controlssrc/routes/stats/+page.svelte:400-500, src/lib/components/charts/LineChart.svelte:1-50Y max/min, type, percentage, accumulated
Exporting datasrc/routes/stats/+page.svelte:500-576CSV export button
SectionSource filesWhat was referenced
UI walkthroughsrc/routes/runs/+page.svelte:1-100Runs table columns
Run actionssrc/routes/runs/+page.svelte:100-250Row click, delete, status badges
Creating a runsrc/routes/compare/+page.svelte:1-283Image selection, model multi-select, batch config
Viewing comparison resultssrc/routes/compare/[runId]/+page.svelte:1-200Progress, entry table, queue navigation
Difference typessrc/routes/compare/[runId]/+page.svelte:200-600Classification, object detection, coordinate diffs
SectionSource filesWhat was referenced
Annotate from scratchsrc/lib/components/filter/FilterPane.svelte:145-177startAnnotation() queue building
Annotate (annotation view)src/routes/annotate/+page.svelte:1-200Queue, radio buttons, bounding boxes, save/next
Annotate (show/hide)src/lib/components/filter/FilterPane.svelte:427-435Unannotated option
Evaluate a model (threshold slider)src/lib/components/filter/FilterPane.svelte:392-403Display filter behaviour
Evaluate a model (confidence)src/lib/components/filter/FilterPane.svelte:278-310Confidence min/max
Evaluate a model (predictions toggle)src/lib/components/filter/FilterPane.svelte:437-445Show/Hide predicted images
Compare models (setup)src/lib/components/filter/FilterPane.svelte:179-200, src/routes/compare/+page.svelte:1-283compareSelected(), model selection, run creation
Compare models (results)src/routes/compare/[runId]/+page.svelte:1-400Difference sorting, entry navigation
TermSource filesWhat was referenced
Annotationsrc/lib/server/filters.js:198-244label:value pairs, $elemMatch
Annotated bysrc/lib/components/filter/FilterPane.svelte:380-388, src/lib/server/filters.js:160-166Filter and query
Auto-updatesrc/lib/components/filter/FilterPane.svelte:406-413Checkbox, 1s polling
Bounding boxsrc/lib/components/image/AnnotationImageKonva.svelte:1-100Konva drawing tools
Camera IDsrc/lib/components/filter/FilterPane.svelte:323-332Filter with camList
Classificationsrc/lib/server/filters.js:340-367label_type === 'classification'
Comparison runsrc/routes/compare/+page.svelte, src/routes/runs/+page.svelteCreation flow, runs table
Confidence scoresrc/lib/server/filters.js:168-196prediction_score, detection_score
Custom tagssrc/routes/+page.svelte:400-550Tag UI, custom_tags array
Default valuesrc/routes/thresholds/+page.svelte:120-200Default selector
Filter panesrc/lib/components/filter/FilterPane.svelte:203-476Full template
Filter profilesrc/lib/stores/filter-profile-store.ts, src/routes/api/filter_profiles/+server.jsCRUD
Frame triggersrc/lib/components/filter/FilterPane.svelte:347-356Filter, frame_trigger_id
Image IDsrc/lib/components/filter/FilterPane.svelte:335-345Filter with imgList
Ingest../../CLAUDE.mdPipeline stage
Model / Model IDsrc/lib/components/filter/FilterPane.svelte:370-378Dropdown, modelid
Negationsrc/lib/components/filter/FilterInputText.svelte:1-50, src/lib/server/filters.js:69-71! prefix, $nin
Object detectionsrc/lib/server/filters.js:288-322objDetLabels.models, detection classes
Predictionsrc/lib/components/image/ImageCard.svelte:50-150Card display
Prediction threshold slidersrc/lib/components/filter/FilterPane.svelte:392-403threshold_confidence2
Rig / Rig IDsrc/lib/components/filter/FilterPane.svelte:312-322Filter with rigList
Skipped annotationsrc/lib/server/filters.js:665-668, 723-733user_skip_annotation
Thresholdsrc/routes/thresholds/+page.svelte:120-250Slider (0–1), per-annotation