sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
5a1ef09d78df017ffe2fce0878e91602a589bec5d5ab07ae3748f80284ba9bd2 | JavaScript | 2,778 | 80 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { labelName, taskName } from '../../support/const';
context('Navigation to empty frames', () => {
const issueId = '2485';
const createRectangleShape2Po... |
c78380ac34942a1891b3311442b7d76106a056899d3179c9f5bbec2c55d99820 | JavaScript | 2,778 | 65 | // 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('After draw correcting line and press the latest drawn point then it closes editing mode.', () => {... |
c693ec219290857aafae8bf8367dde6deeda173ceb1ac9f0efed6c9cf2c191f0 | JavaScript | 2,788 | 56 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Changing a label name via label constructor.', () => {
const caseId = '42';
const firstLabelName = `First case ${caseId}`;
const secondLabelName =... |
c0886cfe54e06b07c2ee1576ce7e245c60b3d27bd43490f2065464a8b588948f | JavaScript | 2,823 | 92 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Tag annotation mode.', () => {
const caseId = '22';
function checkFrameTagsDontExist() {
cy.get('.cvat-canvas-frame-tags span.cva... |
a6c3b3b5ba943fa007881bc72a51a79718a92076f3ae4260a683fe93cbda5052 | JavaScript | 2,837 | 70 | 'use strict';
module.exports = {
// This is the root configuration and HTML-validate should not search for other configuration files
root: true,
// Specifies the plugins that should be loaded; here the Angular plugin is used, which provides transformers that can be applied to the Angular
// templates... |
dd313b8e959464ce1de9343527764233156897822e65339ce70a9e34ed03fccb | JavaScript | 2,845 | 74 | // 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 { AllureTag } from '../../support/const_allure';
import { taskName, labelName } from '../../support/const';
contex... |
4888e5e5966a25ce598db78da3583c090014be38363f0490cbcbc81d832537b0 | JavaScript | 2,850 | 75 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('Settings. "Show all interpolation tracks" option.', () => {
const caseId = '49';
const createRectangleTrack2Points = {
... |
dbe21e3f150423eccce4bb1b718dae4de8a2600be45d9f598112869dec5d3048 | JavaScript | 2,881 | 7 | var searchData=
[
['clear',['clear',['../a00003.html#ac8bb3912a3ce86b15842e79d0b421204',1,'gli::image::clear()'],['../a00003.html#ad5bb9c1e1b03193fb5c6fabe39301110',1,'gli::image::clear(genType const &Texel)'],['../a00005.html#abad905c32fb058626def900ff40695a3',1,'gli::sampler1d::clear()'],['../a00006.html#abad90... |
19d59696895ddb4923c74ec32b3cc312e95c0412c643c7de3f4b29333455d2c7 | JavaScript | 2,886 | 35 | var searchData=
[
['ddualquat',['ddualquat',['../a00189.html#ga3d71f98d84ba59dfe4e369fde4714cd6',1,'glm']]],
['dmat2',['dmat2',['../a00156.html#gac7f51e23c8802d867f564dfd146bdb44',1,'glm']]],
['dmat2x2',['dmat2x2',['../a00156.html#gacc27b39853a2ecb538c8b3afc20c359e',1,'glm']]],
['dmat2x3',['dmat2x3',['../a00156... |
d1ccb543eb403fc95384a3eabf90cbd28c8cf8f179be429c3b22a5ce5d0e3122 | JavaScript | 2,898 | 77 | // 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('When delete a point, the required point is deleted.', () => {
const issueId = '1391';
cons... |
ad5682e4e1156c62885f704faeb3a31141ccfb83302478b721c1459bfa0c8a2e | JavaScript | 2,908 | 84 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
import { decomposeMatrix } from '../../support/utils';
context('Actions on ellipse.', () => {
const caseId =... |
6b49b2cba0e20591dc237a9a886bce09124f20f4b086dbe02637ad5e220b44f6 | JavaScript | 2,921 | 86 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('When clicking on the Logout button, get the user session closed.', () => {
const issueId = '1810';
le... |
e8de5f1a4cc39b8c786f90bc9f61703be30d3fbc41f53feaf0013b882074ed42 | JavaScript | 2,929 | 81 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName, secondLabelName } from '../../support/const_audio';
context('Audio annotation. Regions list ordering.', () => {
const caseId = 'audio_40';
let firstIntervalId;
let ... |
a3ab8a58300392a041527f77791b4bfe97ec8e202b6b543e58c189b7d4844467 | JavaScript | 2,931 | 72 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { projectDeleteSpec } from '../../support/const_project';
context('Create more than one task per time when create from project.', () => {
const issueId = 2... |
50d5f9293240a0dd8335d7b87e7f1bffb4d6088f5b0aab3e0e143f5382e27fdb | JavaScript | 2,944 | 10 | var searchData=
[
['save',['save',['../a00074.html#abeb29ead6c93382440a84615453578cf',1,'gli::save(texture const &Texture, char const *Path)'],['../a00074.html#a043564ddc8150e7a4ff718634b9c5104',1,'gli::save(texture const &Texture, std::string const &Path)']]],
['save_5fdds',['save_dds',['../a00074.html... |
bc269ce1faaa0fcf9dda20a931dad1f9584659c62e49d33b0b3657d5178abb8d | JavaScript | 2,953 | 80 | // 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. Filters.', () => {
const caseId = '89';
const secondLabe... |
9ce83f9d213543a1feba3b737026e7b33915be6d14fb5a21ef7efadae96ffa86 | JavaScript | 2,993 | 73 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
context('UI and job metadata work correctly when deleting frames', () => {
const chunkReloadPeriod = 100; // 100 ms
let defaultJobMetadataReloadPeriod;
... |
d48029355c048b6141b6fababd7d2cd0b3f311b73b6856b27a9d70f56f2effdd | JavaScript | 3,036 | 73 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import * as allure from 'allure-js-commons';
import { AllureTag } from '../../support/const_allure';
context('Try to create a task without necessary arguments.', () =... |
057ff8979774ae3227c361799ccbdf0cb2990f6ea357357d1d5ee257263bc7a5 | JavaScript | 3,041 | 99 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
function switchChapter(chapterNumber) {
cy.contains('.cvat-player-chapter-menu-list-item', `Kapitel ${chapterNumber}`)
.should('exist')
.and('be.visible')
.click();
}
function checkChapterNavigationButtons(direction, e... |
ea85689fa97ac264bdcf724681dcea85216622d9b45f5da48ab5790059d8016d | JavaScript | 3,045 | 94 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
/*
Temporarily disabling the test for the following reason
crashes in the Chrome browser running Cypress
Error: . "{\"detail\":\"Authentication credentials were not pr... |
3a54c06f8dfaf83d0619dc39d832bba515d5dceb70f72b6def57e59f10c15886 | JavaScript | 3,051 | 1 | $wnd.jsme.runAsyncCallback2('var r8="OK";function s8(a){a=a.nd.b.c++;return Li+a}y(509,510,d1);_.bg=function(){return s8(this)};_.mg=function(){this.xd=new t8((JJ(),m),this)};_.sg=function(){return(null==this.ud&&(this.ud=s8(this)),this.ud)+Vb+this.xd.kg()+Vb+this.xd.lg()+Vb+this.Cd+nm+this.rd+(this.Bd?m:",hidden")+",t... |
3d50bf7b699a663e67acaa9fe755388c62a3f38ab0df94fe298cd4961537e593 | JavaScript | 3,051 | 1 | $wnd.jsme.runAsyncCallback2('var r8="OK";function s8(a){a=a.nd.b.c++;return Li+a}y(509,510,d1);_.bg=function(){return s8(this)};_.mg=function(){this.xd=new t8((KJ(),m),this)};_.sg=function(){return(null==this.ud&&(this.ud=s8(this)),this.ud)+Vb+this.xd.kg()+Vb+this.xd.lg()+Vb+this.Cd+om+this.rd+(this.Bd?m:",hidden")+",t... |
e8e0f4462f43f0bbb3f932b59c9e72c3656fe269c19e95c813347449c28c3726 | JavaScript | 3,062 | 109 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
function defaultTaskSpec({
labelName,
labelType,
attributes,
taskName,
serverFiles,
startFrame,
stopFrame,
frameFilter,
segmentSize,
validationParams,
projectId,
chunkSize,
consensusReplicas,
}) ... |
ab392203ec6eccdd607728216c2f32f6b34096738c64f57792dcfc7ac776c6af | JavaScript | 3,078 | 108 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
const dummyGoogleStorage = {
count: 1,
next: null,
previous: null,
results: [
{
id: 3,
owner: {
url: 'http://localhost:7000/api/users/1',
id: 1,
... |
fdb50a178014bf2adaed5bf9d985df70f723f664aa417a006826aef0cf658698 | JavaScript | 3,080 | 88 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { projectNameDeleteLabel, labelDelete } from '../../support/const_project';
context('Delete a label from a project.', () => {
const caseId = 57;
const projectName = projectNameDeleteLabel;... |
a22f7cdf5046485e2b231857fd14f9767b08852c0f866c0f49aaf1e295e09d7a | JavaScript | 3,100 | 82 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) 2023 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import {
taskName, textDefaultValue, attrName, labelName,
} from '../../support/const';
context('Check label attribute changes', () => {
const issueId = '1... |
dc434c7bfc70e19c746cd47a57b057e2ac0ce985dcb46be83c3362c24d6a55bb | JavaScript | 3,114 | 74 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Create region via toolbar button.', () => {
const caseId = 'audio_05';
const REGION_POSITION_TOLERANCE_PX ... |
9d5b801e801b7b8267315d3ff8b6f95f69ccb36846a83dcfe0b71abbed022d0b | JavaScript | 3,121 | 11 | var searchData=
[
['clear',['clear',['../a00003.html#ac8bb3912a3ce86b15842e79d0b421204',1,'gli::image::clear()'],['../a00003.html#ad5bb9c1e1b03193fb5c6fabe39301110',1,'gli::image::clear(genType const &Texel)'],['../a00005.html#abad905c32fb058626def900ff40695a3',1,'gli::sampler1d::clear()'],['../a00006.html#abad90... |
53cb1b1f222577bd0b3f33c7ede31671d732cf2420a334e15c223c908b7f7cac | JavaScript | 3,129 | 83 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Rename a task.', () => {
const caseId = '39';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task for ${labelName}`;
con... |
9d67e7167095f6ae998414f6e4c25c102ab1bf2c47472d3068bd1d35aafc23b6 | JavaScript | 3,139 | 85 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Check if parameters "startFrame", "stopFrame", "frameStep" works as expected', () => {
const caseId = '3';
const labelName = `Case ${caseId}`;
const taskName = `New annotation task fo... |
9743d86466d68e2fad3a693ed5c1f9c3f774c8d8dc0dda706125b0c11d6f8e50 | JavaScript | 3,149 | 5 | var searchData=
[
['data',['data',['../a00003.html#a3f2c67dc864c6b6e705710853b5568ef',1,'gli::image::data()'],['../a00003.html#aec236abf7eac8ff4eec54eda033b9288',1,'gli::image::data() const '],['../a00003.html#a310f3ca6b342ecbcb22d0acc4eb3ae57',1,'gli::image::data()'],['../a00003.html#a22b0feffbc4e89ad8fae247eb142485... |
6300f8261a212621291def77dd6c88fbd4bdb9987587f70e902fd5b404297849 | JavaScript | 3,196 | 81 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
Cypress.Commands.add('createWebhook', (webhookData) => {
cy.get('.cvat-create-webhook').click();
cy.get('.cvat-setup-webhook-content').should('exist');
cy.setUpWebhook(webhookData);
cy.get('.cvat-notification-create-webhook-success... |
0bba233f3cd3c1bfac6e20599e4326aaf9883a3ba84585cbc027e96f9252c9e0 | JavaScript | 3,201 | 86 | gitbook.require(["jQuery"], function(jQuery) {
/*
* jQuery Highlight plugin
*
* Based on highlight v3 by Johann Burkard
* http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
*
* Code a little bit refactored and cleaned (in my humble opinion).
* Most impor... |
a0260cf99dfec581393fe7020773535a19a632dc283d0eccca1b522e46f20df9 | JavaScript | 3,220 | 81 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Move interval.', () => {
const caseId = 'audio_10';
const POSITION_TOLERANCE_PX = 4;
const getRegionB... |
5c2bc97d4115b09ac7240dcc80fe69c09b87c83e307d381e94dec8873f7709dd | JavaScript | 3,226 | 86 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
import { imageRotate } from '../../support/utils.cy';
context('Check if the image is rotated', () => {
const caseId = '5';
function scaleFitImage(... |
bde9f27e405552c440da3ba52cb396141ead2dfff3bf40c79be6569b495276ec | JavaScript | 3,258 | 83 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, imageFileName } from '../../support/const';
context('Settings. "Player speed" option.', () => {
const caseId = '50';
let timeBeforePlay = ... |
025b4286faedc5a01199a4579ef301849da20e2cd456a46176f1cf976252fa56 | JavaScript | 3,296 | 90 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Count total annotation, issues and labels', () => {
const taskName = 'Count objects';
let taskId = null;
let jobId = null;
const createRectangleShape2Points = {
points: '2 Point... |
c25c92ae81df4689ce9fa35364f408e635be7ad6e49ad87bc82ce8a9df56cc02 | JavaScript | 3,308 | 91 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Correct behaviour of fit when navigating between frames with different resolution', { scrollBehavior: false }, () => {
const taskName = 'Fit different resolutions';
const serverFiles = ['test_dif... |
9fd3353a10f8761459e1adbc46c4615fad268df37907e8ab912bbad5e03a097e | JavaScript | 3,309 | 8 | var searchData=
[
['data',['data',['../a00003.html#a3f2c67dc864c6b6e705710853b5568ef',1,'gli::image::data()'],['../a00003.html#aec236abf7eac8ff4eec54eda033b9288',1,'gli::image::data() const '],['../a00003.html#a310f3ca6b342ecbcb22d0acc4eb3ae57',1,'gli::image::data()'],['../a00003.html#a22b0feffbc4e89ad8fae247eb142485... |
e1e84b0e1898eef3bf6a21d1d39e91a15e7d8a66c08beefc698dac38ed4cdd50 | JavaScript | 3,310 | 28 | var searchData=
[
['e',['e',['../a00162.html#ga4b7956eb6e2fbedfc7cf2e46e85c5139',1,'glm']]],
['epsilon',['epsilon',['../a00162.html#ga2a1e57fc5592b69cfae84174cbfc9429',1,'glm']]],
['epsilonequal',['epsilonEqual',['../a00163.html#gaca9443f217dc36587624247245522331',1,'glm::epsilonEqual(vecType< T, P > const ... |
72d6da4099837e498c706b120b079dab1e17075d0632a3251fa4417024599147 | JavaScript | 3,335 | 65 | 'use client'
import Image from "next/image"
import { signOut } from "next-auth/react"
import { useSession } from "next-auth/react"
import Link from 'next/link'
import { NEXT_URL } from "@/config"
import { useRouter } from 'next/navigation'
export default function NavBar(){
const { data: session, status } = useSes... |
a8a04907f6ecec4363cf026d8246d3c87517005c327db9ff457bc61c368ebb67 | JavaScript | 3,385 | 83 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
// The test is disabled for Firefox because the "Cypress Real Events" plugin work only in the chromium-based browser.
context('Creating a project by inserting labels from a... |
c7a193bfb1232322aa16dd522d31230ee2ddc16192cbb26f874ab08fdf244a13 | JavaScript | 3,389 | 84 | // 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('Settings "Intelligent polygon cropping".', () => {
const caseId = '67';
const createPolygo... |
2519631472477553328087e769e763b29d5a54ea41e056771e7f062cb347f2f0 | JavaScript | 3,392 | 106 | /* jspsych-fullscreen.js
* Josh de Leeuw
*
* toggle fullscreen mode in the browser
*
*/
jsPsych.plugins.fullscreen = (function() {
var plugin = {};
plugin.info = {
name: 'fullscreen',
description: '',
parameters: {
fullscreen_mode: {
type: jsPsych.plugins.parameterType.BOOL,
... |
7501759391ba1662c47e933ac60d8a440f48e4f1758d768efe69eff07a68fe65 | JavaScript | 3,405 | 139 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { inspect } from 'util';
export function generateString(countPointsToMove, arrow) {
let action = '';
for (let i = 0; i < countPointsToMove; i++) {
action += `{${arrow}}`;
}
... |
6b68c5995b9ec8cb8ebd47969ddce922d2b19cdbff14edff5ddfa9221a488e59 | JavaScript | 3,422 | 104 | function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
var summary = $('#'+base+'-summary');
var content = $('#'+base+'-content');
var trigger = $('#'+base+'-trigger');
var src=$(trigger).attr('src');
if (content.is(':visible')===true) {
content.hide();
summary.show();
$(linkObj).addClass... |
085d6998681cb9b31a6512a4f806d7f7adaa376aacd355490674a7469f92a3d8 | JavaScript | 3,480 | 85 | document.addEventListener('DOMContentLoaded', function() {
fetch('report-summary.json')
.then(response => response.json())
.then(data => {
function createPlot(container, parameter) {
var reference_values = data.map(d => d[parameter]);
var fit_values = data... |
dfccff2caf1d148ca0c5568ca563825bcfee8914a1c8d273645f7a918550812c | JavaScript | 3,498 | 104 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
context('Webhooks pipeline.', () => {
const organizationParams = {
shortName: 'WebhooksOrg',
fullName: 'Organization full name. Only for test.',
description: 'This organization was created to test the functionality.',
... |
db0d34331a62de7d4b630462b38606580d164c170717ce769c703f7be24d59cd | JavaScript | 3,501 | 97 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
context('When delete a point, the required point is deleted.', () => {
const issueId = '3821';
const po... |
88a77fd0bab959de8488022aa1e33d5ff51f14a437f1c66712772fcde47171b7 | JavaScript | 3,534 | 100 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Zooming onto an annotation must not scale issue text size', () => {
const issueId = '10297';
const labelName = `Issue ${issueId}`;
const issueDescription = `Issue for bug ${issueId}`;
con... |
d906c40d522759610a76c3956b1b113f2d4dfba869dacd13ba98a3c0733fe195 | JavaScript | 3,558 | 93 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Some parts of the Redux state (issues) is not reset after changing a task.', () => {
const issueId = '2524_2633';
const labelName = `Issue ${issueId}`;
const taskName = {
firs... |
a0ddd9c3ad76ab291d8007bfbd4cff9de8e8d6c7241416a8622d352758cb4cc5 | JavaScript | 3,570 | 73 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Add/delete labels and attributes.', () => {
const caseId = '41';
const labelName = `Case ${caseId}`;
const attrName = `Attr for ${labelName}`;
const textDefaultValue = 'Some defau... |
3d683ceb7181fd092cc77cc2aadc357c7b90c9fa8aeace0228f9f91dbfd6d4e0 | JavaScript | 3,576 | 83 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/* eslint-disable cypress/no-unnecessary-waiting */
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
context('3D cuboids interpolation pipeline', () => {
const cuboidCreationParams = {
... |
371000104543b500461917009d078f3f827272f8cc614f93689c14ea61ab5d0f | JavaScript | 3,629 | 89 | // 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. Make a copy.', () => {
const caseId = '80';
const second... |
d249960a9e147bae84aa443703ba493ba5f183c3387cf8e8d8510ae6571bf8c0 | JavaScript | 3,632 | 13 | var searchData=
[
['ballrand',['ballRand',['../a00173.html#ga5506dee301160e3a06aef9b9bc7a0a83',1,'glm']]],
['bitcount',['bitCount',['../a00148.html#ga44abfe3379e11cbd29425a843420d0d6',1,'glm::bitCount(genType v)'],['../a00148.html#ga1f29640969a3c54564da06ac67a5392e',1,'glm::bitCount(vecType< T, P > const &... |
852c24279d1e2ba44432267b6da80b5fb792a69485a59f4d4c53b9ec980e5d37 | JavaScript | 3,645 | 50 | import test from 'node:test';
import assert from 'node:assert/strict';
import {readFileSync} from 'node:fs';
import {createHash} from 'node:crypto';
import {fmt,sci,color,csvText} from '../src/components/format.js';
const load=n=>JSON.parse(readFileSync(new URL('../src/data/'+n,import.meta.url)));
const atlas=load('atl... |
2f16471447344c53c1e0cdcd99287af8e04cea419de590b80196cce6c58d225a | JavaScript | 3,748 | 95 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const_canvas3d';
import { fullMatch } from '../../support/utils';
context('Canvas 3D functionality. Control button. Mouse inte... |
cb79a25b0d62052cc6db5c1340819e2c1d1ee51cf3ed48344d5b060431e7ab72 | JavaScript | 3,751 | 113 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Regression tests', () => {
let taskId = null;
let jobId = null;
const taskPayload = {
name: 'Regression tests',
labels: [{
name: 'car',
attributes: []... |
a9b5ff013c64dcbea535b0d7587fca255f3e0c5b57eff9254f0cd33a55c5ff1d | JavaScript | 3,760 | 104 | // 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('Saving setting to local storage.', () => {
const ca... |
e3c735748e49314f8b82065a364d51751a56e1e91d13b75d6775bf6f2272a9fc | JavaScript | 3,766 | 81 | // 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 toolbar button.', () => {
const caseId = 'audio_25';
const REGION_POSITION_TOLERANCE_PX ... |
d0cf867c92b4ebeee4097a096d4fa70da0606cdc73dff921a6d49f02c981353a | JavaScript | 3,772 | 107 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('GitHub star prompt', () => {
const username = `github-star-prompt-${Date.now()}`;
const password = 'GitHubStarPrompt1!';
const user = {
username,
password,
firstName: ... |
3c21008eef8356b78134dcd7c87adec37b442e5511822f5ffabe91faf9fb2d3a | JavaScript | 3,789 | 35 | var searchData=
[
['exponential_20functions',['Exponential functions',['../a00146.html',1,'']]],
['e',['e',['../a00162.html#ga4b7956eb6e2fbedfc7cf2e46e85c5139',1,'glm']]],
['epsilon',['epsilon',['../a00162.html#ga2a1e57fc5592b69cfae84174cbfc9429',1,'glm']]],
['epsilon_2ehpp',['epsilon.hpp',['../a00021.html',1,'... |
d6d06da4ade6d57d649f358dff5f4ca5d5b05e35644590b0313c786fdfcef1e7 | JavaScript | 3,796 | 99 | // Copyright (C) CVAT.ai Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Creating a task with only bounding boxes', () => {
const taskName = 'A task with bounding boxes';
const imagesFolder = `cypress/fixtures/${taskName}`;
con... |
cbfba13743c4cf46a9c4f6fcfad2de62d1c5a076785e32dedddceb2fb577c913 | JavaScript | 3,803 | 94 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { clickCanvasImagePoint } from './utils.cy';
let selectedValueGlobal = '';
Cypress.Commands.add('interactOpenCVControlButton', () => {
cy.get('.cvat-opencv-con... |
c5403b1d96e2103e5a63e2f3fcfff0f12758fccb4246470f7d60f6424bd21c34 | JavaScript | 3,817 | 70 | // 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. "Move the image" button interaction.', () => {
const caseId ... |
5644eb48aee347dd19132d0da0ff00c1387b2b7bf74ba0db091f09b1981cb514 | JavaScript | 3,819 | 85 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName, secondLabelName } from '../../support/const_audio';
context('Audio annotation. Interval navigation and overlap selection.', () => {
const caseId = 'audio_32';
beforeEa... |
f4f560c868d2cd0f5557cfbcf660182681d45723320f2d8b17a4e008f9e1ecbe | JavaScript | 3,826 | 99 | // https://github.com/ghiculescu/jekyll-table-of-contents
(function($){
$.fn.toc = function(options) {
var defaults = {
noBackToTopLinks: false,
title: '<i>Jump to...</i>',
minimumHeaders: 3,
headers: 'h1, h2, h3, h4, h5, h6',
listType: 'ol', // values: [ol|ul]
showEffect: 'sho... |
9fa29db24b3f14d7ae7ed9158510979b77a50a0f260c2e49b3cae0bc69e21eaf | JavaScript | 3,838 | 87 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName } from '../../support/const';
import { fullMatch } from '../../support/utils';
context('Changing a default value for an attribute.', () => {
con... |
c4baf3a76739ab0b5a0edc53fa4bf65945a15808919494d9092354d9c939caa2 | JavaScript | 3,969 | 116 | // Copyright (C) 2020-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const';
import { fullMatch } from '../../support/utils';
context('Delete unlock/lock object', () => {
const cas... |
8143ec26bfd957131cb5fd2051fe7f518bb9d5421cf4685212e353d5eaa8a0bc | JavaScript | 3,971 | 95 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Overlap size.', () => {
const caseId = '75';
const labelName = `Case ${caseId}`;
const taskName = labelName;
const attrName = `Attr for ${labelName}`;
const textDefaultValue =... |
3d384553f21d6940a33c1087352b8b1f07366d87d59b63cac0406dfc5414497b | JavaScript | 4,005 | 86 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Create a task with set an issue tracker.', () => {
const caseId = '61';
const labelName = `Case ${caseId}`;
const taskName = labelName;
const ... |
f4465f4721ca22149609a34f55d4bde828a68d5d876c613bb91485dc0bc1c042 | JavaScript | 4,009 | 40 | var searchData=
[
['uaddcarry',['uaddCarry',['../a00148.html#ga2fc1a46e7b7e9fbbd8fa444fbacaa2aa',1,'glm']]],
['uintbitstofloat',['uintBitsToFloat',['../a00145.html#gab2bae0d15dcdca6093f88f76b3975d97',1,'glm::uintBitsToFloat(uint const &v)'],['../a00145.html#ga3acab37650ecd792dc84548094b58684',1,'glm::uintBitsTo... |
6e957c51b73f57ba34c74ab7c1076d2b61319339cabd0dc8554907c1f55122f1 | JavaScript | 4,027 | 116 | gitbook.require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
var SITES = {
'github': {
'label': 'Github',
'icon': 'fa fa-github',
'onClick': function(e) {
e.preventDefault();
var repo = $('meta[name="github-repo"]').attr('cont... |
054a0b84faf07057274061ee8c6c97182f411abd23d8826038317af5ca641e82 | JavaScript | 4,046 | 46 | var searchData=
[
['template_20types',['Template types',['../a00158.html',1,'']]],
['types',['Types',['../a00156.html',1,'']]],
['tan',['tan',['../a00151.html#gab3ae890c38b7d3aa4d5e00998fd296b2',1,'glm']]],
['tanh',['tanh',['../a00151.html#ga234e904a0075f88654a594b5f837711f',1,'glm']]],
['third',['third',['..... |
b2c4c67cdd2f52472ab6b578e6342aeb7a97a6cb111738ef2705eda6f9b465ec | JavaScript | 4,056 | 152 | gitbook.require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
var fontState;
var THEMES = {
"white": 0,
"sepia": 1,
"night": 2
};
var FAMILY = {
"serif": 0,
"sans": 1
};
// Save current font settings
function saveFontSettings() {
... |
952a9461809b2f93f8337eeb1f33a8b66b2d80d2d3d650c2a30590bad43f3387 | JavaScript | 4,060 | 70 | import test from 'node:test';
import assert from 'node:assert/strict';
import {readFileSync} from 'node:fs';
import config from '../observablehq.config.js';
const script = config.head.match(/<script type="application\/ld\+json">(.+)<\/script>/s);
assert.ok(script, 'JSON-LD block is missing');
const metadata = JSON.par... |
91e08ef0ee606fdb6dc90703643288b28bf22313830296c7e85ade476ae6352e | JavaScript | 4,090 | 4 | var searchData=
[
['generate_5fmipmaps',['generate_mipmaps',['../a00005.html#a6b4699a70473cc6e74524f7cf9919c83',1,'gli::sampler1d::generate_mipmaps(filter Minification)'],['../a00005.html#ad39ef81781788d02bfa8b73692402ecf',1,'gli::sampler1d::generate_mipmaps(size_type BaseLevel, size_type MaxLevel, filter Minificatio... |
d3bfcc625f2fd2e8460c0d08db7383f9b33fac01f50b53ab6cb8558d923e1ed0 | JavaScript | 4,103 | 115 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import * as allure from 'allure-js-commons';
import { AllureTag } from '../../support/const_allure';
context('Test default value for an attribute', () => {
allure.tags(AllureTag.HEAVY, AllureTag.SETTINGS);
... |
d3920d97a52e39db01b82f47aeaf410fa9ce4cb76d21371f9b018d6e2e5f16bb | JavaScript | 4,138 | 27 | var searchData=
[
['saturate',['saturate',['../a00187.html#ga0fd09e616d122bc2ed9726682ffd44b7',1,'glm::saturate(T x)'],['../a00187.html#ga5815a26488231dfdf92242cf0c2d2107',1,'glm::saturate(const tvec2< T, P > &x)'],['../a00187.html#ga02ed1a53c6df104d56b69f8fb5e9af1b',1,'glm::saturate(const tvec3< T, P &g... |
5bd260f4f25eb14e38666583692b4f94b95122720120ee6af1a8d412ace47619 | JavaScript | 4,154 | 101 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
// /// <reference types="cypress" />
import { taskName } from '../../support/const';
context('Mutable attribute.', () => {
const labelName = 'car';
const additionalAttrsLabelShape = [
... |
d8c24bbd05f9ca35aba0535241cc012055b6b56ef39c328bb7fedb6661299e85 | JavaScript | 4,156 | 51 | import { toast } from "react-toastify";
import NiceBox from "./NiceBox";
import { NEXT_URL } from "@/config";
export default function PopUpQuestion({setPopUp, pool_id, queryNum, nextQueryNum, setQueryNum, user_rels, user_posi}){
const save_changes = async () => {
fetch(`${NEXT_URL}/api/user_pool/update`,... |
0a09bb8c8a42f8a39522b795c96983636cc2d3cfa2cd7447972ea3fcd5d6be97 | JavaScript | 4,157 | 92 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/* eslint-disable cypress/no-unnecessary-waiting */
/// <reference types="cypress" />
import { taskName, labelName } from '../../support/const_canvas3d';
context('Canvas 3D functionality. Opacity. Ou... |
0c63cb1fe00bcf241d31e0f25d3dd87eb1ee2f4a0f7e20cb34dfec7144f25bee | JavaScript | 4,200 | 112 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
// Temporarily disabling the test for Firefox browser
// Cypress issue: https://github.com/cypress-io/cypress/issues/18325
import { defaultTaskSpec } from '../../support/default-specs';
context('Move a ... |
c52f96f087b5dad38a78620dce767fcf4769b2bf78760b4caa58482cff5493ab | JavaScript | 4,214 | 104 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { taskName, firstLabelName } from '../../support/const_audio';
context('Audio annotation. Interval resizing auto-scrolls the waveform.', () => {
const caseId = 'audio_36';
// The auto-scroll areas... |
9cae637832caa6d86d950c143805c97198b092abfc31f1386c57dd164d914442 | JavaScript | 4,219 | 128 | // 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 polylines.', () => {
const caseId = '11';
const newLabelName = `New label for c... |
67ae35941ad329915333c36203d7e11f469a7e2cea0501775125cc6bc16465ba | JavaScript | 4,222 | 47 | var searchData=
[
['u16',['u16',['../a00177.html#gaa2d7acc0adb536fab71fe261232a40ff',1,'glm']]],
['u16vec1',['u16vec1',['../a00177.html#gaefa2ce8fbdbe89baffd262f46f2d5907',1,'glm::u16vec1()'],['../a00214.html#ga52cc069a92e126c3a8dcde93424d2ef0',1,'glm::gtx::u16vec1()']]],
['u16vec2',['u16vec2',['../a00177.html#ga... |
50b4a091cec60282e5d4c92e324bcb583f0d64b2e36a7bb158855aabb88422f0 | JavaScript | 4,228 | 116 | // 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('Drawing with predefined number of points.', () => {
const caseId = '34';
const countPoints... |
e2a54bc21bb4ecc3abeec90e136596ba0f6d2e190bb69c47c46d733764fe13bf | JavaScript | 4,257 | 134 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Filters functionality. Filter by source.', () => {
let taskId = null;
let jobId = null;
let labelId = null;
const taskPayload = {
name: 'Test filters by source',
labels: ... |
0b215f1dca409baa09cbc531faa60022158b04df5c7a3deef910b96874f6b763 | JavaScript | 4,265 | 127 | // Copyright (C) 2021-2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
import { defaultTaskSpec } from '../../support/default-specs';
context('Export project dataset with 3D task.', { browser: '!firefox' }, () => {
const caseId = 104... |
714a2adc227a258b262fe7db48131b1f613d6bf7c5c6b942c0c2b86313575f51 | JavaScript | 4,288 | 105 | // 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('Object propagate.', () => {
const caseId = '53';
const createCuboidShape2Points = {
... |
4ce8732132cc4f3327bacae9eddc58179c4a2082459114e3dc53180c618f4c89 | JavaScript | 4,362 | 9 | var searchData=
[
['generate_5fmipmaps',['generate_mipmaps',['../a00005.html#a6b4699a70473cc6e74524f7cf9919c83',1,'gli::sampler1d::generate_mipmaps(filter Minification)'],['../a00005.html#ad39ef81781788d02bfa8b73692402ecf',1,'gli::sampler1d::generate_mipmaps(size_type BaseLevel, size_type MaxLevel, filter Minificatio... |
9f0ae2ac3c2c401476bd7947470c7aced905b9b85791a6395ecc85d4674a77c8 | JavaScript | 4,369 | 30 | var searchData=
[
['sampler',['sampler',['../a00004.html',1,'gli']]],
['sampler_2ehpp',['sampler.hpp',['../a00047.html',1,'']]],
['sampler1d',['sampler1d',['../a00005.html',1,'gli']]],
['sampler1d_2ehpp',['sampler1d.hpp',['../a00048.html',1,'']]],
['sampler1d_5farray',['sampler1d_array',['../a00006.html',1,'g... |
2e887dc9a70efc8bc29783a50d3809c294ea023f1360ef5035f5aea372614d3f | JavaScript | 4,472 | 156 | /*
* doctools.js
* ~~~~~~~~~~~
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
"use strict";
const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([
"TEXTAREA",
"INPUT",
"SELEC... |
45da1f234d851e592530445c468d5c5bef5f9298850158910477b5c5639f73ce | JavaScript | 4,502 | 120 | // Copyright (C) 2020-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
/* eslint-disable security/detect-non-literal-fs-filename */
const fs = require('fs');
const fg = require('fast-glob');
const { isFileExist } = require('cy-verify-downloads');
const { imageGenerator, buf... |
bd8b74f7ae3e4eacae537521d86988ee57043da8ab7a340a5490ea3b87c5ee5e | JavaScript | 4,512 | 114 | // 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 color settings feature', () => {
const caseI... |
2bd888711d3319636a6181c9b1e07b3783805540797f4410c8a4c6051b366323 | JavaScript | 4,573 | 104 | // Copyright (C) 2022 Intel Corporation
// Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
// The test is disabled for Firefox because the "Cypress Real Events" plugin work only in the chromium-based browser.
context('Paste labels from one task to another.', { br... |
82069c15edd6943dfaa59f5ac3f6acc86fd44a28fe925e410ccdcadec194a8ba | JavaScript | 4,591 | 6 | /*! Respond.js v1.4.2: min/max-width media query polyfill
* Copyright 2014 Scott Jehl
* Licensed under MIT
* http://j.mp/respondjs */
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");retu... |
115fe4f35ec40d164fd5264fbc5b42b82dd4d6f00fe9150144a1212dd618f569 | JavaScript | 4,656 | 141 | // Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
/// <reference types="cypress" />
context('Move a task between projects.', () => {
const caseId = 94;
const firstProject = {
name: `First project case ${caseId}`,
label: 'car',
attrName: 'color',
at... |
de547350865052bfe41da32dad86f29870f4751054572d5b16da34d9cc35d684 | JavaScript | 4,797 | 1 | $wnd.jsme.runAsyncCallback10('var E$="data-selenium-id";function F$(){this.ob=$x((O(),$doc),"file");QF(this.ob,"gwt-FileUpload")}y(417,398,xn,F$);_.df=function(a){YF(this,a)};function G$(a){var b=fy();Ir(Bl,(O(),b).tagName);this.ob=b;this.b=new r3(this.ob);QF(this.ob,"gwt-HTML");q3(this.b,a,!0);z3(this)}y(421,422,xn,G$... |
f813b03550abd059b1d71286415b58407accff5288d6124d4be6e6594ef7681d | JavaScript | 4,797 | 1 | $wnd.jsme.runAsyncCallback10('var E$="data-selenium-id";function F$(){this.ob=Zx((O(),$doc),"file");PF(this.ob,"gwt-FileUpload")}y(417,398,wn,F$);_.df=function(a){XF(this,a)};function G$(a){var b=ey();Hr(Al,(O(),b).tagName);this.ob=b;this.b=new r3(this.ob);PF(this.ob,"gwt-HTML");q3(this.b,a,!0);z3(this)}y(421,422,wn,G$... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.