sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
001a786bb1da7e164275b3b4380e496551bc4ad5a20100bd953055618e7ffcb6 | Text | 13,102 | 227 | 
===
[](https://pypi.org/project/cogdl/)
[](https://app.travis-ci.com/THUDM/cogdl)
[_. Preprint: https://www.biorxiv.org/content/10.1101/2021.10.21.465346
This repository contains the Python code for simulations, ... |
f0676cabd2e9a8b0849a51677e89c7ec1c23fda79b53282e939ac7b5c5ed20fb | Text | 13,491 | 241 | # On the benefits of self-taught learning for brain decoding
We study the benefits of using a large public neuroimaging database composed of fMRI statistic maps, in a self-taught learning framework, for improving brain decoding on new tasks. First, we leverage the NeuroVault database to train, on a selection of releva... |
7cf6aa7a4b70b7bd6e09a4c258b94664d31de1660714ae982837c20d432dac05 | Text | 13,554 | 202 | # Code for online motion structure inference
Code for the research paper:
_Johannes Bill, Samuel J Gershman, Jan Drugowitsch: Visual motion perception as online hierarchical inference (2022)_. Preprint: https://www.biorxiv.org/content/10.1101/2021.10.21.465346 .
This repository contains the Python code for simulation... |
dd93d1d8cf478840eaa2e1854929da05bae03a565ed6f39b1ceec92ad35ace31 | Text | 13,605 | 253 | # AWS-iGenomes
### Common reference genomes hosted on AWS S3
#### Download script & command builder: [https://ewels.github.io/AWS-iGenomes/](https://ewels.github.io/AWS-iGenomes/)

## Introduction
In NGS bioinformatics, a typical analysis run involves aligning raw DNA seque... |
1d2e1dbcd3014b389f1e05b4ca48bbba924f7c1c923d1f5b2e392708e79ea214 | Text | 14,653 | 343 | <h1 align="center">DAG-deepVASE: Deep neural networks with knockoff features identify nonlinear causal relations and estimate effect sizes in complex biological systems </h1>
<div align="center" style="line-height: 1;">
<a href="https://github.com/ZhenjiangFan/DAG-deepVASE/blob/main/LICENSE" style="margin: 2px;">
... |
ec48ad12d5b26021e700cca82f646df8fe29911c8132c1d823256d095a358cf6 | Text | 15,064 | 185 | # <img src="./assets/logo-color.svg" width="100" height="100"> SpheroScan
#### Table of contents
- [Summary](#summary)
- [Demo Server](#demo-server)
- [Graphical Abstract](#graphical-abstract)
- [Prerequisite](#prerequisite)
- [Installation (via Docker)](#installation-via-docker)
- [Installation (from source code)](... |
fcd9d883186db930a35a4f8a0f0312e9e57e4e1807822f7988c8dfa74f926488 | Text | 15,319 | 174 | 
# APARENT - APA Regression Net
This repository contains the code for training and running APARENT, a deep neural network that can predict human 3' UTR Alternative Polyadenylation (APA), annotate genetic variants based on the impact... |
7224a2895ff28139bccb3b70b02348709cf24b81aee0247a9fae4bff60af0f65 | Text | 16,078 | 301 | # Look Twice: A Computational Model of Return Fixations across Tasks and Species
Authors: Mengmi Zhang, Will Xiao, Olivia Rose, Katarina Bendtz, Margaret Livingston, Carlos Ponce, and Gabriel Kreiman
This repository contains an implementation of a deep learning model for predicting return fixations and eye movement ... |
a864194af8adeecb9c36a5beafbbaabc985ab9e39a593dba4c8b61ac44156e47 | Text | 16,698 | 143 | <!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License... |
0dac5f6ca7c7b6a46bfb863f12ed9d555a2c62b8470d87cf8c237884bf081c39 | Text | 17,191 | 257 | # e2e_v2
This project contains a single Python script that can determine the Curie or Neel Temperature and other relevant magnetic properties of 2D materials from the crystal structure information. The code has many requirements; the primary one is having access to the code [VASP](https://www.vasp.at/). The script is ... |
1ef7e18c780a527c4796e7c3fe0592b18dc3798b214efe60bbc3c0c40488d4f6 | Text | 18,514 | 358 | [![MIT License][license-shield]][license-url]
<!-- PROJECT LOGO -->
<br />
<p align="center">
<a href="https://geods.geography.wisc.edu/">
<img src="images/geods_safegraph_nsf_logo.jpg" alt="Logo" width="400">
<h2 align="center">Multiscale Dynamic Human Mobility Flow Dataset in the U.S. during the COVID-19 Ep... |
db20b9ba7a4ab2f93d3ad23e996d755b5efdffb5f060c3e518ae0ef1bb133c13 | Text | 19,360 | 411 | # ark-analysis
<div align="center">
| | |
| ------- | -------------------------------------------------------------------------------------------------------------------------- |
| Status... |
87904945f345c45af8cdc8541337508715e9dc16277ac22ef5401089a0bf103d | Text | 20,172 | 379 | # souporcell3
<img src="https://github.com/wheaton5/souporcell/blob/master/souporcell_star.png" width="100">
Manuscripts of this method available at
[Souporcell3: Robust Demultiplexing for High-Donor Single-Cell RNA-seq Datasets](https://doi.org/10.1093/bioinformatics/btag117)
[Souporcell: robust clustering of si... |
bf9b0d2b4fb9d6dae4c4aa05687e920c27e8081fc52da1cf73dd8b1b24c0aa56 | Text | 20,756 | 219 | # <p> <b>Cellpose </b> </p>
<img src="http://www.cellpose.org/static/images/logo.png?raw=True" width="250" title="cellpose" alt="cellpose" align="right" vspace = "50">
[](https://cellpose.readthedocs.io/en/latest/?badge=latest)
](https://pypi.org/project/Simba-UW-tf... |
88ef7694ea073db94a827772fe5c8c0c3d2ca5390a31505bc946d6cf87d8d480 | Text | 21,938 | 375 | # SumstatsQC
GWAS Summary Statistics Quality Control v0.1
## Background
Common variant GWAS have been ubiquitous in identifying underlying biology in numerous traits. Research at both consortia and biobank level had been important in driving large-scale discovery GWAS. Summary statistics uploaded in public repositor... |
6927e154ad3d3b31988c377b54648e27515d77b49b75b992c0f0b6a928009460 | Text | 22,376 | 464 | .. warning::
The Blue Brain Project concluded in December 2024, so development has ceased under the BlueBrain GitHub organization.
Future development will take place at: https://github.com/openbraininstitute/atlas-densities
|banner|
Overview
=========
This project contains the tools to create the `BBP Cell Atl... |
280715cbb82b249ac58660a83c9426e39f5c58c86bcc1d98688a1376da6973bf | Text | 23,134 | 498 | # <ins>A</ins>utomated <ins>S</ins>egmentation of cellular substructures in <ins>E</ins>lectron <ins>M</ins>icroscopy (ASEM)
https://user-images.githubusercontent.com/8866751/200858874-af9220c9-60ac-4b3b-9b45-181d266f82b0.mp4
This repository contains the segmentation pipeline described in
> Benjamin Gallusser, Giorg... |
212f7cea084ce69e2aad30988ac093b36e548379bb7dc0a797c9ce2a6df2c48e | Text | 24,925 | 383 | # BIDS Managing and Analysis Tool
## Description
The BMAT software is a complete and easy-to-use local open-source neuroimaging analysis tool with a graphical user interface (GUI) that uses the BIDS format to organize and process brain MRI data for MS imaging research studies. BMAT provides the possibility to transla... |
e56d1eaa584de75aad90ec434244f6b568f41defc6d6e5557e1cf564b1778ddd | Text | 26,833 | 644 | # richR <img src="man/figures/logo.png" align="right" height="120" />
[](https://www.repostatus.org/#active)
[](https://github.com/hurlab/richR)
](https://badge.fury.io/gh/sysbiochalmers%2FHuman-GEM)
[](https://zenodo.org/badge/latestdoi/105752644)<!-- ALL-CONTRIBUTORS-BA... |
7139de76f89a80ad590180e4edefbd24c6d09d80d1a6953dd20b813c95dafae3 | Text | 37,351 | 653 | ===============================
Datasets for Entity Recognition
===============================
This repository contains datasets from several domains
annotated with a variety of entity types, useful for entity recognition and
named entity recognition (NER) tasks.
**NOTE: I am no longer actively adding datasets to t... |
1f34adbf911beeda28ca1d367f8da418d9ddbd0bf757d0bc878850fc3672beb0 | Text | 50,184 | 782 | <p align="center"><img src="assets/logo.png" width="480"\></p>
**This repository has gone stale as I unfortunately do not have the time to maintain it anymore. If you would like to continue the development of it as a collaborator send me an email at eriklindernoren@gmail.com.**
## PyTorch-GAN
Collection of PyTorch im... |
9423eff8c530792d2a30a908cf4a193f30ca24778f56782968bf8b0ef3b9ff7e | Text | 81,593 | 390 | > **_NOTE:_** Peakachu (version>=1.1.2) now supports both [.hic](https://github.com/aidenlab/juicer/wiki/Data) and [.cool](https://cooler.readthedocs.io/en/latest/datamodel.html) formats.
# Introduction
Accurately predicting chromatin loops from genome-wide interaction matrices such as Hi-C data is critical to deepe... |
d51485b82b29d07016e9d3359f271622966aca8edfc59648a1d2369e6404123d | TypeScript | 25 | 1 | export * from "./types";
|
2e73e20ceeb44ca5ff7428fa91f736f6e2c2aa302bef0dd1996a2ac9555c88e0 | TypeScript | 90 | 3 | export * from "./avatar";
export * from "./avatar-stack";
export * from "./avatar-badge";
|
c21c6f459983fc2137ef5e57a844416328a548898a09135f6d2737ee9b67946d | TypeScript | 149 | 2 | export { TaxonomySelectionList } from "./taxonomy-selection-list";
export type { TaxonomySelectionItem, TaxonomySelectionListProps } from "./types";
|
7f166523e3aa2fb8886448cecd36ccc90656e555e0263cdb009a8ab408504c0e | TypeScript | 200 | 2 | export { ColumnBrowser, ColumnBrowserColumn, ColumnBrowserItem } from "./column-browser";
export type { ColumnBrowserProps, ColumnBrowserColumnProps, ColumnBrowserItemProps } from "./column-browser";
|
259cbe83b1ce6a9fc8952fb09edad0588dccea8c72dd5c0ab0ebc1154e334595 | TypeScript | 230 | 6 | // Stand-ins for the @nx/react typings libs/ui/tsconfig.lib.json names (not installed here).
declare module "*.module.css" {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module "*.css";
|
930d9f398f99379dae5a1bce554a9b6a812be2d06e255956235968f9f302d42b | TypeScript | 253 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "ThemeToggle",
tier: 2,
exports: ["ThemeToggle"],
intent: [],
use_when: "The light, dark and auto theme switch.",
never_when: [],
replaces: [],
});
|
bdb9e0c1d6e76c899bef3bbdd27decdb57da1a83227113767ea90bc9de774cd0 | TypeScript | 258 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "ResizeHandle",
tier: 2,
exports: ["ResizeHandle"],
intent: [],
use_when: "The drag handle between resizable panels.",
never_when: [],
replaces: [],
});
|
cc7b9076c6667cba9667a243748c9c7a8a87f423d806592876f1b75c5957b33b | TypeScript | 258 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "EnterpriseBadge",
tier: 2,
exports: ["EnterpriseBadge"],
intent: [],
use_when: "Marks a feature as Enterprise-only.",
never_when: [],
replaces: [],
});
|
8bb4f53748f28c3266c466db1e80a5ac82e1ff965112a2825927d3ba1502ef61 | TypeScript | 261 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Sparkles",
tier: 2,
exports: ["Sparkles"],
intent: [],
use_when: "The AI sparkle decoration on assistant entry points.",
never_when: [],
replaces: [],
});
|
4abcda61490a415a79936cf49cd00be0c412978d63112324e80064bee10fa5b5 | TypeScript | 263 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "BadgeGroup",
tier: 2,
exports: ["BadgeGroup"],
intent: [],
use_when: "Several badges in one cell with overflow handling.",
never_when: [],
replaces: [],
});
|
ee31161947ba8b26f98d5d4c4804d71aefd033c0433a8d99326f0cd84b642472 | TypeScript | 265 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "AutoSizerTable",
tier: 2,
exports: ["AutoSizerTable"],
intent: [],
use_when: "A DataTable that fills its container height.",
never_when: [],
replaces: [],
});
|
fdcf43212797c2c381002d3d2a8730ef67d4325872662d1108cb16b487d5fd55 | TypeScript | 265 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "FilterShell",
tier: 2,
exports: ["FilterShell"],
intent: [],
use_when: "The chip-and-popover shell that filter rows share.",
never_when: [],
replaces: [],
});
|
017cf5bdc025a18a8000b779db9331a7a158a3186c0256acd8f5c7290cf2d11b | TypeScript | 268 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "JsonViewer",
tier: 2,
exports: ["JsonViewer"],
intent: [],
use_when: "Expandable, virtualised JSON for task data and results.",
never_when: [],
replaces: [],
});
|
a3ee275a23b535799e5c0cf14a553b8a1cf5aecb46d62c3e1b3f9bb3c77364b0 | TypeScript | 279 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "CodeEditor",
tier: 2,
exports: ["CodeEditor"],
intent: [],
use_when: "Editable code with syntax highlighting (labeling config, scripts).",
never_when: [],
replaces: [],
});
|
86aeaad91e2e99de2146ee66ac5f76ad719d7ae14aef03991b760ecc8b124aa8 | TypeScript | 281 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "TaxonomySelectionList",
tier: 2,
exports: ["TaxonomySelectionList"],
intent: [],
use_when: "The read-only list of selected taxonomy paths.",
never_when: [],
replaces: [],
});
|
0abcc26b26e24f4856340074d13d6b3ada4493c735183524a0b7422ddd8c5a18 | TypeScript | 289 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "TreeSelect",
tier: 2,
exports: ["TreeSelect", "TreeSelectItem"],
intent: [],
use_when: "Choosing from a hierarchy, single or multiple, searchable.",
never_when: [],
replaces: [],
});
|
b2ac870d746dde5c32e23622a3906249a26d43f03db2884024bbae417541cdf7 | TypeScript | 292 | 17 | import type { STATES } from "./states";
export type State = {
status: string;
text?: string;
icon?: string;
spin?: boolean;
nonDb?: boolean;
};
export type States = {
[_key in keyof typeof STATES]: State;
};
export interface HelpText {
[key: string]: string;
}
|
c029ca9eb6b2394459898a7e228070ba2ea48f50db4682239379f1e50728a7b2 | TypeScript | 292 | 7 | import { formatDuration, intervalToDuration } from "date-fns";
import type { JobBaseModel } from "@/api/jobs";
export function getJobDuration(job: JobBaseModel): string {
return formatDuration(intervalToDuration({ start: new Date(job.create_time), end: new Date(job.update_time) }));
}
|
d48b54c588318a5352a0919a10c40604e7e8004a2e4cecc297123223e13bb27c | TypeScript | 302 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "EnterpriseUpgradeOverlay",
tier: 2,
exports: ["EnterpriseUpgradeOverlay"],
intent: [],
use_when: "Blurs an Enterprise-only area with an upgrade call to action.",
never_when: [],
replaces: [],
});
|
f3bc6d1db8b2b0ba4995fe4fba2235ceb17f5d988d8d40248e21688472da37f1 | TypeScript | 305 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "ColumnBrowser",
tier: 2,
exports: ["ColumnBrowser", "ColumnBrowserColumn", "ColumnBrowserItem"],
intent: [],
use_when: "Miller-column browsing of nested catalogs.",
never_when: [],
replaces: [],
});
|
b70230e4b20d89f9f0733402639189eeafe089f336bd2a0ef831712fad5b0f18 | TypeScript | 306 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "TaxonomyMultiTreeSelect",
tier: 2,
exports: ["TaxonomyMultiTreeSelect", "TaxonomySelectionChip"],
intent: [],
use_when: "Taxonomy selection in the labeling editor.",
never_when: [],
replaces: [],
});
|
3d94db1febccbafa8d0dbee521f6c53bd87f14f838a64b75f5d17c51457dda3c | TypeScript | 323 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Space",
tier: 1,
exports: ["Space"],
intent: ["evenly spaced siblings"],
use_when: "A horizontal or vertical row of controls with design-system gaps.",
never_when: ["margins on each child by hand"],
replaces: [],
}... |
5fa686ff3de54706e449acb4d7504865a0d5f14023928fdf82d63834c23f8743 | TypeScript | 334 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Stepper",
tier: 1,
exports: ["Stepper"],
intent: ["progress through a multi-step flow"],
use_when: "Wizards and setup flows with ordered steps.",
never_when: ["numbered Badges in a row", "Tabs used as steps"],
repl... |
e732fc54970bda46768ee7bdcbf7e39c9b3f3c0ede8544cf864219785f9608da | TypeScript | 348 | 11 | import {
FF_ECHO_466_TAXONOMY_ANTD_REMOVAL,
FF_FIT_ANNOTATIONS_VERTICAL_LAYOUT,
} from "@humansignal/core/lib/utils/feature-flags";
import * as FLAGS from "../../src/utils/feature-flags";
export const CURRENT_FLAGS = {
[FF_ECHO_466_TAXONOMY_ANTD_REMOVAL]: true,
[FF_FIT_ANNOTATIONS_VERTICAL_LAYOUT]: true,
[FL... |
ed11d679c145960f6b489454ab71e7c4c4528d41ec733fc7c232e7f68de42b94 | TypeScript | 357 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "ContextMenu",
tier: 1,
exports: ["ContextMenu"],
intent: ["a right-click menu"],
use_when: "Actions on an item opened with a right click or a kebab on canvas-like surfaces.",
never_when: ["a Dropdown opened by right ... |
6795a087a209bf1c3451747e9209efdc68ae94978e44225fb416dd138064e6f0 | TypeScript | 363 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Card",
tier: 1,
exports: ["Card"],
intent: [],
use_when: "",
never_when: [],
replaces: [],
deprecated: {
replaced_by: "SimpleCard",
reason: "Legacy card kept for its remaining importers until the card imp... |
c6304763b4b647a0ce5e9f54ae23e18dd08e9a3513d3620ea3936688280c4dc9 | TypeScript | 369 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "CollectionUploader",
tier: 2,
exports: ["CollectionUploader", "CollectionHeader", "MediaCard", "SubmissionRuleBadges", "SubmissionStatusChip"],
intent: [],
use_when: "The data-collection submission flow: upload, rules,... |
2367375c075c11a47ebf9b34915e45bb29a7ae0cdc4d88ff7dd2a3f3790b7d75 | TypeScript | 371 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "CodeBlock",
tier: 1,
exports: ["CodeBlock"],
intent: ["read-only code or configuration"],
use_when: "Showing a snippet, a config or an ID the user may copy.",
never_when: ["a <pre> with mono classes", "editable code ... |
aa17a918564fad77259a5df7cf02c73c09bb19187edb1dd3ec942d6abef07de5 | TypeScript | 371 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "SearchInput",
tier: 1,
exports: ["SearchInput"],
intent: ["filter a list by typing"],
use_when: "A search box that narrows a list or table as the user types.",
never_when: ["general text entry (Input gap)", "a raw <i... |
8fd337f19db0a7a8aa76058017fb5d1bfcdf554742a4d507df5974d561c7c728 | TypeScript | 379 | 15 | export interface TaxonomySelectionItem {
value: string;
label: string;
isUserAdded?: boolean;
}
export interface TaxonomySelectionListProps {
items: TaxonomySelectionItem[];
onRemove?: (value: string) => void;
className?: string;
}
export interface TaxonomySelectionGridData extends Pick<TaxonomySelectionL... |
6f7d773bc5980abdd6f16a4e34e27c755dc70dba9d3a7254340f7958d73da8d0 | TypeScript | 381 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "InputFile",
tier: 1,
exports: ["InputFile"],
intent: ["pick a file from disk"],
use_when: "A control that opens the file picker for one or several files.",
never_when: ["a raw <input type=file>", "the full collection... |
aaefaac8a73773e623610a73e32c5f832b6aceaddb1f2db2c0787537f46622f1 | TypeScript | 386 | 18 | import { computed, ref } from "vue";
export function useMultiselect() {
const editing = ref(false);
const ariaExpanded = computed(() => {
return editing.value ? "true" : "false";
});
function onOpen() {
editing.value = true;
}
function onClose() {
editing.value = false... |
66e220c895dd7f28fe62a94ce1574c5b2102e13d93b49fd274eccb04ffe8e485 | TypeScript | 390 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "CollapsiblePanel",
tier: 1,
exports: ["CollapsiblePanel"],
intent: ["an expandable panel-style section"],
use_when: "A single section the user expands or collapses, panel style.",
never_when: ["a details element styl... |
2a83d2136fbf82c198e49d6b960167e157076c2036eb424bc1194d101fab3c02 | TypeScript | 398 | 14 | import type { BreadcrumbItem } from "@/components/Common";
/**
* Base breadcrumb for Upload-related views.
* Centralized to ensure consistent labeling (e.g. Beta status)
* across all upload methods and pages.
*/
export function getUploadRootBreadcrumb(to?: string): BreadcrumbItem {
return {
title: "Imp... |
24632e092d45adc7313f6e96a17614c86d26f6c05d398a0adb80549ca2f4dd57 | TypeScript | 414 | 18 | import { useRouter } from "vue-router/composables";
export function buildInstanceRoutingComposable(index: string) {
return () => {
const router = useRouter();
async function goToIndex(query: Record<"message", string>) {
router.push({
path: index,
query: ... |
3d9ab41bb4e8f4f5d2ec9e04a89e82f1639d350a90b96d7fa9d4a6b7a7551c37 | TypeScript | 414 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Callout",
tier: 1,
exports: ["Callout", "CalloutIcon", "CalloutHeader", "CalloutTitle", "CalloutContent"],
intent: [],
use_when: "",
never_when: [],
replaces: [],
deprecated: {
replaced_by: "Message",
rea... |
077ed49b593ac1c48674f46b0139e546a3e0e26266872f59a1511f09842b444a | TypeScript | 421 | 13 | import { toValue } from "@vueuse/core";
import { computed, type Ref } from "vue";
import type { useFilterObjectArray as UseFilterObjectArray } from "@/composables/filter";
// @ts-ignore - vi is a Vitest global
vi.mock("@/composables/filter", () => ({
useFilterObjectArray,
}));
export const useFilterObjectArray: ... |
8eb2fe28f4ccab25e1c4d692136409caa39580aefcd9bf5a00647f78cc9c690f | TypeScript | 432 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Accordion",
tier: 1,
exports: ["Accordion", "AccordionItem", "AccordionTrigger", "AccordionContent"],
intent: ["stacked expandable sections"],
use_when: "Several stacked sections where one or more can be open.",
neve... |
a5a07bafc1c1665ac20c0fe275819589213576ec7702b4b45b97076e8ccd6910 | TypeScript | 446 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "DataTable",
tier: 1,
exports: ["DataTable"],
intent: ["rows and columns of data"],
use_when: "Tabular data with sorting, selection, column sizing or virtualisation.",
never_when: ["a raw <table>", "a grid of divs sty... |
c7cacd2dfdeefd889a0972447792eea6c23561a96eb50904c62d14dd6b90d0e7 | TypeScript | 446 | 14 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "TagAutocomplete",
tier: 2,
exports: ["TagAutocomplete"],
intent: [],
use_when: "Free-form tag entry with suggestions.",
never_when: [],
replaces: [
"services/lse/web/apps/labelstudio/src/components_lse/Organiza... |
91434f4dfcfab7c856e1a769fbd4b563e28b536412cf9b575219312ded4b2dac | TypeScript | 450 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Drawer",
tier: 1,
exports: ["Drawer", "DrawerTrigger", "DrawerClose"],
intent: ["side editing with the page still visible"],
use_when: "A panel sliding in from an edge for editing or details while the page context stay... |
f16a79d635d819350bb371843bd314e07c7ce3a7091cd06792441d8300aacb0a | TypeScript | 451 | 18 | import { computed } from "vue";
import { useRoute } from "vue-router/composables";
export function usePanels() {
const route = useRoute();
const showPanels = computed(() => {
const panels = route.query.hide_panels;
if (panels !== undefined && panels !== null && typeof panels === "string") {
... |
e63a0dab3e8022e1bf77e4ad89043cc63da27b6db9232989cb2ea3815e6a6c9f | TypeScript | 458 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Toast",
tier: 1,
exports: ["Toast", "ToastAction", "ToastProvider", "ToastViewport"],
intent: ["the result of an action, shown briefly"],
use_when: "Confirmation or failure of an action the user just took, through useT... |
998cc454a32982f95d03a6b5db5c0a71df23d281dfa9c3fcecc7a5bcf9d5404b | TypeScript | 464 | 11 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Skeleton",
tier: 1,
exports: ["Skeleton"],
intent: ["a layout still loading"],
use_when: "Placeholder blocks in the shape of the content that is about to appear.",
never_when: ["an action in progress (use Spinner)", ... |
3f6809ecca06a0ddd4f3144e60d4ebf3e8c4dbdbbc9c46775b221a3eacb521c4 | TypeScript | 465 | 19 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "MultiTreeSelect",
tier: 2,
exports: [
"MultiTreeSelect",
"MultiTreeSelectDropdown",
"MultiTreeSelectProvider",
"TreeNode",
"TreeSearch",
"TreeSelected",
],
intent: [],
use_when:
"The provi... |
10adeb2428e194b8e7a62b61da59e4c208a7cec1959948c82b7707f13821085c | TypeScript | 472 | 12 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "StateChip",
tier: 1,
exports: ["StateChip"],
intent: ["the lifecycle state of a task, project or annotation"],
use_when:
"A state that comes from the state registry in @humansignal/app-common (TaskStateChip, Annota... |
063371ceabac7e4b8974c6e58a3320844449781788bbd9cc6d4371f5114f9fe7 | TypeScript | 480 | 20 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "AiChatShell",
tier: 2,
exports: [
"AiChatShell",
"AiChatPromptBar",
"AiChatApprovalCard",
"AiChatStreamingMessage",
"AiChatThinking",
"AiChatToolActivity",
"AiChatLoading",
"AiChatLoadingIco... |
55332fb7956a36c8bc385f5c1f900103f3cb60a1ab454ba695c5c735fe22a077 | TypeScript | 480 | 12 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Typography",
tier: 1,
exports: ["Typography"],
intent: ["any product copy"],
use_when: "Every piece of user-visible text: headings, body, labels, metadata, truncation.",
never_when: ["bare <p>, <span> or <h*> with te... |
3e55f3a8380f13d14a912c21140922a5e05251efb479f02e946d4a87cde33344 | TypeScript | 496 | 16 | export type ComponentColor = "grey" | "blue" | "green" | "yellow" | "orange" | "red";
export type ComponentSize = "small" | "medium" | "large";
export type ComponentSizeClassList = {
[_key in `g-${ComponentSize}`]?: true;
};
export type ComponentColorClassList = {
[_key in `g-${ComponentColor}`]?: true;
};
e... |
81a12ea38aaf629a5572f51fa46428867a97c94a165bb68ae5d4d79a7de2260e | TypeScript | 498 | 18 | import { type RegisteredUser } from "@/api";
export function getFakeRegisteredUser(data: Partial<RegisteredUser> = {}): RegisteredUser {
return {
id: "fake_user_id",
email: "fake_user_email",
isAnonymous: false,
username: "fake_username",
total_disk_usage: 0,
nice_to... |
474ea7ba589f30d09d7545d53a8d84ce22e1857f2a74c2b28c19bc0055743f63 | TypeScript | 504 | 12 | import type { Route } from "vue-router";
/** The TRS import parameters of a `/workflows/trs_import` or `/workflows/import` URL. */
export function trsImportQuery(query: Route["query"]) {
return {
trsId: query.trs_id as string | undefined,
trsUrl: query.trs_url as string | undefined,
trsServ... |
f9c9c4ccf5f6af77a16124b5493d916638a47b455c0f79db7f61586c709429ee | TypeScript | 522 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Popover",
tier: 1,
exports: ["Popover", "PopoverTrigger", "PopoverContent", "PopoverAnchor"],
intent: ["rich content anchored to a trigger"],
use_when: "Interactive or formatted content that opens next to its trigger a... |
e22199ce1c4f376b5a752cea73f01fcfef29e607e34cea6732abab8e6148d9bf | TypeScript | 534 | 29 | // TODO: stricter types
export type FormParameterValue = any;
export type FormParameterAttributes = {
[attribute: string]: any;
};
export type FormParameterTypes =
| "boolean"
| "hidden"
| "hidden_data"
| "baseurl"
| "integer"
| "float"
| "radio"
| "color"
| "directory_uri"
... |
47db228cade84d48b188a87292a6743ffe2fd8f15b212da4f52a75ce667d189d | TypeScript | 539 | 17 | import { FF_DEV_3391 } from "@humansignal/frontend-test/feature-flags";
import { LabelStudio } from "@humansignal/frontend-test/helpers/LSF";
import { allTagsSampleData, configAllTags } from "../../data/view_all/smoke";
beforeEach(() => {
LabelStudio.addFeatureFlagsOnPageLoad({
[FF_DEV_3391]: true,
});
});
de... |
d5ed4af80b758ce7a6010c6dbe1e1eb60b21c6ae4796fe168ec3d02871fb1dab | TypeScript | 542 | 14 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Checkbox",
tier: 1,
exports: ["Checkbox"],
intent: ["select one or several items from a set"],
use_when: "Selection of rows, options or items where several can be chosen at once, including indeterminate parents.",
ne... |
cfa9ca61c33b5b8e361331bc3c02d8a78df7284842afb5d9ca7543ca051a275e | TypeScript | 551 | 20 | import { computed, onMounted } from "vue";
import { useConfigStore } from "@/stores/configurationStore";
/* composable config wrapper */
export function useConfig(fetchOnce = false) {
const store = useConfigStore();
const config = computed(() => store.config);
const isConfigLoaded = computed(() => store.... |
b0da6a4e9c5d41d690ac2cd4bf6113685a0437493240b4d17f4acdb2a2892bef | TypeScript | 553 | 23 | import type { Ref } from "vue";
import { useUserLocalStorage } from "./userLocalStorage";
interface ToggleStateInterface {
toggled: Ref<boolean>;
toggle: () => void;
}
export function usePersistentToggle(uniqueId: string): ToggleStateInterface {
const localStorageKey = `toggle-state-${uniqueId}`;
con... |
d8aae7a78826737484c2b9c201574ca7abebe2415f6822ef0a68e7662e3d8fb4 | TypeScript | 567 | 14 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Message",
tier: 1,
exports: ["Message"],
intent: ["an inline notice", "a page-level notice with a title"],
use_when: "Info, warning, error or success text placed inline with the content it refers to.",
never_when: ["... |
baa3eb67d289bad5f3b4964cc25fa7776b31ec1888570dec2643d538cfbebc28 | TypeScript | 589 | 13 | // Copyright (C) CVAT.ai Corporation
//
// SPDX-License-Identifier: MIT
import { SimilarityThresholdPolicy } from 'cvat-core/src/quality/server-response-types';
export type ThresholdCoordinates = { x: number; y: number };
export type EditableThresholdPoint = ThresholdCoordinates & { id: number };
export type Editable... |
b1f9d7a187045e9a3867ca9e64afe59e07e5abe2ee73b94d8a3dea467d7bd034 | TypeScript | 636 | 22 | import type { RawLocation } from "vue-router";
import { Toast } from "@/composables/toast";
export function getRedirectOnImportPath(
response: { id?: string; message?: string; status?: string },
isRunFormRedirect = false,
): RawLocation {
if (isRunFormRedirect) {
return { path: "/workflows/run", q... |
889e551c24842155bab67db75845ec4087b909a985aaba30ad94e208a9ec5796 | TypeScript | 655 | 11 | // design-sync bundle entry for @humansignal/ui (the main namespace).
// The global styles mirror what the reference storybook loads (.storybook/preview.ts):
// tailwind.css (base/components/utilities) + styles.prefix.css (design tokens, typography, colors).
import "../../libs/ui/src/tailwind.css";
import "../../libs/u... |
7aaf8a5d5673919817cdbabb46d058d712716a028e8fe9b13261cb81344d2a69 | TypeScript | 658 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "MultiStateToggle",
tier: 1,
exports: ["MultiStateToggle"],
intent: ["pick one of up to five visible options"],
use_when:
"A segmented control for a small, always-visible set of mutually exclusive options (view mode... |
823856aaff197f738d2718deeee6acdbe79f13b1ff769dc20bd3bbbeae844ba9 | TypeScript | 658 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "EmptyState",
tier: 1,
exports: ["EmptyState"],
intent: ["nothing to show"],
use_when: "No data, no results or a first-run screen: icon, title, description and the action that fills it.",
never_when: ["a bare 'No data... |
9c39ed05f70588070437dbb81c81f68ee817e6f9190275a8a41adfcfb1f97366 | TypeScript | 676 | 15 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Tabs",
tier: 1,
exports: ["Tabs", "TabsList", "TabsTrigger", "TabsContent"],
intent: ["switch between views of the same thing"],
use_when: "Peer views of one subject, selected one at a time.",
never_when: ["a row of ... |
f09de06038a8a451db41598f1f2c6746522050117d16123545091a3c2d9ff2e3 | TypeScript | 681 | 12 | export { TaskStateChip, type TaskStateChipProps } from "./task-state-chip";
export { AnnotationStateChip, type AnnotationStateChipProps } from "./annotation-state-chip";
export {
ProjectStateChip,
type ProjectStateChipProps,
type ManualProjectState,
getManualProjectStateDescription,
} from "./project-state-chip... |
c4900c3009a21083ff953b6b2e72e1af43e3cbb10f2cfd625f15b6a7de355f7c | TypeScript | 690 | 18 | import { emitEvent } from "@humansignal/core/telemetry";
/**
* app-common telemetry gateway — the **only** module in app-common that may import core/telemetry.
*
* Defers ingest (setTimeout 0) and swallows errors so tracking never interleaves with product
* state updates or throws into product paths. Pass ids, enu... |
121bbed415f8754ba9e799ff2822a65f6068a81e523cb57e8471da2c5d95306f | TypeScript | 691 | 24 | import { redirectLoggedIn } from "@/router/guards";
import Login from "@/entry/analysis/modules/Login.vue";
import Register from "@/entry/analysis/modules/Register.vue";
/**
* Entry routes for logging in and registering.
*
* These use a `beforeEnter` guard rather than a route-level `redirect`, so that a
* pending... |
32c3499f935cc62162100bcd04d9caa9e4e5c9ebf9aefbb5b633748d18b5b8c0 | TypeScript | 691 | 16 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Label",
tier: 1,
exports: ["Label"],
intent: ["a caption for a form control"],
use_when: "The text, required marker and description attached to a control.",
never_when: ["a bare <label> or Typography placed next to a... |
9944002f15abf7e71141ac79b51f8587a695f20c3a21aebf53f62d896b96ef6a | TypeScript | 710 | 16 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Pagination",
tier: 1,
exports: ["Pagination"],
intent: ["move through pages of a list"],
use_when: "Page controls for lists and tables, with page size where the list supports it.",
never_when: ["an app-local Paginati... |
c10977a3d9b0166165097f1f105dfd3e05ea8e7da186aa78405917de18399681 | TypeScript | 734 | 19 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "Toggle",
tier: 1,
exports: ["Toggle"],
intent: ["an on/off setting"],
use_when:
"A setting that is either on or off and takes effect as a preference (auto-save, notifications, a feature switch).",
never_when: [
... |
3ae0c943ed4c12990d4529491820952b740f30caa45bf13755169a16290837bf | TypeScript | 758 | 25 | import { describe, expect, it } from "vitest";
import { capitalizeFirstLetter } from "./strings";
describe("capitalizeFirstLetter", () => {
it("capitalizes a normal string", () => {
expect(capitalizeFirstLetter("google")).toBe("Google");
});
it("trims whitespace", () => {
expect(capitaliz... |
5acbd496be9ea4dd3cdaf56b4822fac8b32ea625d492066e723030400b1638f9 | TypeScript | 759 | 16 | import type { MaybeRefOrGetter } from "@vueuse/core";
import type { Ref } from "vue";
/**
* Reactively filter an array of objects, by comparing `filter` to all `fields`.
* Matches are ordered exact first, then prefix, then other substring matches.
* All parameters can optionally be refs.
* @param array array of ob... |
46f9d8a8041293590345db96f0f29ea324534418164886555ad44d4fa4541738 | TypeScript | 766 | 34 | export const SELECTION_STATES = {
SELECTED: "success",
UNSELECTED: "default",
MIXED: "secondary",
} as const;
export type SelectionState = (typeof SELECTION_STATES)[keyof typeof SELECTION_STATES];
export interface FieldEntry {
key: string;
label?: string;
sortable?: boolean;
}
export interfac... |
1e47dcf1b352082957a2afc053a070bf096231c475a2a5ea1d38469b9475f035 | TypeScript | 771 | 30 | import { watchImmediate } from "@vueuse/core";
import { type Ref, ref, type UnwrapRef } from "vue";
import { syncRefToLocalStorage } from "./persistentRef";
/**
* Local storage composable specific to current user.
* @param key
* @param initialValue
*/
export function useUserLocalStorageFromHashId<T>(
key: str... |
37bf7b8002d788bda0f591b37849c313eae39a73eee32e5cb61ced0c952378a7 | TypeScript | 793 | 17 | import { defineManifest } from "../../ds-manifest";
export default defineManifest({
name: "SimpleCard",
tier: 1,
exports: ["SimpleCard"],
intent: ["a titled surface grouping related content"],
use_when: "A bordered surface with an optional title and description around a group of controls or data.",
never_w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.