sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
d73d38cf08ae0cc5969fb98b1bfcbfe1a8d441831011b65f12e3fa434eac8475 | JavaScript | 1,590 | 45 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, textDefaultValue, attrName, labelName,
} from '../../support/const';
context(
"Checks that the cursor doesn't automatically jump to the end... |
a4735796a3b3b1ea94a7b5d1b88199cf79e5f2ddbab31f39fa28e2b08d0c8ebc | JavaScript | 1,612 | 43 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Check if image was scaled to ROI', () => {
const caseId = '7';
let scaleBefore = 0;
let scaleAfte... |
4786602e3d0fc5da34d8571c8fa50eb0331e6c3cdfd145bdf9e0a3f49c45f7f4 | JavaScript | 1,629 | 46 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, advancedConfigurationParams, labelName } from '../../support/const';
context('Check propagation work from the latest frame', () => {
const issu... |
95cfbdad9b4d0e583c030a0f39567cc7e082d6ba5b4a3e7eb33507d35a03db7c | JavaScript | 1,644 | 52 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
import { imageRotate, checkDegRotate } from '../../support/utils.cy';
context('Rotate all images feature.', () => {
... |
1302a1a959d5c012bb6644a566d7ab2907bb1fafd40258c25586d5264cc13a6e | JavaScript | 1,668 | 44 | // lint-staged.config.js
const micromatch = require('micromatch');
function containsInPath(pattern, list) {
return list.filter((item) => micromatch.contains(item, pattern));
}
function makePattern(extension) {
return `**/*.${extension}`;
}
module.exports = (stagedFiles) => {
const eslintExtensions = ['t... |
3d42c6a983d024cf63392a9109e896347083ac1094cf81a89f866920727a1914 | JavaScript | 1,676 | 58 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Export task dataset.', () => {
const caseId = '47';
const exportFormat = 'CVAT for images'... |
e1cf15631ceddeece97ef6ed86372f47ab04c99440ea7856009a237fc388bafc | JavaScript | 1,676 | 44 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Canvas color feature', () => {
const caseId = '21';
before(() => {
cy.prepareUserSession();
... |
667eb5afe3c045ace6061d79cb492534dada23773ffd5f36841e13d860f816f0 | JavaScript | 1,696 | 38 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Extend region via Shift+E hotkey.', () => {
const caseId = 'audio_26';
before(() => {
cy.prepareU... |
fe6ce2866aa6da292e74b6f901c7f5bc7b0d75854b4ba96488e3393c72e15592 | JavaScript | 1,700 | 53 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('The UI remains stable even when the metadata request fails.', () => {
const issueId = '8785';
before(() => {
cy.prepareUserSession();
... |
2a47716b74eb43b2bf51518f497a98fcf470ac32f7e8f1ea081fb55da101c491 | JavaScript | 1,709 | 42 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Export annotations.', () => {
const caseId = 'audio_39';
before(() => {
cy.prepareUserSession();
cy.openA... |
3de55f0d8f8e815a91036f829e079884a29414281f45c0e6e105afdb5741c251 | JavaScript | 1,723 | 57 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Issue 1599 (Chinese alphabet).', () => {
const firstName = '测试者';
const lastName = '测试';
const userName = 'Testuser_ch';
const email = 'Testus... |
928cc96c4d91665628acf3803023e989c69bd415066e84b00b5db067d6949dea | JavaScript | 1,724 | 58 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Issue 1599 (Polish alphabet).', () => {
const firstName = 'Świętobor';
const lastName = 'Czcić';
const userName = 'Testuser_pl';
const email =... |
928e757906688aae02b0bb5e8ad2fd08eeaacda29d07a421e4975e2e4d819c54 | JavaScript | 1,747 | 28 | var searchData=
[
['transform_2ehpp',['transform.hpp',['../a00103.html',1,'']]],
['transform2_2ehpp',['transform2.hpp',['../a00104.html',1,'']]],
['trigonometric_2ehpp',['trigonometric.hpp',['../a00105.html',1,'']]],
['type_5ffloat_2ehpp',['type_float.hpp',['../a00108.html',1,'']]],
['type_5fgentype_2ehpp',['... |
a75520366139c6112ec2592a11215a469fb6f5dc6d53eee35ed12934220ae467 | JavaScript | 1,758 | 50 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create task with tus file', () => {
const caseId = '112';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task for ${labelName}`;
const attrName = `Attr for $... |
a91edb391a5fda5fa4ec6e8bfd43b91cb887161632f9283eb10babb600eecb98 | JavaScript | 1,765 | 53 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Information about a blocked object disappears if hover the cursor over another object', () => {
const issueId = '1439';
const c... |
b6315650023eaf58cb0b95505f0ef6c63191adaa236eb7764eaf2149d0ea7b25 | JavaScript | 1,778 | 50 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Delete a label from a task.', () => {
const caseId = '58';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task for ${labelName}`;
const attrName = `Attr for ... |
e28a20626331e767014e93bb2113d38177b03bfa8c0921a40c90295a947f1711 | JavaScript | 1,786 | 44 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Extend during Record cancels record without creating an extend region.', () => {
const caseId = 'audio_27';
... |
8c6d0ddeafddc2e89cdf260c7eba341a2dd87b5fa7e772e08a57368852ac25a9 | JavaScript | 1,796 | 50 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create task with special character in uploaded filename', () => {
const issueId = '6528';
const labelName = `Issue ${issueId}`;
const taskName = `New annotation task for ${labelName}`... |
7d64be0bdfb438adb62722ee42ea06a10126fb9fb8da7bb27fa804aad8552490 | JavaScript | 1,808 | 64 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
export const projectName = 'Main project';
export const projectName3d = 'Main project 3D';
export const projectNameDelete = 'Delete this project';
export const projectNameDeleteLabel = 'Delete Label';
e... |
0002b80b25ac6a7e6827fe550c7b95792513d0538f0213439ed3fe6be604797b | JavaScript | 1,815 | 43 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. ESC cancels region creation.', () => {
const caseId = 'audio_07';
before(() => {
cy.prepareUserSe... |
73150f17647b28c5fc695306686a9c1bae83a9dab1fcce3e4c49e08a95b64f87 | JavaScript | 1,821 | 52 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, advancedConfigurationParams, labelName } from '../../support/const';
context('First part of a split track is visible', () => {
const issueId = ... |
2497dc857e27b8cb1f288a216eb4536b12eabd4c9498027813213fee5db975cd | JavaScript | 1,833 | 51 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create an annotation task with manifest.', () => {
const caseId = '65';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task for ${labelName}`;
const attrName... |
a434b298e43ec67ef8d28683dee1fd4203003d8b0571623fa15b39a41d38d929 | JavaScript | 1,833 | 52 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Recording lifecycle.', () => {
const caseId = 'audio_30';
beforeEach(() => {
cy.prepareUserSession();
cy.... |
38188a90032da950d0266e9dff27dd28e260900d7417002b1ec2d025ff8d315a | JavaScript | 1,872 | 56 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { defaultTaskSpec } from '../../support/default-specs';
context('Workspace selector for a regular task', () => {
const taskName = 'Workspace selector';
const { taskSpec, dataSpec, extras } = defau... |
2292d909e7a7bab7b7a6e6d906ba2847038615104304442e7886ed6267df6e9b | JavaScript | 1,882 | 66 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { labelName, taskName } from '../../support/const';
context('Filter property "shape" work correctly', () => {
const issueId = '1444';
const createRectangleShape2Points = {
points: ... |
e48e82945bc0b616d9ef9f7b83e56fa34af93ec6727537fc1fa3c4be4c0e6bd4 | JavaScript | 1,882 | 46 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, firstLabelName, secondLabelName, attrName,
} from '../../support/const_audio';
context('Audio annotation. Saving after relabeling persists attributes.', () => {
const caseId = 'audio_3... |
e52e6f10d17fb4e2fd14ffc8246940991c9e9b212b167a2a48b25054aa36190e | JavaScript | 1,885 | 54 | /* Aggiorna App.state dai checkbox e richiama App.render().
Regola: se un gruppo è vuoto, è "nessun filtro" (include tutto). */
document.addEventListener("DOMContentLoaded", () => {
// Eventi sui chip
document.querySelectorAll(".filter-group").forEach((groupEl) => {
groupEl.addEventListener("change", () => ... |
21a2ab8e4e3d2a7d227d023f6a077dbe63343387ed8949d87878b5463282944f | JavaScript | 1,899 | 49 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Settings. "Auto save" option.', () => {
const caseId = '51';
before(() => {
cy.prepareUserSe... |
0da18e6034f980bdc74ada9ac60e15c8f9f0f4a5498211c9828d640135122c98 | JavaScript | 1,900 | 7 | var searchData=
[
['operator_21_3d',['operator!=',['../a00074.html#a7385e5b1d40db9fcbf2b5d645a25d751',1,'gli::operator!=(image const &ImageA, image const &ImageB)'],['../a00074.html#a6d872af1896fb8892f4f858b09deacbb',1,'gli::operator!=(texture const &A, texture const &B)']]],
['operator_28_29',['ope... |
06f98505d87ad7f30da28bb799adc035d013f784462a38223c62ffce5e10c385 | JavaScript | 1,902 | 48 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create a task with files from remote sources.', () => {
const caseId = '46';
const labelName = `Case ${caseId}`;
const taskName = `New annotation ... |
5e418cab00dd99ad70b651e3b578abb11ecc053ec67cf6ccc217f005a84336c8 | JavaScript | 1,912 | 46 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Displaying attached files when creating a task.', () => {
const issueId = '2661';
const labelName = `Issue ${issueId}`;
const imagesCount = 5;
const imageFileName = `image_${label... |
89bd11d10d7444e7f766ca5aa10342abc9974c2c95c3ae920eef0178c50e59ac | JavaScript | 1,916 | 57 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Check hide/unhide functionality from label tab for object and tag with a same label.', () => {
const issueId = '2418';
const cr... |
bd0f16e16601f3b489b1e54a7d3e53cf406a85904bdfadc2edad6ed253fc8781 | JavaScript | 1,919 | 51 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Value must be a user instance.', () => {
const issueId = '2440';
before(() => {
cy.prepareUs... |
2917302e47d5e1b3462b3dc80c1106feee762788a858ef108bb0295c2802299b | JavaScript | 1,971 | 4 | var searchData=
[
['reduce',['reduce',['../a00074.html#a8c43a59c12c85423fd8d360af847ebb1',1,'gli::reduce(texture1d const &In0, texture1d const &In1, typename reduce_func< vec_type >::type TexelFunc, typename reduce_func< vec_type >::type ReduceFunc)'],['../a00074.html#a554b1430aa18a3dda31775ae4035... |
1d81a7c3f497d12b66218eec0ab98fb614551daa86d1e4ec8ab244e36461d81f | JavaScript | 1,979 | 65 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/* eslint no-use-before-define: 0 */
exports.imageGenerator = imageGenerator;
exports.bufferToImage = bufferToImage;
const path = require('path');
const fs = require('fs-extra');
const jimp = require('jimp');
function createImage(width, ... |
590111ddb4436154232d5838114b0b3fd32642ed4ab33a1f787305c0ba38e100 | JavaScript | 1,980 | 8 | var searchData=
[
['opengl_20image_20_28gli_29',['OpenGL Image (GLI)',['../index.html',1,'']]],
['operator_21_3d',['operator!=',['../a00074.html#a7385e5b1d40db9fcbf2b5d645a25d751',1,'gli::operator!=(image const &ImageA, image const &ImageB)'],['../a00074.html#a6d872af1896fb8892f4f858b09deacbb',1,'gli::opera... |
7ef0c2e91b71d56b9ac80b3bba68925322027c5b26ddff713d88fcf13bf38426 | JavaScript | 2,008 | 57 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('The highlighted attribute in AAM should correspond to the chosen attribute', () => {
const issueId = '1425';
let textValue = ''... |
77d4eed48c56c24f4130c43439fa27e5ef61759d6a49d428c15d9cef22d4d361 | JavaScript | 2,013 | 20 | var searchData=
[
['decompose',['decompose',['../a00204.html#ga0f1245817507156b337798a253577c8b',1,'glm']]],
['degrees',['degrees',['../a00151.html#gabccdcc282134fd62af0ff3d6e4bb21f1',1,'glm']]],
['determinant',['determinant',['../a00149.html#ga26ea77c574802bc6fc193c40478718d2',1,'glm']]],
['diagonal2x2',['diag... |
7533eb233b7c9e531ac67cd5e8a40b777359e868820a992c3dc8026c9eff53ed | JavaScript | 2,026 | 57 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Check if UI not fails with shape dragging over sidebar', () => {
const issueId = '1216';
c... |
557cbcddb5e72dd7630111f7092794e9344225240ea03293ff46a05a0aae2a89 | JavaScript | 2,030 | 5 | var searchData=
[
['reduce',['reduce',['../a00074.html#a8c43a59c12c85423fd8d360af847ebb1',1,'gli::reduce(texture1d const &In0, texture1d const &In1, typename reduce_func< vec_type >::type TexelFunc, typename reduce_func< vec_type >::type ReduceFunc)'],['../a00074.html#a554b1430aa18a3dda31775ae4035... |
a6099c04ef960ed9b4777aee5eee4fb81ea48b08e5af6ae47b376f26e099fad8 | JavaScript | 2,033 | 67 | // Copyright (C) 2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Delete frame from job.', () => {
let frame = null;
before(() => {
cy.prepareUserSession();
cy.openTaskJob(taskName);
});
... |
c30a66f8e447f53942eb04f786dd6cecf1e4bffce74bf52ecb93749b39b40a4c | JavaScript | 2,053 | 62 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { labelName, taskName } from '../../support/const';
context('Cropping polygon in some corner cases.', () => {
const caseId = '77';
const createPolygonS... |
793c2e9061d174b78cf673358a760aafa0cea6cda748b27d062083a8bd9dbaf7 | JavaScript | 2,082 | 64 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const issueId = '5566';
const project = {
// Ampersand in the name ensures that the query string will be incorrect
// if the UI fails to escape the filter value.
name: 'A & B',
label: 'Tree',
attrName: 'Kind',
attrValue: '... |
8d8ee846933537606e501b71906f2d971cd549e34c8e10b0a9ffee9530411c53 | JavaScript | 2,116 | 65 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import * as allure from 'allure-js-commons';
import { taskName } from '../../support/const';
import { AllureTag } from '../../support/const_allure';
context('Settings... |
a788c8738f6dc9dee39007067ff871b435f03a65c536125892d25b41e3d60d5e | JavaScript | 2,122 | 64 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { labelName, taskName } from '../../support/const';
context('Save filtered object in AAM.', () => {
const caseId = '99';
const newLabelName = `New labe... |
a171d120fa9496847eb3a140045ae5d2fe8f65b0a7ff10ded294334fd2a2c1f3 | JavaScript | 2,123 | 57 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, firstLabelName, secondLabelName,
} from '../../support/const_audio';
context('Audio annotation. Create region via hotkey.', () => {
const caseId = 'audio_06';
beforeEach(() => {
... |
f6f0f3a7be6c250f9d74a159610028a01b842677575a0ba3d40d6cc02e8cd29c | JavaScript | 2,135 | 56 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/* eslint-disable cypress/no-unnecessary-waiting */
/// <reference types="cypress" />
Cypress.Commands.add('compareImagesAndCheckResult', (baseImage, afterImage, noChangesExpected) => {
cy.compare... |
a4154c7a766ba999997d375c012e0909cb1af467fb1cf1272381470538449323 | JavaScript | 2,144 | 17 | var searchData=
[
['one',['one',['../a00162.html#ga39c2fb227631ca25894326529bdd1ee5',1,'glm']]],
['one_5fover_5fpi',['one_over_pi',['../a00162.html#ga555150da2b06d23c8738981d5013e0eb',1,'glm']]],
['one_5fover_5froot_5ftwo',['one_over_root_two',['../a00162.html#ga788fa23a0939bac4d1d0205fb4f35818',1,'glm']]],
['o... |
1a84476d5c1bda8ada476477342dde7bc1b72f82351178ceb47d0829f3ea5576 | JavaScript | 2,199 | 52 | $(() => {
/* Use wider container for the page content */
$(".wy-nav-content").each(function () {
this.style.setProperty("max-width", "none", "important");
});
/* List each class property item on a new line
https://github.com/lightgbm-org/LightGBM/issues/5073 */
if (window.location.pa... |
09658489e066bed828bd65b4ab4146ed1b00d2bf1c816744ce29ee8f1fb79f35 | JavaScript | 2,205 | 19 | var searchData=
[
['tan',['tan',['../a00151.html#gab3ae890c38b7d3aa4d5e00998fd296b2',1,'glm']]],
['tanh',['tanh',['../a00151.html#ga234e904a0075f88654a594b5f837711f',1,'glm']]],
['third',['third',['../a00162.html#ga3077c6311010a214b69ddc8214ec13b5',1,'glm']]],
['three_5fover_5ftwo_5fpi',['three_over_two_pi',['.... |
1127f089da920cfc3ccf28b4d92f678f331abee6caa0263efe6441fd6bc8696a | JavaScript | 2,205 | 61 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create and delete a annotation task. Color collision.', () => {
const caseId = '1';
const labelName = 'adaf';
const taskName = `New annotation tas... |
573582f13c556caf31b64d1b9e69dcd52a09832772b772e3d8f1c620e0242e25 | JavaScript | 2,222 | 74 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
export const keyCodeN = 78;
export const labelName = 'Main task';
export const taskName = `New annotation task for ${labelName}`;
export const CLIPBOARD_ALIAS = 'copyT... |
f9b0e61beaf2dbb315fcde98a76a8cc34ccbd35c3f0e4bf35e1e08f7138edc02 | JavaScript | 2,223 | 50 | // Copyright (C) CVAT.ai Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
Cypress.Commands.add('attachS3Bucket', (data) => {
let createdCloudStorageId;
cy.contains('.cvat-header-button', 'Cloud Storages').should('be.visible').click();
cy... |
6ee48ddc2ea46280c11554c96614cc600e24224d03e11a7174b0c84c1c6c7364 | JavaScript | 2,271 | 4 | var searchData=
[
['view',['view',['../a00074.html#ae0fac6ef8ea038fb77b196f33c3a92a3',1,'gli::view(image const &Image)'],['../a00074.html#afdb51bdf4fcdf9a62f4aa224f0c7dcfb',1,'gli::view(texture const &Texture)'],['../a00074.html#af0f21026a76c1b4c0c7473f30a511d12',1,'gli::view(texture const &Texture, textu... |
f3fa1b6faa39616b1f10bd66c02447757f2c3f4afdbd5163e7327106f25e68ff | JavaScript | 2,273 | 57 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Shortcuts window.', () => {
const caseId = '71';
const keyCodeF1 = 112;
let shortcutsTableTrCount = 0;
before(() => {
cy.... |
2fc8db6db981d1702ecb41ccfa05f187a51df4b880c5ad01088d6ae0e8a53d23 | JavaScript | 2,315 | 9 | var searchData=
[
['layers',['layers',['../a00012.html#aac4e6a627c907856620b7eb161c9b85d',1,'gli::texture']]],
['levels',['levels',['../a00012.html#a9b85eb415046f5a31b2d9eff8cefc24c',1,'gli::texture::levels()'],['../a00074.html#a1c292c3cc635f296fb6a37dfba2fae65',1,'gli::levels()']]],
['load',['load',['../a00003.h... |
b5a47bd24635eec71e63e90202a86451e3c0d260b5758ae16440eab911c40c53 | JavaScript | 2,326 | 5 | var searchData=
[
['view',['view',['../a00074.html#ae0fac6ef8ea038fb77b196f33c3a92a3',1,'gli::view(image const &Image)'],['../a00074.html#afdb51bdf4fcdf9a62f4aa224f0c7dcfb',1,'gli::view(texture const &Texture)'],['../a00074.html#af0f21026a76c1b4c0c7473f30a511d12',1,'gli::view(texture const &Texture, textu... |
ca9735f511e8388bae5e5f0624c792b621a11996d09262172869a599c270b884 | JavaScript | 2,341 | 56 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
import { fullMatch } from '../../support/utils';
context('Canvas 3D functionality. Cancel drawing.... |
5c3b78a45f9c6919c38977366bac9fda56192878397a0ef40a81e31f9e04d0b5 | JavaScript | 2,345 | 71 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Task status updated after initial save.', () => {
const labelName = 'car';
const taskName = 'Test task status updated after initial save';
const rectan... |
6bc5f2814643d5981f3b8eafba7e2aa903691be4afd423087fae01efc0ebb220 | JavaScript | 2,361 | 65 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('An error occurs in AAM when switching to 2 frames, if the frames have objects created in shape mode', () => {
const issueId = '1750... |
a89ef481dbaa3c6e612a2472e878a77cc09e2bd62f023d552e41534407acf167 | JavaScript | 2,364 | 20 | var searchData=
[
['opengl_20mathematics',['OpenGL Mathematics',['../index.html',1,'']]],
['one',['one',['../a00162.html#ga39c2fb227631ca25894326529bdd1ee5',1,'glm']]],
['one_5fover_5fpi',['one_over_pi',['../a00162.html#ga555150da2b06d23c8738981d5013e0eb',1,'glm']]],
['one_5fover_5froot_5ftwo',['one_over_root_t... |
7d8c569f72ce69b0cbae60a34672416ddc41aabd58df8b889728750f1f69d2bc | JavaScript | 2,380 | 8 | /*
HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache... |
fe2e0ee9cd6df8e6278e8dedfa71d833742c23a3c8e793bf50f3f0c72617f648 | JavaScript | 2,389 | 71 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Upload annotations in different file formats', () => {
const issueId = '5274';
const createRectangleTrack2Points = {
points: '2... |
d378bc89bdf797f6ede98f93409aa750cedbaff0477ee8f3688b7aec06d0eac1 | JavaScript | 2,402 | 75 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
context('Canvas 3D functionality. Export as a dataset.', () => {
const caseId = '93';
cons... |
edc4eef4796e6cc50f3c1fd06c292ed9ce0abbe2b449f34a867da34e62a2212d | JavaScript | 2,404 | 52 | /*
* Copyright 2018 Google LLC
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... |
2d2ec9a64f41688ac5bed904a06938e8c4a9f07647d45bc189c987cdeb3aa30e | JavaScript | 2,410 | 64 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context("Object can't be draggable/resizable in AAM", () => {
const issueId = '2486';
const createR... |
93f0e8112086b436fb16407e6f3f7ae3fdf95c5ae14e29ffffba1dd974dcac89 | JavaScript | 2,413 | 64 | "use client";
import React, { useEffect, useRef, useState } from 'react'
import { useSession } from 'next-auth/react';
import { map } from 'lodash';
import NiceBox from "@/components/NiceBox"
import { NEXT_URL } from '@/config';
import PoolComponent from '@/components/PoolComponent'
export default function Home() {
... |
0dd973de54165b211385b18c37eb82eaaeaf4147035fa182b36cf23a2b09cdae | JavaScript | 2,419 | 68 | // Copyright (C) 2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Paste labels from one task to another.', { browser: '!firefox' }, () => {
const task = {
name: 'Test "Continue/open frame N"',
label: 'Test label',
attrName: 'Test attribut... |
e71299031acb610ade54cd0e94ad5c302580aaa2fdbb198f87f961c15141c195 | JavaScript | 2,440 | 65 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, advancedConfigurationParams, labelName } from '../../support/const';
context("Point coordinates are not duplicated while polygon's interpolation.", () => {
const issueId = '1886';
... |
ed89943369fcf19858a3c6659a2d0775b4e18fc52919fcfb48577e02112502d4 | JavaScript | 2,442 | 46 | // DOM shim for the viewer page's overview renderer
const calls = {circles: 0, texts: 0, lines: 0, figures: 0};
class El {
constructor(tag){ this.tagName=(tag||'').toUpperCase(); this.children=[]; this.attrs={}; this.dataset={}; this.style={};
this._html=''; this._text=''; this.classList={ _s:new Set(),
tog... |
6a886f041d45e588b195691c447a2b3ae942ca66305b63271db7b776b25c0545 | JavaScript | 2,461 | 25 | var searchData=
[
['image',['image',['../a00003.html#ab4f40c94d3427e415d291c68d3e67cfa',1,'gli::image::image()'],['../a00003.html#a828b5030180522b6c967674f12085a91',1,'gli::image::image(format_type Format, extent_type const &Extent)'],['../a00003.html#ab88ab938ed93fbb2e1cb9047aef29efa',1,'gli::image::image(image ... |
46ae0e1f9aa2f8872a6fa5edeee9d139e84ef4a29c80b3dbd968df602e0a8e7e | JavaScript | 2,480 | 78 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Call HOC component each render.', () => {
const issueId = '2753';
const numberOfPointsPolygon = 4;
const numberOfPointsPoly... |
d3cbda7b57855ca916f623185c179a6a955915bd68b63c68dc3d4c4a7a6a4910 | JavaScript | 2,492 | 73 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Collapse sidebar/appearance. Check issue 3250 (empty sidebar after resizing window).', () => {
... |
4c2774d23a6143dcf92bab91737e59ad9166b8e3916470a48a3a2ca43ed27221 | JavaScript | 2,502 | 70 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context("The points of the previous polygon mustn't appear while polygon's interpolation.", () => {
con... |
773915555f934d5da17decf6e72d64e4388c4cad236febe4bcef9669859f7ed3 | JavaScript | 2,504 | 74 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { audioFile } from '../../support/const_audio';
import { defaultTaskSpec } from '../../support/default-specs';
context('Task creation actions respect a project dimension.', () => {
const projectName =... |
910827601d52570af829cb9bdadb7f429a97cd44d7bcb7cba1709d94466967b5 | JavaScript | 2,506 | 60 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
import { generateString } from '../../support/utils';
context('Settings. Default number of points in polygon approxima... |
5f1c00d8e1f634a034016fc57d50564808bd4b360bfc219bac84def45346133f | JavaScript | 2,514 | 63 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
context('Canvas 3D functionality. Save a job. Remove annotations.', () => {
const caseId = '88... |
045b96e2370fe087387e780d7c22548b755f2800a5ab325f9aa1318f233e9611 | JavaScript | 2,525 | 80 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Always show object details feature', () => {
const caseId = '36';
const rectangleShape2Poi... |
f2d949b9ffc8ea0c172a169b271b4b54e5694d39643ef327989a7e07f7b47ffe | JavaScript | 2,530 | 56 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Drag canvas.', () => {
const caseId = '74';
let topBefore;
let leftBefore;
before(() => {
... |
1869086e7786cfa6aeaa5e11b429375db401b1d5403a7dbf97c30067443be747 | JavaScript | 2,540 | 70 | /*
* sidebar.js
* ~~~~~~~~~~
*
* This script makes the Sphinx sidebar collapsible.
*
* .sphinxsidebar contains .sphinxsidebarwrapper. This script adds
* in .sphixsidebar, after .sphinxsidebarwrapper, the #sidebarbutton
* used to collapse and expand the sidebar.
*
* When the sidebar is collapsed the .sphinxsi... |
1cfed5adf2afb64332c2a7eb636626b51ee7dad00c63d0264e6abb88fd93f3b1 | JavaScript | 2,555 | 119 | /*
Prologue by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
skel.breakpoints({
wide: '(min-width: 961px) and (max-width: 1880px)',
normal: '(min-width: 961px) and (max-width: 1620px)',
narrow: '(min-width: 961... |
5af7da215e16b480bd94a7428f3a7dd68d61cb586d8704da7be8280ddecdeeb7 | JavaScript | 2,568 | 27 | var searchData=
[
['image',['image',['../a00003.html',1,'gli']]],
['image',['image',['../a00003.html#ab4f40c94d3427e415d291c68d3e67cfa',1,'gli::image::image()'],['../a00003.html#a828b5030180522b6c967674f12085a91',1,'gli::image::image(format_type Format, extent_type const &Extent)'],['../a00003.html#ab88ab938ed9... |
3003c0c1ce3e56ef068ff9786b703b8840a535de878379d8f7383c205bc83237 | JavaScript | 2,576 | 85 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Dump annotation if cuboid created.', () => {
const issueId = '1568';
const exportFormat = 'Datumaro';
let taskId = null;
let jobId = null;
... |
da3b3700d6f0ef73c7eb759dd8b8774921f96d99b28fe0f98bfa0d8bcb9f1ac9 | JavaScript | 2,611 | 68 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Player navigation.', () => {
const caseId = 'audio_42';
const POSITION_TOLERANCE_PX = 2;
const SHORT_STEP_FRACTION = 0... |
6660ca90a0b34be68edd0503102d013e6d4ea2d4ed8ffdca1ef17e2b69226d90 | JavaScript | 2,618 | 65 | function setColorMode(mode) {
// Switch between light/dark theme. `mode` is a string value of either 'dark' or 'light'.
var hljs_light = document.getElementById('hljs-light'),
hljs_dark = document.getElementById('hljs-dark');
document.documentElement.setAttribute('data-bs-theme', mode);
if (mode... |
31a07efc0c0f98b23cd311e4f001e9098174a966c387d379dd778e790d61c36a | JavaScript | 2,624 | 14 | var searchData=
[
['layers',['layers',['../a00012.html#aac4e6a627c907856620b7eb161c9b85d',1,'gli::texture']]],
['levels',['levels',['../a00012.html#a9b85eb415046f5a31b2d9eff8cefc24c',1,'gli::texture::levels()'],['../a00074.html#a1c292c3cc635f296fb6a37dfba2fae65',1,'gli::levels()']]],
['levels_2ehpp',['levels.hpp'... |
6c06794d3b21743a46e13b307c5944d6b893bd04c9b387047079fdd8fb7cc56a | JavaScript | 2,642 | 89 | var mriCoord = [];
var ctCoord = [];
function FindPosition(oElement) {
if (typeof (oElement.offsetParent) != "undefined") {
for (var posX = 0, posY = 0; oElement; oElement = oElement.offsetParent) {
posX += oElement.offsetLeft;
posY += oElement.offsetTop;
}
return [po... |
140ba181a067f5ad9dde7d95fcd0168adf5ede2dcf244f8929710eebff7c12ab | JavaScript | 2,649 | 61 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { audioFile, taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Import transcriptions from a TSV file.', () => {
const caseId = 'audio_29';
const tsvFile = 'a... |
426025394fda26faf7ceca7daa2ce859066842051223585818ff3dc7aef49d7d | JavaScript | 2,655 | 62 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
import { generateString } from '../../support/utils';
context('Canvas grid feature', () => {
const caseId = '23';
... |
fadd661215fac99fbd50bc7967cbfa61eb00509a977786aa8a58b6fd08bb6b4b | JavaScript | 2,656 | 83 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Undo/redo feature', () => {
const caseId = '27';
const firstRectangleShape2Points = {
points: '2 Points',
type:... |
49e607a18e4ff4822362f5de51ce223ea02caaddc239ad706f421fb4fbc1e0f4 | JavaScript | 2,669 | 73 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Connected file share.', () => {
const caseId = '107';
const taskName = `Case ${caseId}`;
const labelName = taskName;
const imageFiles = {
... |
7fe7f091c6b3304b56fdc1418070cd439d89f6c5e26568b84b8c58db6a830ce8 | JavaScript | 2,669 | 50 | // Minimal DOM/canvas shim: enough to run the viewer's render path and surface
// any exception it throws. Not a rendering check — a "does it execute" check.
const calls = {createElement: 0, ns: 0, images: 0, putImageData: 0, arcs: 0};
class El {
constructor(tag){ this.tagName=(tag||'').toUpperCase(); this.children=[... |
f60f06cf9f42f4476a59611522e8aa368e95ae319c483fd5f97dfe3bbd950133 | JavaScript | 2,673 | 84 | import NextAuth from "next-auth"
import CredentialsProvider from "next-auth/providers/credentials"
import bcrypt from "bcryptjs";
import { BASE_PATH_BACKEND } from "@/utils/constants";
export const authOptions = {
providers: [
CredentialsProvider({
name: 'credentials',
credentials: ... |
fca9ccea618bd164a6ebf9b46092d7d2c3888d6ede744cfb13000df51d5b71e9 | JavaScript | 2,674 | 59 | // Copyright 2014 PSF. Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
// File originates from the cpython source found in Doc/tools/sphinxext/static/copybutton.js
$(document).ready(function() {
/* Add a [>>>] button on the top-right corner of code samples to hide
* the >>> and ... prompts and... |
15effe209a155858024004d4e35d344e2d6e88205c477d6276e8f69782bc18b7 | JavaScript | 2,679 | 66 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
Cypress.Commands.add('closeAnnotationsActionsModal', () => {
cy.get('.cvat-action-runner-cancel-btn').should('have.text', 'Close');
cy.get('.cvat-action-runner-cancel-btn').click();
cy.get('.cvat-acti... |
eb2d1ab8694098393f1ca02c5c663c8da203c87c2fe9dc69a1026fe3f8a8b2dd | JavaScript | 2,691 | 86 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
describe('Delete users, tasks, projects, organizations created during the tests run.', () => {
let authHeaders = null;
before(() => {
cy.task('getAuth... |
1df6f50a1782157e02c93467e50f8b225af67eb669ad89bdc299e286b066e71a | JavaScript | 2,693 | 88 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Reset zoom in tag annotation', () => {
const issueId = '2174';
let scaleFirstFrame = 0;
let scaleSecondFrame = 0;
let scaleDefault... |
c01f729c26ea3d13f352b9b45470d08807115d04ddf47696ae6525da3d3bbfc8 | JavaScript | 2,697 | 99 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Actions on points.', () => {
const caseId = '12';
const newLabelName = `New label for case... |
a011dd5df2264b36d13cc861a0e8805ed407f4dc38f8e79dedbe1b7851e856ca | JavaScript | 2,717 | 78 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
Cypress.automation('remote:debugger:protocol', {
command: 'Browser.grantPermissions',
params: {
... |
180981339c835a0cee9973bee1f212d0f4fd6a98ef432c8d53d08f80b7dc4f97 | JavaScript | 2,744 | 71 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context(
"Hidden objects mustn't consider when we want to group visible objects only and use an grouping area for it.",
() => {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.