Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'tags'})
This happened while the json dataset builder was generating data using
hf://datasets/sylvester-francis/slm-typescript/validation.jsonl (at revision 47ea960125f8768ea2f862c14612ba75f7a663a8)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
text: string
source: string
repo: string
path: string
tags: list<item: string>
child 0, item: string
to
{'text': Value('string'), 'source': Value('string'), 'repo': Value('string'), 'path': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1339, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'tags'})
This happened while the json dataset builder was generating data using
hf://datasets/sylvester-francis/slm-typescript/validation.jsonl (at revision 47ea960125f8768ea2f862c14612ba75f7a663a8)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string | source string | repo string | path string |
|---|---|---|---|
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ProfilerFrame} from '../../../../../../protocol';
export type Filter = (nodes: ProfilerFrame) => boolean;
... | github | angular/angular | devtools/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording-timeline/filter.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
/** Possible alias import declarations */
export type AliasImportDeclaration = ts.Impo... | github | angular/angular | packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ComponentRef, inject, Injectable} from '@angular/core';
import {OutletContext} from './router_outlet_contex... | github | angular/angular | packages/router/src/route_reuse_strategy.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
// NOTE: This file contains derived code from original sources
// created by Microsoft, licensed under an Apache Lic... | github | angular/angular | packages/core/schematics/migrations/signal-migration/src/flow_analysis/flow_node_internals.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {MessageId, ɵparseTranslation, ɵSourceMessage} from '../../../../../index';
import {Diagnostics} from '../../... | github | angular/angular | packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {InputDescriptor} from '../utils/input_id';
import {ExtractedInput} from './inpu... | github | angular/angular | packages/core/schematics/migrations/signal-migration/src/input_detection/known_inputs.ts |
/*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {CssPropertyValue} from './parser';
export type AnimationConfig = {
/**
* In milliseconds. How much the... | github | angular/angular | adev/src/app/features/home/animation/types.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
KeyValueChangeRecord,
KeyValueChanges,
KeyValueDiffer,
KeyValueDiffers,
Pipe,
PipeTransform,
} ... | github | angular/angular | packages/common/src/pipes/keyvalue_pipe.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {AbsoluteFsPath} from '../../../file_system';
import {ExtendedTsCompilerHost, ... | github | angular/angular | packages/compiler-cli/src/ngtsc/core/api/src/adapter.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-sty... | github | angular/angular | packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/reference_kinds.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {ActionResolver} from './action_resolver';
import {Dispatcher} from './dispatcher';
import {EventInfo, EventI... | github | angular/angular | packages/core/primitives/event-dispatch/src/event_dispatcher.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Type} from '../../interface/type';
import {NgModuleType} from '../../metadata/ng_module_def';
import {
Com... | github | angular/angular | packages/core/src/render3/deps_tracker/api.ts |
import {
afterRenderEffect,
Component,
computed,
ElementRef,
signal,
viewChild,
WritableSignal,
} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {Grid, GridRow, GridCell, GridCellWidget} from '@angular/aria/grid';
type Rank = 'S' | 'A' | 'B' | 'C';
interface Task {
reward: nu... | github | angular/angular | adev/src/content/examples/aria/grid/src/table/retro/app/app.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {createSignal, SIGNAL, SignalGetter, SignalNode} from '../../../primitives/signals';
import {Signal, ValueEq... | github | angular/angular | packages/core/src/render3/reactivity/signal.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {
Replacement,
TextUpdate,
ProgramInfo,
projectFile,
ProjectFile,
} fr... | github | angular/angular | packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/object_expansion_refs.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {absoluteFromSourceFile, AbsoluteFsPath} from '../../file_system';
import {Depe... | github | angular/angular | packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {
confirmAsSerializable,
ProgramInfo,
projectFile,
ProjectFile,
Replac... | github | angular/angular | packages/core/schematics/migrations/self-closing-tags-migration/self-closing-tags-migration.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {TreeD3Node, TreeNode} from '../../shared/tree-visualizer/tree-visualizer';
import {Route} from '../../../../... | github | angular/angular | devtools/projects/ng-devtools/src/lib/devtools-tabs/router-tree/router-tree-fns.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import * as o from '../../../../../../src/output/output_ast';
import {ParseSourceSpan} from '../../../../../../src/p... | github | angular/angular | packages/compiler/src/template/pipeline/ir/src/ops/host.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
export type Entry = string | Directory;
export interface Directory {
[name: string]... | github | angular/angular | packages/compiler-cli/test/mocks.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
/**
* A host backed by a build system which has a unified view of the module namespac... | github | angular/angular | packages/compiler-cli/src/ngtsc/core/api/src/interfaces.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {DocEntry} from '../../../src/ngtsc/docs';
import {EntryType, TypeAliasEntry} from '../../../src/ngtsc/docs/s... | github | angular/angular | packages/compiler-cli/test/ngtsc/doc_extraction/type_alias_doc_extraction_spec.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/// <reference types="node" />
import {PerfCheckpoint, PerfEvent, PerfPhase, PerfRecorder} from './api';
import {HrT... | github | angular/angular | packages/compiler-cli/src/ngtsc/perf/src/recorder.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {AbsoluteFsPath} from '../../file_system';
export interface FileUpdate {
/**
... | github | angular/angular | packages/compiler-cli/src/ngtsc/program_driver/src/api.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Component, ErrorHandler, Injectable, NgModule} from '@angular/core';
@Component({
selector: 'benchmark-ar... | github | angular/angular | modules/benchmarks/src/expanding_rows/benchmark_module.ts |
import {Injectable} from '@angular/core';
import {Observable} from 'rxjs';
import {asyncData} from '../../../testing';
import {map} from 'rxjs/operators';
// re-export for tester convenience
export {Hero} from '../hero';
export {HeroService} from '../hero.service';
export {getTestHeroes} from './test-heroes';
impor... | github | angular/angular | adev/src/content/examples/testing/src/app/model/testing/test-hero.service.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {Reference} from '../../imports';
import {ClassDeclaration} from '../../reflect... | github | angular/angular | packages/compiler-cli/src/ngtsc/typecheck/api/scope.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
/**
* A type reference resolver function is responsible for translating a type referen... | github | angular/angular | packages/compiler-cli/src/ngtsc/translator/src/type_emitter.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import type {
TmplAstBoundAttribute,
TmplAstBoundEvent,
TmplAstBoundText,
TmplAstContent,
TmplAstDeferredB... | github | angular/angular | packages/core/schematics/utils/template_ast_visitor.ts |
// #docplaster
// #docregion builder, builder-skeleton
import {BuilderContext, BuilderOutput, createBuilder} from '@angular-devkit/architect';
import {JsonObject} from '@angular-devkit/core';
// #enddocregion builder-skeleton
import {promises as fs} from 'fs';
// #docregion builder-skeleton
interface Options extends J... | github | angular/angular | adev/src/content/examples/cli-builder/src/my-builder.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
afterNextRender,
Component,
ElementRef,
effect,
input,
output,
signal,
viewChild,
ChangeD... | github | angular/angular | devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body/property-view-tree/property-editor/property-editor.component.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {InputNode} from '../input_detection/input_node';
import {ProgramInfo, projectFi... | github | angular/angular | packages/core/schematics/migrations/signal-migration/src/utils/input_id.ts |
/*!
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {FileSystem, setFileSystem} from '@angular/compiler-cli';
import {SchematicsException, Tree} from '@angular-d... | github | angular/angular | packages/core/schematics/utils/tsurge/helpers/angular_devkit/run_in_devkit.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {trustedHTMLFromString} from '../util/security/trusted_types';
/**
* This helper is used to get hold of an ... | github | angular/angular | packages/core/src/sanitization/inert_body.ts |
import {
afterRenderEffect,
Component,
computed,
ElementRef,
signal,
viewChild,
WritableSignal,
} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {Grid, GridRow, GridCell, GridCellWidget} from '@angular/aria/grid';
type Priority = 'High' | 'Medium' | 'Low';
interface Task {
ta... | github | angular/angular | adev/src/content/examples/aria/grid/src/table/basic/app/app.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {isArray} from '../../util/type_guards';
import {LogicFn, OneOrMany, PathKind, ValidationResult, type FieldCo... | github | angular/angular | packages/forms/signals/src/api/validators/util.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import * as ir from '../../ir';
import {CompilationJobKind, type CompilationJob} from '../compilation';
function ki... | github | angular/angular | packages/compiler/src/template/pipeline/src/phases/ordering.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {computed, Signal, signal, WritableSignal} from '@angular/core';
import {FormFieldManager} from '../../src/fi... | github | angular/angular | packages/forms/signals/compat/src/compat_structure.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {computed, resource, ɵisPromise, Signal} from '@angular/core';
import type {StandardSchemaV1} from '@standard... | github | angular/angular | packages/forms/signals/src/api/validators/standard_schema.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {InjectionToken} from '../di/injection_token';
/** Actions that are supported by the tracing framework. */
e... | github | angular/angular | packages/core/src/application/tracing.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
LegacyAnimationTriggerNames,
DeclarationListEmitMode,
DeferBlockDepsEmitMode,
R3ClassDebugInfo,
R... | github | angular/angular | packages/compiler-cli/src/ngtsc/annotations/component/src/metadata.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {
AST,
CombinedRecursiveAstVisitor,
ParseSourceSpan,
TmplAstNode,
TmplAstTemplate,
} from '@angular... | github | angular/angular | packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Events, MessageBus, Parameters} from '../../../protocol';
type AnyEventCallback<Ev> = <E extends keyof Ev>(... | github | angular/angular | devtools/projects/shell-browser/src/app/same-page-message-bus.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import ts from 'typescript';
import {AbsoluteFsPath} from '../../file_system';
import {ClassRecord} from '../../tra... | github | angular/angular | packages/compiler-cli/src/ngtsc/incremental/src/state.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {SchemaMetadata} from '@angular/compiler';
import {Reexport, Reference} from '../../imports';
import {Direct... | github | angular/angular | packages/compiler-cli/src/ngtsc/scope/src/api.ts |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Type} from '../interface/type';
import {assertLessThan} from '../util/assert';
import {ɵɵdefineInjectable} ... | github | angular/angular | packages/core/src/di/injection_token.ts |
End of preview.
README.md exists but content is empty.
- Downloads last month
- 12