sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
c598c1a56f765649b237b7ecd53e86492ed3a6658e0ce4e75bfb34b11cabf781 | TypeScript | 4,809 | 152 | /**
* Cypress tests that exercise KonvaRegion mixin paths (hover cursor, double-click focus, linking mode).
* Used to improve coverage for web/libs/editor/src/mixins/KonvaRegion.js.
*/
import { ImageView, LabelStudio, Relations, Sidebar } from "@humansignal/frontend-test/helpers/LSF";
const config = `
<View>
... |
777a5ddb8b6428ce232aa6474358f1b76206eff2be8b8c8a0b0fb5bf0c4319e1 | TypeScript | 4,818 | 174 | /**
* @file Annotation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector2, Vector3 } from 'three'
import { defaults } from '../utils'
import { smoothstep } from '../math/math-utils'
import Stage from '../stage/stage'
import Viewer from '../viewer/viewer'
import Component from '.... |
016dcf471e91d93f1eee2e87da66a5611f658b0f5c8c4e5c80ff7a6e80a74b83 | TypeScript | 4,824 | 184 | /**
* @file Point Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { DataTexture, Vector3, Matrix4 } from 'three';
import '../shader/Point.vert';
import '../shader/Point.frag';
import Buffer, { BufferData, BufferTypes, BufferParameters } from './buffer';
export declare const PointB... |
4f46b69a4e4371ea9a63e3ac62c4401fd063fdbd607a866b400659d311d206c4 | TypeScript | 4,829 | 171 | /**
* @file Pdb Writer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { sprintf } from 'sprintf-js'
import Writer from './writer'
import { defaults, ensureArray } from '../utils'
import Structure from '../structure/structure'
import AtomProxy from '../proxy/atom-proxy'
// http://www.... |
969a20dab058890b797b592e0494a72b1d30c45af691a907d0cd94d890873c10 | TypeScript | 4,832 | 124 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
77ceb2096e9ca6d38ada346cafc48a0c3ed1209a207ceee0de08e035e44d0b83 | TypeScript | 4,837 | 156 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
89d1f048ed51396f99e9a274ec4e4615d975603adc3d9947863731f05154664f | TypeScript | 4,847 | 128 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
6feec3f992a42c40c72e8064431560d9b5abdb7a05b6fee0bf1273be91fd1c1c | TypeScript | 4,850 | 174 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
2145d8413efd97d5c7d100b082c64f0df280db82d95da69d47a38c5937ec1b27 | TypeScript | 4,856 | 108 | /**
* @file Surface Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Matrix4, Vector3, Box3 } from 'three';
import Representation, { RepresentationParameters } from './representation';
import Volume from '../surface/volume';
import Surface from '../surface/surface';
impor... |
7a83b4a405b509689eae4f6f4b7f36446f1c69fee804838de9c1a3a5e0ca20f4 | TypeScript | 4,859 | 208 | /**
* @file Model Proxy
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Structure from '../structure/structure'
import Selection from '../selection/selection'
import ModelStore from '../store/model-store'
import ChainStore from '../store/chain-store'
import ResidueStore from '../store/... |
6528521f1b86c403c281b7bd2c71727ef79fa4ba6d8d378a3c821df8db075fe0 | TypeScript | 4,862 | 152 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
6e604972e4bbef0ba74ee2af28b6024f0236f55429c85f243a70dd89dd6d8189 | TypeScript | 4,862 | 117 | /**
* @file Volume
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Box3, Matrix3, Matrix4 } from 'three';
import WorkerPool from '../worker/worker-pool';
import { VolumePicker } from '../utils/picker';
import Surface from './surface';
import { NumberArray } from '../types';
im... |
0bf21d6ce80af2a23e53fe28e10aae3c5d657c4f8159d4943d9d6fc78f8cfe91 | TypeScript | 4,865 | 175 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
fd216a2a98eaedc65566280f1ac42ab90e6c55ef1032759c52cef6ec0bd9bd6f | TypeScript | 4,869 | 191 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
79f1f959a246bcf2be8644553098039f007b10017d09ea8d8958a523d147ac67 | TypeScript | 4,878 | 173 | /**
* CLI registration for `openclaw mlflow configure` and `openclaw mlflow status`.
*/
import type { OpenClawConfig } from 'openclaw/plugin-sdk/plugin-entry';
const PLUGIN_ID = 'mlflow-openclaw';
type ConfigDeps = {
loadConfig: () => OpenClawConfig;
writeConfigFile: (cfg: OpenClawConfig) => Promise<void>;
};
... |
cb287244eb95500e03883c2c1b7980e3197b369323535e78ebf7639e8b10c177 | TypeScript | 4,886 | 166 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
60cc73bb68b5f048cc2088540ef13964a8302f2d41cd85d255bdc5becb705dcb | TypeScript | 4,890 | 155 | /**
* MSW-based OpenAI API mock server for testing
* Provides realistic OpenAI API responses for comprehensive testing
*/
import { http, HttpResponse } from 'msw';
import {
ChatCompletion,
ChatCompletionCreateParams,
CreateEmbeddingResponse,
EmbeddingCreateParams,
} from 'openai/resources/index';
import { R... |
90e99caa01309e77df77cc5e222c1a14baced188bcba4cc03743875c0e454f32 | TypeScript | 4,890 | 141 | import { cvtNavigationObjToNehubaConfig } from './util'
const currentNavigation = {
position: [4, 5, 6],
orientation: [0, 0, 0, 1],
perspectiveOrientation: [ 0, 0, 0, 1],
perspectiveZoom: 2e5,
zoom: 1e5
}
const defaultPerspectiveZoom = 1e6
const defaultZoom = 1e6
const defaultNavigationObject = {
orienta... |
fb3bf052b92d074b68817dd2a459ce14ac91a182c62681d6ec52f56262051831 | TypeScript | 4,898 | 125 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
b9067bd0e051e9089f554271760490b7f4ad3be66e47a71e524a38f053e5861d | TypeScript | 4,902 | 168 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
cd7ea521440977804fa5f379bd76bbd131c5ee769331c3e171dac14615aef507 | TypeScript | 4,909 | 109 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
cc9ff3dacb111115f8fd134ce7a1126dfb5950df3680a33dd69934826da50295 | TypeScript | 4,912 | 143 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
afa61f0eaa6f784c6ae1bc025a3f93f4a03e1f21f175e3b21e8de13cabd3fb4e | TypeScript | 4,917 | 213 | type RawResult = {
from_name: string;
to_name: string;
type: string;
value: Record<string, any>;
};
type MSTResult = {
toJSON(): unknown;
id: string;
area: MSTRegion;
annotation: MSTAnnotation;
type: string;
mainValue: any;
to_name: any;
// @todo tag
from_name: any;
};
type MSTObjectTag = {
... |
47c02d5347134fd7e8d5b5da3a30248147f6a906f0fff919e886f8b826e1072e | TypeScript | 4,925 | 156 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
57ff300eb23f511caa43deae2a87839891bb974805edaef74ab7ab6aa4ac928c | TypeScript | 4,926 | 177 | import { Hotkeys, ImageView, LabelStudio, Sidebar, Labels, TimeSeries } from "@humansignal/frontend-test/helpers/LSF";
import { imageData, imageToolsConfig } from "../../data/image_segmentation/stage_interactions";
import { singleChannelConfig, heavyDatasetForDisplacement } from "../../data/timeseries/charts-displaying... |
5b8bbfbb13d039ed51bcdb007d088099fb6ad1d299937cdc94a812c1b78c91c5 | TypeScript | 4,927 | 149 | import { InterSpaceCoordXformSvc, VALID_TEMPLATE_SPACE_NAMES } from './interSpaceCoordXform.service'
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'
import { TestBed, fakeAsync, tick } from '@angular/core/testing'
import { GET_ATTR_TOKEN } from 'src/util/constants'
describ... |
8cc57c998c4744c463fff176f40304b93e36fbf0381f50db4afb1c36f6c45fc0 | TypeScript | 4,927 | 228 | /**
* @file Structure Constants
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
export declare const UnknownEntity = 0;
export declare const PolymerEntity = 1;
export declare const NonPolymerEntity = 2;
export declare const MacrolideEntity = 3;
export declare const WaterEntity = 4;
export decla... |
9352afe344c770dbafc46c96bb0556595da7166b6facc75cb6fd92f3da5eb9d0 | TypeScript | 4,933 | 133 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
71c7c483463eb5215ee9d41fb69e9d61685f0bd286ef58bfd0da2d569da33bb5 | TypeScript | 4,934 | 200 | export const simpleData = {
text: "This text exists for no reason",
};
export const dataWithPrediction = {
data: {
text: "Calif. wildfires signal the arrival of a planetary fire age https://t.co/Vvo9noqQfA",
},
annotations: [
{
result: [
{
id: "n2ldmNpSQI",
type: "taxo... |
67457ea4a03a8b2526227aa543d82deb568399bab8a569b2e332eed287320fd3 | TypeScript | 4,937 | 159 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
f41641082661f8a79bd84d065a731903610351fbd36cf28c66cd7dc48c9e3208 | TypeScript | 4,942 | 165 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
ac884f09d20bb521f6fd266cb672e035c99c99612650816837b6bf6376e9d6e1 | TypeScript | 4,944 | 186 | /**
* @file Xplor Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Matrix4 } from 'three'
import { Debug, Log, ParserRegistry } from '../globals'
import VolumeParser from './volume-parser'
const reWhitespace = /\s+/
function parseNumberLine (line: string) {
return line.trim... |
afa0236b706293f8b9d23301910342661ba287f4a620da9df8e7b5876d8e53e1 | TypeScript | 4,946 | 143 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
bb9b0182aa6d9016ae62010b5d95fb8dc564a45633bd36307cb3ee4c450ebc92 | TypeScript | 4,948 | 139 | import { concat, merge, Observable, of, Subject } from "rxjs";
import { Component, EventEmitter, Inject, Output } from "@angular/core";
import { DARKTHEME } from "src/util/injectionTokens";
import { SapiViewsCoreRegionRegionBase } from "../region.base.directive";
import { ARIA_LABELS, CONST } from 'common/constants'
im... |
7cf8ea842b84910706ef30df83ed76e6be4869aa90cdf0ec34a33721c0ef678e | TypeScript | 4,963 | 160 | /**
* @file Cylinder Geometry Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Matrix4, Vector3, CylinderGeometry } from 'three'
import { defaults } from '../utils'
import { calculateCenterArray, serialBlockArray } from '../math/array-utils'
import GeometryBuffer from './geomet... |
c8587a5be44e3f8caa67c236809f21e7d6991da227f5e0fa3bd064bfe2bb9e7c | TypeScript | 4,963 | 175 | import { AfterViewInit, Directive, EventEmitter, HostBinding, Input, Output, QueryList, ViewChildren, inject } from "@angular/core";
import { BehaviorSubject, combineLatest, concat, merge, of } from "rxjs";
import { debounceTime, map, switchMap, takeUntil } from "rxjs/operators";
import { SxplrAtlas, SxplrParcellation,... |
2448940df7142b4ff07ac578db272e980692035cca8869082c3231e99d118089 | TypeScript | 4,966 | 86 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
93452fb527205fff4b668438e6e387624cda912a7fc112654f624a693af0829c | TypeScript | 4,967 | 173 | type BoundingBox = {
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
x: number;
y: number;
};
const getBoundingBox = (elem?: HTMLElement) => {
const template: BoundingBox = {
bottom: 0,
height: 0,
left: 0,
right: 0,
top: 0,
width: 0,
... |
4c0e1cd3c4b67cec5ef5d9864f90cd21d9767adcd245eb953830d31c2c735e7d | TypeScript | 4,972 | 182 | /**
* @file Ribbon Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { RepresentationRegistry } from '../globals'
import { defaults } from '../utils'
import Spline, { SplineParameters } from '../geometry/spline'
import StructureRepresentation, { StructureRepresentationParam... |
ce4d778967b9e73ec142d6a6c97c8ad4268880f71b09191c537815de92036a9c | TypeScript | 4,978 | 155 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
acbe119a0bdc7c48c687e3ddbee2c576c887665ba1de78b0b456f141e1a97336 | TypeScript | 4,980 | 169 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
782d82f7a66b705a42b89570fff22c24087f61ca60ec661af7eb6cc7c1bc9f99 | TypeScript | 4,987 | 162 | import { Component } from "@angular/core";
import { TestBed } from "@angular/core/testing";
import { FabSpeedDialContainer } from "./fabSpeedDialContainer.directive";
import { FabSpeedDialService, SCALE_ORIGIN } from "./fabSpeedDial.service";
import { BehaviorSubject } from "rxjs";
import { By } from "@angular/platform... |
c8f70ca8deca2ff3d7fb021ec9b47b5e8f1abf3e16232496f772328179ba5a81 | TypeScript | 4,989 | 171 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
4268ec449bea0705c58491ec60271e78493a36ff997235e25899df813f0da366 | TypeScript | 4,991 | 168 | import { LabelStudio, ImageView, Taxonomy, ToolBar, Modals } from "@humansignal/frontend-test/helpers/LSF";
import {
simpleMIGData,
TAXONOMY_REQUIRED_WARNING,
perRegionRegionsResult,
perItemMIGTaxonomyConfig,
perItemTaxonomyResult,
requiredPerItemMIGTaxonomyConfig,
} from "../../../data/control_tags/per-ite... |
58166c260e35b06e4b34fd98ecfbdea06e61d9fa1206889144c1658d5b5eddda | TypeScript | 4,992 | 151 | import SurfaceParser from "./surface-parser";
import { BufferGeometry, Color } from "three";
/**
* Port of PLYLoader from the MIT-licensed three.js project:
* https://github.com/mrdoob/three.js/blob/97b5d428d598228cae9b206d9a321f18d53a3e86/examples/jsm/loaders/PLYLoader.js
*
* The original code has been modified to... |
a9781a86012745b6ebe93c1f4074d6c388013b7fae2e781964598e8dfef490de | TypeScript | 4,998 | 191 | /**
* @file Representation Element
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Signal } from 'signals'
import { Color } from 'three'
import Stage from '../stage/stage'
import Representation, { RepresentationParameters } from '../representation/representation'
import Component fro... |
99d6b6dae50e2cac42a1075a83cd04a566e74838e1863a6435dadd6082a28f33 | TypeScript | 5,001 | 145 | import { LabelStudio, AudioView, VideoView, Paragraphs } from "@humansignal/frontend-test/helpers/LSF";
import { useSyncGroup } from "@humansignal/frontend-test/helpers/utils/media/SyncGroup";
import { Network } from "@humansignal/frontend-test/helpers/utils/Network";
import {
videoAudioParagraphsConfig,
videoAudio... |
2ddfbe5e21ce41b8a01ec26d72c8067de0da6e5b48204f324af220a44ceaa925 | TypeScript | 5,008 | 173 | /**
* @file Molecular Surface
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { WorkerRegistry } from '../globals'
import { defaults } from '../utils'
import Worker from '../worker/worker'
import EDTSurface from './edt-surface'
import { AVSurface } from './av-surface'
import Surface, { ... |
825d8b4425c791fe8cbbf8f1be705b0012f44ec4fade8d4d4a07108028c6d580 | TypeScript | 5,020 | 187 | /**
* MSW-based Anthropic API mock server for testing
*/
import { http, HttpResponse } from 'msw';
interface MessagesCreateRequest {
model: string;
messages: Array<{
role: string;
content: string | Array<{ type: string; text: string }>;
}>;
max_tokens?: number;
system?: string | Array<{ type: stri... |
cdec2565c84ae0741c5937686486ae6538b189912093bfa07fa52b6820382479 | TypeScript | 5,028 | 108 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
68e6539bedd1f113e7030d490d45d573b4b6fc6dcc3b6e0b94e4d91646438fef | TypeScript | 5,033 | 178 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
e02d8bca539a94fb49be8cb19b133ea8296d1e56f65c0157bf09e6e2745442d3 | TypeScript | 5,045 | 124 | import type {
AssetArgs,
AssetFilter,
ColumnLineageArgs,
FacetsArgs,
LineageArgs,
ListArgs,
} from '../typings/args';
import type { Asset, AssetSummary } from '../typings/domain/asset';
import type { Capabilities } from '../typings/domain/capabilities';
import type { AssetCounts } from '../typings/domain/co... |
f99bc7813e5157df40efbd7262ebab7a1a76f8185a372633d16ecf9d17606f7b | TypeScript | 5,061 | 135 | import {MutableRefObject, useCallback, useEffect, useRef, useState} from 'react';
export interface UseResizableWidthArgs {
/**
* Whether or not the resizing behavior should be disabled
*/
disabled?: boolean;
/**
* The initial width of the element being resized
*/
initialWidth?: numb... |
3b2615b271bf29c1091f1bf7802f92c7e00360d0e1a6c834f14b8b39397fbcd5 | TypeScript | 5,067 | 163 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
a6ab815c49d111bbeb7458fe023597a3ade64915c7e4dbc282c062d0e3356372 | TypeScript | 5,073 | 180 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
7294fddb3f11e44582f116b256e22a0005f7619dd609c3129887f8b542bd61b9 | TypeScript | 5,074 | 169 | /**
* Constants for MLflow Tracing
*/
/**
* Enum for span types that can be used with MLflow Tracing
*/
export enum SpanType {
LLM = 'LLM',
CHAIN = 'CHAIN',
AGENT = 'AGENT',
TOOL = 'TOOL',
CHAT_MODEL = 'CHAT_MODEL',
RETRIEVER = 'RETRIEVER',
PARSER = 'PARSER',
EMBEDDING = 'EMBEDDING',
RERANKER = '... |
51a3682e8a14f30e8f33820dd6015c4746b770720240e8fc38fc1e25ca2aa298 | TypeScript | 5,077 | 124 | import { Choices, LabelStudio } from "@humansignal/frontend-test/helpers/LSF";
import { repeaterConfig, repeaterPagedConfig, repeaterPagedData } from "../../data/core/repeater_paged";
/**
* Repeater (type=repeater, no pagination).
*/
describe("Repeater (no pagination)", () => {
it("renders all repeater items and s... |
61023b6e05c9f1ca0edae992b1685e66cca934e91937e1a4746cb7487262289c | TypeScript | 5,082 | 185 | import { TestBed } from "@angular/core/testing"
import { DefaultUrlSerializer, NavigationEnd, Router } from "@angular/router"
import { hot } from "jasmine-marbles"
import { of, Subject } from "rxjs"
import { SAPI } from "src/atlasComponents/sapi"
import { RouterService } from "./router.service"
import { provideMockStor... |
f05c78f49851d91b5cf745c08bf068f28307fd2051800d63601c14d3a2bf7aeb | TypeScript | 5,084 | 206 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
8ceaab2ba7e89e31cfd86ecc19418ca882e9eeea46c4c5eb8d70453d57fdaacd | TypeScript | 5,087 | 217 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
f08c8e66a70e5d7382e56c1e39d97408fcddcd17b40e4bbcc4bcad224502ff22 | TypeScript | 5,088 | 184 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
f04a95d7d3bf008812823c4553ff5155b3a04c8cae3c216b31baa1431c5da1e2 | TypeScript | 5,089 | 156 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
39655cf73a03bf78f1e09d50056de38c24ae5b978ed5edc08015298685344c32 | TypeScript | 5,100 | 156 | import { SAPI } from "./sapi.service"
const atlas1 = 'foo'
const atlas2 = 'bar'
const endpt1 = 'http://foo-bar'
const endpt2 = 'http://buzz-bizz'
describe("> sapi.service.ts", () => {
describe("> SAPI", () => {
let originalTimeout: number
beforeAll(() => {
originalTimeout = jasmine.DEFAULT_TIME... |
7c627bff08a9e997274ca2ed972004c542d1fb4749059d9daf764c7cec2b717f | TypeScript | 5,100 | 151 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
1fab64b5373a85cde0d704e3e9915efbe13ebfcf78b6fe59f4d1a240ce65f1b9 | TypeScript | 5,103 | 174 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
6e162c5408167da01f5e6be38fc4cf93dbe16ff24faa29cd6e39b2d661a09c7d | TypeScript | 5,112 | 157 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47 | TypeScript | 5,128 | 99 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.... |
14b1870a0b5e2d2aa6a79d2990774e4e24a82ee8ead4e1b8458e40cdb9195e49 | TypeScript | 5,142 | 206 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
68d7b227ffa2361af10fad51b4829801376a678c1416571a59e4a1b411c36158 | TypeScript | 5,151 | 164 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
da11194d88f72156996505aa9cbc64510c7851ff481f1db67db08e1ec9c6012c | TypeScript | 5,158 | 180 | import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostListener, Input, Output, TemplateRef, ViewChild, inject } from "@angular/core";
import { SxplrRegion } from "src/atlasComponents/sapi/sxplrTypes";
import { ARIA_LABELS } from "common/constants"
import { FormControl } from "@angular/forms";
imp... |
449811d73ec62ed151f4df345a13e9865c2e151b737818c69f6da5bc97763fb9 | TypeScript | 5,175 | 131 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
63f759e87c071854068cb7247db7034e2c1b3e94c91d365ca60ed172884c1f64 | TypeScript | 5,193 | 151 | import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, Inject, OnDestroy, Optional, ViewChild, ViewContainerRef } from "@angular/core";
import { combineLatest, fromEvent, interval, Subscription } from "rxjs";
import { map, scan, share, startWith, take, filter } from "rxjs/operators";
import { BoothVisi... |
d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a | TypeScript | 5,204 | 116 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.... |
5150edd3bb343db3e573c26bdcb181726e7954478b433b59eaf2bfe3f91d148e | TypeScript | 5,207 | 238 | /**
* @file Picking Proxy
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Matrix4, Vector2 } from 'three';
import Stage from '../stage/stage';
import MouseObserver from '../stage/mouse-observer';
import { Picker } from '../utils/picker';
import ViewerControls from './viewer-co... |
fb044af6180fe032d6f4f696238c23dd3f22f7e467b333434dc869a1382fff90 | TypeScript | 5,212 | 214 | /**
* @file Volume Slice
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3 } from 'three'
import { ColormakerRegistry } from '../globals'
import { defaults } from '../utils'
import { SlicePicker } from '../utils/picker'
import { Volume } from '../ngl';
import { SliceRepresentat... |
67ef5b30766511d6124c5a60f60558c9ca6a6ed664afd53558fe0c26a214689d | TypeScript | 5,213 | 151 | import { defaultTipsCollection } from "./content";
import type { Tip, TipsCollection } from "./types";
const STORE_KEY = "heidi_ignored_tips";
const EVENT_NAMESPACE_KEY = "heidi_tips";
const CACHE_KEY = "heidi_live_tips_collection";
const CACHE_FETCHED_AT_KEY = "heidi_live_tips_collection_fetched_at";
const CACHE_STAL... |
9787eaceffca6e910c5a48adecb8dd825fa909f286494afcff3d33439b5293c2 | TypeScript | 5,219 | 144 | import { Choices, ToolBar, LabelStudio } from "@humansignal/frontend-test/helpers/LSF";
import type { CustomButtonType } from "../../../../src/stores/CustomButton";
import { choicesConfig, simpleData } from "../../data/control_tags/choice";
describe("Bottom bar", () => {
it("should display custom buttons", () => {
... |
9fd6fea2599637eb7dffec3f198d6b51ee244b079ec3a5e927f28502c6cb90e7 | TypeScript | 5,224 | 222 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44 | TypeScript | 5,229 | 147 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.... |
6803160c970375741fb79fd4a3a2dc4c85545ba0f2fefbb6c4f32db3c95822e0 | TypeScript | 5,231 | 140 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
13ac19878e23fdc3e05f454651df65e6a78f34ce82ac2eaef66f9657eff11dfa | TypeScript | 5,236 | 139 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671 | TypeScript | 5,251 | 128 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.... |
db4458b0b247b197d64353cf3681d9ed8fc36d4be699b9e0e41a2abe82a46637 | TypeScript | 5,253 | 183 | import { Component, OnDestroy, Input } from "@angular/core";
import { Observable, merge, of, Subscription, BehaviorSubject, combineLatest } from "rxjs";
import { startWith, mapTo, map, debounceTime, switchMap, catchError, shareReplay, filter, tap, distinctUntilChanged } from "rxjs/operators";
import { Clipboard, ErrorS... |
7cab46a5509177e027887e966afcad0d73360f70e9c15e6a86b12b137350c5b0 | TypeScript | 5,263 | 172 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
fcd9b5291ff05045785c30c499a691cf8aa79b8780229a3bbc2046ae32c87b6b | TypeScript | 5,273 | 158 | import {
AudioView,
Choices,
LabelStudio,
Textarea,
Number,
ImageView,
Paragraphs,
Labels,
TimeSeries,
DateTime,
VideoView,
Table,
Taxonomy,
Ranker,
Collapse,
} from "@humansignal/frontend-test/helpers/LSF";
import { RichText } from "@humansignal/frontend-test/helpers/LSF/RichText";
import... |
b43966c8007eb8eb2e78c98e2390b0cd4b10d44a25b57de7d4a9686e2b13628e | TypeScript | 5,277 | 170 | import { type MutableRefObject, useCallback, useContext, useEffect } from "react";
import { TimelineContext } from "../../../components/Timeline/Context";
import type { Waveform } from "../Waveform";
import type { WindowFunctionType } from "../Visual/WindowFunctions";
import type { ColorScheme } from "../Visual/ColorMa... |
10037b39f4559751cf0ae2ad50caa5ecdd73eaeec3fa4f1e64a87620cf7da151 | TypeScript | 5,280 | 174 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
b07c016bdaffc3f6edc2697cde3cbf999b8c6b7fc566bd9decf5592c2ef632ea | TypeScript | 5,285 | 164 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
e7e39faf600ea8c95d04e7ae6e8ca6a0a691c77c302fda5ce4ffd3722b67998a | TypeScript | 5,299 | 163 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
4a74ba6311bd6e0042d0c25dfafb4eae899f73dc0a1e7a9aff2f1f279e1900ac | TypeScript | 5,300 | 188 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
811b5fb066c3b974005d8e7d7e51ed818ac6a8289ab1ebef5be2e69f6efa6c22 | TypeScript | 5,322 | 167 | import { mkdtempSync, readFileSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { pathToFileURL } from 'node:url';
import { catalogToRates, loadCatalogRates } from '../src/modelCatalog';
const CATALOG = {
schema_version: '1.0',
models: {
'claude-s... |
32fc0d751309b7d4f8becd206108cd5efe675205bfaf08718d56d041aa370c29 | TypeScript | 5,324 | 175 | // import { CommonModule } from "@angular/common";
// import { Component, EventEmitter, Inject, InjectionToken, Input, Optional, Output, inject } from "@angular/core";
// import { BehaviorSubject, Observable, combineLatest } from "rxjs";
// import { Point, SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes";
// ... |
eabc3021bbbc2f7e8c6c645b480771df00c71f41329f6838dd72d6ee8ae84d02 | TypeScript | 5,325 | 187 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
59bb17f235942ef433cd366ac0a19a4e3829cbe8b6a0912f466aa8382a174565 | TypeScript | 5,329 | 171 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
7fb99ac6af52f9023fb40397274e31a568515b0e1cd9083747bb9885064530e9 | TypeScript | 5,334 | 229 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
8274628d34e1a1f2a0d3f2e40c6e9119520ba8a82f326acc5189808011c0d58d | TypeScript | 5,337 | 167 | /**
* Daemon supervisor - handles the "is the uploader daemon alive? if not,
* spawn one" check invoked by `MlflowWalSpanExporter` on each WAL append.
*/
import { spawn } from 'node:child_process';
import { createConnection } from 'node:net';
import { createRequire } from 'node:module';
import { dirname, join } fro... |
979e2cf18119fbfe8f42960fe76afee0a8216a590f6622771b40e4a51350a7b2 | TypeScript | 5,337 | 85 | export interface Thenable <R> {
then <U> (onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;
then <U> (onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => void): Thenable<U>;
}
export class Promise <R> implements Thenable <R> {
/**
* ... |
69bb957489f530dabc105804506160a660e8393f547ae50ca899f94f1b581a94 | TypeScript | 5,344 | 173 | import type { Layer } from "../Layer";
export interface CompositionResult {
layers: Layer[];
positions: Map<Layer, { x: number; y: number }>;
totalHeight: number;
totalWidth: number;
}
export class LayerComposer {
private layers: Map<string, Layer>;
constructor(layers?: Map<string, Layer>) {
this.lay... |
857fd0d5fbeb050105b2e380c62f6d8c53ad78e3a0a875322119d956418a1ca8 | TypeScript | 5,348 | 146 | /**
* Pure helpers for the Accept/Reject actions. Extracted so the stage
* overlay (keyboard shortcuts) and the bottombar toolbar (button clicks)
* share one implementation — no risk of drifting between them.
*
* Track is still hook-based (`useTrackForward`) because it owns an async
* polling loop plus abort cont... |
ba86212dcb04fbef656db11d408d618d7f2b4a6738cf16d6fdee6acab5077d84 | TypeScript | 5,350 | 178 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.