sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
2540a4d68dbff0200e3f5f497337b0826f105674b6246e54e29bbcd7e9ca953a | TypeScript | 12,641 | 418 | import { LRUCache } from "lru-cache";
import type { MultimodalGridFit } from "@fiftyone/state";
import type { GridPosterProviderMetadata } from "../../../extensions/grid-posters";
import type { ByteSourceDescriptor, TimeWindow } from "../../../ir";
import type { PointCloudCameraPose } from "../../../visualization/scen... |
6e2a48215814faa832d2cb20537ce58b6f4cf0db5d4eb7d1ed0ee9c0e78624fe | TypeScript | 12,715 | 454 | import { describe, expect, it, vi } from "vitest";
import { EPISODE_READ_CANCELLED_MESSAGE } from "../../../ports";
import { isMcapBoundedReadCancelledError } from "../reader";
import { McapPlaybackWorkerTransport } from "./playback-worker-transport";
describe("MCAP playback worker transport", () => {
it("forwards t... |
b93321cb5e2f3a8eb51560ec77cfe241decf0741558e4ce82c5c364953d41707 | TypeScript | 12,748 | 436 | import { Quaternion, Vector3 } from "three";
import { describe, expect, it } from "vitest";
import {
deriveRenderModel,
type TransientStore,
type WorkingDoc,
} from "../annotation/store";
import type {
ReconciledDetection3D,
ReconciledPolyline3D,
} from "../annotation/types";
import {
createPointCloudCropFr... |
2b348d217847772a12efcbfd40fddc51ef4dafad50c9a494a4e44be05fca43ca | TypeScript | 12,758 | 429 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { type EventDispatcher, getEventBus } from "@fiftyone/events";
import { CONTAINS } from "../core/containment";
import type { LighterEventGroup } from "../events";
import type {
InteractionHandler,
OverlayEvent,
} from "../interaction/InteractionManager";
import ... |
109fa8d7db2f44779ed23fc1a3c543a7fc7a93882f77d8b95df89d63076997e3 | TypeScript | 12,777 | 375 | import {
STREAM_KIND,
type DecodedFrame,
type SynchronizedFrameWindow,
type TransformSample,
} from "../ir";
import type {
EpisodeSession,
FrameBatch,
PlaybackReadCapability,
ReadRequest,
SynchronizedPlaybackBatchReadRequest,
SynchronizedPlaybackReadOptions,
SynchronizedPlaybackReadRequest,
Tran... |
3337a0dc18ae9d9a9f0924a21b4ec0b3c8c11b1bc56676cffa1b5ba4d11b7417 | TypeScript | 12,777 | 400 | // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
// @generated from file common.proto (package fiftyone.multimodal.schemas.v1, syntax proto3)
/* eslint-disable */
import type {
GenEnum,
GenFile,
GenMessage,
} from "@bufbuild/protobuf/codegenv2";
import { enumDesc, fileDesc, messageDesc } from "@... |
20708e9d03f4ec3aa0ea7d0b8abf953bb60f24196c73c6221fdf3d5768f6ab7e | TypeScript | 12,795 | 522 | import { getColor } from "@fiftyone/utilities/src/color";
import { describe, expect, it } from "vitest";
import { Coloring, CustomizeColor } from "../../state";
import { getAssignedColor } from "./util";
const pool1 = "#EE0000";
const pool2 = "#EE6600";
const coloringByValue = {
seed: 0,
pool: [pool1, pool2, "#EEB... |
bf4795d0fcb2a7bc7e57c35ef0cdaa6bd4e7d6a9cdd64fba4473ffe1b2c992ea | TypeScript | 12,821 | 438 | import type { McapTypes } from "@mcap/core";
import { describe, expect, it, vi } from "vitest";
import type {
McapIndexedMessageTime,
McapIndexedReaderLike,
} from "../../reader";
import { readMcapTopics } from "./read-topics";
function createChannel(
options: Partial<McapTypes.TypedMcapRecords["Channel"]> = {},... |
da2615acdfebfaa24d936499df4db55811ef022e6b782e111d16c3bb3fed505a | TypeScript | 12,908 | 367 | import * as THREE from "three";
import {
getCuboidResizeFaceAxis,
getCuboidResizeFaceFromNormal,
type CuboidResizeFace,
} from "./cuboid-face-resize";
/**
* A cuboid's heading is its local +X axis, and `dimensions[0]` is the extent
* along it — there is no separately stored "heading" field. So changing which
... |
f94736cb9d4328465467d6b594215c5ca7d965503f8f026274d79858474deb48 | TypeScript | 12,911 | 432 | import { beforeEach, describe, expect, it, vi } from "vitest";
import type {
ByteSourceDescriptor,
EpisodeManifest,
EpisodeTimeline,
} from "../ir";
import type { EpisodeSession } from "../ports";
import {
getSourceSessionHints,
peekSourceBootstrap,
resetSourceBootstrapCacheForTests,
} from "./source-bootst... |
046be5480c05073ae4abb33a7dc218ce8982487fa01cba5cdd148c023b7460ca | TypeScript | 12,928 | 398 | import { describe, expect, it } from "vitest";
import {
FRAME_PREFIX_AUTO_ERROR,
FRAME_PREFIX_SAMPLE_ERROR,
getDefaultAttributesForType,
LABEL_TYPE_OPTIONS_3D,
LABEL_TYPE_OPTIONS_VIDEO,
} from "./constants";
import {
createDefaultFormData,
defaultClassesComponent,
formatAttributeCount,
formatSchemaCou... |
c2b5ef772b6ab3e48cd4bdfa64a24c6501324e0e001b0b9ffaf6021013355a8e | TypeScript | 12,948 | 426 | import { Coordinates } from "@fiftyone/looker/src/state";
import type { Vector3Tuple } from "three";
import type { PolylineSegmentTransform, SelectedPoint } from "../types";
/**
* Applies segment transforms to original polyline points to produce effective points.
* If transforms exist for a segment, they completely ... |
cd8523c893f0ce6eeb9fcccf9ae3d4ab34e4e7eea841843c4f3c42b04e0dfcbf | TypeScript | 13,059 | 570 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { BufferManager } from "@fiftyone/utilities";
import { ImaVidFramesController } from "./lookers/imavid/controller";
import { Overlay } from "./overlays/base";
import { AppError, COLOR_BY, Schema, Stage } from "@fiftyone/utilities";
export type Optional<T> = {
[P... |
230230c6f94263f979d49c983f8c9689eae5e28ef7cc67392ce407c4a7f01fae | TypeScript | 13,085 | 446 | import {
DEFAULT_POINT_CLOUD_COLORMAP,
POINT_CLOUD_COLORMAPS,
normalizePointCloudColormap,
type PointCloudColorOptions,
type PointCloudColormap,
} from "../../../../visualization/scene-3d";
import { VISUALIZATION_PANEL_BACKGROUND_COLOR } from "../../../../visualization/panel-ui/style-tokens";
import { sanitiz... |
1646b88ac30c9008db8322910693c2ed6acabc771e68fea83285ee9bcb4800d8 | TypeScript | 13,143 | 500 | import { describe, expect, it } from "vitest";
import type {
CuboidTransformData,
PolylinePointTransformData,
} from "../annotation/types";
import type { Overlay3DDocument, OverlayLabel } from "./loader";
import {
createNewDetection,
createNewPolyline,
reconcileDetection,
reconcilePolyline,
} from "./merge-... |
051c882bf036e6dbb0fee5095d5c9a979bc7e7f75124f034ed1113109ef279ae | TypeScript | 13,156 | 381 | import { describe, expect, it } from "vitest";
import {
AudioRingBuffer,
allocateAudioRing,
canUseSharedRingBuffer,
} from "./ring-buffer";
/** Interleaved ramp: frame f, channel c -> f * channels + c. */
function ramp(frames: number, channels: number, from = 0): Float32Array {
const out = new Float32Array(fra... |
58d523bb126abe5ab6dbb2c0b2c0458888b416d6c921809228b238615d36491d | TypeScript | 13,197 | 420 | import { describe, expect, it } from "vitest";
import type { CameraCalibrationVisualization } from "../../../../ir";
import { VISUALIZATION_KIND } from "../../../../visualization";
import {
classifyImageDimensions,
effectiveCameraCalibration,
projectCameraPoint,
resolveCameraModel,
suggestImageGeometry,
} fr... |
c94785641738bc9b85a35e6eccb0692252ff19f69b3e40b93d68e9d5e4a258a8 | TypeScript | 13,262 | 413 | import type { Field, LabelData, Schema } from "@fiftyone/utilities";
import { LabelType, Sample } from "@fiftyone/utilities";
import { describe, expect, it, vi } from "vitest";
import type { LabelRef } from "../identity/ref";
import { SampleLabelStore } from "./sampleLabelStore";
import { isWholeSampleReset } from "./... |
16a2e2373fefdfb1345b3ac8343c394b976a26ed4fd0a943c24dfc4b01f87997 | TypeScript | 13,352 | 450 | import { COLOR_BY, get32BitColor, rgbToHexCached } from "@fiftyone/utilities";
import colorString from "color-string";
import { ARRAY_TYPES, OverlayMask, TypedArray } from "../numpy";
import {
getHashLabelColorByInstance,
isRgbMaskTargets,
shouldShowLabelTag,
} from "../overlays/util";
import {
Coloring,
Colo... |
bf009b1340efb66f2d483f3068ebdc23460087a9b0c5fda9d52ddbce06f2b971 | TypeScript | 13,422 | 428 | import type {
GridPosterCacheEntry,
GridPosterCacheKey,
} from "./grid-poster-cache";
import {
createIndexedDbConnection,
requestResult,
transactionDone,
} from "../../../runtime/persistence/indexeddb";
const MIB = 1024 * 1024;
export const GRID_POSTER_DATABASE_NAME = "fiftyone-multimodal-grid-posters";
cons... |
b402f586289a783a8defd05c81efde0fef4114b857b8a11d2820d9c52f1b3d8e | TypeScript | 13,427 | 393 | import { describe, expect, it } from "vitest";
import {
readSynchronizedFallback,
readSynchronizedPlaybackFallback,
readSynchronizedWindow,
readTransformsFallback,
readTransformWindow,
} from "../runtime";
import type {
EpisodeSession,
FrameBatch,
ReadPriority,
ReadRequest,
} from "../ports";
import {... |
54e0e856554000a4513f75ed88ea7693dc0daa1faf9df2ff24e1411d649d2f03 | TypeScript | 13,564 | 442 | import { describe, expect, it, vi } from "vitest";
import type { DecodedFrame } from "../ir";
import { EpisodeStreamCache } from "./episode-stream-cache";
import { createTimelineIndex } from "./timeline-index";
const MESSAGE = {
output: { resourceHints: { sizeBytes: 128 } },
streamId: "stream",
timestampNs: 1n,
... |
e1bc93bd7fa6039c897612e319f25a2fe9735946ab2f3cc58cf31cbd3d2d6285 | TypeScript | 13,602 | 364 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { act, renderHook } from "@testing-library/react";
import { beforeEach, describe, expect, it, vi } from "vitest";
// ── Mocks ────────────────────────────────────────────────────────────────────
//
// The hook holds module-private jotai atoms (overlay id, active fl... |
9577594d361d604e6d94ba8e6d40dd75002eb68053cafe4e1eeababfa6e93eff | TypeScript | 13,642 | 623 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { mergeWith } from "immutable";
import mime from "mime";
import {
BaseState,
BoundingBox,
BufferRange,
Buffers,
Coordinates,
Dimensions,
DispatchEvent,
Sample,
} from "./state";
import {
AppError,
GraphQLError,
MEDIA_TYPE_3D,
MEDIA_TYPE_GROU... |
230ff34c56397c3055058a50320a2d9aca5730cfa2062350de68d91e25f98689 | TypeScript | 13,675 | 408 | import type { ClassificationLabel } from "@fiftyone/looker/src/overlays/classifications";
import type { DetectionLabel } from "@fiftyone/looker/src/overlays/detection";
import type { KeypointLabel } from "@fiftyone/lighter";
import type { PolylineLabel } from "@fiftyone/looker/src/overlays/polyline";
import type { Synt... |
c794b34abfd259f456655576b14e6bd0fc398ee790584bad4b109699cdb84bc0 | TypeScript | 13,706 | 475 | import { setFetchFunction } from "@fiftyone/utilities/src/fetch";
import { errorMessage } from "../../../utils/errors";
import { EPISODE_READ_CANCELLED_MESSAGE } from "../../../ports";
import {
isMcapPlaybackWorkerStreamRequest,
runMcapPlaybackWorkerStreamRequest,
runMcapPlaybackWorkerSynchronizedRequest,
runMc... |
88d808e938a032370970b2bfafd3f1ca39f0582820973357810d56f9e4e8d179 | TypeScript | 13,709 | 420 | import { create } from "@bufbuild/protobuf";
import type { McapTypes } from "@mcap/core";
import { StreamInventorySchema } from "../../../../schemas/v1/index";
import type { McapIndexedReaderLike } from "../../reader/index";
import {
SCENE_SOURCE_METADATA,
STREAM_METADATA,
type EpisodeRecordingFacts,
type McapC... |
86e43dc9b1d113c24a191b38c39fb0fbcf7525a9bef4158e44d39de0ca989821 | TypeScript | 13,809 | 470 | import type { McapTypes } from "@mcap/core";
import type { Type } from "protobufjs";
import { Quaternion, Vector3 } from "three";
import { protobufFromBinaryDescriptor } from "../../compatibility/mcap-support";
import { decodeProtobufMessage } from "../../message-decoders/foxglove/protobuf/index";
import {
asRecord,
... |
ebe55e7b3df5ed5d9b53e7559c449e7f1b78c609b5c9b7c3c36be6a190fa0874 | TypeScript | 13,825 | 430 | import type { McapTypes } from "@mcap/core";
import { afterEach, describe, expect, it, vi } from "vitest";
import { readLatestIndexedMessageTimesForReader } from "./latest-before";
import type { McapIndexedReaderLike } from "./types";
const MCAP_MESSAGE_INDEX_OPCODE = 0x07;
afterEach(() => {
vi.restoreAllMocks();
}... |
fab10996cd93e2b050f2e99138ed61cf6c8a3a6f96ff5a7d360cb243932c51a9 | TypeScript | 13,837 | 479 | import { Matrix4, Vector3 } from "three";
import { describe, expect, it } from "vitest";
import type { CameraIntrinsics, FrustumData } from "../../frustum/types";
import type { CuboidTransformData, PolylineTransformData } from "../types";
import {
CUBOID_EDGES,
computeCuboidProjection,
computePolylineProjection,
... |
d71032749757909705088d0b80210dffd59187d2f40c2a49c3b790ee57301fa2 | TypeScript | 13,842 | 462 | /**
* Copyright 2017-2025, Voxel51, Inc.
*/
import { describe, it, expect, beforeEach } from "vitest";
import { KeyManager } from "./KeyManager";
import { CommandRegistry } from "../registry";
import { ActionManager } from "../actions";
describe("KeyManager", () => {
let keyManager: KeyManager;
let commandRegis... |
7ef7e7ac40ee0921afd79a52ee2060f3f77ed20abc934e7dc2ffd6cb05a2b855 | TypeScript | 13,866 | 341 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import type { Undoable } from "@fiftyone/commands";
import type { SceneOptions } from "../core/SceneConfig";
import type { InteractionHandler } from "../interaction/InteractionManager";
import type { BaseOverlay } from "../overlay/BaseOverlay";
import type { PaintStrokeDat... |
93b7ed20ca0d05b5386b0298eaccf2530343577c8bab8e999b9a4f654a84546f | TypeScript | 13,991 | 494 | import type { ByteSourceDescriptor, EpisodePreviewReadResult } from "../ir";
import type {
EpisodeOpenOptions,
EpisodeSession,
EpisodeSourceHints,
} from "../ports";
import { createDefaultByteClient } from "../query/bytes/default-byte-client";
import {
getSourceSessionHints,
publishCurrentSourceFacts,
publi... |
1e5b7a8cfb93c3d201f8c7966b96062cf2ff7ea24c8fdabece7db453842eeb6e | TypeScript | 14,030 | 456 | import React from "react";
import { cleanup, fireEvent, render, screen } from "@testing-library/react";
import { afterEach, describe, expect, it, vi } from "vitest";
import { SCENE_SOURCE_TYPE, type SceneSource } from "../../../ir";
import { MAX_POINT_CLOUD_POINT_SIZE } from "../settings/modal/state";
import { groupIm... |
111b3f63844837854065d80a8dbe6357e67e6e3464348d062305c2dabfcd1d79 | TypeScript | 14,061 | 493 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { type EventDispatcher, getEventBus } from "@fiftyone/events";
import { getSampleSrc } from "@fiftyone/state";
import type { LighterEventGroup } from "../events";
import type { Renderer2D } from "../renderer/Renderer2D";
import type { CanonicalMedia, Dimensions, Rec... |
5c5f01ab65fdb20cd98cc0728a5a332a3d4fea7894b1aaada40f40619fb8524a | TypeScript | 14,151 | 515 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
currentModalUniqueIdJotaiAtom,
isHoveringParticularLabelWithInstanceConfig,
jotaiStore,
} from "@fiftyone/state/src/jotai";
import {
getRotatedBoxCorners,
getRotatedBoxNorthwestCorner,
getRotation2d,
isPointInRotatedBox,
} from "@fiftyone/utilities";
... |
94349cefcde38b4c26a520617fdede39982828dbc0e94ffdc17ca08faf040c24 | TypeScript | 14,222 | 358 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
type Scene2D,
UNDEFINED_LIGHTER_SCENE_ID,
useLighterEventHandler,
} from "@fiftyone/lighter";
import {
useCurrentPublishedFrame,
useCurrentPublishedFrameGetter,
} from "@fiftyone/playback";
import * as fos from "@fiftyone/state";
import { type MutableRef... |
78e3e1a04badadb1896e04ac1a918521ed57adc3d5a4f647602af31faefef78d | TypeScript | 14,257 | 522 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
BUFFERING_PAUSE_TIMEOUT,
DEFAULT_PLAYBACK_RATE,
LOOK_AHEAD_MULTIPLIER,
} from "../../lookers/imavid/constants";
import { ImaVidFramesController } from "../../lookers/imavid/controller";
import { DispatchEvent, ImaVidState } from "../../state";
import { getMi... |
6a86aea42388790dbe1724f687a6e716c8f7c2773f08a6791aead4ef9f48a2da | TypeScript | 14,274 | 481 | /**
* @vitest-environment jsdom
*/
import { act, renderHook } from "@testing-library/react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import * as THREE from "three";
// `useHeadingDrag` pulls in recoil, r3f and `@fiftyone/*` packages that aren't
// safely importable in isolation unde... |
3fa0e9b07ba49333fd0ed8e84b773891bea9f925f27ca8a90718897260426927 | TypeScript | 14,299 | 404 | // ---------------------------------------------------------------------------
// Format-neutral audio playback.
//
// Owns everything between "decoded PCM" and "audible, mixable, drawable":
// the Web Audio graph, engine transport/registration, the per-channel peak
// pyramids, and roster/availability publication for ... |
e6eb952d7e0c643a09c8ec21fa57f8c0203a4c056de0b6e8c590fcad1b14741f | TypeScript | 14,361 | 467 | import { beforeEach, describe, expect, it, vi } from "vitest";
import { BrowserAnnotationProvider, PointLabel } from "../providers";
import { SAM2BrowserAnnotationAgent } from "./SAM2BrowserAnnotationAgent";
import {
AgentTaskType,
type AnnotationContext,
InferenceCapability,
SampleDescriptor,
} from "./types";... |
995a69d5e618a623e6223c6525ff0ddc058192cad55a04873ef3ace627f1ac77 | TypeScript | 14,372 | 459 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
/**
* The read-only lock, driven through the real event wiring.
*
* This is the safety property the Explore video surface rests on: it paints
* labels it has no way to save, so a stray drag must not be able to commit a
* silent edit. The lock is enforced at the one po... |
80927d477846e05ae33144711a719905dffb99b730c981a62fb2ac57aa41e37d | TypeScript | 14,376 | 531 | import { useOperatorExecutor } from "@fiftyone/operators";
import { useCallback, useMemo } from "react";
import type { ClassesComponent } from "./SchemaManager/constants";
import type { AttributeConfig, SchemaConfigType } from "./SchemaManager/utils";
/**
* Schema field types.
*/
export type FieldType =
| "bool"
... |
c0cb1457c4a562e1b6da77134487d770a8c4c5426b8a47fcb6a4c537a78bf41f | TypeScript | 14,415 | 375 | import {
InteractiveCreationHandler,
InteractivePolylineHandler,
KeypointPointHitAction,
KeypointPointHitContext,
PolylineEmptyHitAction,
PolylineEmptyHitContext,
PolylineOverlay,
UNDEFINED_LIGHTER_SCENE_ID,
useLighter,
useLighterEventBus,
useLighterEventHandler,
} from "@fiftyone/lighter";
import... |
c93faf724755fdea6369df1cf2f2ec469fae41afc6879329443e6bdb27884e92 | TypeScript | 14,467 | 469 | import useCanAnnotate from "@fiftyone/core/src/components/Modal/Sidebar/Annotate/useCanAnnotate";
import { getEventBus } from "@fiftyone/events";
import * as fos from "@fiftyone/state";
import { useAtomValue } from "jotai";
import React, { useCallback, useEffect } from "react";
import { useRecoilValue, useSetRecoilStat... |
0a9bb1f1569f2f58b9e21473daaa3cccf626db2349fa6a2f6df0a5213f4c3a3b | TypeScript | 14,523 | 417 | /**
* The engine-derived read-half: one loop turns the semantic
* change stream (+ temporal presence for frame-locked bridges) into silent
* mount/update/unmount calls on a registered bridge. The surface writes none
* of it.
*
* A whole-sample reset RECONCILES — unmount refs gone from the refreshed
* data, repro... |
7210e2f74dca22aae89f89e4e6402f68643b20fa4a54026a852f79719b5b220f | TypeScript | 14,527 | 464 | import {
getBufferingDetail,
getIsBuffering,
getIsPlayPending,
getIsPlaying,
getPlayhead,
setBufferingDetail,
setBufferingStreams,
setIsBuffering,
usePlaybackStore,
type BufferingStream,
type PlaybackStore,
} from "@fiftyone/playback";
import { atom, useAtomValue, type PrimitiveAtom } from "jotai"... |
5ecc84ac386cb5f4e3c793beb1302c79aec840e11c72b29882ada6990e9295d4 | TypeScript | 14,554 | 400 | // ---------------------------------------------------------------------------
// Streaming counterpart to `useAudioPlayback`.
//
// Same public result, different transport: instead of decoding the source
// up front into one `AudioBuffer`, this keeps a bounded ring fed from
// windowed reads and lets an `AudioWorklet`... |
3af96110d032cafddb4693ae6254c42051a5803906c5a5e1dc09befde0be36ed | TypeScript | 14,569 | 450 | import type { McapTypes } from "@mcap/core";
import { describe, expect, it, vi } from "vitest";
import { readTopicIndexedTimeBoundsForReader } from "./topic-time-bounds";
import type { McapIndexedReaderLike } from "./types";
const MCAP_MESSAGE_INDEX_OPCODE = 0x07;
describe("readTopicIndexedTimeBoundsForReader", () =>... |
c0a5e2ba8018d135914b934db846310e854e1c80c049e032b43c00a43e17f3a9 | TypeScript | 14,709 | 450 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
/**
* Linear interpolation of `Polyline` geometry between two keyframes.
*
* The hard part isn't the lerp, it's that the two keyframes may not have the
* same number of vertices — the user inserts or deletes points as they trace an
* object. Vertex counts are matched ... |
390ebc4967400b4123ae90f11abc4f6875bdb0b6c423741f565988901819b9e7 | TypeScript | 14,712 | 462 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import * as PIXI from "pixi.js";
import { afterEach, describe, expect, it, vi } from "vitest";
import type { Rect } from "../types";
import { PixiRenderer2D } from "./PixiRenderer2D";
// Wire up a renderer without booting WebGL; initializePixiJS normally makes these.
cons... |
b30f15587671b2c727d007d4f2dc92138a4caa3673d8291b905a8832c212c179 | TypeScript | 14,739 | 535 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { COLOR_BY, REGRESSION, getColor } from "@fiftyone/utilities";
import colorString from "color-string";
import { getRenderedScale } from "../util";
import {
INFO_COLOR,
LABEL_SELECTION_GREEN,
LABEL_SELECTION_RED,
SELECTED_AND_HOVERED_COLOR,
} from "../constan... |
24985e1ae99e463fac136e66486903083ea15ca2f1a07c60a93eeba490bb4973 | TypeScript | 14,767 | 363 | /**
* The panel's edition seam. Shared panel code never imports `enterprise/`;
* an edition registers a {@link EmbeddingsPanelExtension} here (from the
* package barrel's one edition-specific import) and the panel consults it
* through capability-named hooks with inert fallbacks. Registration happens
* at module l... |
f9940fd8d2d1266e3efcdc1d97d0632c2f3318b84ca20a6734aed3f692835634 | TypeScript | 14,819 | 434 | /**
* Constants for SchemaManager
*/
import {
BOOLEAN_FIELD,
DATE_FIELD,
DATE_TIME_FIELD,
DICT_FIELD,
FLOAT_FIELD,
INT_FIELD,
LIST_FIELD,
OBJECT_ID_FIELD,
STRING_FIELD,
} from "@fiftyone/utilities";
import { IconName } from "@voxel51/voodo";
// Tab IDs for GUI/JSON toggle
export const TAB_GUI = "g... |
40f90226040344404b7551fc9cbc7d3fdbf583c3329999c9d37968ca4a16eaee | TypeScript | 14,838 | 469 | import { useLooker3dSurfaceWrite } from "@fiftyone/annotation";
import { KnownContexts, usePushUndoable } from "@fiftyone/commands";
import * as fos from "@fiftyone/state";
import { DETECTION, POLYLINE } from "@fiftyone/utilities";
import { useCallback } from "react";
import { useRecoilCallback, useRecoilValue } from "... |
1e864129155feb1a925f3e0a4b0ee0fec776cd1a8616b8064c330d7e1e500fc5 | TypeScript | 14,845 | 434 | import { describe, expect, it } from "vitest";
import { VISUALIZATION_KIND } from "../../../ir/index";
import {
foxgloveLaserScanDecoder,
foxglovePointCloudDecoder,
} from "./foxglove/index";
import {
LASER_SCAN_FIXTURE,
POINT_CLOUD_FIXTURE,
} from "./foxglove.test-fixtures";
import {
concatProtobufFields,
... |
246161f9443f8f75bc9969d68f60c7797c7d2e8f722cab14c5368b3611d51427 | TypeScript | 14,852 | 483 | import type { RawRecordIndexWindow } from "../../ir";
import {
EpisodeExactCursorError,
EpisodeReadCancelledError,
type StateActionCapability,
type StateActionDimensionExtreme,
type StateActionEpisodeProfile,
type StateActionFeatureProfile,
type StateActionFeatureSchema,
type StateActionRow,
type Stat... |
54ec55b798ea810817c1a38cfd4f50b9c87c768622dd889ad3e1432b34b02f15 | TypeScript | 14,970 | 576 | import { describe, expect, it } from "vitest";
import type { ReconciledDetection3D, ReconciledPolyline3D } from "../types";
import {
applyTransientToCuboid,
applyTransientToPolyline,
deriveRenderModel,
} from "./renderModel";
import type {
TransientCuboidState,
TransientPolylineState,
TransientStore,
Work... |
690da7f39dae7ebff6f4af47eb407b2db0f7aa65a92f8ef6bceae09fa35b2a49 | TypeScript | 14,988 | 512 | import type {
McapRawObjectNode,
McapRawPruneBudgets,
McapRawScalarNode,
McapRawValueNode,
} from "../contracts/index";
import { EpisodeReadUnsupportedError } from "../../../ports";
/**
* Default prune budgets for raw record reads. Sized for an inspector
* panel: enough to read any sane telemetry message who... |
0be537f1387c219eccaf17672f1a05c4cd10478679c59cd5243d7e3cbef37c0a | TypeScript | 15,040 | 499 | import {
type DecodeContext,
type Decoder,
resourceHintsForArrayBufferViews,
} from "../../../../decoders/index";
import type {
DecodedAttributeValue,
DecodedOutput,
RgbaColor,
SceneArrowPrimitive,
SceneCubePrimitive,
SceneCylinderPrimitive,
SceneEntityDeletionKind,
SceneEntityDeletionVisualizatio... |
69b3c2602fa012d6f87b82eaed4721eb68fdafa84e5d33309339a88006916569 | TypeScript | 15,091 | 410 | // ---------------------------------------------------------------------------
// MCAP -> format-neutral audio binding.
//
// This module's ONLY job is to turn MCAP frames into `PcmAudioData` and
// hand them to `useAudioPlayback`. All playback, mixing, peak, and engine
// behavior lives in the container-neutral `src/a... |
fd2b7d8c0719ed275daed35de0a88701a79dc39ffee586c9d6179f06b270395d | TypeScript | 15,153 | 496 | import { describe, expect, it, vi } from "vitest";
import { STREAM_SYNC_MODE } from "../ir";
import {
EpisodeReadUnsupportedError,
type EpisodeSession,
type FrameBatch,
type ReadRequest,
} from "../ports";
import {
GENERIC_PLAYBACK_FALLBACK_MAX_MESSAGES_PER_STREAM,
GENERIC_TRANSFORM_FALLBACK_MAX_MESSAGES_PE... |
9aaff67d834cd3396cf1ec89d549d2fb2794cc48c948c3b3329848fe37ac3353 | TypeScript | 15,272 | 519 | import { Box3, OrthographicCamera, PerspectiveCamera, Vector3 } from "three";
import { describe, expect, it, vi } from "vitest";
import {
PANEL_ID_MAIN,
PANEL_ID_SIDE_TOP,
VIEW_TYPE_BOTTOM,
VIEW_TYPE_FRONT,
VIEW_TYPE_TOP,
} from "../constants";
import type { RaycastResult } from "../types";
import {
createP... |
31c405b1ea815a5715648241fdee7d13ffe24d817fb5265bc89c2cca17a0ec6f | TypeScript | 15,613 | 519 | import { McapRecordBuilder, type McapTypes } from "@mcap/core";
import { crc32 } from "@foxglove/crc";
import { describe, expect, it, vi } from "vitest";
import type { McapContainedByteRead } from "./byte-readable";
import { ByteClientReadable } from "./byte-readable";
import { createMcapDecompressedChunkCache } from "... |
34578f2f59b8f0852467d605ecd1b30cd06d68c0395c28c5e576777b1f48b703 | TypeScript | 15,626 | 638 | import { parse as parseRosMessageDefinition } from "@foxglove/rosmsg";
import { parseRos2idl } from "@foxglove/ros2idl-parser";
import { MessageWriter as Ros2MessageWriter } from "@foxglove/rosmsg2-serialization";
import { Root } from "protobufjs";
import descriptor from "protobufjs/ext/descriptor";
import { expect } f... |
ee1e9f77c150d858f1ce188be3f6474f2b71c19b39a054d321bb871d108b2487 | TypeScript | 15,834 | 514 | import * as fos from "@fiftyone/state";
import { isEqual } from "lodash";
import { useEffect, useRef } from "react";
import {
atom,
atomFamily,
DefaultValue,
type GetRecoilValue,
noWait,
selector,
useRecoilCallback,
useRecoilValue,
useSetRecoilState,
} from "recoil";
import type { OverlayLabel } from ... |
deb08336db9a1d9447579db66ab70c87f19a12ea8179defb8ac686e6724e9871 | TypeScript | 15,906 | 535 | import { mcapPlaybackWorkerOperation } from "./playback-worker-rpc";
import { toError } from "../../../utils/errors";
import { EpisodeReadCancelledError } from "../../../ports";
import type {
McapPlaybackWorkerPriority,
McapPlaybackWorkerRequest,
McapPlaybackWorkerRequestPayloadByType,
McapPlaybackWorkerRespons... |
72a4766b125d9f8f4b04da30e2aded1ca8df6a55d2d81d67d79b4f32d8cf6ecc | TypeScript | 15,911 | 533 | import type { PlaybackStore } from "@fiftyone/playback";
import {
loopEndAtom,
loopStartAtom,
playheadAtom,
} from "@fiftyone/playback/runtime";
import { createStore } from "jotai";
import { describe, expect, it } from "vitest";
import type { DecodedFrame } from "../../../ir";
import {
createTimelineIndex,
Ep... |
89853144f8784d0c2183321724ee0c1443f95c75cf732c31c51caeec79016941 | TypeScript | 15,963 | 489 | /**
* Coverage and segment bookkeeping for windowed numeric-series fetches.
*
* The plot fetches bounded playhead-anchored windows instead of whole
* recordings; these helpers track which nanosecond ranges of a signal
* are already fetched (so no range is ever fetched twice) and stitch
* the fetched segments back... |
732d13bf15a09ffaa59954ede353f0627c987e0666cefa87b7860d835e205230 | TypeScript | 16,003 | 511 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
/**
* The two load-bearing invariants are `endpoints are exact` and `the per-frame
* step is uniform` — an earlier arc-length-resampling implementation satisfied
* neither (it snapped ~10x the interior step at both ends of every span) and
* both tests catch that regres... |
b9aa9d52b3c4aa7e1355005729eb172d90f03f23ae43f60c511bee6abd258036 | TypeScript | 16,177 | 672 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { dispatchTimelineSetFrameNumberEvent } from "@fiftyone/playback";
import { SCALE_FACTOR } from "../../constants";
import { ImaVidFramesController } from "../../lookers/imavid/controller";
import {
Control,
ControlEventKeyType,
ImaVidConfig,
ImaVidState,
V... |
c7007bd36d3c9cd90bb40f7af4859b8717dc65e32516e39ea3958d671cc57fad | TypeScript | 16,198 | 544 | import type { McapTypes } from "@mcap/core";
import type {
ByteClient,
ByteRange,
ByteRangeReadRequest,
ByteRangeReadResult,
ByteSourceDescriptor,
} from "../../../query/bytes";
import { byteSourceAccessKey, parseByteSize } from "../../../query/bytes";
import { createAbortError } from "../../../utils/cancella... |
a59924baa29d463c32d5c9c94b2f4706f0285be25c3e98cd91dbb889d6c3430e | TypeScript | 16,406 | 532 | import { Quaternion, Vector3 } from "three";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { CameraTargetResolution } from "./scene-3d-camera";
import {
Scene3dCameraRigController,
RIG_COMMIT_DEBOUNCE_MS,
type Scene3dCameraRigInputs,
} from "./scene-3d-camera-rig-core";
be... |
91f5d9852fd38e7591acd02ed71d0905d1bc7f03cad80b9e852fcceb11bfde36 | TypeScript | 16,438 | 559 | import type { McapTypes } from "@mcap/core";
import { describe, expect, it, vi } from "vitest";
import { rawNodeToJson } from "../../../../ir";
import { throwIfAborted } from "../../../../utils/cancellation";
import type { McapReadMessageIndexWindowRequest } from "../../contracts";
import type {
McapIndexedMessageTim... |
fab1a39bad739202aa017445c4e196c7127cda1ab983b0f58576fc973e27a4b3 | TypeScript | 16,500 | 659 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
BOOLEAN_FIELD,
CLASSIFICATION,
CLASSIFICATIONS,
DATE_FIELD,
DATE_TIME_FIELD,
DETECTION,
DETECTIONS,
DYNAMIC_EMBEDDED_DOCUMENT_PATH,
FLOAT_FIELD,
FRAME_NUMBER_FIELD,
FRAME_SUPPORT_FIELD,
INT_FIELD,
KEYPOINT,
KEYPOINTS,
LABEL_LIST_PATH,
... |
c24f4736670b0125d714142c383975e2a87b07725625ef36e54018d9578175fb | TypeScript | 16,830 | 455 | // @vitest-environment jsdom
import { act, renderHook, waitFor } from "@testing-library/react";
import { describe, expect, it, vi } from "vitest";
import type { HoverContent } from "./HoverCard";
import { fetchSampleInfo, type SampleInfo } from "./protocol";
import type { HoverHit } from "./renderer";
import { useHover... |
100442dbf672b0fa14f122e2cc9613a3dfa5a5a82d09f65e55ff84031de9fcc7 | TypeScript | 16,996 | 482 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
// @vitest-environment jsdom
import { act, renderHook } from "@testing-library/react";
import { atom, getDefaultStore, type PrimitiveAtom } from "jotai";
import { beforeEach, describe, expect, it, vi } from "vitest";
// vi.mock factories run before imports, so external st... |
a1dce5bae9580100623a5fc550045f2e9da5ebd3bc22addaa7a77fde8e25393f | TypeScript | 17,010 | 545 | /**
* Hook for managing label schema editing for a field
*/
import {
useNotification,
useQueryPerformanceSampleLimit,
} from "@fiftyone/state";
import { getFetchFunction } from "@fiftyone/utilities";
import { useAtom, useAtomValue, useSetAtom } from "jotai";
import { isEqual, omit } from "lodash";
import { useCa... |
544b19990dee1c874925660cb0f5607be61be80915e9b0e98becc07a6e0be36e | TypeScript | 17,036 | 525 | import * as THREE from "three";
import { describe, expect, it } from "vitest";
import {
CUBOID_RESIZE_FACES,
getCuboidResizeFaceFromNormal,
type CuboidResizeFace,
} from "./cuboid-face-resize";
import {
computeCuboidHeadingAndUpRelabel,
computeCuboidHeadingRelabel,
getCuboidUpFace,
isValidHeadingUpFacePai... |
e06b6a59e0b1d3e06f601fca752e059fb2bb6f8d6b79a205d6a34cefa9027fda | TypeScript | 17,114 | 608 | import { describe, expect, it } from "vitest";
import { collectTileIds } from "@fiftyone/tiling";
import type { SceneSource } from "../../../scene-inventory";
import {
buildAutoLayout,
rankDefaultImageSources,
rankImageSources,
resolvePlaybackLayout,
type PlaybackDeviceCapabilities,
} from "./playback-layout"... |
e94789d2e47994ad113006f5c76869d3510643f771df53b90d79d01260579e70 | TypeScript | 17,132 | 595 | import { McapStreamReader, type McapTypes } from "@mcap/core";
import { compareBigInt } from "../../../ir";
import { throwIfAborted } from "../../../utils/cancellation";
import { errorMessage } from "../../../utils/errors";
import type {
McapIndexedMessageTime,
McapIndexedReaderLike,
McapReadIndexedMessageTimesRe... |
cdc06e4c1a441beb4065d6d66d3d2bb7d5fe81cfeb436aa69c28cfbfb148baa6 | TypeScript | 17,138 | 836 | import { parse as parseRosMessageDefinition } from "@foxglove/rosmsg";
import { parseRos2idl } from "@foxglove/ros2idl-parser";
import { MessageWriter as Ros1MessageWriter } from "@foxglove/rosmsg-serialization";
import { MessageWriter as Ros2MessageWriter } from "@foxglove/rosmsg2-serialization";
import { expect } fro... |
2dcf45a4ab4df921165917f72a2db0c64475b11793cc515641d5e17f7434357a | TypeScript | 17,275 | 568 | import { describe, expect, it, vi } from "vitest";
import type { DecodedFrame } from "../ir";
import type {
BudgetedReadJob,
BudgetedReadResult,
EpisodeSession,
FrameBatch,
ReadWorkUsage,
SourceReadBudgetAccount,
} from "../ports";
import {
getProgressiveHistoryJob,
ProgressiveHistoryHub,
type Progre... |
8b6250b137e600898a3fcc2bf289d7817e49f7def0b1d9f4ec69ba821f88f5e1 | TypeScript | 17,289 | 662 | /**
* Raw image pixel-encoding conversion shared by the ROS `sensor_msgs/Image`
* and Foxglove `RawImage` decoders. Converts source pixel buffers into
* display-ready RGBA with per-encoding handling for color, mono, packed-YUV,
* and Bayer layouts. Depth encodings retain their native-width samples for
* GPU render... |
1112ec7be30628395c1ef604671438c7b5c32582eb5b080addb1602822e59350 | TypeScript | 17,371 | 593 | import {
setFrameNumberAtom,
updateTimelineConfigAtom,
} from "@fiftyone/playback";
import { jotaiStore } from "@fiftyone/state/src/jotai";
import { getVideoElements } from "../elements";
import { VIDEO_SHORTCUTS } from "../elements/common";
import { getFrameNumber } from "../elements/util";
import type { VideoElem... |
e1a2f0d2df8e695c6e52ffebaf4b01a8be668d080d58a8dfebd9764772fe538e | TypeScript | 17,434 | 627 | import {
COLOR_BY,
EMBEDDED_DOCUMENT_FIELD,
type Field,
LIST_FIELD,
STRING_FIELD,
type Schema,
} from "@fiftyone/utilities";
import { beforeAll, describe, expect, it } from "vitest";
import { computeLabelTagCounts, computeTagData } from "./computeTagData";
const makeField = (name: string, overrides: Partia... |
fc98a6834d1b809b374e15fcb9221cc78da1918644d80a1893d055c0c17df44b | TypeScript | 17,463 | 589 | import { parse as parseRosMessageDefinition } from "@foxglove/rosmsg";
import { parseRos2idl } from "@foxglove/ros2idl-parser";
import { MessageWriter as Ros1MessageWriter } from "@foxglove/rosmsg-serialization";
import { MessageWriter as Ros2MessageWriter } from "@foxglove/rosmsg2-serialization";
import type { McapTyp... |
8290138791eee07788e44fef635a35e29b0cd3796ef51edf2a4b93373024d215 | TypeScript | 17,478 | 631 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import { MARGIN, NUM_ROWS_PER_SECTION } from "./constants";
import SectionElement from "./section";
import {
Get,
ItemData,
ItemIndexMap,
OnItemClick,
OnItemResize,
OnResize,
Options,
Render,
RowData,
State,
} from "./state";
import { createScrollReader... |
1ff2cdc626acfe59466513de41a496c4b70164d188bdc1274c9b9ad5e392e671 | TypeScript | 17,495 | 724 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
DENSE_LABELS,
DETECTION,
DETECTIONS,
DYNAMIC_EMBEDDED_DOCUMENT,
EMBEDDED_DOCUMENT,
LABEL_LIST,
Schema,
Stage,
VALID_LABEL_TYPES,
getCls,
getFetchFunction,
setFetchFunction,
is3d,
} from "@fiftyone/utilities";
import { CHUNK_SIZE } from ".... |
0588675a76648c19e96156300ca5607cf7f743609e2c5604250e600ef259b7d5 | TypeScript | 17,678 | 563 | /**
* Copyright 2017-2026, Voxel51, Inc.
*/
import {
SegmentationTool,
SegmentationToolMode,
SegmentationToolShape,
} from "@fiftyone/core/src/components/Modal/Sidebar/Annotate/Edit/useSegmentationMode";
import { beforeEach, describe, expect, it, vi } from "vitest";
import { MaskCanvas } from "./MaskCanvas";
i... |
5c789f12b41a791c84fcc60606c9e5f0da2fe7311d12ee825c7bb882ee790269 | TypeScript | 17,725 | 589 | import { Quaternion, Vector3 } from "three";
import type {
CameraCalibrationVisualization,
GridVisualization,
PointCloudVisualization,
SceneEntityVisualization,
SceneUpdateVisualization,
} from "../../../../ir/index";
import type {
CameraFrustumPanelLayer,
CameraFrustumParentPosition,
GridPanelLayer,
... |
2894b955943aaa1cd62a79e81ae3f6cca3df63e154baf580b87a4e7c3632b36d | TypeScript | 17,738 | 524 | import { sanitizeBoundedStringList } from "../../../utils/bounded-string-list";
import { createTimestampLruScopedStore } from "../../../utils/scoped-store";
import {
DEFAULT_PINHOLE_CAMERA,
DEFAULT_POINT_CLOUD_POINT_SIZE,
DEFAULT_REFERENCE_GRID,
DEFAULT_SCENE_BACKGROUND,
normalizeImageProjection,
normalizeP... |
3063cd531471b3ea5c0d47e08daa664fa6a735165aa62f96d4d4eab557cde1eb | TypeScript | 17,831 | 563 | import { describe, expect, it } from "vitest";
import { parsePCDData } from "./parse-pcd-data";
const createASCIIPCD = (fields: string[], data: number[][]): ArrayBuffer => {
const fieldList = fields.join(" ");
const sizes = fields.map(() => "4").join(" ");
const types = fields.map((f) => (f === "label" ? "I" : "... |
f8647dc613deedff3aa49e19183b2f37d90eab0125b9418af0bef5da6d3a5f15 | TypeScript | 17,890 | 526 | import {
useStreamValueSelector,
useStreamValues,
useStreamValuesSelector,
} from "@fiftyone/playback";
import { useEffect, useMemo, useRef, useState } from "react";
import { useDataStream, type DataStream } from "./data-stream-context";
import type { StreamSubscriptionOptions } from "../../../runtime";
import ty... |
416f51a3ef16f4d219de2d7fd7a8e528f09eedc704e9d039ba39da923f6c542a | TypeScript | 18,169 | 455 | // ---------------------------------------------------------------------------
// WebGPU waveform rendering. One shared pipeline draws every visible
// track row from a full-row quad; the vertex shader maps each vertex's X
// to a time within [viewStart, viewEnd] and then to a peak-texture U (the
// exact inverse of Ti... |
ed4ab387ae0931d7e36348de74a969b45001a0e867e84512abc70c9c15ea110a | TypeScript | 18,581 | 486 | /**
* The Lighter wiring hook: registers the bridge (the engine
* derives the whole read-half) and routes Lighter's finalize/select/hover
* gesture events into the surface controller. Surface code carries only
* gesture vocabulary — dispatch, refs, transactions, reconcile, identity, and
* persistence are all the e... |
298652fcce6e20c33a9674ffa235e670d4aca73478316a2fc60519f13b13dd64 | TypeScript | 18,639 | 574 | import { describe, expect, it } from "vitest";
import {
combineLocationBounds,
createLocationTrackCursor,
decimateLocationTrackSegments,
horizontalAccuracyM,
indexedLocationTrailCoordinates,
indexLocationTrack,
IncrementalLocationSegmentBuilder,
interpolateLocationAtTime,
isValidLocationPoint,
locat... |
ae201bda94ccfa95f1f3509bd4e65b25c658af44f6b712f86c2d1ae93bdf502d | TypeScript | 18,796 | 558 | import { describe, expect, it } from "vitest";
import type { RawRecordIndexWindowRequest } from "../ir";
import type { StateActionScenario } from "../adapters/fixture/fixture-state-action";
import type { StateActionCapability } from "../ports";
import {
isEpisodeExactCursorError,
isEpisodeReadCancelledError,
} fro... |
b91204d754ad2982236846ba2bbdd8c3c167cedc8f498ddb4a2edd60a4769df8 | TypeScript | 19,023 | 737 | import { Quaternion, Vector3 } from "three";
import type { DecodeContext } from "../../../../decoders/index";
import type {
DecodedAttributeValue,
DecodedOutput,
RgbaColor,
SceneArrowPrimitive,
SceneCubePrimitive,
SceneCylinderPrimitive,
SceneEntityDeletionKind,
SceneEntityDeletionVisualization,
Scen... |
14f2be979ecc853bbc2865a054f2a59058e3aa90e6b4fba04ec742f0f702c160 | TypeScript | 19,066 | 601 | import {
setBufferedRanges,
setBufferingDetail,
setBufferingStreams,
setIsBuffering,
type PlaybackStore,
} from "@fiftyone/playback";
import type {
ByteTimelinePoint,
DecodedFrame,
SynchronizedFrameWindow,
} from "../../../ir";
import {
assertValidTimelineTickRateHz,
DEFAULT_TIMELINE_TICK_RATE_HZ,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.