sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
171cab1bf9c18c7b7062c45ced57de75bcfa93b840c50175160adba130a33695 | JavaScript | 512 | 16 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const path = require('path');
const extract = require('extract-zip');
async function unpackZipArchive(args) {
const { archivePath, extractPath } = args;
const absolutePath = path.dirname(path.r... |
75423c20113d7d8c1d492cbe014fa62f6ad5e6df9b5dba97fe7746e844209d85 | JavaScript | 529 | 8 | var searchData=
[
['base_5fface',['base_face',['../a00012.html#ae7c1f35cf657c7bbe9eae2b39e44f728',1,'gli::texture']]],
['base_5flayer',['base_layer',['../a00012.html#a1aeb020d8f82035e607b209c3841dee2',1,'gli::texture']]],
['base_5flevel',['base_level',['../a00012.html#a01c07293e367b293736943e92f6a9e98',1,'gli::te... |
a5351c7acd272738889207b963f5b70e51008d6bf1fc55166adfae7b9c9300e8 | JavaScript | 531 | 10 | var searchData=
[
['closest_5fpoint_2ehpp',['closest_point.hpp',['../a00010.html',1,'']]],
['color_5fencoding_2ehpp',['color_encoding.hpp',['../a00011.html',1,'']]],
['color_5fspace_5fycocg_2ehpp',['color_space_YCoCg.hpp',['../a00014.html',1,'']]],
['common_2ehpp',['common.hpp',['../a00015.html',1,'']]],
['co... |
06e391ecd06c09641fc36faec1163431131f09f149d536c0e82fb4bbd5cdf058 | JavaScript | 538 | 11 | var searchData=
[
['sampler',['sampler',['../a00004.html',1,'gli']]],
['sampler1d',['sampler1d',['../a00005.html',1,'gli']]],
['sampler1d_5farray',['sampler1d_array',['../a00006.html',1,'gli']]],
['sampler2d',['sampler2d',['../a00007.html',1,'gli']]],
['sampler2d_5farray',['sampler2d_array',['../a00008.html',... |
7397e5c6d13fbdddb029008dfd6c2530c3df6839b4e3b52c5dc8319867c58ea2 | JavaScript | 538 | 11 | var searchData=
[
['texture',['texture',['../a00012.html',1,'gli']]],
['texture1d',['texture1d',['../a00013.html',1,'gli']]],
['texture1d_5farray',['texture1d_array',['../a00014.html',1,'gli']]],
['texture2d',['texture2d',['../a00015.html',1,'gli']]],
['texture2d_5farray',['texture2d_array',['../a00016.html',... |
d0c510defaaec1169c46445402e74ea368a537be5d8424944ad34c88a865c7e8 | JavaScript | 540 | 11 | var searchData=
[
['vec1_2ehpp',['vec1.hpp',['../a00131.html',1,'']]],
['vec2_2ehpp',['vec2.hpp',['../a00132.html',1,'']]],
['vec3_2ehpp',['vec3.hpp',['../a00133.html',1,'']]],
['vec4_2ehpp',['vec4.hpp',['../a00134.html',1,'']]],
['vec_5fswizzle_2ehpp',['vec_swizzle.hpp',['../a00135.html',1,'']]],
['vector_... |
4f60fc5a346561f41d244d0e99d95baf25b5d4afb982c38cd0425bda10584969 | JavaScript | 549 | 7 | var searchData=
[
['half_5fpi',['half_pi',['../a00162.html#ga0c36b41d462e45641faf7d7938948bac',1,'glm']]],
['hermite',['hermite',['../a00226.html#gaa69e143f6374d32f934a8edeaa50bac9',1,'glm']]],
['highestbitvalue',['highestBitValue',['../a00182.html#ga0dcc8fe7c3d3ad60dea409281efa3d05',1,'glm::highestBitValue(genIU... |
538c645a8d9e2e21028e9757026fa57274aebc00e0ed06c5faf562c6cd5b214b | JavaScript | 555 | 23 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
Cypress.Commands.add('imageGenerator', (directory, fileName, width, height, color, posX, posY, message, count, extension = 'png') => cy.task('imageGenerator', {
directory,
fileName,
width,
height,
color,
posX,
p... |
179597d90126e167df6529e26caa9046afb6afe224bc29d652150b7d0f09bbec | JavaScript | 577 | 18 | import { BASE_PATH_BACKEND } from "@/utils/constants"
import { NextResponse } from "next/server";
export const dynamic = 'force-dynamic'
export const revalidate = 0
export async function GET(request, context) {
const { params } = context
try {
const { user_id } = params;
const response = await... |
50289331fb314e72633ad70c65b6e9ad23adbf58422079b9800443f09594cb17 | JavaScript | 581 | 20 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const { defineConfig } = require('cypress');
const baseConfig = require('./cypress.base.config');
module.exports = defineConfig({
...baseConfig,
e2e: {
...baseConfig.e2e,
specPattern: [
'cypress/e2e/setup/setup... |
2e861a9ac961af48064872afc07a7403047e419f22d39f763d215d45ebeeaa78 | JavaScript | 595 | 6 | var searchData=
[
['faces',['faces',['../a00012.html#a3914cdf138e9267662ac7147fe71d644',1,'gli::texture']]],
['find',['find',['../a00001.html#a106d0ef4c65251c1c522e965af75678d',1,'gli::dx::find(d3dfmt FourCC) const '],['../a00001.html#a4c405f2ac45a1cb46414c45bea0c4943',1,'gli::dx::find(d3dfmt FourCC, dxgiFormat For... |
521987c96ec8568b7c7aaad09dbf8b633e6e2d82e4d97abaf63b1b9c1bf22cf2 | JavaScript | 596 | 21 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const { defineConfig } = require('cypress');
const baseConfig = require('./cypress.base.config');
module.exports = defineConfig({
...baseConfig,
e2e: {
...baseConfig.e2e,
testIsolation: true,
supportFile: 'cypress/... |
6b4d2a6174b0a544680acaa7ada74b681ebc9bbc7635d0a6fa58465a1adca998 | JavaScript | 608 | 19 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Email confirmation page.', () => {
const caseId = 106;
describe(`Testing "Case ${caseId}."`, () => {
it('Check email confirmation page.', () => {
cy.visit('auth/email... |
8731e8711704f60a01bba8612fcd8e2cc2109065e6f5ed3e0ae45d0c86979e13 | JavaScript | 633 | 21 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
describe('Auth page cases', () => {
before(() => {
cy.headlessLogout();
});
it('Admin can login on the server using valid credentials', () => {
... |
455206e98e0124988e0c857a22bf7612eb2c5e2ef8be22b27f14590516a9f9cb | JavaScript | 709 | 27 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { projectDeleteSpec } from '../../support/const_project';
context('Delete a project via actions.', () => {
const projectName = projectDeleteSpec.name;
const issueId = 2625;
before(() ... |
f0c75b542b7b959f77208a8c98079a722112e6e7a256158496d43ce074174689 | JavaScript | 730 | 24 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Minimap section is rendered.', () => {
const caseId = 'audio_18';
before(() => {
cy.prepareUserSession();
... |
57021a93694d3aa604ce3637f05373578ce4ebd8de5b67ea18abb78cfa11c7a4 | JavaScript | 741 | 26 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Canvas bitmap feature', () => {
const caseId = '25';
before(() => {
cy.prepareUserSession();
cy.openTaskJob(taskName);
... |
78ab97b4015d6945ea434318a983516d14fe71a201a14eb326ceb4a41dd829a9 | JavaScript | 747 | 25 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Workspace layout.', () => {
const caseId = 'audio_01';
before(() => {
cy.prepareUserSession();
cy.openAud... |
a270bed4b5ebe023e7f9daa91fee37ef525520146fec2a03ae983dfc55fa5c36 | JavaScript | 756 | 25 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Waveform renders.', () => {
const caseId = 'audio_02';
before(() => {
cy.prepareUserSession();
cy.openAud... |
281f29825d59f2c322a3ebd05510d427e748157e746ffa012b6f3d73342391ae | JavaScript | 762 | 26 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
require('./commands');
require('./commands_projects');
require('./commands_review_pipeline');
require('./commands_canvas3d');
require('./commands_audio');
require('./commands_filters_feature');
require('./commands_models');
require('./commands_ope... |
b2e000f9a2f79e05cd49a88897ca01df43101e8336ba583f7260fefaefb088bb | JavaScript | 764 | 34 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/* eslint-disable
security/detect-non-literal-fs-filename,
no-use-before-define
*/
exports.createZipArchive = createZipArchive;
const archiver = require('archiver');
const fs = require('fs-extra');
function createZipArchive(args... |
e51ab1a852151d84fc42f6c8dbe6ca46889ee375b377343253e0c029e4ae6430 | JavaScript | 765 | 26 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Reset password notification.', () => {
const caseId = '73';
const dummyEmail = 'admin@local.local';
before(() => {
cy.visit('/auth/login');
});
describe(`Testing cas... |
46a245d2c06148da1a703d239aecddcb2306091d48a9ba50ac129e0420016391 | JavaScript | 773 | 14 | var searchData=
[
['target_2ehpp',['target.hpp',['../a00061.html',1,'']]],
['texture_2ehpp',['texture.hpp',['../a00062.html',1,'']]],
['texture1d_2ehpp',['texture1d.hpp',['../a00063.html',1,'']]],
['texture1d_5farray_2ehpp',['texture1d_array.hpp',['../a00064.html',1,'']]],
['texture2d_2ehpp',['texture2d.hpp',... |
7a48c1db3dca61e19547192765f18cbcd2030f2abaec87cca2166124d701e32b | JavaScript | 795 | 26 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Check "Open the task" button.', () => {
const caseId = '45';
before(() => {
cy.prepareUserSession();
cy.openTaskJob(taskN... |
bcc9528544bffa0f32657c4df8fb2542bef4266d179169e9a09177c50e65a16f | JavaScript | 797 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Creating a label with an empty name.', () => {
const caseId = '118';
before(() => {
cy.prepareUserSession();
cy.openTask(taskName... |
e29e012129cf643f22ad66f6612704caf4e6de25825198e337c04ddc67e7152c | JavaScript | 802 | 19 | exports.settings = { bullet: '*', paddedTable: false };
exports.plugins = [
'remark-frontmatter',
'remark-gfm',
'remark-preset-lint-recommended',
'remark-preset-lint-consistent',
['remark-lint-list-item-indent', 'one'],
['remark-lint-no-undefined-references', { allow: ['create:task'] }],
['... |
f50754fe51a94bb32078da1fd7e77c4b773546f14782bc656686b20d90a0e11d | JavaScript | 806 | 17 |
export default function NiceBox({ children, fromColor, toColor, fromPerc, toPerc }){
return(
<div className="w-full h-full relative group/chats py-1 ml-1.5 pr-0.5">
<div className={`w-full absolute float-left -inset-0.5 bg-gradient-to-r ${fromColor} ${toColor} ${fromPerc} ${toPerc} rounded-lg ... |
9d8dc26b0984c4ade91c9a6eb98be713167d7bb6fd6e4f069f7eb2818273b89c | JavaScript | 807 | 28 | function (element) {
var tooltip = $('<div>').addClass('itrex-tooltip').css({
opacity: 0,
position: 'fixed',
left: '50px',
top: '400px',
width: '30%',
'min-width': '250px',
'z-index': 999999,
})
$('#' + element.id + ' .svg-container').append(tooltip)
// https://plotly.com/javascript... |
e856dd9b057d3f502e9f284d52646c6c75002077a8788d9ace02348f3a1e28eb | JavaScript | 807 | 12 | var searchData=
[
['sint',['sint',['../a00199.html#gada7e83fdfe943aba4f1d5bf80cb66f40',1,'glm']]],
['size1',['size1',['../a00227.html#ga47c940f279a6b97ffc301eb4526a445a',1,'glm']]],
['size1_5ft',['size1_t',['../a00227.html#ga77d0b061efa41cb2ed2285d09294314e',1,'glm']]],
['size2',['size2',['../a00227.html#gac0ef... |
8b6571ea2c3631ff50bb4b96e7f9081c6e33ebaadef9cb2ca5955d5e0b625a02 | JavaScript | 831 | 2 | /* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */
(function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=nul... |
e93a325dfd7b5702933c0b2835a0fe96f44aefbe633e9ecadfdca98d6eb9d250 | JavaScript | 844 | 15 | var searchData=
[
['sampler_2ehpp',['sampler.hpp',['../a00047.html',1,'']]],
['sampler1d_2ehpp',['sampler1d.hpp',['../a00048.html',1,'']]],
['sampler1d_5farray_2ehpp',['sampler1d_array.hpp',['../a00049.html',1,'']]],
['sampler2d_2ehpp',['sampler2d.hpp',['../a00050.html',1,'']]],
['sampler2d_5farray_2ehpp',['s... |
e235bd2d3246671ff91a3180a13e5e795a163bd95458f8cb487f877047cada66 | JavaScript | 879 | 16 | var searchData=
[
['color_5fspace_2ehpp',['color_space.hpp',['../a00012.html',1,'']]],
['color_5fspace_2ehpp',['color_space.hpp',['../a00013.html',1,'']]],
['common_2ehpp',['common.hpp',['../a00016.html',1,'']]],
['geometric_2ehpp',['geometric.hpp',['../a00040.html',1,'']]],
['glm_2ehpp',['glm.hpp',['../a0004... |
185e809bbd71c3b071116152135bd11c454657e5b83ed19c7271a650512fc5d9 | JavaScript | 881 | 26 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Volume slider changes volume.', () => {
const caseId = 'audio_04';
before(() => {
cy.prepareUserSession();
... |
0ebc31d5e72dcfd4a0a3d82f66eebd6f7bfec3e6775499fcfbf36eac395d862c | JavaScript | 884 | 24 | const { defineConfig } = require('cypress');
const baseConfig = require('./cypress.base.config');
module.exports = defineConfig({
...baseConfig,
e2e: {
...baseConfig.e2e,
specPattern: [
'cypress/e2e/auth_page.js',
'cypress/e2e/features/*.js',
'cypress/e2e/act... |
835bf6cee98fc18ff5290d68735b227e6400b5d0b73f776ff9d64005fd3946c7 | JavaScript | 884 | 26 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Speed slider changes playback rate.', () => {
const caseId = 'audio_03';
before(() => {
cy.prepareUserSession();
... |
ff6e0348a241a89f1d20c082fba523997907642227f4a18a94b05bed0916d750 | JavaScript | 915 | 34 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
const globalConfig = require('../.eslintrc.cjs');
const globalRulesWithoutTypescript = Object.fromEntries(
Object.entries(globalConfig.rules).filter(([ruleName]) => !ruleName.startsWith('@typescript-eslint')),
);
module.exports = {
... |
79bc9b8ef0f4fd891375b63ab39b7012a3eed71d5f2e6656bdb57686aa6ff620 | JavaScript | 925 | 10 | var searchData=
[
['faces',['faces',['../a00012.html#a3914cdf138e9267662ac7147fe71d644',1,'gli::texture']]],
['file_2ehpp',['file.hpp',['../a00029.html',1,'']]],
['filter',['filter',['../a00074.html#a610876e02cee64e29fe4376ffeb6b9b9',1,'gli']]],
['filter_2ehpp',['filter.hpp',['../a00030.html',1,'']]],
['find'... |
7e58568960f7930e9a4929d39db72fe616235a7f17437f0d3228da6ad031db04 | JavaScript | 945 | 30 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
projectSpec,
projectDeleteLabelSpec,
projectDeleteSpec,
project3d,
} from '../../support/const_project';
it('Prepare for testing projects', () => {
cy.task('log', 'Seeding shared dat... |
a447ab7cc5153996f39cf00bfe0103cfa4a8ac0a0b72bae01cde2f8b5aa168e9 | JavaScript | 945 | 36 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const reporter = require('allure-cypress/reporter');
const { allureCypress } = reporter;
const plugins = require('./cypress/plugins/index');
const baseUrl = process.env.BASE_URL ?? 'http://localhost:8080';
const motoUrl = `http://${baseUrl.inclu... |
7b441a2a2b9e0666f54a4a6d8a98bf3c39ce95693ab30422219b5581e88a4e9a | JavaScript | 958 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Undo restores state after create.', () => {
const caseId = 'audio_20';
before(() => {
cy.prepareU... |
88bbd88601f464d186ecc62815fc080e31aa536c6b9f49897431a7e9b13ff6cc | JavaScript | 960 | 27 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Delete region via Del key.', () => {
const caseId = 'audio_08';
before(() => {
cy.prepareUserSess... |
787772482f94a1785af4bd37aac76c4a38cf7efc7356022f526434276fcb6a94 | JavaScript | 967 | 32 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Draw a point shape, specify one point', () => {
const issueId = '2306';
const createPointsShape = {
type: 'Shape',
... |
98bcc5f19ccfce13a7c5f89e3ab0461ca67d246db1e349480f4aeb0f3911c20b | JavaScript | 969 | 31 | import bcrypt from "bcryptjs";
// import clientPromise from "@/app/lib/mongodb";
import { NextResponse } from "next/server";
import { BASE_PATH_BACKEND } from "@/utils/constants";
export async function POST(request) {
const body = await request.json();
try {
const { username, email, password } = body.... |
a26df45398435ffc71764381d4300adfe51b2bb6f085a3d3c68c03ca57b584ca | JavaScript | 973 | 27 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Zoom out decreases zoom value.', () => {
const caseId = 'audio_17';
before(() => {
cy.prepareUserSession();
... |
021c5643b5ff387aade2177bf780460c8ce1c32936fc487aae51707c6e68450e | JavaScript | 978 | 31 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Extra instances on canvas when grouping.', () => {
const issueId = '2487';
before(() => {
cy... |
980bde2e54ca9c565302ad07036c59038af727f5148a985aa2e5bc90f4f33e11 | JavaScript | 979 | 16 | var searchData=
[
['vector_20relational_20functions',['Vector Relational Functions',['../a00152.html',1,'']]],
['value_5fptr',['value_ptr',['../a00178.html#gaf019636bb8bd7c9efb7c7ce3bb23bcfc',1,'glm']]],
['vec1_2ehpp',['vec1.hpp',['../a00131.html',1,'']]],
['vec2',['vec2',['../a00156.html#ga09d0200e8ff86391d880... |
5d11392364c1dd8099716d1b7b3498aec5ff8eb82de10f6758550df6754b15d5 | JavaScript | 980 | 37 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Crop polygon properly.', () => {
const issueId = '2992';
const createPolygonShape = {
reDraw: false,
type: 'Sh... |
ff13e9159a6e486840218c6791e2bf91148843e3deb0086b00983f66134f354a | JavaScript | 980 | 5 | var searchData=
[
['empty',['empty',['../a00003.html#ac6e61de369e994009e36f344f99c15ad',1,'gli::image::empty()'],['../a00012.html#ac6e61de369e994009e36f344f99c15ad',1,'gli::texture::empty()']]],
['extent',['extent',['../a00003.html#a4c9de4b32898ed383505745972d6c009',1,'gli::image::extent()'],['../a00012.html#aa9122... |
6900fb8a7ab7817c3e4071b7b14c5ce7325f6a8b152fbbc0d46f02162f211b6e | JavaScript | 984 | 27 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Zoom in increases zoom value.', () => {
const caseId = 'audio_16';
before(() => {
cy.prepareUserSession();
... |
a0da8934afe8f703420597f6b4631cfb6907400e2d637ef5131d5304357f23c1 | JavaScript | 986 | 31 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
const issueId = '5381';
const project = {
name: `Issue ${issueId}`,
label: 'Tree',
attrName: 'Kind',
attrValue: 'Oak',
};
context('List of export formats for a project without tasks is not empty'... |
42e5c1d11bf9c17b166840d2abbb6cd61c6a57068ec02f0ab564e6bbca2a2758 | JavaScript | 1,011 | 16 | var searchData=
[
['fast_5fexponential_2ehpp',['fast_exponential.hpp',['../a00027.html',1,'']]],
['fast_5fsquare_5froot_2ehpp',['fast_square_root.hpp',['../a00028.html',1,'']]],
['fast_5ftrigonometry_2ehpp',['fast_trigonometry.hpp',['../a00029.html',1,'']]],
['func_5fcommon_2ehpp',['func_common.hpp',['../a00030... |
67b12c0ed3463622c73210570fe822e61089bcc34221bba18710a2ff1c821f8e | JavaScript | 1,015 | 31 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
require('allure-cypress');
require('./commands');
require('./commands_projects');
require('./commands_review_pipeline');
require('./commands_canvas3d');
require('./commands_audio');
require('./commands_... |
420c36951d1b9c3773a39af5e989f7f94fbb5a2bab0d07d6d0ff29cab14702e6 | JavaScript | 1,020 | 32 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Save annotations persists across reload.', () => {
const caseId = 'audio_19';
before(() => {
cy.p... |
3ce21206891795f5a822d78ccf5eec609b063821f0d2ccbb61c2ceec7aa54f34 | JavaScript | 1,030 | 2 | /* jquery.scrollzer v0.2 | (c) @ajlkn | MIT licensed */
jQuery.scrollzer=function(e,t){var r=jQuery(window),a=jQuery(document);r.load(function(){var i,o,s,l,n,c,u=jQuery.extend({activeClassName:"active",suffix:"-link",pad:50,firstHack:!1,lastHack:!1},t),d=[],f=jQuery();for(i in e)s=jQuery("#"+e[i]),l=jQuery("#"+e[i]+u... |
b9f10c4862918d993eea2e38736b23df7022bce40fc72d884710cb3aef567476 | JavaScript | 1,054 | 28 | // 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. "Smooth image" option.', () => {
const caseId = '110';
before(() => {
cy.prepareUs... |
f9259df01335ae50f4e42b4cd7bbb025483c16c39ed4c4cef000649cd2d7ccd2 | JavaScript | 1,059 | 39 | import { NextResponse } from "next/server";
import { BASE_PATH_BACKEND } from "@/utils/constants";
export const dynamic = 'force-dynamic'
export async function POST(request) {
const body = await request.json();
try {
const { _id, topicNum, evaluation, lastIndex} = body;
console.log(JSON.stri... |
daa19ae6060804ae8315390b9d92cfe295dbe7bd1b93f13dcea02d0e35bf1b6c | JavaScript | 1,064 | 37 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName,
labelName,
attrName,
textDefaultValue,
pcdPngZipArr,
multiAttrParams,
advancedConfigurationParams, // is false
} from '../../support/const_canvas3d';
import { defaul... |
ebe9ea173546a87c7ae1acffcb19749c1025513b41dfd9c81e0f43c9de3d1d35 | JavaScript | 1,083 | 32 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Check maintenance of popups visibility.', () => {
const issueId = '2230';
before(() => {
cy.... |
424ea3f79f5afcaa9a7ab3916158f3f302ae8c01c997ef0f6d4195993e22b8a1 | JavaScript | 1,088 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Delete region via sidebar context menu.', () => {
const caseId = 'audio_09';
before(() => {
cy.pr... |
9d03564b7249d596f31672020f152881a4d29c7046c2cf54aa8786cb53902446 | JavaScript | 1,092 | 37 | // 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 hide functionality (H)', () => {
const issueId = '1433';
const createRectangleShape2... |
57f4890d2c25cb00535437d7b9c018f732c6e5b443e1b240bbc814a3e422f96f | JavaScript | 1,110 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName, secondLabelName } from '../../support/const_audio';
context('Audio annotation. Sidebar item click activates region.', () => {
const caseId = 'audio_14';
before(() => {... |
03b2901f1338c622c55dc64dfde371862222c21ba8535045ed5c178a6bafe350 | JavaScript | 1,113 | 33 | gitbook.require(["gitbook", "jQuery"], function(gitbook, $) {
var copyButton = '<button type="button" class="copy-to-clipboard-button" title="Copy to clipboard" aria-label="Copy to clipboard"><i class="fa fa-copy"></i></button>';
var clipboard;
gitbook.events.bind("page.change", function() {
if (!Clipboard... |
2d05b908cfb3ce664b5017046e54e41548d9086f46ab5a1dcb3bab68bbb71643 | JavaScript | 1,115 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Click region on canvas activates it.', () => {
const caseId = 'audio_13';
before(() => {
cy.prepa... |
6a2dafa9fb44a74a1b9ac36748de22844b5965c8744eeab9e8feacdb151a91dc | JavaScript | 1,120 | 37 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, ClipboardCtx } from '../../support/const';
context('Copy frame filename in job', () => {
const clipboard = new ClipboardCtx('.cvat-player-copy-frame-name-icon');
before(() => {
... |
5422147a0e05a6a80f392a2e8ccf9c7caff1174934f0bb2f84553590824ca22a | JavaScript | 1,129 | 37 | // 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. Redraw.', () => {
const caseId = '84';
const cuboidCreat... |
333a996622e836c8ce04274b503b2d29ca10907c96b2b7123ec7c026e4d60191 | JavaScript | 1,131 | 29 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName, secondLabelName } from '../../support/const_audio';
context('Audio annotation. Overlapping regions are both stored.', () => {
const caseId = 'audio_23';
before(() => {... |
5e192e5e0894132869ede2011b0726e6c32f707c31f5d1cb1a2c630dde584d06 | JavaScript | 1,148 | 33 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Check if the UI not to crash after remove a tag', () => {
const issueId = '1540';
before(() => {
cy.prepareUserSession();
... |
82fade041455ce6ba7d418dc4959c52872ed183fef8d3b20d2fc0ec7497515f1 | JavaScript | 1,154 | 35 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, labelName, attrName,
textDefaultValue,
multiAttrParams, advancedConfigurationParams,
} from '../../support/const';
import { defaultTaskSpec } from '../../support/default-specs';
it... |
d6d6bd5f5259d829db77355ffaaae496f4ccb44dda92e893ad1122f5a4c23463 | JavaScript | 1,155 | 38 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. WaveSurfer container does not overflow on resize.', () => {
const caseId = 'audio_24';
before(() => {
cy.prepareU... |
f1620ac532d529808e5b881fab37d849e890e8520a683cf3ef75a6800c329617 | JavaScript | 1,161 | 28 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. DIMENSION_1D opens Audio workspace by default.', () => {
const caseId = 'audio_22';
before(() => {
cy.prepareUser... |
9cc8e7140218a216682150e1a9eca0f9fc59cbf54e351791340d00f71f8341f1 | JavaScript | 1,165 | 32 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
const { defineConfig } = require('cypress');
const baseConfig = require('./cypress.base.config');
module.exports = defineConfig({
...baseConfig,
numTestsKeptInMemory: 30, // reduce because out of memory issues
e2e: {
...baseCo... |
d70f25a225c0e97697b762f979d72e14a506682af26e9ae4b38694d8f68a7da1 | JavaScript | 1,183 | 34 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, advancedConfigurationParams } from '../../support/const';
context(
'Being able to return to the job list for a task and start a new job without an infinite loading screen.',
()... |
2fe84e346a9079b294bc96a256470feb0d68196a7af2eaf1edbdf89ee71a41ea | JavaScript | 1,202 | 34 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Creating a label with existing label name.', () => {
const caseId = '43';
let firstLabelName = '';
before(() => {
cy.prepareU... |
01220b388ebdfa68a595c8b99485be9b30549a4c2c1009be6b0b320030e41d43 | JavaScript | 1,206 | 32 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Undo restores deleted region.', () => {
const caseId = 'audio_21';
before(() => {
cy.prepareUserS... |
20a0e3a1c1092f7550a7459e926a97a45612a183b0affd1afcf84144413808e0 | JavaScript | 1,207 | 31 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_audio';
context('Audio annotation. Label selector shows color dot in audio popovers.', () => {
const caseId = 'audio_28';
before(() => {
cy.prepareU... |
6be7e94ded7f42ddd4623ddf747fa090a1aca70b8dae12069e7e547ce88fc36e | JavaScript | 1,209 | 9 | var searchData=
[
['next_5ffloat',['next_float',['../a00179.html#gae516ae554faa6117660828240e8bdaf0',1,'glm::next_float(genType const &x)'],['../a00179.html#gad107ec3d9697ef82032a33338a73ebdd',1,'glm::next_float(genType const &x, uint const &Distance)']]],
['nlz',['nlz',['../a00199.html#ga78dff8bdb361bf... |
6bf3eced24a45001f555c9b68c7f5928e17723086c6ba3874a9323896be6ec8b | JavaScript | 1,215 | 33 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Tooltip does not interfere with interaction with elements.', () => {
const issueId = '1825';
before(... |
db74bddfa83b1b10ecf6128b42de3a821abab85d3d4bdbda866f376b875e12e3 | JavaScript | 1,222 | 29 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Region details panel shows active region info.', () => {
const caseId = 'audio_15';
before(() => {
... |
b77c362f3a8a2a1b6801b4871d2f8be8b2fa1f2446a27e808202a88d98a393e0 | JavaScript | 1,226 | 37 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Create an object, save, undo, save, redo, save.', () => {
const caseId = '96';
const createRectangleShape2Points = {
po... |
6b294106bdf96c95a11e9a45cd039b22e3120f3860f8834283df5009875e1a74 | JavaScript | 1,236 | 30 | "use strict";
// Source:
// https://github.com/anymail/django-anymail/blob/4c443f5515d1d5269a95cb54cf75057c56a3b150/docs/_static/version-alert.js
function warnOnLatestVersion() {
// The warning text and link is really specific to RTD hosting,
// so we can just check their global to determine version:
if (!wind... |
64539204adeb1344c31ac6435d26f47bba659ed97886c895e115664c074d3c4a | JavaScript | 1,249 | 36 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Context images for 2D tasks.', () => {
const caseId = '90';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task for ${labelN... |
3f88f97bf9150952a0e8b0d83bc402b38779c939c2d6a046fb4febb45e995acf | JavaScript | 1,269 | 41 | // 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 the UI fails by moving to the next frame while dragging the object', () => {
const pr... |
5d50e6e0908c4a50012e07a676c80412a996172b5aa6085fb167604c04abe8bf | JavaScript | 1,299 | 39 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
context('Canvas 3D functionality. Cuboid context menu.', () => {
const caseId = '79';
const cuboidCreationParams = {
ob... |
d65c1ba2d8194e50dd039203c4c96493f8c0c72b1931557e52bd8df6fe197602 | JavaScript | 1,306 | 42 | // 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('Cancel "multiple paste". UI is not locked.', () => {
const issueId = '1438';
const createR... |
04f77669a54045188e99297856faa4ab42f9ed7cf60ad3f80840d967d0032ec6 | JavaScript | 1,315 | 37 | // 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. Delete a cuboid.', () => {
const caseId = '87';
const cu... |
8c6f7987a68f257397511c2a593eb8fe769fd8ae241385979150b7b62b2f3ff9 | JavaScript | 1,323 | 39 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Check if the image is scaled and then fitted', () => {
const caseId = '6';
let scaleBefore = 0;
let scaleAfter = 0;
before(() => ... |
8463149b9865202fb27ae32dfcef6bd9c836f81dd8601fd57c7a35bceccc3405 | JavaScript | 1,326 | 43 | function nextLevel(nodeList, startIndex, hlevel, prefix, tocString)
{
var hIndex = 1;
var i = startIndex;
while (i < nodeList.length) {
var currentNode = nodeList[i];
if (currentNode.tagName != "H"+hlevel)
break;
if (currentNode.className == "no-toc... |
76c9e5287bb2dea2b2ec57e4c2e02cab49e5dee869d3724e350102034d574f47 | JavaScript | 1,334 | 59 | /**
* jspsych-call-function
* plugin for calling an arbitrary function during a jspsych experiment
* Josh de Leeuw
*
* documentation: docs.jspsych.org
*
**/
jsPsych.plugins['call-function'] = (function() {
var plugin = {};
plugin.info = {
name: 'call-function',
description... |
05890bb62b4945f0ca06235133875eef3b440921dd9216d08e8505df2dca3469 | JavaScript | 1,351 | 41 | // 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('Points track it is still invisible on next frames', () => {
const issueId = '1368';
const ... |
2d86a61e005fa4b9211065cfbbcf2b8ec11a7410ed027c26e062f4f23deb07d9 | JavaScript | 1,470 | 45 | // Description: Open external links in a new tab and PDF links in a new tab
// Source: https://jekyllcodex.org/without-plugin/new-window-fix/
//open external links in a new window
function external_new_window() {
for(let c = document.getElementsByTagName("a"), a = 0;a < c.length;a++) {
let b = c[a];
... |
3a423075f14dfa8e837947be7101bc1806060a82d405d9e769d7670460eedcd7 | JavaScript | 1,478 | 47 | // 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 the new label reflects in the options', () => {
const issueId = '1429';
const new... |
15bd28fc32da8c8951ce81ee254de1c2738f4ac9b949ae2a633024658e9367cc | JavaScript | 1,482 | 39 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
const randomString = (isPassword) => {
let result = '';
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
for (let i = 0; i <= 8; i++) {
result += characters.c... |
05cdddbf9ee170cc4906cf1920b3d4f82baec54cc5023910e033fc8b8224fd1f | JavaScript | 1,504 | 16 | export const contrasts = {day1_vs_control:"Day 1 / common control", day3_vs_control:"Day 3 / common control", day3_vs_day1:"Treated Day 3 / Day 1"};
export const names = {HALLMARK_OXIDATIVE_PHOSPHORYLATION:"Oxidative phosphorylation",HALLMARK_GLYCOLYSIS:"Glycolysis",HALLMARK_REACTIVE_OXYGEN_SPECIES_PATHWAY:"ROS-associa... |
0b13196545d399e0ef8c2b6a28b2dd3500fd71b59827ad13eb2b21e8b4815558 | JavaScript | 1,525 | 52 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Check error cannot read property at saving job', () => {
const prId = '2203';
const createRectangleShape2Points = {
poi... |
ef6d789035a3d28987423d24eab45b8896adf714993992647d7d7faa689a9389 | JavaScript | 1,536 | 14 | var searchData=
[
['next_5ffloat',['next_float',['../a00179.html#gae516ae554faa6117660828240e8bdaf0',1,'glm::next_float(genType const &x)'],['../a00179.html#gad107ec3d9697ef82032a33338a73ebdd',1,'glm::next_float(genType const &x, uint const &Distance)']]],
['nlz',['nlz',['../a00199.html#ga78dff8bdb361bf... |
5c7fbd6b800633a41a3f8b60f151aa0dbb3ba09dcb852fdbeb9b2239b2f42a6c | JavaScript | 1,538 | 45 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Button "Continue" in label editor.', () => {
const caseId = '33';
const additionalLabels = [
... |
6a4175a228a2f2b1be21fe64f389a31f3e4422655f07a2704c262a99cdb75b75 | JavaScript | 1,549 | 48 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
/* eslint-disable cypress/no-unnecessary-waiting */
import { taskName, labelName } from '../../support/const_canvas3d';
context('Canvas 3D functionality. Cuboid prop... |
1d6420f916e1f69f990f2daa5b72d2bb2dc0fb5ce26491c5c0fdc26abf5d54b3 | JavaScript | 1,576 | 42 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, firstLabelName, secondLabelName, attrName,
} from '../../support/const_audio';
context('Audio annotation. Relabeling preserves compatible attributes.', () => {
const caseId = 'audio_33... |
1b807eec330603050398ea8ea7a26e2591e642d86a89ecfc967a7be7df8c126c | JavaScript | 1,588 | 21 | var searchData=
[
['bool1',['bool1',['../a00187.html#gaddcd7aa2e30e61af5b38660613d3979e',1,'glm']]],
['bool1x1',['bool1x1',['../a00187.html#ga7f895c936f0c29c8729afbbf22806090',1,'glm']]],
['bool2',['bool2',['../a00187.html#gafa8d0bc8dfa7eeb928208305714f648d',1,'glm']]],
['bool2x2',['bool2x2',['../a00187.html#ga... |
baa10010fbe4992d1f2d7bc931a43048327fe9ee3a2a397ccdfe07905962e75b | JavaScript | 1,590 | 25 | var searchData=
[
['mat2x2_2ehpp',['mat2x2.hpp',['../a00052.html',1,'']]],
['mat2x3_2ehpp',['mat2x3.hpp',['../a00053.html',1,'']]],
['mat2x4_2ehpp',['mat2x4.hpp',['../a00054.html',1,'']]],
['mat3x2_2ehpp',['mat3x2.hpp',['../a00055.html',1,'']]],
['mat3x3_2ehpp',['mat3x3.hpp',['../a00056.html',1,'']]],
['mat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.