file_hash
stringlengths
16
16
language
stringclasses
8 values
line_count
int64
20
500
theme
stringclasses
8 values
source_code
stringlengths
236
8.19k
prompt_idx
int64
0
6
messages
listlengths
3
3
86a9c722ad30113c
typescript
206
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { join } from 'node:path'; import { TestRig } from './test-helper.js'; interface PromptCommand { prompt: (testFile: string) => string; tool: string; ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
71102c79248ca8e1
go
143
Default Light+
package server import ( "bytes" "encoding/json" "net/http" "path/filepath" "testing" "github.com/gin-gonic/gin" "github.com/ollama/ollama/api" "github.com/ollama/ollama/manifest" "github.com/ollama/ollama/types/model" ) func TestDelete(t *testing.T) { gin.SetMode(gin.TestMode) p := t.TempDir() t.Setenv...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
66a37e10f5030f36
csharp
100
Default Light+
// Copyright (c) 2018 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publi...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
1af0fd5ba8322dc4
java
76
Dracula
package com.macro.mall.security.config; import com.macro.mall.security.component.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.spri...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
faf140066fd20e87
typescript
334
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod'; import { getSettingsSchema, type SettingDefinition, type SettingCollectionDefinition, SETTINGS_SCHEMA_DEFINITIONS, } from './settingsSchema.js'; // Helper to build Zod schema from the JSON-schema-l...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
cfb1e32efda2bdb9
java
112
Solarized Dark
/* * 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"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
ad94cf9250811e24
csharp
83
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel.Embeddings; using Xunit; using Xunit.Abstractions; namespace SemanticKernel.IntegrationTests.Connectors.HuggingFace.EmbeddingGeneration; public sealed class Embe...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ce4abc109ad46685
go
36
Default Dark+
package gin import ( "net/http" "net/http/httptest" "testing" "github.com/stretchr/testify/assert" ) // TestContextFileSimple tests the Context.File() method with a simple case func TestContextFileSimple(t *testing.T) { // Test serving an existing file testFile := "testdata/test_file.txt" w := httptest.NewRec...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
2ea2431c31a76fff
java
53
Solarized Dark
/* * 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"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
5f44698d5c312a42
java
27
Dracula
package com.macro.mall.portal.component; import com.macro.mall.portal.service.OmsPortalOrderService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.bea...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
aeb16a7d15a75748
go
57
Default Light+
package mistral3 import ( "image" _ "image/jpeg" _ "image/png" "math" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/model/imageproc" ) type ImageProcessor struct { imageSize int patchSize int numChannels int longestEdge int } func newImageProcessor(c fs.Config) ImageProcessor { return Image...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
7a84e0315f274460
typescript
257
Solarized Light
"use client" import * as React from "react" import useEmblaCarousel, { type UseEmblaCarouselType, } from "embla-carousel-react" import { cn } from "@/registry/bases/base/lib/utils" import { Button } from "@/registry/bases/base/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
fabcb2fa33ae76d8
python
147
Default Light+
import itertools import time from .common import InfoExtractor from .soundcloud import SoundcloudIE from ..utils import ( ExtractorError, url_basename, ) class AudiomackIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?audiomack\.com/(?:song/|(?=.+/song/))(?P<id>[\w/-]+)' IE_NAME = 'audiomack' ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
30e034298675b9d7
csharp
97
Monokai
using System; using System.Runtime.InteropServices; namespace winPEAS.KnownFileCreds.SecurityPackages { [StructLayout(LayoutKind.Sequential)] public struct SecBuffer : IDisposable { public int BufferSize; public int BufferType; public IntPtr BufferPtr; /// <summary> ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
6e9310e25ee04297
cpp
33
One Dark Pro
#pragma once #include "ggml-backend-impl.h" #include "ggml-backend.h" #include "ggml-impl.h" #include "shared/api_remoting.h" #include <cstdarg> #include <cstdio> #include <cstdlib> extern ggml_backend_reg_t reg; extern ggml_backend_dev_t dev; extern ggml_backend_t bck; struct virgl_apir_callbacks { const c...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
4be17120d014efd2
typescript
285
One Dark Pro
import * as E from "fp-ts/Either" import superjson from "superjson" import type { VersionedAPI } from "@type/versioning" import { StoreV1, StoredData, StoredDataSchema, StoreEvents, StoreEventEmitter, } from "@store/v/1" class BrowserStoreManager { private static instance: BrowserStoreManager private li...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
6983e74352c45125
python
37
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.exceptions.kernel_exceptions import KernelException class MemoryConnectorException(KernelException): """Base class for all memory connector exceptions.""" pass class MemoryConnectorConnectionException(MemoryConnectorException): """A...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
fdb8c8201bc8bbf8
java
112
Solarized Dark
/* * 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"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
3a933166d5e1ab1b
go
210
Default Light+
package op import ( "time" "github.com/Xhofe/go-cache" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/singleflight" "github.com/alist-org/alist/v3/pkg/utils" ) var userCache = cache.New...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
f3c039c212419645
cpp
94
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
5192aa34ed909eb0
python
29
Monokai
from comfy.comfy_types import IO, ComfyNodeABC, InputTypeDict from inspect import cleandoc class ExampleNode(ComfyNodeABC): """An example node that just adds 1 to an input integer. * Requires a modern IDE to provide any benefit (detail: an IDE configured with analysis paths etc). * This node is intended ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
9ae923b07fcd9e4b
cpp
74
Solarized Light
#pragma once #include "pdbdiatypes.h" #include <vector> #include <map> #include <string> #include <set> #include <unordered_set> #include <unordered_map> #include <atomic> struct IStream; struct IDiaDataSource; struct IDiaSession; struct IDiaSymbol; class PDBDiaFile { public: struct Query_t { std::f...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
75aa6ce59856e4b3
csharp
28
Default Light+
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { public static class ParamsCollections { public static void ParamsEnumerable(params IEnumerable<int> values) { } public static void ParamsList(params List<int> value...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
4a0e4cc5775512a3
typescript
22
Solarized Light
import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/examples/radix/ui/input-group" import { Kbd } from "@/examples/radix/ui/kbd" import { SearchIcon } from "lucide-react" export function InputGroupKbd() { return ( <InputGroup className="max-w-sm"> <InputGroupInput placeholder="Search..."...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
fea4046313f2e853
cpp
122
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: unicharset_extractor.cpp // Description: Unicode character/ligature set extractor. // Author: Thomas Kielbus // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may no...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
1d9e5a20ece94c59
typescript
457
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Text, Box } from 'ink'; import { theme } from '../semantic-colors.js'; import { colorizeCode } from './CodeColorizer.js'; import { TableRenderer } from './TableRenderer.js'; import { RenderInline...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
7f401b72681b1116
typescript
228
One Dark Pro
import { markRaw } from "vue" import * as E from "fp-ts/Either" import { pipe } from "fp-ts/function" import { getI18n } from "~/modules/i18n" import { postProcessRelayRequest, preProcessRelayRequest, } from "~/helpers/functional/process-request" import { relayRequestToNativeAdapter, type RelayCapabilities, t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
e4170093b4c8828a
typescript
402
Solarized Light
import { MapDocument, TeamFlags, URLTrace } from "../../controllers/v1/types"; import { getMapResults } from "../../controllers/v1/map"; import { removeDuplicateUrls } from "../validateUrl"; import { isUrlBlocked } from "../../scraper/WebScraper/utils/blocklist"; import { buildPreRerankPrompt, buildRefrasedPrompt } fro...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
154ac2ec6ffcc420
python
48
Solarized Light
""" Project Euler Problem 9: https://projecteuler.net/problem=9 Special Pythagorean triplet A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find th...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0a768a8482eeec4e
csharp
42
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.MistralAI.Client; /// <summary> /// Choice for chat completion. /// </summary> internal sealed class MistralChatChoice { [JsonPrope...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
cf6e57e559bb94eb
typescript
61
Monokai
import type {AnyObject} from '../types/basic.js'; import type {Merge} from '../types/utils.js'; export type ResolverObjectKey = string | boolean; export interface ResolverCache< T extends AnyObject[] = AnyObject[], R extends AnyObject[] = T > { [Symbol.toStringTag]: 'Object'; _cacheable: boolean; _scopes: T...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
4b375e5e4b2fa1a8
csharp
119
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
ca3684bcc0a7b7eb
javascript
79
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
dfb0e142742bc5cb
typescript
62
Solarized Light
"use client" import { toast } from "sonner" import { Button } from "@/registry/new-york-v4/ui/button" export default function SonnerTypes() { return ( <div className="flex flex-wrap gap-2"> <Button variant="outline" onClick={() => toast("Event has been created")}> Default </Button> <B...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
22c0d765a89ad7fa
typescript
64
Solarized Light
"use client" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { Checkbox } from "@/registry/bases/base/ui/checkbox" import { Field, FieldContent, FieldDescription, F...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
85e3c62828b2b516
typescript
58
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { Calendar } from "@/examples/radix/ui/calendar" import { Card, CardContent, CardFooter } from "@/examples/radix/ui/card" import { addDays } from "date-fns" export function CalendarWithPresets() { const [date, set...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
1c2d8b1343b340b5
typescript
133
Solarized Light
import type { Element } from "hast"; import { ChevronDown, ChevronUp } from "lucide-react"; import { memo } from "react"; import ReactMarkdown from "react-markdown"; import rehypeKatex from "rehype-katex"; import rehypeRaw from "rehype-raw"; import rehypeSanitize from "rehype-sanitize"; import remarkBreaks from "remark...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
77c92085e7a13f4d
java
37
Solarized Dark
/* * 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"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
1f7595bafbe5f0c8
cpp
102
Dracula
/** * Copyright 2021-2024, XGBoost Contributors * \file linalg_op.h */ #ifndef PLUGIN_SYCL_COMMON_LINALG_OP_H_ #define PLUGIN_SYCL_COMMON_LINALG_OP_H_ #include <vector> #include <utility> #include "../data.h" #include "../device_manager.h" #include <sycl/sycl.hpp> namespace xgboost { namespace sycl { namespace l...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
52216bdefe7b8d3e
java
62
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
e3686d8dd7a00c27
typescript
435
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import os from 'node:os'; import { isWindows10, isJetBrainsTerminal, isTmux, isGnuScreen, isLowColorTmux, isDumbTerminal, supports256Colors, ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
69911f7d25f06cef
cpp
71
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
e6aae17585336d20
java
84
Solarized Dark
/* * 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"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
8479566f0d94f1c9
java
142
Solarized Dark
/* * 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"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
3773f081a61032b2
csharp
42
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
6da8b57936225dcf
rust
45
Default Dark+
use heed::RwTxn; use super::document::{Document, DocumentFromDb}; use crate::constants::{RESERVED_GEOJSON_FIELD_NAME, RESERVED_GEO_FIELD_NAME}; use crate::progress::{self, AtomicSubStep, Progress}; use crate::{FieldDistribution, Index, Result}; pub fn field_distribution(index: &Index, wtxn: &mut RwTxn<'_>, progress: ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
625c169ca14e91b6
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using Microsoft.Extensions.VectorData; namespace Microsoft.SemanticKernel.Connectors.Redis; /// <summary> /// Options when creating a <see cref="RedisJsonCollection{TKey, TRecord}"/>. /// </summary> public sealed class RedisJsonCollectionOptio...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d7237dfc9d046595
go
75
Default Light+
package discover import ( "log/slog" "path/filepath" "sort" "strings" "github.com/ollama/ollama/format" "github.com/ollama/ollama/ml" ) type memInfo struct { TotalMemory uint64 `json:"total_memory,omitempty"` FreeMemory uint64 `json:"free_memory,omitempty"` FreeSwap uint64 `json:"free_swap,omitempty"` /...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2f01962107dfe8bb
typescript
27
Solarized Light
import express from "express"; import { crawlController } from "../../src/controllers/v0/crawl"; import { crawlStatusController } from "../../src/controllers/v0/crawl-status"; import { scrapeController } from "../../src/controllers/v0/scrape"; import { searchController } from "../../src/controllers/v0/search"; import {...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
e514dc6a88d52eaa
cpp
335
One Dark Pro
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing, software // distributed under the ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ad7455f871e07c89
python
123
Default Light+
import json from .common import InfoExtractor from ..utils import ( float_or_none, int_or_none, parse_codecs, traverse_obj, urljoin, ) class StreamCZIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?(?:stream|televizeseznam)\.cz/[^?#]+/(?P<display_id>[^?#]+)-(?P<id>[0-9]+)' _TESTS = [{...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
717201da3dd617b3
typescript
34
Solarized Dark
/* eslint-disable */ /* prettier-ignore */ // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 export {} declare module 'vue' { export interface GlobalComponents { ClientCard: typeof import('./src/components/ClientCard.vue')['default'] ElButton: typeof...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
f680bb6b216552ea
javascript
21
Dracula
import isPowerOfTwo from '../isPowerOfTwo'; describe('isPowerOfTwo', () => { it('should detect if the number is power of two', () => { expect(isPowerOfTwo(1)).toBe(true); expect(isPowerOfTwo(2)).toBe(true); expect(isPowerOfTwo(3)).toBe(false); expect(isPowerOfTwo(4)).toBe(true); expect(isPowerOfT...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
97ea16393658e021
python
26
Solarized Light
""" Self Powers Problem 48 The series, 1^1 + 2^2 + 3^3 + ... + 10^10 = 10405071317. Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000. """ def solution(): """ Returns the last 10 digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000. >>> solution() '9110846700' """ ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
5f170dec4acf8f06
csharp
42
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Internal; using Xunit; namespace SemanticKernel.Agents.UnitTests.Internal; /// <summary> /// Unit testing of <see cref="KeyEncoder"/>. /// </summary> public class KeyEncode...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
7a44115892991d35
python
88
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from openai import AsyncOpenAI from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion from semantic_kernel.contents.chat_history import ChatHistory from semantic_kernel.functions.kernel_arguments import KernelArguments from semantic_kern...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
cee2b18803b54345
java
47
Solarized Dark
/* * 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"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
376b79efbb25ba8a
csharp
59
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.SemanticKernel.Embeddings; using xRetry; using Xunit; using Xunit.Abstractions; namespace SemanticKernel.IntegrationTests.Connectors.Google; [Obsolete("Temporary Test for ITextEmbeddingGenerationService")] p...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
1955f832f98c340b
javascript
51
Dracula
// run when format es import NestedWorker from '../emit-chunk-nested-worker?worker' import ImportMetaGlobWorker from '../importMetaGlob.worker?worker' function text(el, text) { document.querySelector(el).textContent = text } text('.format-es', 'format es:') const nestedWorker = new NestedWorker() const dataList = ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
00fc63e444ab8c7c
cpp
128
Dracula
#include "flutter_window.h" #include <desktop_multi_window/desktop_multi_window_plugin.h> #include <texture_rgba_renderer/texture_rgba_renderer_plugin_c_api.h> #include <flutter_gpu_texture_renderer/flutter_gpu_texture_renderer_plugin_c_api.h> #include "flutter/generated_plugin_registrant.h" #include <flutter/event_...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
8a74aec654490f8d
cpp
416
One Dark Pro
// (C) Copyright 2017, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
2c843ba11630cebe
cpp
273
Dracula
/*! * Copyright 2014 by Contributors * \file base64.h * \brief data stream support to input and output from/to base64 stream * base64 is easier to store and pass as text format in mapreduce * \author Tianqi Chen */ #ifndef XGBOOST_COMMON_BASE64_H_ #define XGBOOST_COMMON_BASE64_H_ #include <xgboost/logging.h> #in...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
4988bd60fe06e9da
java
125
Solarized Dark
/* * 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"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
f67b41fb0c3799c5
java
29
GitHub Dark
package org.jeecg.modules.system.vo.tenant; import lombok.Data; /** * 租户产品包 关联权限详情 * @Author taoYan * @Date 2023/2/16 21:02 **/ @Data public class TenantPackAuth { /** * 一级菜单 */ private String category; /** * 权限菜单名称 */ private String authName; /** * 权限菜单描述 */ ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
383cd6b9b2ca9290
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel; /// <summary> /// Helper class to get app context switch value /// </summary> [ExcludeFromCodeCoverage] internal static class AppContextSwitchHelper { /// <summary> /// R...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
883d1a3b36688734
java
127
Solarized Dark
/* * Copyright 2014 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
03ac024bf5e1fce5
java
34
Solarized Dark
/* * 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"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
b8e186b4a4d28b7d
java
31
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
197c6a6e372644a8
rust
160
GitHub Dark
use { grep_matcher::ByteSet, regex_syntax::{ hir::{self, Hir, HirKind, Look}, utf8::Utf8Sequences, }, }; /// Return a confirmed set of non-matching bytes from the given expression. pub(crate) fn non_matching_bytes(expr: &Hir) -> ByteSet { let mut set = ByteSet::full(); remove_matchi...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
11b388acbc32ba9a
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.SmsFlashPromotionProductRelation; import com.macro.mall.model.SmsFlashPromotionProductRelationExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SmsFlashPromotionProductRelationMapper { long countByExample(SmsFlas...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
92fe22230699b93b
javascript
103
Dracula
import GraphVertex from '../../../../data-structures/graph/GraphVertex'; import GraphEdge from '../../../../data-structures/graph/GraphEdge'; import Graph from '../../../../data-structures/graph/Graph'; import stronglyConnectedComponents from '../stronglyConnectedComponents'; describe('stronglyConnectedComponents', ()...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
821e4aa353f151fb
java
27
GitHub Dark
package org.jeecg.modules.airag.wordtpl.service; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.modules.airag.wordtpl.dto.WordTplGenDTO; import org.jeecg.modules.airag.wordtpl.entity.EoaWordTemplate; import java.io.ByteArrayOutputStream; /** * @Description: word模版管理 * @Author: jeecg-b...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
9de39df3cb9e4ccd
typescript
123
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../../config/config.js'; import type { BaseLlmClient } from '../../core/baseLlmClient.js'; import { debugLogger } from '../../utils/debugLogger.js'; import { coreEvents } from '../../utils/events.js'; i...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
80ff115fc79baf68
python
85
Solarized Light
""" A Python implementation of the quick select algorithm, which is efficient for calculating the value that would appear in the index of a list if it would be sorted, even if it is not already sorted https://en.wikipedia.org/wiki/Quickselect """ import random def _partition(data: list, pivot) -> tuple: """ ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
296f42dcddb6a47c
csharp
75
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
e1af014c0bcb8de3
csharp
51
Monokai
using System.Collections; using Color = System.Windows.Media.Color; namespace ScreenToGif.Util.Codification.Gif.Encoder.Quantization; public class GrayscaleQuantizer : PaletteQuantizer { /// <summary> /// Grayscale palette quantizer. /// </summary> /// <remarks> /// Palette quantization only requi...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5a7fd015b4d55999
java
126
Default Light+
package com.thealgorithms.puzzlesandgames; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public final class WordBoggle { private WordBoggle() { } /** * O(nm * 8^s + ws) time where n = width of boggle...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
b570f1960ea9de59
typescript
212
Solarized Light
import { useQueryClient } from "@tanstack/react-query"; import { useCallback, useEffect, useRef, useSyncExternalStore } from "react"; import { getAccessToken } from "@/auth-state"; import { useAuth } from "@/contexts/AuthContext"; import { memoKeys } from "@/hooks/useMemoQueries"; import { userKeys } from "@/hooks/useU...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
48269e19f748f096
python
88
Monokai
# Copyright (c) Microsoft. All rights reserved. from collections.abc import Iterable, Sequence from typing import TYPE_CHECKING, Any, ClassVar, TypeVar from azure.ai.agents.models import ( CodeInterpreterTool, FileSearchTool, MessageAttachment, MessageRole, ThreadMessageOptions, ToolDefinition...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
2565ef74c542bd89
typescript
126
Default Dark+
import type { ResumeBadgeProps } from '../resume-badge'; export default function ResumeBadgeOwlIcon({ className }: ResumeBadgeProps) { return ( <svg aria-hidden="true" className={className} viewBox="0 0 511.988 511.988" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"> ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
175a72a3e8c44b73
typescript
119
Solarized Light
// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
0786eec4e4f1a921
typescript
234
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { V0_SCHEMA } from "./0" export const FormDataKeyValue = z .object({ key: z.string(), active: z.boolean(), }) .and( z.union([ z.object({ isFile: z.literal(true), value: z.array(z.instanceof(Blob).nullable()),...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
daffb843c412ad94
go
89
Solarized Dark
// Copyright 2025 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
accc2518e2ebf409
cpp
59
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
c3d82352df0d0399
java
21
GitHub Dark
package org.jeecg.modules.base.mapper; import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import org.apache.ibatis.annotations.Param; import org.jeecg.common.api.dto.LogDTO; /** * @Description: BaseCommonMapper * @author: jeecg-boot */ public interface BaseCommonMapper { /** * 保存日志 * @par...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
33bd4042926c1688
csharp
59
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Web; /// <summary> /// A sealed class containing the deserialized response from the respective Web Search API. /// </summary> /// <returns>A WebPag...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
977823fe7a9ea3de
typescript
37
Solarized Light
"use client" import * as React from "react" import { Calendar } from "@/examples/radix/ui/calendar" import { Card, CardContent } from "@/examples/radix/ui/card" import { es } from "react-day-picker/locale" export function CalendarBookedDates() { const [date, setDate] = React.useState<Date | undefined>( new Date...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
e40b43246a6b7704
typescript
41
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { useKeypress } from '../hooks/useKeypress.js'; import { useUIActions } from '../contexts/UIActionsContext.js'; import { Command } from '../key/...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
9b4cb04208b2fb7c
cpp
63
One Dark Pro
#include "../node_context.h" #include "../op_table.h" #include "../utils.h" #include <cstdint> #include <memory> #include <openvino/core/node_output.hpp> #include <openvino/op/constant.hpp> #include <openvino/op/multiply.hpp> #include <openvino/op/sigmoid.hpp> #include <openvino/op/slice.hpp> namespace ov { namespace...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
1f8458ffb7967bd7
java
73
Default Light+
package com.thealgorithms.sorts; /** * Comb Sort algorithm implementation * * <p> * Best-case performance O(n * log(n)) Worst-case performance O(n ^ 2) * Worst-case space complexity O(1) * * <p> * Comb sort improves on bubble sort. * * @author Sandeep Roy (https://github.com/sandeeproy99) * @author Podshiva...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
18d4c2733459b47a
typescript
56
Solarized Light
"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { registryCategories } from "@/lib/categories" import { ScrollArea, ScrollBar } from "@/registry/new-york-v4/ui/scroll-area" export function BlocksNav() { const pathname = usePathname() return ( <div className="re...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
028ea262fafa7df2
rust
357
Solarized Dark
use std::io::Error; use std::path::Path; use super::utils::truncate::truncate_text; use super::{Context, Module, ModuleConfig, vcs}; use crate::configs::hg_branch::HgBranchConfig; use crate::formatter::StringFormatter; use crate::utils::read_file; /// Creates a module with the Hg bookmark or branch in the current di...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
b7b74e6dc508819d
python
92
Solarized Light
""" Project Euler Problem 27 https://projecteuler.net/problem=27 Problem Statement: Euler discovered the remarkable quadratic formula: n2 + n + 41 It turns out that the formula will produce 40 primes for the consecutive values n = 0 to 39. However, when n = 40, 402 + 40 + 41 = 40(40 + 1) + 41 is divisible by 41, and ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
daddc21b017efaf6
cpp
131
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
111c7fa267e64001
typescript
41
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/examples/radix/ui/dialog" export function DialogScrollableContent() { return ( <Dialog> <DialogTrigger asChild> <Button variant="out...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0b169de89699cba8
typescript
95
Solarized Dark
import { decodeAndTrim, parseBoolOrPresence, parseInteger, parsePortOrDefault, parseQueryStringNormalized, parseUrlLike, safeDecodeURIComponent, splitOnce, stripUriScheme, } from './helpers' export function URI_AnyTLS(line: string): IProxyAnyTLSConfig { const afterScheme = stripUriScheme(line, 'any...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
41aede6de324b4bf
typescript
360
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { In...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
1e5444913f19a239
go
57
Solarized Dark
// Copyright 2018 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
78b60c70d106675f
python
163
Monokai
""" This file is part of ComfyUI. Copyright (C) 2024 Stability AI This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
dc658f13021e66c3
csharp
269
One Dark Pro
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...