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
36456bbd371bed8b
python
27
Dracula
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [...
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...
6bd9b3d26f16ed38
python
67
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( determine_ext, ) class GolemIE(InfoExtractor): _VALID_URL = r'https?://video\.golem\.de/.+?/(?P<id>.+?)/' _TEST = { 'url': 'http://video.golem.de/handy/14095/iphone-6-und-6-plus-test.html', 'md5': 'c1a2c0a3c863319...
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...
b14407e87b8ee854
csharp
42
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using QualityCheckWithFilters.Models; using QualityCheckWithFilters.Services; namespace QualityCheckWithFilters.Filters; /// <summary> /// Filter which performs text summarization evaluation using BE...
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"...
195d784a58402332
java
150
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.", ...
9fc9864e0c91f4e8
typescript
182
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box, Text, useIsScreenReaderEnabled } from 'ink'; import { useEffect, useState, useMemo, useRef, useCallback } from 'react'; import { useAppContext } from '../contexts/AppContext.js'; import { useUIState } from '../context...
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.", ...
0894346a8aa92000
typescript
104
Solarized Light
"use client" import { Fragment, useMemo } from "react" import { usePathname } from "next/navigation" import { SidebarIcon } from "lucide-react" import { ThemeSelector } from "@/components/theme-selector" import { SearchForm } from "@/registry/new-york-v4/blocks/sidebar-16/components/search-form" import { Breadcrumb...
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.", ...
c1d40121fad81d67
typescript
254
One Dark Pro
"use client"; // azure and openai, using same models. so using same LLMApi. import { ApiPath, DEEPSEEK_BASE_URL, DeepSeek } from "@/app/constant"; import { useAccessStore, useAppConfig, useChatStore, ChatMessageTool, usePluginStore, } from "@/app/store"; import { streamWithThink } from "@/app/utils/chat"; imp...
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"...
64e60ec09aa415aa
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.TextToAudio; /// <summary> /// Class with extension methods for <see cref="ITextToAudioService"/> interface. /// </summa...
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"...
f34ac72ccf30734d
rust
94
GitHub Dark
mod heap; mod naive; mod steinhaus_johnson_trotter; pub use self::heap::heap_permute; pub use self::naive::{permute, permute_unique}; pub use self::steinhaus_johnson_trotter::steinhaus_johnson_trotter_permute; #[cfg(test)] mod tests { use quickcheck::{Arbitrary, Gen}; use std::collections::HashMap; pub f...
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...
7af4d84cd4fbb6cc
typescript
88
Solarized Light
"use client" import * as React from "react" import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/registry/new-york-v4/...
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...
544905f9beb8e33d
typescript
36
Default Light+
import { KEYS } from "@excalidraw/common"; import { CaptureUpdateAction } from "@excalidraw/element"; import { HelpIconThin } from "../components/icons"; import { register } from "./register"; export const actionShortcuts = register({ name: "toggleShortcuts", label: "welcomeScreen.defaults.helpHint", icon: He...
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" ...
eedf3ba11b087e6f
python
89
Monokai
# Copyright (c) Microsoft. All rights reserved. import mimetypes from typing import Any, ClassVar, Literal, TypeVar from numpy import ndarray from pydantic import Field from semantic_kernel.contents.binary_content import BinaryContent from semantic_kernel.contents.const import AUDIO_CONTENT_TAG, ContentTypes from se...
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...
f83ba0ae5c386189
go
44
Solarized Light
package email import ( "log/slog" "github.com/pkg/errors" ) // Send sends an email synchronously. // Returns an error if the email fails to send. func Send(config *Config, message *Message) error { if config == nil { return errors.New("email configuration is required") } if message == nil { return errors.Ne...
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...
381039b4e477aa0c
python
184
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, parse_iso8601, qualities, ) class PlaytvakIE(InfoExtractor): IE_DESC = 'Playtvak.cz, iDNES.cz and Lidovky.cz' _VALID_URL = r'https?://(?:.+?\.)?(?:playtvak|idnes|lidovky|metro)\.cz/.*\?(?:...
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...
16c2dc002ea42b7f
typescript
119
Solarized Light
import * as Sentry from "@sentry/node"; import { logger } from "./logger"; const RETRY_DELAYS = [500, 1500, 3000] as const; const MAX_ATTEMPTS = RETRY_DELAYS.length + 1; /** * Generic HTTP request function for Fire Engine API calls */ export async function attemptRequest<T>( url: string, data: string, abort?:...
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" ...
c45015c45d6811ce
csharp
50
Default Light+
using NimblePros.SampleToDo.Core.ProjectAggregate; using NimblePros.SampleToDo.UseCases.Projects.Create; using NimblePros.SampleToDo.Web.Extensions; namespace NimblePros.SampleToDo.Web.Projects; public class Create(IMediator mediator) : Endpoint<CreateProjectRequest, Results<Created<CreateProjectResponse>, Valida...
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" ...
4663fa4e00f9b200
typescript
147
Default Light+
import { KEYS } from "@excalidraw/common"; import { SelectionIcon, RectangleIcon, DiamondIcon, EllipseIcon, ArrowIcon, LineIcon, FreedrawIcon, TextIcon, ImageIcon, EraserIcon, laserPointerToolIcon, handIcon, } from "./icons"; import type { AppClassProperties } from "../types"; export const SH...
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" ...
ae4f1b7d66031b84
rust
137
One Dark Pro
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // // Portions Copyright 2017 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the THIRD-PARTY file. //! Magic addresses e...
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...
c208b0e72ac1df93
typescript
143
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import type { Command } from './types.js'; const { mockExtensionsCommand, mockListExtensionsCommand, mockExtensionsCommandInstance, mockListExtensionsCommandIn...
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...
4269ea4248e838aa
typescript
42
Solarized Light
import { Item, ItemActions, ItemContent, ItemDescription, ItemTitle, } from "@/examples/radix/ui/item" import { ChevronRightIcon, ExternalLinkIcon } from "lucide-react" export function ItemLink() { return ( <div className="flex w-full max-w-md flex-col gap-4"> <Item asChild> <a href="#"> ...
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...
475371b0b5f46084
typescript
161
Solarized Light
import { useQueryClient } from "@tanstack/react-query"; import { useRef } from "react"; import { toast } from "react-hot-toast"; import { useAuth } from "@/contexts/AuthContext"; import useCurrentUser from "@/hooks/useCurrentUser"; import { memoKeys } from "@/hooks/useMemoQueries"; import { userKeys } from "@/hooks/use...
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.", ...
fd13348e2509a5cd
typescript
134
One Dark Pro
import { OpenAPIV3 } from "openapi-types" import { pipe } from "fp-ts/function" import * as O from "fp-ts/Option" type SchemaType = | OpenAPIV3.ArraySchemaObjectType | OpenAPIV3.NonArraySchemaObjectType type PrimitiveSchemaType = Exclude<SchemaType, "array" | "object"> type PrimitiveRequestBodyExample = string |...
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.", ...
16da9af6942ce8b3
csharp
24
Monokai
namespace ScreenToGif.Util.Extensions; internal static class ParseExtensions { internal static bool TryParseBoolean(this string source) { bool.TryParse(source, out var result); return result; } internal static DateTime? TryParseDateTimeNullable(this string source) { if (!D...
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"...
699a1b4485c5eeb8
java
29
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...
b7ee987c81bb95d4
csharp
261
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Google.GenAI; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.Google; using Microsoft.SemanticKer...
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" ...
ad401bddfa95289e
javascript
60
One Dark Pro
const path = require('path'); const os = require('os'); const isWindows = os.platform() === 'win32'; const buildPath = isWindows ? "../../build/bin/Release/addon.node" : "../../build/Release/addon.node"; const { whisper } = require(path.join(__dirname, buildPath)); const { promisify } = require("util"); const whispe...
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...
d404a04ed49201ac
java
36
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...
d67b1207ca437e14
go
355
Solarized Dark
// Copyright 2023 The frp 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 to...
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"...
abca6f4077af8659
javascript
159
Monokai
import Scale from '../core/core.scale.js'; import {isNullOrUndef, valueOrDefault, _limitValue} from '../helpers/index.js'; const addIfString = (labels, raw, index, addedLabels) => { if (typeof raw === 'string') { index = labels.push(raw) - 1; addedLabels.unshift({index, label: raw}); } else if (isNaN(raw))...
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...
1f0488ae56184ecb
cpp
57
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...
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...
bd0cdc916d2ecffc
javascript
113
Dracula
/** * @param {number[][]} chessboard * @param {number[]} position * @return {number[][]} */ function getPossibleMoves(chessboard, position) { // Generate all knight moves (even those that go beyond the board). const possibleMoves = [ [position[0] - 1, position[1] - 2], [position[0] - 2, position[1] - 1]...
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...
7dfffb5e9685c0b6
rust
399
Default Dark+
table! { attachments (id) { id -> Text, cipher_uuid -> Text, file_name -> Text, file_size -> BigInt, akey -> Nullable<Text>, } } table! { ciphers (uuid) { uuid -> Text, created_at -> Timestamp, updated_at -> Timestamp, user_uuid -> Nul...
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...
ed6f06d019cdc56f
cpp
119
Solarized Light
#pragma once #include <QAction> #include <QDialog> #include <QMap> #include <QColorDialog> #include <QLineEdit> namespace Ui { class AppearanceDialog; } class QTreeWidgetItem; class AppearanceDialog : public QDialog { Q_OBJECT public: explicit AppearanceDialog(QWidget* parent = nullptr); ~Appearanc...
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.", ...
3185fd60915c06a3
java
31
GitHub Dark
package com.xxmassdeveloper.mpchartexample.custom; import android.graphics.Canvas; import android.graphics.Paint; import com.github.mikephil.charting.interfaces.datasets.IScatterDataSet; import com.github.mikephil.charting.renderer.scatter.IShapeRenderer; import com.github.mikephil.charting.utils.ViewPortHandler; /*...
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.", ...
364b9b6ae65f9953
csharp
75
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Collections.ObjectModel; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// REST API server variable. /// </summary> public sealed class RestApiServerVariable { /// <summary> /// The variable a...
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...
e83f1ab7db721841
typescript
475
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"...
43a2bc639e34375d
go
48
Solarized Dark
// Copyright 2015 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...
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...
0039541973e2987c
java
30
Solarized Dark
// Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target. // Note: // Given target value is a floating point. // You are guaranteed to have only one unique value in the BST that is closest to the target. /** * Definition for a binary tree node. * public c...
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...
7f9d1653789ac838
typescript
159
Solarized Light
import { useEffect, useRef, useState } from "react"; import getCaretCoordinates from "textarea-caret"; import { EditorRefActions } from "."; export interface Position { left: number; top: number; height: number; } export interface UseSuggestionsOptions<T> { editorRef: React.RefObject<HTMLTextAreaElement>; e...
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...
cc3f4da539b85fb5
cpp
123
One Dark Pro
#include <hex/helpers/fmt.hpp> #include <hex/helpers/semantic_version.hpp> #include <wolv/utils/string.hpp> namespace hex { SemanticVersion::SemanticVersion(u32 major, u32 minor, u32 patch) : SemanticVersion(fmt::format("{}.{}.{}", major, minor, patch)) { } SemanticVersion::SemanticVersion(const char *v...
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"...
ffd3033532205b93
cpp
83
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...
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...
c4e47eda16876028
java
122
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...
23309d106c8c85f1
typescript
198
GitHub Dark
import { BasicColumn, FormSchema } from '/@/components/Table'; import { rules } from '/@/utils/helper/validator'; import { filterDictTextByCache } from '/@/utils/dict/JDictSelectUtil'; export const columns: BasicColumn[] = [ { title: '模板标题', dataIndex: 'templateName', width: 80, }, { title: '模板编码...
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...
0bf4ed783157b79b
python
100
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel.agents import ChatCompletionAgent, ChatHistoryAgentThread from semantic_kernel.connectors.ai.open_ai import AzureChatCompletion from semantic_kernel.functions import KernelArguments from ...
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...
020b2b798e30b181
go
264
Default Dark+
package httpcaddyfile import ( "encoding/json" "testing" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/modules/caddyhttp" ) func TestMatcherSyntax(t *testing.T) { for i, tc := range []struct { input string expectError bool }{ { input: `http://localhost ...
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.", ...
79dd03436aa333be
cpp
58
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...
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" ...
d3bc93ec322d0ccc
cpp
24
Solarized Light
#include "_scriptapi_stack.h" #include "_scriptapi_memory.h" #include "_scriptapi_register.h" SCRIPT_EXPORT duint Script::Stack::Pop() { duint csp = Register::GetCSP(); duint top = Memory::ReadPtr(csp); Register::SetCSP(csp + sizeof(duint)); return top; } SCRIPT_EXPORT duint Script::Stack::Push(duint ...
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"...
5cf65e10c6e196c4
csharp
231
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 ...
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...
6c5f06060c6a8ecf
csharp
45
Default Light+
using System.Diagnostics; using System.Reflection; using Ardalis.GuardClauses; namespace NimblePros.SampleToDo.Web; public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> where TRequest : notnull, IMessage { private readonly ILogger<LoggingBehavior<TRequest, TResponse>> _log...
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...
93a0ed1fd3157b52
python
133
Monokai
# Copyright (c) Microsoft. All rights reserved. from collections.abc import Mapping, Sequence from dataclasses import dataclass from typing import Optional from opentelemetry.context import Context from opentelemetry.propagate import extract from opentelemetry.trace import Link, get_current_span from opentelemetry.tr...
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...
ea77b68d7715d7f0
csharp
40
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Agents.Extensions; /// <summary> /// Extension methods for <see cref="Agent"/>. /// </summary> [ExcludeFromCodeCoverage] internal static class AgentExtensions { /// <summary> /// Provid...
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...
591147a70e730bab
typescript
214
Default Dark+
import Head from 'next/head'; import Link from 'next/link'; import { useSession } from 'next-auth/react'; import { useRef, useState } from 'react'; import { trpc } from '~/utils/trpc'; export default function TodoList() { const { data } = useSession(); // Fetches todos when the component mounts. const todosQue...
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.", ...
f7f511270a826085
cpp
374
One Dark Pro
#pragma once #include "ggml.h" #include "ggml-alloc.h" #ifdef GGML_BACKEND_SHARED # if defined(_WIN32) && !defined(__MINGW32__) # ifdef GGML_BACKEND_BUILD # define GGML_BACKEND_API __declspec(dllexport) extern # else # define GGML_BACKEND_API __declspec(dllimport) extern # ...
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...
bb8b73fc9a5509f9
python
25
Dracula
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() image: Image | None = None @app.put("/...
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" ...
9964e4a5ba19023e
csharp
75
Default Dark+
using RevokeMsgPatcher.Model; using RevokeMsgPatcher.Utils; using System; using System.Collections.Generic; namespace RevokeMsgPatcher.Modifier { class QQModifier : AppModifier { public QQModifier(App config) { this.config = config; } public override void AfterPatc...
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" ...
a4cb101371d1dc25
python
250
Solarized Dark
""" Enhanced PPTX Converter with improved OCR support. Already has LLM-based image description, this enhances it with traditional OCR fallback. """ import io import sys from typing import Any, BinaryIO, Optional from typing import BinaryIO, Any, Optional from markitdown.converters import HtmlConverter from markitdow...
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"...
57c129b16b2dadff
csharp
93
Default Light+
// Copyright (c) 2010-2013 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...
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.", ...
7162b07a49ccccc3
python
78
Monokai
""" Sphinx Read the Docs theme. From https://github.com/ryan-roemer/sphinx-bootstrap-theme. """ from os import path from sys import version_info as python_version from sphinx import version_info as sphinx_version from sphinx.locale import _ from sphinx.util.logging import getLogger __version__ = '2.0.0rc5' __versi...
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...
20f188206ba9f99a
csharp
48
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...
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...
36276055de052cb0
cpp
22
One Dark Pro
#pragma once #include <hex.hpp> #include <functional> #include <hex/api/localization_manager.hpp> EXPORT_MODULE namespace hex { /* Background Service Registry. Allows adding new background services */ namespace ContentRegistry::BackgroundServices { namespace impl { using Callback = std:...
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" ...
b7ed1eefb444ce98
go
169
Default Dark+
package httpcaddyfile import ( "encoding/json" "testing" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/modules/caddytls" _ "github.com/caddyserver/caddy/v2/modules/logging" ) func TestGlobalLogOptionSyntax(t *testing.T) { for i, tc := range []struct { input st...
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.", ...
988a739b8a56723a
java
49
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...
c66cf6a18bdff351
javascript
59
Dracula
// Create alphabet array: ['a', 'b', 'c', ..., 'z']. const englishAlphabet = 'abcdefghijklmnopqrstuvwxyz'.split(''); /** * Generates a cipher map out of the alphabet. * Example with a shift 3: {'a': 'd', 'b': 'e', 'c': 'f', ...} * * @param {string[]} alphabet - i.e. ['a', 'b', 'c', ... , 'z'] * @param {number} sh...
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"...
c5b8c2b0f9cff6be
typescript
60
Default Light+
import { isEmbeddableElement } from "@excalidraw/element"; import { KEYS } from "@excalidraw/common"; import { CaptureUpdateAction } from "@excalidraw/element"; import { ToolButton } from "../components/ToolButton"; import { getContextMenuLabel } from "../components/hyperlink/Hyperlink"; import { LinkIcon } from ".....
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.", ...
bc3ee105987a8f57
java
61
Default Light+
package com.thealgorithms.scheduling; import com.thealgorithms.devutils.entities.ProcessDetails; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.List; import java.util.PriorityQueue; /** * Preemptive Priority Scheduling Algorithm * * @author [Bama Charan Chhan...
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"...
094dd2f782d2079a
java
199
Default Dark+
package org.schabi.newpipe.player.notification; import android.content.Context; import android.content.SharedPreferences; import androidx.annotation.DrawableRes; import androidx.annotation.IntDef; import androidx.annotation.NonNull; import org.schabi.newpipe.App; import org.schabi.newpipe.R; import org.schabi.newpip...
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...
14d62aee57bfdef6
java
144
GitHub Dark
package com.github.mikephil.charting.listener; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.View; import com.github.mikephil.charting.charts.Chart; import com.github.mikephil.charting.highlight.Highlight; /** * Created by philipp on 12/06/15. */ public abstract class Ch...
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" ...
b3d351d902f26aa3
csharp
77
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.AI; namespace Microsoft.SemanticKernel; /// <summary>Provides extension methods for <see cref="ChatMessageContent"/>.</summary> [Experimental("SKEXP0001")] public static class ChatMessageContentExtensi...
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...
0277af1c34f46f29
java
96
Default Dark+
package org.schabi.newpipe.local.bookmark; import org.schabi.newpipe.database.playlist.PlaylistLocalItem; import org.schabi.newpipe.database.playlist.PlaylistMetadataEntry; import org.schabi.newpipe.database.playlist.model.PlaylistRemoteEntity; import org.schabi.newpipe.local.playlist.LocalPlaylistManager; import org....
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...
63da3106a573efc6
java
283
GitHub Dark
package com.xxmassdeveloper.mpchartexample; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.WindowManager; import com.github.mikephil.charting.charts.CombinedChart; import com.g...
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"...
330bdd0be98c6728
csharp
367
Default Light+
// // OperatorDeclaration.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // 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 ...
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...
2d00a00974bfca33
javascript
33
Monokai
/* * Copyright (c) 2025 Microsoft * All rights reserved. */ import js from '@eslint/js' import globals from 'globals' import reactHooks from 'eslint-plugin-react-hooks' import reactRefresh from 'eslint-plugin-react-refresh' import tseslint from 'typescript-eslint' export default tseslint.config( { ignores: ['...
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...
fc46bfc506cc45a3
python
53
Solarized Light
""" A pure Python implementation of the quick sort algorithm For doctests run following command: python3 -m doctest -v quick_sort.py For manual testing run: python3 quick_sort.py """ from __future__ import annotations from random import randrange def quick_sort(collection: list) -> list: """A pure Python impl...
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" ...
7fefdbccbe19c077
typescript
179
One Dark Pro
import { info, log } from "console"; import fs from "fs"; import path from "path"; import { create } from "xmlbuilder2"; import { XMLBuilder } from "xmlbuilder2/lib/interfaces"; import { TestReport } from "../../interfaces/response"; import { error, HoppCLIError } from "../../types/errors"; import { RequestReport } fr...
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...
94383b83330662d7
java
40
GitHub Dark
package org.jeecg.modules.openapi.entity; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; /** * 请求头表 * @date 2024/12/10 14:37 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class OpenApiHeader implements Serial...
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...
9f88860f0be714e8
cpp
74
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 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" ...
6a38f995677d955f
go
382
Default Light+
package tools import ( "bytes" "encoding/json" "strings" "text/template" "github.com/ollama/ollama/api" ) type toolsState int const ( toolsState_LookingForTag toolsState = iota toolsState_ToolCalling toolsState_Done ) type Parser struct { tag string tools []api.Tool state toolsState buffer []byte ...
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" ...
5998903e5b39a590
cpp
363
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. //----------------------------------------------------------------------------- // Package Title ratpak // File basex.c // Copyright (C) 1995-97 Microsoft // Date 03-14-97 // // // Description...
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"...
98215abb244a7f8b
csharp
23
Default Light+
using NimblePros.SampleToDo.Core.ContributorAggregate; using NimblePros.SampleToDo.UseCases; using NimblePros.SampleToDo.UseCases.Contributors; using NimblePros.SampleToDo.UseCases.Contributors.Queries.List; namespace NimblePros.SampleToDo.Infrastructure.Data.Queries; public class FakeListContributorsQueryService : ...
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.", ...
c657bfd8c12f2810
csharp
67
Monokai
using System.Runtime.Serialization; using ScreenToGif.Domain.Enums; using ScreenToGif.Domain.ViewModels; namespace ScreenToGif.ViewModel.ExportPresets.Video.Codecs; public class VideoCodec : BindableBase { [IgnoreDataMember] public VideoCodecs Type { get; internal set; } [IgnoreDataMember] public str...
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...
27092abe4e3cf9e0
python
404
Monokai
"""Tests for external cache provider API.""" import importlib.util import pytest from typing import Optional def _torch_available() -> bool: """Check if PyTorch is available.""" return importlib.util.find_spec("torch") is not None from comfy_execution.cache_provider import ( CacheProvider, CacheCon...
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...
e51774cd5da90ec9
python
38
Default Light+
import sys from PyInstaller.utils.hooks import collect_submodules, collect_data_files def pycryptodome_module(): try: import Cryptodome # noqa: F401 except ImportError: try: import Crypto # noqa: F401 print('WARNING: Using Crypto since Cryptodome is not available. ' ...
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...
d8432092f769895f
java
230
Monokai
/*BEGIN_COPYRIGHT_BLOCK * * Copyright (c) 2001-2010, JavaPLT group at Rice University (drjava@rice.edu) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code...
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...
0088e4fb09feb5f5
java
24
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 ...
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" ...
632a07bb6ff3ad33
csharp
130
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using Amazon.BedrockRuntime; using Amazon.BedrockRuntime.Model; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; /// <summary> /// Utilities cl...
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...
5ecebc5d5f8f14de
python
156
Default Light+
import hashlib import json from .anvato import AnvatoIE from .aws import AWSIE from .common import InfoExtractor from ..utils import ( smuggle_url, urlencode_postdata, xpath_text, ) class ScrippsNetworksWatchIE(AWSIE): IE_NAME = 'scrippsnetworks:watch' _VALID_URL = r'''(?x) ht...
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...
b9e220c54019142d
csharp
327
Monokai
/* ** Included in SQLite3 port to C#-SQLite; 2008 Noah B Hart ** C#-SQLite is an independent reimplementation of the SQLite software library ** ************************************************************************* ** Repository path : $HeadURL: https://sqlitecs.googlecode.com/svn/trunk/C%23SQLite/src/parse_h.cs...
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...
c198c5f6a4ef9178
java
28
GitHub Dark
package org.jeecg.common.constant.enums; /** * 日期预设范围枚举 */ public enum DateRangeEnum { // 今天 TODAY, // 昨天 YESTERDAY, // 明天 TOMORROW, // 本周 THIS_WEEK, // 上周 LAST_WEEK, // 下周 NEXT_WEEK, // 过去七天 LAST_7_DAYS, // 本月 THIS_MONTH, // 上月 LAST_MONTH, ...
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...
1c74460631f8d7b4
cpp
61
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: linefind.h // Description: Class to find vertical lines in an image and create // a corresponding list of empty blobs. // Author: Ray Smith // // (C) Copyright 2008, Google Inc. // Licensed under the Apache License...
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...
ebf575b734c8d00c
javascript
102
Dracula
import { component$, useSignal } from '@builder.io/qwik' import qwikLogo from './assets/qwik.svg' import viteLogo from './assets/vite.svg' import heroImg from './assets/hero.png' import './app.css' export const App = component$(() => { const count = useSignal(0) return ( <> <section id="center"> ...
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" ...
f20afffb22884c91
python
30
Dracula
#!/usr/bin/env python3 import random import sys if len(sys.argv) < 2: print('Usage:<filename> <k> [nfold = 5]') exit(0) random.seed(10) k = int(sys.argv[2]) if len(sys.argv) > 3: nfold = int(sys.argv[3]) else: nfold = 5 fi = open(sys.argv[1], 'r') ftr = open(sys.argv[1] + '.train', 'w') fte = open(...
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" ...
2e46c1c4152fbb9f
typescript
50
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemTitle, } from "@/examples/radix/ui/item" export function MutedItemGroup() { return ( <ItemGroup> <Item variant="muted"> <ItemContent> <ItemTitle>Item 1<...
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" ...
05f8a71849a1bf1f
csharp
74
Default Light+
// Copyright (c) 2014 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...
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...
7bbbda6ecf17d927
csharp
84
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 ...
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...
b39a230d4b048f5f
csharp
205
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Json; using System.Text.Json.Nodes; using Amazon.BedrockRuntime.Model; using Amazon.Runtime.Documents; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKe...
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.", ...
b424d65c25f2641b
java
59
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...
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...
6e641a2a05e3e1b7
python
103
Solarized Light
""" Question: You are given an array of distinct integers and you have to tell how many different ways of selecting the elements from the array are there such that the sum of chosen elements is equal to the target number tar. Example Input: * N = 3 * target = 5 * array = [1, 2, 5] Output: ...
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" ...
d2812900a1d2c9b8
typescript
45
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { getErrorMessage as getCoreErrorMessage } from '@google/gemini-cli-core'; /** * Extracts a human-readable error message specifically for ACP (IDE) clients. * This function recursively parses JSON error blobs that are com...
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...
d836355a3bfdbb5b
csharp
50
Default Light+
// Copyright (c) 2018 Siegfried Pammer // // 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, // publ...
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"...
63f24431a4864d62
cpp
65
One Dark Pro
#if !defined(OS_WEB) #include <hex/api/events/requests_lifecycle.hpp> #include <hex/api/imhex_api/system.hpp> #include <wolv/utils/guards.hpp> #include <init/run.hpp> #include <window.hpp> #include <GLFW/glfw3.h> namespace hex::init { int runImHex() { // Initialize G...
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" ...