repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/train/upload-models/index.ts
classifier/train/upload-models/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/train/fetch-issues/download.ts
classifier/train/fetch-issues/download.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/train/fetch-issues/createDataDir.ts
classifier/train/fetch-issues/createDataDir.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/train/fetch-issues/index.ts
classifier/train/fetch-issues/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/apply/fetch-issues/index.ts
classifier/apply/fetch-issues/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/apply/apply-labels/index.ts
classifier/apply/apply-labels/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier/blobStorage/index.ts
classifier/blobStorage/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/blob-storage-test/index.ts
blob-storage-test/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/build-chat/BuildChat.ts
build-chat/BuildChat.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/build-chat/index.ts
build-chat/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/release-pipeline/ReleasePipeline.ts
release-pipeline/ReleasePipeline.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/release-pipeline/index.ts
release-pipeline/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/author-verified/AuthorVerified.ts
author-verified/AuthorVerified.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/author-verified/index.ts
author-verified/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/author-verified/AuthorVerified.test.ts
author-verified/AuthorVerified.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/commands/Commands.ts
commands/Commands.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/commands/index.ts
commands/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/commands/Commands.test.ts
commands/Commands.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/english-please/EnglishPlease.test.ts
english-please/EnglishPlease.test.ts
// TODO...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/english-please/cli.ts
english-please/cli.ts
import * as yargs from 'yargs'; import { OctoKitIssue } from '../api/octokit'; import { LanguageSpecificLabeler } from './EnglishPlease'; const argv = yargs .option('token', { alias: 't', description: 'GitHub PAT', type: 'string', demandOption: true, }) .option('key', { alias: 'k', description: 'Cognati...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/english-please/index.ts
english-please/index.ts
import { OctoKitIssue } from '../api/octokit'; import { Action } from '../common/Action'; import { getRequiredInput } from '../common/utils'; import { EnglishPleaseLabler, LanguageSpecificLabeler } from './EnglishPlease'; const nonEnglishLabel = getRequiredInput('nonEnglishLabel'); const needsMoreInfoLabel = getRequir...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/english-please/EnglishPlease.ts
english-please/EnglishPlease.ts
import axios from 'axios'; import { GitHubIssue } from '../api/api'; import { normalizeIssue, safeLog } from '../common/utils'; import { commonNames as _commonNames, knownTranslations as _knownTranslations, baseString, } from './translation-data.json'; const commonNames: { [langCode: string]: string | undefined } =...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/new-release/NewRelease.ts
new-release/NewRelease.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/new-release/NewRelease.test.ts
new-release/NewRelease.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/new-release/index.ts
new-release/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/api/octokit.ts
api/octokit.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/api/vscodeTools.ts
api/vscodeTools.ts
import { ServiceClient } from '@azure/core-http'; import { AzureCliCredential } from '@azure/identity'; import { TRIAGE_DUTY, type ITeamMember, Availability } from './vscodeToolsTypes'; const API_URL = 'https://tools.code.visualstudio.com/api'; const CREDENTIAL_SCOPES = ['api://3834c68c-adcc-4ad8-818a-8fca4cc260be/.de...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/api/api.ts
api/api.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/api/testbed.ts
api/testbed.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/api/vscodeToolsTypes.ts
api/vscodeToolsTypes.ts
// A bunch of types for the VS Code API. Mostly lifted straight from // https://github.com/microsoft/vscode-tools/blob/1b3bc9961a4e4305560fe8d20c7c845884f2b1a4/src/common/src/team.ts export enum Platform { MAC = 1, WINDOWS, LINUX, IPAD, } export type Region = 'Redmond' | 'Zurich'; export enum Role { CONTENT_DEV...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/latest-release-monitor/index.ts
latest-release-monitor/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/common/utils.ts
common/utils.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/common/OctokitTypings.ts
common/OctokitTypings.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/common/Action.ts
common/Action.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/code-review-chat/CodeReviewChat.ts
code-review-chat/CodeReviewChat.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/code-review-chat/index.ts
code-review-chat/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/feature-request/FeatureRequest.test.ts
feature-request/FeatureRequest.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/feature-request/FeatureRequest.ts
feature-request/FeatureRequest.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/feature-request/index.ts
feature-request/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/validity-checker/index.ts
validity-checker/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/validity-checker/ValidtyChecker.ts
validity-checker/ValidtyChecker.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/tag-alert/index.ts
tag-alert/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/python-issue-labels/index.ts
python-issue-labels/index.ts
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { context } from '@actions/github'; import { OctoKitIssue } from '../api/octokit'; import { Action } from '../common/Action'; import { getRequiredInput } from '../common/utils'; class IssueLabels extends Action { i...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/locker/Locker.test.ts
locker/Locker.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/locker/index.ts
locker/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/locker/Locker.ts
locker/Locker.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/test-plan-item-validator/TestPlanitemValidator.ts
test-plan-item-validator/TestPlanitemValidator.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/test-plan-item-validator/validator.ts
test-plan-item-validator/validator.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/test-plan-item-validator/index.ts
test-plan-item-validator/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/test-plan-item-validator/TestPlanItemValidator.test.ts
test-plan-item-validator/TestPlanItemValidator.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/regex-labeler/RegexLabeler.test.ts
regex-labeler/RegexLabeler.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/regex-labeler/index.ts
regex-labeler/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/regex-labeler/RegexLabeler.ts
regex-labeler/RegexLabeler.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/needs-more-info-closer/NeedsMoreInfoCloser.ts
needs-more-info-closer/NeedsMoreInfoCloser.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/needs-more-info-closer/index.ts
needs-more-info-closer/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/needs-more-info-closer/NeedsMoreInfoCloser.test.ts
needs-more-info-closer/NeedsMoreInfoCloser.test.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/train/fetch-issues/download.ts
classifier-deep/train/fetch-issues/download.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/train/fetch-issues/index.ts
classifier-deep/train/fetch-issues/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/train/vm-filesystem/classifier/createDataDir.ts
classifier-deep/train/vm-filesystem/classifier/createDataDir.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/train/vm-filesystem/classifier/storage.ts
classifier-deep/train/vm-filesystem/classifier/storage.ts
#! /home/AzureUser/node_modules/.bin/ts-node /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *---------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/apply/fetch-sources/index.ts
classifier-deep/apply/fetch-sources/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/apply/apply-labels/index.ts
classifier-deep/apply/apply-labels/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/blobStorage/index.ts
classifier-deep/blobStorage/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
microsoft/vscode-github-triage-actions
https://github.com/microsoft/vscode-github-triage-actions/blob/5e5f89b56270c343b86cd79cb988698d64bd7908/classifier-deep/monitor/index.ts
classifier-deep/monitor/index.ts
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
typescript
MIT
5e5f89b56270c343b86cd79cb988698d64bd7908
2026-01-05T04:59:42.811460Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/eslint.config.ts
eslint.config.ts
import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import stylisticTs from '@stylistic/eslint-plugin-ts'; import nodePlugin from 'eslint-plugin-n'; export default tseslint.config( eslint.configs.recommended, nodePlugin.configs['flat/recommended-script'], ...tseslint.configs.strictTypeChe...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/src/DecisionTable.ts
src/DecisionTable.ts
import { TAction, TCondition, TRow } from './common/types'; // **** Variables **** // const Errors = { ColHeader: 'Action/Condition column headers can only be "Condition" or ' + '"Action".', ColHeaderArgmt: 'All conditions must be specified before all actions', OpBlank: 'Operation cannot be blank', OpFo...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/src/index.ts
src/index.ts
export { default as default } from './Trool';
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/src/Trool.ts
src/Trool.ts
import csvToJson from 'csvtojson'; import loggerLib, { JetLogger, LoggerModes } from 'jet-logger'; import DecisionTable from './DecisionTable'; import { TAction, TCondition, TPrimitive, TRow, } from './common/types'; // **** Variables **** // const Msgs = { ApplyingRules: ' DecisionTables found. Applying...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/src/common/types.ts
src/common/types.ts
/* eslint-disable max-len */ // Misc export type TPrimitive = boolean | number | string | null | undefined; // Decision-Tables export type TRow = Record<`field${number}`, string>; export type TCondition = (fact: Record<string, unknown>, paramVal: unknown) => boolean; export type TAction = (fact: Record<string, unknow...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/index.test.ts
test/VisitorRules/index.test.ts
import { expect, test } from 'vitest'; import Ticket from './models/Ticket'; import Visitor from './models/Visitor'; import addTicketToVisitors from './addTicketToVisitors'; import { singleVisitor, PartyOf3, PartyOf6, PartyOf10, } from './data'; // Run unit-tests test('ticket price for different party sizes...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/addTicketToVisitors.ts
test/VisitorRules/addTicketToVisitors.ts
import path from 'path'; import logger from 'jet-logger'; import Trool from '../../src'; import Ticket from './models/Ticket'; import Visitor from './models/Visitor'; const CSV_FILE_PATH = './VisitorRules.csv'; // Facts holder interface IFactsHolder { Visitors: Visitor[]; Tickets: Ticket[]; } /** * Calculate ...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/playground.ts
test/VisitorRules/playground.ts
import logger from 'jet-logger'; import Ticket from './models/Ticket'; import Visitor from './models/Visitor'; import addTicketToVisitors from './addTicketToVisitors'; import { singleVisitor, PartyOf3, PartyOf6, PartyOf10, } from './data'; /** * Start */ (async () => { let totalPrice = await getTotalPri...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/data.ts
test/VisitorRules/data.ts
import Visitor from './models/Visitor'; export const singleVisitor = new Visitor(67); export const PartyOf3 = [ new Visitor(5), new Visitor(35), new Visitor(73), ]; export const PartyOf6 = [ new Visitor(7), new Visitor(18), new Visitor(48), new Visitor(18), new Visitor(65), new Visitor(101), ]; ...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/models/Visitor.ts
test/VisitorRules/models/Visitor.ts
import Ticket from './Ticket'; class Visitor { public age: number; public partySize: number; public type: string; public discount: number; public freeTShirt: boolean; public ticket?: Ticket; /** * Constructor() */ public constructor( age?: number, partySize?: number, type?: strin...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/VisitorRules/models/Ticket.ts
test/VisitorRules/models/Ticket.ts
class Ticket { public option: 'Regular' | 'Season' | null; public visitorType: string; public price: number; public freeTShirt: boolean; /** * Constructor() */ public constructor( option?: 'Regular' | 'Season' | null, visitorType?: string, price?: number, freeTShirt?: boolean, ...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/NightClubRules/index.test.ts
test/NightClubRules/index.test.ts
import { expect, test } from 'vitest'; import updateFacts from './updateFacts'; test('NightClubRules spreadsheet', async () => { const { Patrons = []} = await updateFacts() ?? {}; // Carmine Falcone expect(Patrons[0].isVip).toStrictEqual(true); expect(Patrons[0].isFlagged).toStrictEqual(false); // Alberto...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/NightClubRules/Patron.ts
test/NightClubRules/Patron.ts
class Patron { public firstName = ''; public lastName = ''; public isVip = false; public isFlagged = false; /** * Constructor() */ public constructor( firstName = '', lastName = '', isVip = false, isFlagged = false, ) { this.firstName = firstName; this.lastName = lastName;...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/NightClubRules/playground.ts
test/NightClubRules/playground.ts
import logger from 'jet-logger'; import updateFacts from './updateFacts'; // Print results (async () => { const updatedFacts = await updateFacts(); updatedFacts?.Patrons.forEach(patron => logger.info(patron.toString())); })();
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
seanpmaxwell/Trool
https://github.com/seanpmaxwell/Trool/blob/86722c90f846a33ae390f39b29ae4755590f7e75/test/NightClubRules/updateFacts.ts
test/NightClubRules/updateFacts.ts
import path from 'path'; import logger from 'jet-logger'; import Trool from '../../src'; import Patron from './Patron'; // **** Setup **** // const CSV_FILE_PATH = './NightClubRules.csv'; const patrons: Patron[] = [ new Patron('Carmine', 'Falcone'), new Patron('Alberto', 'Falcone'), new Patron('Salvatore', 'M...
typescript
MIT
86722c90f846a33ae390f39b29ae4755590f7e75
2026-01-05T04:59:43.514868Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/vite.config.ts
turbo/vite.config.ts
import { sveltekit } from '@sveltejs/kit/vite'; import path from 'path'; /** @type {import('vite').UserConfig} */ const config = { plugins: [sveltekit()], server: { // host: '0.0.0.0', // uncomment for local mobile testing hmr: { overlay: false } }, resolve: { alias: { $lib: '/src/l...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/app.d.ts
turbo/src/app.d.ts
// See https://kit.svelte.dev/docs/types#app // for information about these interfaces declare global { namespace App { // interface Error {} // interface Locals {} // interface PageData {} // interface Platform {} } } export {};
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/hook.server.ts
turbo/src/hook.server.ts
import admin from 'firebase-admin'; import serviceAccount from '$lib/service-account-pk.json' assert { type: 'json' }; import type { Handle } from '@sveltejs/kit'; import { locale } from 'svelte-i18n'; export const handle: Handle = async ({ event, resolve }) => { const lang = event.request.headers.get('accept-langua...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/report_v1.test.ts
turbo/src/test/report_v1.test.ts
import { describe, it, expect, vi, beforeEach } from 'vitest'; import ReportNode, { report_node_data } from '$lib/compute/report_v1'; import deepCopy from 'deep-copy'; import mergeData from '$lib/mock_data/merge/merge.json'; import csvData from '$lib/mock_data/csv/csv.json'; import { readFileFromGCS, uploadJSONToGCS } ...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/argument_extraction_v1.test.ts
turbo/src/test/argument_extraction_v1.test.ts
import ArgumentExtractionNode, { argument_extraction_node_data_v1 } from '$lib/compute/argument_extraction_v1'; import deepCopy from 'deep-copy'; import { describe, it, vi, beforeEach } from 'vitest'; import { expect } from 'vitest'; import mock_argument_extraction_data from '$lib/mock_data/argument_extraction/argume...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/gpt_embeddings_v0.test.ts
turbo/src/test/gpt_embeddings_v0.test.ts
import { describe, it, vi, expect, beforeEach } from 'vitest'; import GPTEmbeddingsNode, { gpt_embeddings_node_data } from '$lib/compute/gpt_embeddings_v0'; import deepCopy from 'deep-copy'; import { getDataset } from './test/mocks/dataset'; describe('GPTEmbeddingsNode class', () => { let node; let inputData; co...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/simple_pipeline.test.ts
turbo/src/test/simple_pipeline.test.ts
import { describe, it, vi, beforeEach } from 'vitest'; import { expect } from 'vitest'; import CSVNode, { csv_node_data } from '$lib/compute/csv_v0'; import deepCopy from 'deep-copy'; import * as utils from '$lib/utils'; describe('CSVNode class', () => { beforeEach(() => { // Reset module mocking before each tes...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/comment_expander_v0.test.ts
turbo/src/test/comment_expander_v0.test.ts
import { describe, it, expect } from 'vitest'; import CommentExpanderNode, { comment_expander_node_data } from '$lib/compute/comment_expander_v0'; import deepCopy from 'deep-copy'; describe('CommentExpanderNode class', () => { it('should concatenate comments until reaching 100 words, then start a new chunk', async (...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/count_tokens.test.ts
turbo/src/test/count_tokens.test.ts
import { describe, it } from 'vitest'; import { expect } from 'vitest'; import CountTokensNode, { count_tokens_node_data } from '$lib/compute/count_tokens_v0'; import deepCopy from 'deep-copy'; describe('CountTokensNode class', () => { it('should correctly count tokens in input data', async () => { const inputDa...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/test.test.ts
turbo/src/test/test.test.ts
import { Dataset } from '$lib/dataset'; import { describe, it, expect, vi, test } from 'vitest'; import IntegerNode, { integer_node_data } from '$lib/compute/integer_v0'; import AdderNode, { adder_node_data } from '$lib/compute/adder_v0'; import TestNode, { test_node_data } from '$lib/compute/test_v0'; import deepCopy ...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/audio.test.ts
turbo/src/test/audio.test.ts
import { describe, it, expect, vi, beforeEach } from 'vitest'; import AudioNode, { audio_node_data } from '$lib/compute/audio_v0'; import deepCopy from 'deep-copy'; import { readFileFromGCS } from '$lib/utils'; vi.mock('$lib/utils', () => ({ readFileFromGCS: vi.fn() })); import File from './test/mocks/File'; globa...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/jsonata.test.ts
turbo/src/test/jsonata.test.ts
import JsonataNode, { jsonata_node_data } from '$lib/compute/jsonata_v0'; import deepCopy from 'deep-copy'; import { describe, it } from 'vitest'; import { expect } from 'vitest'; describe('JsonataNode class', () => { it('evaluates JSONata expressions', async () => { const nodeData = deepCopy(jsonata_node_data);...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/dataset.test.ts
turbo/src/test/dataset.test.ts
// stock import { describe, it, vi, beforeEach } from 'vitest'; import { expect } from 'vitest'; // data import weather from '$lib/mock_data/csv/csv.csv?raw'; import mock_cluster_extraction_data from '$lib/mock_data/cluster_extraction/cluster_extraction.json'; import mock_argument_extraction_data from '$lib/mock_data/...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/InfoPanelClaim.test.ts
turbo/src/test/InfoPanelClaim.test.ts
import { locale } from 'svelte-i18n'; import { describe, it, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; import InfoPanelClaim from '$components/report/InfoPanelClaim.svelte'; import merge from '$lib/mock_data/merge/merge.json'; import csv from '$lib/mock_data/csv/csv.json'; import...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/summarize_v0.test.ts
turbo/src/test/summarize_v0.test.ts
import { describe, it, vi, expect, beforeEach } from 'vitest'; import SummarizeNode, { summarize_node_data } from '$lib/compute/summarize_v0'; import deepCopy from 'deep-copy'; describe('SummarizeNode class', () => { let node; let inputData; const timeout = 60000; beforeEach(() => { vi.mock('$lib/utils', ...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/workerpool.test.ts
turbo/src/test/workerpool.test.ts
import { describe, it, beforeAll, afterAll } from 'vitest'; import { expect } from 'vitest'; import workerpool from 'workerpool'; // https://github.com/josdejong/workerpool describe('Workerpool', () => { let pool: any; const add = (a, b) => a + b; const delayedAdd = (a, b, delay) => new Promise((resolve) =>...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/whisper_v1.test.ts
turbo/src/test/whisper_v1.test.ts
import { describe, it, expect, vi, beforeEach } from 'vitest'; import WhisperNode, { whisper_node_data } from '$lib/compute/whisper_v1'; import deepCopy from 'deep-copy'; import { readFileFromGCS, uploadJSONToGCS } from '$lib/utils'; import MockOpenAI from '$lib/mock_open_ai'; import File from './test/mocks/File'; impo...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/jq_v0.test.ts
turbo/src/test/jq_v0.test.ts
import { describe, it, vi } from 'vitest'; import { expect } from 'vitest'; import JqNodeV0, { jq_v0_node_data } from '$lib/compute/jq_v0'; import deepCopy from 'deep-copy'; const log = console.log; const input = { input: { x: [{ y: 2 }, { y: 4 }] } }; describe('jq function', () => { it('should process data correct...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/gpt_v0.test.ts
turbo/src/test/gpt_v0.test.ts
import GPTNode, { gpt_node_data } from '$lib/compute/gpt_v0'; import deepCopy from 'deep-copy'; import { describe, it, vi, beforeEach } from 'vitest'; import { expect } from 'vitest'; const json_prompt = `\ Please write a first hand 10 word account of living conditions in any city of your choice. Respond with JSON: ...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/merge_cluster_extraction_v1.test.ts
turbo/src/test/merge_cluster_extraction_v1.test.ts
import { describe, it, vi, expect, beforeEach } from 'vitest'; import MergeClusterExtractionNode, { merge_cluster_extraction_node_data } from '$lib/compute/merge_cluster_extraction_v1'; import deepCopy from 'deep-copy'; describe('MergeClusterExtractionNode class', () => { let node; let inputData; const timeout...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false
AIObjectives/talk-to-the-city-reports
https://github.com/AIObjectives/talk-to-the-city-reports/blob/ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0/turbo/src/test/secret_v0.test.ts
turbo/src/test/secret_v0.test.ts
import { describe, it, expect, vi, beforeEach } from 'vitest'; import SecretNode, { secret_node_data } from '$lib/compute/secret_v0'; import deepCopy from 'deep-copy'; import Cookies from 'js-cookie'; describe('Secret Node class', () => { let node; let inputData; const slug = 'test_slug'; beforeEach(() => { ...
typescript
Apache-2.0
ca3453f8e60b0ad25332a4dfa7df96cf767aa9d0
2026-01-05T04:59:43.595222Z
false