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
a1aa024974d46cc8
python
42
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import ClassVar from pydantic import SecretStr from semantic_kernel.connectors.ai.open_ai.const import DEFAULT_AZURE_API_VERSION from semantic_kernel.kernel_pydantic import HttpsUrl, KernelBaseSettings from semantic_kernel.utils.feature_stage_decorator impo...
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"...
9a2eceeb00ae1c4e
go
124
Default Light+
package sftp import ( "github.com/KirCute/sftpd-alist" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/alist-org/alist/v3/server/ftp" "os" ) type DriverAdapter struct { FtpDriver *ftp.AferoAdapter } func (s *Dri...
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...
2af8b09391a343de
csharp
59
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...
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...
86aa022dc8a1ab9b
cpp
353
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "LocalizationService.h" #include <iterator> namespace CalculatorApp::ViewModel { namespace Common { public ref class LocalizationSettings sealed { private: ...
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...
f7557e6946b433e2
csharp
128
Default Light+
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ServiceDiscovery; using OpenTelemetry; using OpenTelemetry.Metrics...
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...
7a9ef7acc7a5c74c
csharp
23
Default Dark+
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace RevokeMsgPatcher.MultiInstance { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() ...
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...
7f43199fc025f92b
csharp
217
Default Light+
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Text; namespace ICSharpCode.ILSpy.Ad...
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...
c6b4eb8553c6b7fb
python
197
Default Light+
import re from .common import InfoExtractor from ..utils import js_to_json class RTNewsIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?rt\.com/[^/]+/(?:[^/]+/)?(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.rt.com/sport/546301-djokovic-arrives-belgrade-crowds/', 'playlist_mincount': 2, ...
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...
0d5a27dd6582e322
typescript
70
One Dark Pro
import { CageModuleCtx, defineSandboxFn } from "faraday-cage/modules" import type { EnvMethods, RequestProps, PwNamespaceMethods, SandboxValue, } from "~/types" /** * Creates pw namespace methods for the sandbox environment * Includes environment operations and request variable management */ export const 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...
c33eecd990c00f55
java
59
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.", ...
d202e1907dea7406
typescript
114
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, expect, it } from 'vitest'; import { WriteTodosTool, type WriteTodosToolParams } from './write-todos.js'; import { createMockMessageBus } from '../test-utils/mock-message-bus.js'; describe('WriteTodosTool', () =...
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.", ...
3058c9bd555aa284
python
131
Solarized Light
# A complete working Python program to demonstrate all # stack operations using a doubly linked list from __future__ import annotations from typing import TypeVar T = TypeVar("T") class Node[T]: def __init__(self, data: T): self.data = data # Assign data self.next: Node[T] | None = None # Ini...
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...
c64a883554038830
python
207
Solarized Light
import numpy as np from numpy import ndarray from scipy.optimize import Bounds, LinearConstraint, minimize def norm_squared(vector: ndarray) -> float: """ Return the squared second norm of vector norm_squared(v) = sum(x * x for x in v) Args: vector (ndarray): input vector Returns: ...
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...
2c6bc9691bb15a09
cpp
141
One Dark Pro
#include "models.h" llm_build_qwen3vlmoe::llm_build_qwen3vlmoe(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const size_t n_deepstack_layers = hparams.n_deepstack_layers; const int64_t n_embd = hparams.n_embd; const int64_t n_embd_head = hparams.n_embd_head...
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...
6dad6d864b589387
python
64
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from logging import Logger from semantic_kernel.functions.function_result import FunctionResult from semantic_kernel.functions.kernel_arguments import KernelArguments class KernelFunctionLogMessages: """Kernel function log messages. This class ...
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"...
d77f2b770b34232f
go
24
Default Light+
package llm import ( "syscall" ) const ( CREATE_DEFAULT_ERROR_MODE = 0x04000000 ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000 CREATE_NO_WINDOW = 0x08000000 ) var LlamaServerSysProcAttr = &syscall.SysProcAttr{ // Wire up the default error handling logic If for some reason a DLL is // missing in the path...
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...
527cfd4ada74ad70
csharp
256
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.SemanticKernel.Agents.Orchestration.Extensions;...
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...
79b6cbcf0e5544ee
java
31
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...
6fbb16f1833ca9a2
rust
27
Solarized Dark
#![cfg(target_os = "windows")] use crate::utils::dirs; use anyhow::{Result, bail}; use deelevate::{PrivilegeLevel, Token}; use runas::Command as RunasCommand; use std::process::Command as StdCommand; pub fn invoke_uwptools() -> Result<()> { let resource_dir = dirs::app_resources_dir()?; let tool_path = resour...
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.", ...
3644a08bc14a965a
rust
21
One Dark Pro
fn main() { #[cfg(all(feature = "portable", target_os = "windows"))] { println!("cargo:rerun-if-changed=tauri.portable.windows.conf.json"); println!("cargo:rustc-env=TAURI_CONFIG_FILE=tauri.portable.windows.conf.json"); } #[cfg(all(feature = "portable", target_os = "macos"))] { ...
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...
c53521cdb834d401
csharp
312
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 ...
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.", ...
d40f9a35411527de
csharp
138
Monokai
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using winPEAS.Native; using winPEAS.Native.Enums; namespace winPEAS.TaskScheduler.TaskEditor.Native { internal static partial class NativeMethods { const int MAX_PREFERRED_LENGTH = -1; public enum ServerPlat...
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...
d7c71bb9236cda82
javascript
43
Dracula
/** * Finds the maximum profit from selling and buying the stocks. * DIVIDE & CONQUER APPROACH. * * @param {number[]} prices - Array of stock prices, i.e. [7, 6, 4, 3, 1] * @param {function(): void} visit - Visiting callback to calculate the number of iterations. * @return {number} - The maximum profit */ const ...
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...
ba10b0794b2b796a
typescript
245
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '@google/gemini-cli-core'; import { OutputFormat, JsonFormatter, StreamJsonFormatter, JsonStreamEventType, uiTelemetryService, parseAndFormatApiError, FatalTurnLimitedError, FatalCancella...
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.", ...
92c2c831b6b030e1
csharp
125
Monokai
using System.IO; namespace winPEAS._3rdParty.BouncyCastle.util.io { public sealed class Streams { private const int BufferSize = 512; private Streams() { } public static void Drain(Stream inStr) { byte[] bs = new byte[BufferSize]; while (inStr.Read(bs, 0, bs.Length) > 0) { } } public ...
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...
429c80087ed12f2b
python
102
Solarized Light
""" Problem 123: https://projecteuler.net/problem=123 Name: Prime square remainders Let pn be the nth prime: 2, 3, 5, 7, 11, ..., and let r be the remainder when (pn-1)^n + (pn+1)^n is divided by pn^2. For example, when n = 3, p3 = 5, and 43 + 63 = 280 ≡ 5 mod 25. The least value of n for which the remainder first 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...
9b7279fed766be1e
python
39
Dracula
from fastapi import FastAPI description = """ ChimichangApp API helps you do awesome stuff. 🚀 ## Items You can **read items**. ## Users You will be able to: * **Create users** (_not implemented_). * **Read users** (_not implemented_). """ app = FastAPI( title="ChimichangApp", description=description, ...
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...
1240babb7fe55629
typescript
47
Solarized Light
import { LoaderIcon } from "lucide-react" import { InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, } from "@/registry/new-york-v4/ui/input-group" import { Spinner } from "@/registry/new-york-v4/ui/spinner" export default function InputGroupSpinner() { return ( <div className="grid w-full m...
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...
0570a63f82d70a6e
java
149
Default Light+
package com.thealgorithms.datastructures.trees; import com.thealgorithms.datastructures.trees.BinaryTree.Node; /** * * * <h1>Binary Search Tree (Recursive)</h1> * * An implementation of BST recursively. In recursive implementation the checks * are down the tree First root is checked if not found then its childr...
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.", ...
87ed24049b32a102
typescript
47
One Dark Pro
import { defineVersion, entityRefUptoVersion } from "verzod" import { z } from "zod" import { V4_SCHEMA, v4_baseCollectionSchema } from "./4" import { generateUniqueRefId } from "../../utils/collection" import { HoppCollection } from ".." export const v5_baseCollectionSchema = v4_baseCollectionSchema.extend({ v: z....
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...
b89039d308520b68
python
423
Solarized Light
import os import json import time import requests from dotenv import load_dotenv from serpapi.google_search import GoogleSearch from openai import OpenAI # ANSI color codes class Colors: CYAN = '\033[96m' YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' MAGENTA = '\033[95m' BLUE = '\033[...
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...
3f59e9406785526a
cpp
82
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" ...
0bec947c0520942d
python
32
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from semantic_kernel import Kernel from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion async def main(): kernel = Kernel() service_id = "default" chat_service = OpenAIChatCompletion( ai_model_id="gpt-3.5...
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...
8f40406f10b5dcb8
typescript
39
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { V2_SCHEMA } from "./2" import { HoppRESTAuth } from "../../../rest/v/11/auth" import { HoppRESTReqBody } from "../../../rest/v/10/body" export const V3_SCHEMA = V2_SCHEMA.extend({ v: z.literal("3"), auth: HoppRESTAuth, body: HoppRESTReqBody...
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...
c2199203438b1722
csharp
22
Monokai
namespace ScreenToGif.Domain.Models.Project.Sequences; public class ProgressSequence : SizeableSequence { public enum Modes : int { Test, Bar } public Modes ProgressMode { get; set; } //Color. //Bar percentage. //How to calculate the correct text to be shown? public ...
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.", ...
68cea5873e8866b4
cpp
66
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. #include <algorithm> #include "Header Files/Number.h" using namespace std; namespace CalcEngine { Number::Number() noexcept : Number(1, 0, { 0 }) { } Number::Number(int32_t sign, int32_t exp, vector<uint32_t> const& mantissa) noexc...
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.", ...
a3362a4fe50ed7ae
go
33
Default Light+
package onedrive_sharelink import ( "net/http" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootPath ShareLinkURL string `json:"url" required:"true"` ShareLinkPassword string `json:"password"` IsSharepoint bool downlo...
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...
d1f83d6869abca41
java
53
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...
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...
884ea1cf6d719ad5
python
113
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from pathlib import Path from semantic_kernel.agents import ChatCompletionAgent, ChatHistoryAgentThread from semantic_kernel.connectors.ai import FunctionChoiceBehavior from semantic_kernel.connectors.ai.ollama import OllamaChatCompletion from s...
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...
7efdaf98f86c1fbf
go
272
Default Light+
package gofile import ( "context" "fmt" "time" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" ) type Gofile struct { model.Storage Addition accountId string } func (d ...
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...
ef76e4259477b7eb
cpp
480
Solarized Dark
#include <openpose/producer/producer.hpp> #include <openpose/producer/headers.hpp> #include <openpose/utilities/check.hpp> #include <openpose/utilities/fastMath.hpp> #include <openpose/utilities/fileSystem.hpp> #include <openpose/utilities/openCv.hpp> #include <openpose_private/utilities/openCvMultiversionHeaders.hpp> ...
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" ...
c54c16877be6fe8e
python
67
Monokai
# Copyright (c) Microsoft. All rights reserved. from collections.abc import Callable from typing import TYPE_CHECKING from dapr.actor import ActorId from dapr.actor.runtime.context import ActorRuntimeContext from dapr.ext.fastapi import DaprActor as FastAPIDaprActor from flask_dapr.actor import DaprActor as FlaskDapr...
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...
36cc19b1ac2da88d
typescript
274
Solarized Light
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"; import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"; import * as React from "react"; import { useEffect, useRef } from "react"; import { cn } from "@/lib/utils"; const DropdownMenu = React.forwardRef< React.ElementRef<typeof D...
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...
881256c8c527dc26
python
66
Monokai
from typing_extensions import override import torch import torch.nn.functional as F from comfy_api.latest import ComfyExtension, io class Mahiro(io.ComfyNode): @classmethod def define_schema(cls): return io.Schema( node_id="Mahiro", display_name="Positive-Biased Guidance", ...
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...
2a34ba1a5abd95df
python
102
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Any from semantic_kernel.connectors.ai.bedrock.bedrock_prompt_execution_settings import ( BedrockChatPromptExecutionSettings, BedrockEmbeddingPromptExecutionSettings, BedrockTextPromptExecutionSettings, ) from semantic_kernel.connectors.ai...
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...
1133db04f32b2cb7
csharp
33
Default Light+
// Copyright (c) 2020 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...
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...
f58bee9d6c03cb14
csharp
72
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...
f06b75dc32326d55
go
254
Default Light+
package _115 import ( "context" "strings" "sync" driver115 "github.com/SheltonZhu/115driver/pkg/driver" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/http_range" "github.com/alist-org/alist/v3/pkg/utils" "github.com/pkg/error...
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" ...
c0be768019896d09
typescript
149
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs/promises'; import { fetchWithTimeout, resolveToRealPath, isPrivateIp, } from '@google/gemini-cli-core'; import { AsyncFzf } from 'fzf'; export interface RegistryExtension { id: string; rank: ...
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.", ...
b5691ff121b321d9
typescript
79
Solarized Light
import { GalleryVerticalEnd } from "lucide-react" import { cn } from "@/registry/new-york-v4/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldSeparator, } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registr...
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" ...
55fefc3dbe77872d
rust
76
GitHub Dark
extern crate num_bigint; extern crate num_traits; use num_bigint::BigInt; use num_traits::FromPrimitive; /// Calculate binomial coefficient (n choose k). /// /// This function computes the binomial coefficient C(n, k) using BigInt /// for arbitrary precision arithmetic. /// /// Formula: /// C(n, k) = n! / (k! * (n - ...
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"...
6f1a4acba6170e5c
csharp
76
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json; using Markdig; using Markdig.Syntax; using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel; /// <summary> /// Factory methods for creating <seealso cref="KernelFunction"/> instances. /// </sum...
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...
f08e8336dfde8403
csharp
55
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 ...
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...
e0ed8573565252c0
rust
50
GitHub Dark
// Author : cyrixninja // Wikipedia : https://en.wikipedia.org/wiki/Geometric_series // Calculate a geometric series. pub fn geometric_series(nth_term: f64, start_term_a: f64, common_ratio_r: f64) -> Vec<f64> { let mut series = Vec::new(); let mut multiple = 1.0; for _ in 0..(nth_term as i32) { se...
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"...
6a6747bb2e8e2915
python
21
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.functions.kernel_arguments import KernelArguments from semantic_kernel.functions.kernel_function import KernelFunction from semantic_kernel.kernel import Kernel async def aggregate_chunked_results( func: KernelFunction, chunked_results: list[s...
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" ...
65ba827a58d05894
cpp
94
Solarized Dark
#ifndef OPENPOSE_HAND_W_HAND_EXTRACTOR_NET_HPP #define OPENPOSE_HAND_W_HAND_EXTRACTOR_NET_HPP #include <openpose/core/common.hpp> #include <openpose/hand/handRenderer.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WHandExtractorNet : public Worker<TDatums> { ...
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...
9dc405f2e9ef326b
rust
112
GitHub Dark
//! Catalan Numbers using Dynamic Programming //! //! The Catalan numbers are a sequence of positive integers that appear in many //! counting problems in combinatorics. Such problems include counting: //! - The number of Dyck words of length 2n //! - The number of well-formed expressions with n pairs of parentheses //...
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...
773add751994da7d
go
43
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package render import "net/http" // Render interface is to be implemented by JSON, XML, HTML, YAML and so on. type Render interface { // Render writes...
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.", ...
5f0734c0a6ccf0d8
typescript
236
Solarized Light
"use client" import * as React from "react" import Link from "next/link" import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, } from "@/examples/radix/ui-rtl/navigation-menu" import { useTranslati...
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...
ddbca8b5b8209cc8
go
25
Default Light+
package op import ( "context" "github.com/alist-org/alist/v3/internal/db" "github.com/pkg/errors" ) func DeleteLabelById(ctx context.Context, id, userId uint) error { _, err := db.GetLabelById(id) if err != nil { return errors.WithMessage(err, "failed get label") } if db.GetLabelFileBinDingByLabelIdExists(i...
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...
18a96f4a21542427
csharp
22
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using Microsoft.SemanticKernel.Process.Runtime; namespace Microsoft.SemanticKernel.Process.Serialization; /// <summary> /// Container for an event with type information. /// </summary> /// <typeparam name="TValue">The type of event</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...
852526330282c148
python
89
Solarized Light
""" Implementation of Bilateral filter Inputs: img: A 2d image with values in between 0 and 1 varS: variance in space dimension. varI: variance in Intensity. N: Kernel size(Must be an odd number) Output: img:A 2d zero padded image with values in between 0 and 1 """ import math import sys import 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...
14677d82391f2382
csharp
38
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...
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.", ...
2f5f96a65c985a29
javascript
116
Dracula
/** * The minimalistic (ad hoc) version of a MaxHeap data structure that doesn't have * external dependencies and that is easy to copy-paste and use during the * coding interview if allowed by the interviewer (since many data * structures in JS are missing). */ class MaxHeapAdhoc { constructor(heap = []) { 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...
0460adf094c3f5b6
java
84
GitHub Dark
package org.jeecg.modules.system.entity; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybati...
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...
55b20d8239047a5a
cpp
40
Solarized Light
#include "CodepageSelectionDialog.h" #include "ui_CodepageSelectionDialog.h" #include "Bridge.h" #include <QTextCodec> #include "MiscUtil.h" CodepageSelectionDialog::CodepageSelectionDialog(QWidget* parent) : QDialog(parent), ui(new Ui::CodepageSelectionDialog) { ui->setupUi(this); setModal(true); ...
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...
8c46ca0cd4d5da7f
java
78
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...
1ae346934576f773
typescript
41
Solarized Light
"use client" import { LoginForm } from "@/registry/bases/radix/blocks/login-02/components/login-form" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function LoginPage() { return ( <div className="grid min-h-svh lg:grid-cols-2"> <div className="flex flex-col ga...
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"...
5c4e547c608e4563
csharp
66
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http.Headers; using Microsoft.Extensions.Configuration; using Microsoft.Identity.Client; /// <summary> /// Retrieves a token via the provided delegate and applies it to HTTP requests using the /// "bearer" authentication scheme. /// </summary> public ...
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...
abc71b40aa4491c5
typescript
135
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useCallback, useRef } from 'react'; import { cpLen } from '../utils/textUtils.js'; interface UseInputHistoryProps { userMessages: readonly string[]; onSubmit: (value: string) => void; isActive: boolean; ...
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" ...
bd3fd07158efbe38
cpp
107
One Dark Pro
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent versi...
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...
47ca2e1e14d72caa
typescript
175
Solarized Light
import { PlusIcon } from "lucide-react" import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" export function AvatarDemo() { return ( <div className="flex flex-col gap-6"> {/* Sizes. */} <div className="flex fl...
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...
64049867825576ac
typescript
86
GitHub Dark
import { BasicColumn } from '/@/components/Table'; import dayjs from 'dayjs'; import _get from 'lodash.get'; import { h } from 'vue'; import { Tag } from 'ant-design-vue'; export const columns: BasicColumn[] = [ { title: '请求时间', dataIndex: 'timestamp', width: 50, customRender({ text }) { 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...
573e771df7f5621e
typescript
59
Solarized Light
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/examples/base/ui/accordion" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/examples/base/ui/card" const items = [ { value: "plans", trigger: "What subscription plans do you offer?...
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...
54239b36f0eb13b5
javascript
33
GitHub Dark
module.exports = { ignores: [(commit) => commit.includes('init')], extends: ['@commitlint/config-conventional'], rules: { 'body-leading-blank': [2, 'always'], 'footer-leading-blank': [1, 'always'], 'header-max-length': [2, 'always', 108], 'subject-empty': [2, 'never'], 'type-empty': [2, 'never...
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...
0fda51d100867b66
csharp
193
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 ...
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"...
35399dbe1547254e
java
357
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.", ...
e3f6999fffd8fe34
java
75
Default Light+
package com.thealgorithms.stacks; import java.util.HashMap; import java.util.Map; import java.util.Stack; /** * Valid Parentheses Problem * * Given a string containing just the characters '(', ')', '{', '}', '[' and ']', * determine if the input string is valid. * * An input string is valid if: * 1. Open brack...
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"...
3ea91398fe3e12b2
python
63
Default Dark+
# Various iterative ways of traversing a tree. def inorder_traversal(root): """ :type root: TreeNode :rtype: List[int] """ if not root: return [] result = [] stack = [root] while len(stack) > 0: curr_node = stack.pop() if curr_node.left: stack.append(cur...
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...
5d7aa94d9c5bce49
java
55
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...
1e7aeaf2cde4509d
java
215
GitHub Dark
package com.xxmassdeveloper.mpchartexample; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import androidx.core.content.ContextCompat; import android.view.Menu; import android.view.MenuItem; import android.view.Window...
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"...
4b95573d8b727a8f
java
124
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...
ad153ecd3f879d0b
typescript
34
Default Light+
import type { ExcalidrawTextContainer } from "./types"; export const originalContainerCache: { [id: ExcalidrawTextContainer["id"]]: | { height: ExcalidrawTextContainer["height"]; } | undefined; } = {}; export const updateOriginalContainerCache = ( id: ExcalidrawTextContainer["id"], height:...
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.", ...
a94fd99422fc8bb8
typescript
445
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { ScrollProvider, useScrollable, type ScrollState, } from './ScrollProvider.js'; import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { u...
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...
c40701d154652860
java
49
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...
c237487ee31eadd1
typescript
42
Solarized Light
import { Button } from "@/examples/base/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/examples/base/ui/empty" import { IconFolderCode } from "@tabler/icons-react" import { ArrowUpRightIcon } from "lucide-react" export default function EmptyDemo() ...
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" ...
8d937cb354c21edb
go
24
Solarized Dark
package metric import ( "testing" "github.com/stretchr/testify/require" ) func TestCounter(t *testing.T) { require := require.New(t) c := NewCounter() c.Inc(10) require.EqualValues(10, c.Count()) c.Dec(5) require.EqualValues(5, c.Count()) cTmp := c.Snapshot() require.EqualValues(5, cTmp.Count()) c.Clea...
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...
136e9a5cd763c53d
go
217
Default Light+
package progress import ( "fmt" "os" "strings" "time" "golang.org/x/term" "github.com/ollama/ollama/format" ) type Bar struct { message string messageWidth int maxValue int64 initialValue int64 currentValue int64 started time.Time stopped time.Time maxBuckets int buckets []bucket } ty...
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...
103a43e33ec66f9b
java
109
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...
6d91e7f520453ad9
go
36
Default Light+
package misskey import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { // Usually one of two driver.RootPath // define other // Field string `json:"field" type:"select" required:"true" options:"a,b,c" default:"a"` Endpoint string `json:"...
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...
0db67a89d90019ba
java
32
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...
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...
1341157c10553aed
cpp
315
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: network.h // Description: Base class for neural network implementations. // Author: Ray Smith // // (C) Copyright 2013, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file...
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" ...
0f270f301284abb1
typescript
85
GitHub Dark
/** * Application configuration */ import type { ProjectConfig } from '/#/config'; import { PROJ_CFG_KEY } from '/@/enums/cacheEnum'; import projectSetting from '/@/settings/projectSetting'; import { updateHeaderBgColor, updateSidebarBgColor } from '/@/logics/theme/updateBackground'; import { updateColorWeak } from...
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...
4c989959b0acba52
python
148
Default Light+
import re from .common import InfoExtractor from ..utils import ( determine_ext, float_or_none, int_or_none, parse_filesize, ) class LibraryOfCongressIE(InfoExtractor): IE_NAME = 'loc' IE_DESC = 'Library of Congress' _VALID_URL = r'https?://(?:www\.)?loc\.gov/(?:item/|today/cyberlc/featur...
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...
0790470d6619ee83
java
33
GitHub Dark
package org.jeecg.config; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.concurrent.ThreadPoolTaskS...
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...
6c7a4b52ee79ff51
csharp
78
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...
bfabfb0cf59105a2
csharp
66
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Memory; /// <summary> /// Options for the <see cref="Mem0Provider"/>. /// </summary> [Experimental("SKEXP0130")] public sealed class Mem0ProviderOptions { /// <summary> /// Gets or sets...
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...
f5e3d9fff1387974
cpp
127
Solarized Light
#include "cmd-operating-system-control.h" #include "variable.h" #include "debugger.h" #include "exception.h" #include "value.h" #include "stringformat.h" bool cbGetPrivilegeState(int argc, char* argv[]) { if(IsArgumentsLessThan(argc, 2)) return false; DWORD returnLength; LUID luid; if(LookupPri...
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.", ...
5b9190506c1c6277
java
44
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"...
87fe02d5419256e8
java
77
Solarized Light
package com.firecrawl.models; import com.fasterxml.jackson.annotation.JsonInclude; /** * Options for mapping (discovering URLs on) a website. */ @JsonInclude(JsonInclude.Include.NON_NULL) public class MapOptions { private String search; private String sitemap; private Boolean includeSubdomains; pri...
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"...