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
a7849344c5ccc893
csharp
99
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 ...
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" ...
c4f8946aed817232
typescript
82
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { writeToStdout } from './stdio.js'; /** * ANSI escape codes for disabling mouse tracking. */ export function disableMouseTracking() { writeToStdout( [ '\x1b[?1000l', // Normal tracking '\x1b[?1003l', //...
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.", ...
454c0f2496fe200d
java
206
Default Dark+
package org.schabi.newpipe.player.notification; import static com.google.android.exoplayer2.Player.REPEAT_MODE_ALL; import static com.google.android.exoplayer2.Player.REPEAT_MODE_ONE; import static org.schabi.newpipe.player.notification.NotificationConstants.ACTION_CLOSE; import static org.schabi.newpipe.player.notifi...
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...
307b4be45221d5dd
typescript
199
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Button } from "@/examples/radix/ui/button" import { AlertDialog as AlertDialogPrimitive } from "radix-ui" function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) { return <AlertD...
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...
76b30ae03de45d44
csharp
114
Monokai
// Copyright (c) Microsoft. All rights reserved. using WebRtcVadSharp; public class VadService : IDisposable { // Voice Activity Detection Constants private const int MaxPrerollFrames = 10; // Maximum number of frames to keep before speech detection private const int SilenceThresholdFrames = ...
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.", ...
0442500d7cd6d609
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Agents.Runtime.Core; /// <summary> /// This subscription matches on topics based on a prefix of the type and maps to agents using the source of the topic as the agent key. /// Thi...
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" ...
eb4ef442533214d9
typescript
168
Dracula
import { virtual } from 'virtual:file' import { virtual as virtualDep } from 'virtual:file-dep' import { foo as depFoo, nestedFoo } from './hmrDep' import './importing-updated' import './invalidation-circular-deps' import './file-delete-restore' import './optional-chaining/parent' import './intermediate-file-delete' im...
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...
1c288bdae954e1be
typescript
67
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { promises as fs } from 'node:fs'; import * as path from 'node:path'; import { ShellExecutionService, debugLogger } from '@google/gemini-cli-core'; const RETENTION_PERIOD_MS = 7 * 24 * 60 * 60 * 1000; // 7 days /** * Clea...
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"...
9921ab09a8c7f295
csharp
92
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; internal static class CommandRequest { /// <summary> /// Text generation request object. /// </summary> internal sealed ...
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"...
76b61663abd72473
csharp
43
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...
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...
25d5e332787583ad
csharp
57
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...
1a4c15ace5e05671
rust
154
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::mise::MiseConfig; use crate::formatter::StringFormatter; /// Creates a module with the current mise config pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_module("mise"); let config = MiseConfig::try_l...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5022eee5fecea157
javascript
77
Dracula
/** * @typedef {Object} TraversalCallbacks * * @property {function(node: BinaryTreeNode, child: BinaryTreeNode): boolean} allowTraversal * - Determines whether DFS should traverse from the node to its child. * * @property {function(node: BinaryTreeNode)} enterNode - Called when DFS enters the node. * * @propert...
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...
2a6f949c05cb21f6
rust
312
Solarized Dark
use crate::shadow; use crate::utils::{self, DEFAULT_COMMAND_TIMEOUT_MS, exec_cmd}; use nu_ansi_term::Style; use std::fs; use std::path::PathBuf; use std::time::Duration; pub fn create() { println!("{}\n", shadow::VERSION.trim()); let os_info = os_info::get(); let environment = Environment { os_ty...
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" ...
aad993b93ed60f2c
typescript
72
Solarized Light
import * as React from "react" import { Check, ChevronRight } from "lucide-react" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/new-york-v4/ui/collapsible" import { SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem...
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...
b8d07a0169458cf3
java
22
Solarized Dark
// Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). // For example, the 32-bit integer ’11' has binary representation 00000000000000000000000000001011, so the function should return 3. public class NumberOfOneBits { // you need to treat ...
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"...
11c725d2529fdd32
cpp
60
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
a54c31646eb70629
typescript
115
Solarized Light
import * as React from "react" import { formatCode } from "@/lib/format-code" import { highlightCode } from "@/lib/highlight-code" import { readFileFromRoot } from "@/lib/read-file" import { getDemoItem, getRegistryItem } from "@/lib/registry" import { cn } from "@/lib/utils" import { CodeCollapsibleWrapper } 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.", ...
67a763f218886ac3
csharp
50
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.", ...
34a838b58a9d8317
csharp
87
Monokai
namespace ScreenToGif.Domain.Enums; public enum ExportFormats { /// <summary> /// Graphics Interchange Format. /// </summary> Gif, /// <summary> /// Animated Portable Network Graphics. /// </summary> Apng, /// <summary> /// Web Picture. /// </summary> Webp, /// <s...
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.", ...
97643f1a2601f0c1
typescript
62
Solarized Light
import * as React from "react" import { cn } from "@/registry/bases/base/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" type NativeSelectProps = Omit<React.ComponentProps<"select">, "size"> & { size?: "sm" | "default" } function NativeSelect({ className, size = "default...
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"...
b480e3dbdc8b5b68
csharp
204
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...
6401891f4e4ca1cb
javascript
80
Default Dark+
const { sendRemoteBrowserList } = require("../client"); const { checkLogin } = require("../util-server"); const { RemoteBrowser } = require("../remote-browser"); const { log } = require("../../src/util"); const { testRemoteBrowser } = require("../monitor-types/real-browser-monitor-type"); /** * Handlers for docker h...
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"...
5e7c6498f97525d4
java
74
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...
d6e20232b176ab41
java
71
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.", ...
a785bcaa2dec11c3
java
37
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
d86ae47afab9e951
go
149
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...
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"...
820cd5ae36410984
python
45
Default Light+
from .common import InfoExtractor class OktoberfestTVIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?oktoberfest-tv\.de/[^/]+/[^/]+/video/(?P<id>[^/?#]+)' _TEST = { 'url': 'http://www.oktoberfest-tv.de/de/kameras/video/hb-zelt', 'info_dict': { 'id': 'hb-zelt', 'ex...
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" ...
27df0d2aee92f948
java
52
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
b90fda4ba8b5f4cb
csharp
51
Default Light+
/* Copyright (c) 2015 Ki 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, publish, distribute, sublice...
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" ...
51845bfdce4ea9a0
javascript
44
Default Dark+
exports.up = function (knex) { return knex.schema .alterTable("heartbeat", function (table) { table.bigInteger("ping").alter(); }) .alterTable("stat_minutely", function (table) { table.float("ping", 20, 2).notNullable().alter(); table.float("ping_min", 20,...
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" ...
9c4e403666668b5e
csharp
119
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json.Nodes; using Microsoft.SemanticKernel.Plugins.OpenApi; using Xunit; namespace SemanticKernel.Functions.UnitTests.OpenApi.Serialization; public class PipeDelimitedStyleParametersSerializerTests { [Fact] public void ItShould...
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...
845dfd67f73209b5
java
68
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...
8806dd24791e47a6
python
123
Solarized Light
"""Implementation of Basic Math in Python.""" import math def prime_factors(n: int) -> list: """Find Prime Factors. >>> prime_factors(100) [2, 2, 5, 5] >>> prime_factors(0) Traceback (most recent call last): ... ValueError: Only positive integers have prime factors >>> prime_facto...
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"...
363d56d1c6cbec8a
csharp
25
Monokai
using System; using System.Windows.Controls; using ScreenToGif.Util; namespace ScreenToGif.UserControls; public partial class ProgressPanel : UserControl { public ProgressPanel() { InitializeComponent(); } private void Hyperlink_RequestNavigate(object sender, System.Windows.Navigation.Request...
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...
58a65a28c3fd75f8
typescript
373
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { formatDuration } from '../utils/formatters.js'; import { calculateAverageLatency, calculateCacheHitRate, ...
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" ...
de8ce0a277db7294
typescript
189
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs/promises'; import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; vi.mock('@google/gemini-cli-core', async (importOriginal) => { const actual = await importOriginal<typeof import('@...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
cbf4f29edafb85a1
python
113
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from azure.identity import AzureCliCredential from semantic_kernel.agents.chat_completion.chat_completion_agent import ChatCompletionAgent, ChatHistoryAgentThread from semantic_kernel.connectors.ai.open_ai.services.azure_chat...
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...
30ac4819a79d54e6
go
38
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
f25fedd123eca98b
csharp
273
Monokai
// Copyright (c) Microsoft. All rights reserved. #pragma warning disable CS0618 // Type or member is obsolete - Testing legacy non-generic ITextSearch interface using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.S...
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...
78735e8afe29fb0c
go
36
Default Light+
package _123Share import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { ShareKey string `json:"sharekey" required:"true"` SharePwd string `json:"sharepassword"` driver.RootID //OrderBy string `json:"order_by" type:"select" options:"f...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
92d283e0662b1f2e
cpp
116
Solarized Dark
#include <openpose/face/faceGpuRenderer.hpp> #ifdef USE_CUDA #include <cuda.h> #include <cuda_runtime_api.h> #endif #include <openpose/face/renderFace.hpp> #include <openpose/gpu/cuda.hpp> namespace op { FaceGpuRenderer::FaceGpuRenderer(const float renderThreshold, const float alphaKeypoint, ...
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"...
0363f003f8dcbe85
javascript
341
Default Dark+
// @ts-check import axios from "axios"; import * as dotenv from "dotenv"; import githubUsernameRegex from "github-username-regex"; import { calculateRank } from "../calculateRank.js"; import { retryer } from "../common/retryer.js"; import { logger } from "../common/log.js"; import { excludeRepositories } from "../comm...
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...
37182869fa331455
cpp
188
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: stridemap.cpp // Description: Indexing into a 4-d tensor held in a 2-d Array. // Author: Ray Smith // // (C) Copyright 2016, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
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" ...
e3d464edc6d085c2
java
73
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" ...
7f7afe500bab2ef7
csharp
73
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 F...
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.", ...
138c2a35d9393dbd
cpp
26
Dracula
/*! * Copyright by Contributors 2017-2026 */ #include "../../../src/common/stats.h" #include <sycl/sycl.hpp> #include "../device_manager.h" namespace xgboost::common::sycl_impl { void Mean(Context const* ctx, linalg::VectorView<float const> v, linalg::VectorView<float> out) { sycl::DeviceManager device_manager;...
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...
145d96cf56b2fdfe
python
54
Default Light+
from .common import InfoExtractor from ..utils import clean_html from ..utils.traversal import find_element, traverse_obj class UMGDeIE(InfoExtractor): IE_NAME = 'umg:de' IE_DESC = 'Universal Music Deutschland' _VALID_URL = r'https?://(?:www\.)?universal-music\.de/[^/?#]+/videos/(?P<slug>[^/?#]+-(?P<id>\d...
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...
a13248de38cc03e4
java
82
Default Light+
package com.thealgorithms.sorts; /** * CocktailShakerSort class implements the Cocktail Shaker Sort algorithm, * which is a bidirectional bubble sort. It sorts the array by passing * through it back and forth, progressively moving the largest elements * to the end and the smallest elements to the beginning. * * ...
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...
3f12018903966e0e
java
97
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" ...
5bedc46f3c709836
typescript
89
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, afterEach, expect } from 'vitest'; import { act } from 'react'; import { AppRig } from './AppRig.js'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; import { debugLogger } from '@goog...
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...
157bee0fd4752f73
rust
58
One Dark Pro
use base64::Engine; use ed25519_dalek::{Signature, Verifier, VerifyingKey}; use super::error::{Result, VerificationError}; use crate::api::ApiClient; #[derive(Debug, Clone)] pub struct KeyManager { verified_key: VerifyingKey, api_client: ApiClient, } impl KeyManager { pub async fn new(api_client: ApiClie...
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" ...
f65f8fa26023cafe
csharp
49
Monokai
using System; namespace winPEAS.Info.UserInfo.LogonSessions { internal class LogonSessionsInfo { public string Method { get; } public string UserName { get; } public string Domain { get; } public string LogonId { get; } public string LogonType { get; } public st...
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...
448c6aafe37d52c8
cpp
58
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ /* */ /* This file is auto-generated. Do not edit manually. */ /* */ #ifndef MLX_COMPILE_H #define MLX_COMPILE_H #include <stdbool.h> #include <stdint.h> #incl...
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"...
17a6a7eda537b2b1
csharp
31
Monokai
using System.Windows; using ScreenToGif.Domain.Enums; namespace ScreenToGif.Domain.Events { public delegate void ValidatedEventHandler(object sender, ValidatedEventArgs e); public class ValidatedEventArgs : RoutedEventArgs { public string MessageKey { get; set; } public StatusReasons Reas...
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...
b743efcb05f74781
rust
27
Solarized Dark
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct VcshConfig<'a> { pub symbol: &'a str, pub style: &'a str, pub format: &'a str, pub...
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.", ...
7c673a5c1c07f486
rust
332
Default Dark+
use std::cmp::Reverse; use std::fmt; use std::ops::RangeInclusive; use charabia::Token; use super::super::interner::Interned; use super::super::query_term::LocatedQueryTerm; use super::super::{DedupInterner, Phrase}; use crate::SearchContext; pub struct LocatedMatchingPhrase { pub value: Interned<Phrase>, pu...
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" ...
54142c4ede620dad
java
64
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"...
4915dbc853c5342a
rust
335
Default Dark+
use std::collections::HashMap; use serde::{Deserialize, Serialize}; use super::{FileSearchRankingOptions, ImageFile, LastError, RunStatus}; #[derive(Clone, Serialize, Debug, Deserialize, PartialEq)] #[serde(rename_all = "snake_case")] pub enum RunStepType { MessageCreation, ToolCalls, } /// Represents a ste...
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...
ebb1b3dab7892709
typescript
162
GitHub Dark
import type { App } from 'vue'; import { warn } from '/@/utils/log'; import { registerDynamicRouter } from '/@/utils/monorepo/dynamicRouter'; import { createAsyncComponent } from "@/utils/factory/createAsyncComponent"; // 懒加载模块配置(按需加载,访问相关路由时才加载对应包) const lazyPackages = [ { name: '@jeecg/online', importer: () => imp...
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...
7b21eea9c4b0b196
cpp
167
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ /* */ /* This file is auto-generated. Do not edit manually. */ /* */ #ifndef MLX_RANDOM_H #define MLX_RANDOM_H #include <stdbool.h> #include <stdint.h> #includ...
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...
b47d61f1dfab40e1
cpp
23
Solarized Dark
#ifndef OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP #define OPENPOSE_CORE_KEEP_TOP_N_PEOPLE_HPP #include <openpose/core/common.hpp> namespace op { class OP_API KeepTopNPeople { public: explicit KeepTopNPeople(const int numberPeopleMax); virtual ~KeepTopNPeople(); Array<float> keepTopPeop...
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...
8806cfabff7e36f6
java
93
Default Dark+
package org.schabi.newpipe.fragments.list.channel; import static org.schabi.newpipe.extractor.stream.StreamExtractor.UNKNOWN_SUBSCRIBER_COUNT; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; import androidx.annotation.NonNull; import android...
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...
e34a11a7f22acd04
typescript
68
Default Light+
import clsx from "clsx"; import { useRef } from "react"; import { createPortal } from "react-dom"; import { KEYS } from "@excalidraw/common"; import { useCreatePortalContainer } from "../hooks/useCreatePortalContainer"; import "./Modal.scss"; import type { AppState } from "../types"; export const Modal: React.FC<{...
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...
1f23e52329881b3c
python
125
Default Light+
from .common import InfoExtractor from ..utils import ( int_or_none, url_or_none, ) from ..utils.traversal import traverse_obj class MedalTVIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?medal\.tv/games/[^/?#&]+/clips/(?P<id>[^/?#&]+)' _TESTS = [{ 'url': 'https://medal.tv/games/valorant/...
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...
732b790ae37550f9
python
65
Monokai
# Copyright (c) Microsoft. All rights reserved. from numpy import array from semantic_kernel.memory.memory_record import MemoryRecord MONGODB_FIELD_ID = "_id" MONGODB_FIELD_TEXT = "text" MONGODB_FIELD_EMBEDDING = "embedding" MONGODB_FIELD_SRC = "externalSourceName" MONGODB_FIELD_DESC = "description" MONGODB_FIELD_ME...
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...
6acf3ce82ee7e47b
csharp
42
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel; /// <summary> /// Extension methods for <see cref="AggregateAIContextProvider"/>. ///...
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" ...
2618ab5e3f9b535a
java
57
Default Dark+
package org.schabi.newpipe.settings; import android.content.SharedPreferences; import android.os.Bundle; import android.view.View; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.StringRes; import androidx.preference.Preference; import androidx.preference.Preference...
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...
95c3a15ef55855dd
typescript
30
Solarized Light
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "@/examples/radix/ui/select" export function SelectDisabled() { return ( <Select disabled> <SelectTrigger className="w-full max-w-48"> <SelectValue placeholder="Select a fruit" /> </SelectT...
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"...
f7cd68cbf19d5aa3
typescript
277
One Dark Pro
import { HoppRESTReqBody } from "@hoppscotch/data" import * as O from "fp-ts/Option" import * as RA from "fp-ts/ReadonlyArray" import * as S from "fp-ts/string" import { pipe, flow } from "fp-ts/function" import { tupleToRecord } from "~/helpers/functional/record" import { safeParseJSON } from "~/helpers/functional/jso...
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.", ...
cd3a8c1ebf21b6c1
rust
43
Default Dark+
use heed::types::{SerdeJson, Str}; use heed::{RoTxn, RwTxn}; use serde::{Deserialize, Serialize}; use crate::index::main_key; use crate::Index; #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Default)] #[serde(rename_all = "camelCase")] pub struct DisabledTyposTerms { pub disable_on_numbers: b...
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...
c73de4fbb658a057
typescript
31
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { StatsDisplay } from './StatsDisplay.js'; import { useSessionStats } from '../contexts/SessionContext.js'; import { escapeShellArg, getShellConfiguration } from '@google/gemini-cli-core'; in...
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" ...
a8a063e2c9c714fa
csharp
102
One Dark Pro
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
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...
c010e8040160591e
typescript
61
GitHub Dark
/** 组件类型 */ export enum JVxeTypes { // 行号列 rowNumber = 'row-number', // 选择列 rowCheckbox = 'row-checkbox', // 单选列 rowRadio = 'row-radio', // 展开列 rowExpand = 'row-expand', // 上下排序 rowDragSort = 'row-drag-sort', input = 'input', inputNumber = 'input-number', textarea = 'textarea', select = 'se...
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...
94c769adbe1045a5
cpp
101
Dracula
/** * Copyright 2020-2026, XGBoost Contributors */ #ifndef XGBOOST_TREE_HIST_SAMPLER_H_ #define XGBOOST_TREE_HIST_SAMPLER_H_ #include <cstdint> // for uint64_t #include <random> // for bernoulli_distribution, linear_congruential_engine #include <vector> // for vector #include "../../common/math.h" // for Sqr ...
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...
625710f34ad37aea
cpp
31
Solarized Light
#ifndef _SCRIPTAPI_ARGUMENT_H #define _SCRIPTAPI_ARGUMENT_H #include "_scriptapi.h" namespace Script { namespace Argument { struct ArgumentInfo { char mod[MAX_MODULE_SIZE]; duint rvaStart; duint rvaEnd; bool manual; duint instructionc...
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...
56097a09c4ec24b3
javascript
468
Default Dark+
export const themes = { default: { title_color: "2f80ed", icon_color: "4c71f2", text_color: "434d58", bg_color: "fffefe", border_color: "e4e2e2", }, default_repocard: { title_color: "2f80ed", icon_color: "586069", // icon color is different text_color: "434d58", bg_color: "fffe...
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" ...
4487410dfe1b2e35
python
101
Solarized Light
#!/usr/bin/env python3 """Provide the functionality to manipulate a single bit.""" def set_bit(number: int, position: int) -> int: """ Set the bit at position to 1. Details: perform bitwise or for given number and X. Where X is a number with all the bits - zeroes and bit on given position - one....
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...
ea218ab5e9ef98e6
java
42
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...
980fb89962e185ee
javascript
240
Default Dark+
// @ts-check import { SECONDARY_ERROR_MESSAGES, TRY_AGAIN_LATER } from "./error.js"; import { getCardColors } from "./color.js"; import { encodeHTML } from "./html.js"; import { clampValue } from "./ops.js"; /** * Auto layout utility, allows us to layout things vertically or horizontally with * proper gaping. * *...
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" ...
0c522d4b640cd03d
java
205
Default Dark+
package org.schabi.newpipe.player.resolver; import android.content.Context; import android.net.Uri; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.MediaItem; import com.google.android.exopl...
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" ...
1c4ef751d4b989b4
typescript
113
GitHub Dark
import { cacheCipher } from '/@/settings/encryptionSetting'; import type { EncryptionParams } from '/@/utils/cipher'; import { AesEncryption } from '/@/utils/cipher'; import { isNullOrUnDef } from '/@/utils/is'; export interface CreateStorageParams extends EncryptionParams { prefixKey: string; storage: Storage;...
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" ...
0b04e2c1a0a243a0
typescript
25
Default Light+
import clsx from "clsx"; import { Children } from "react"; import "./ScrollableList.scss"; interface ScrollableListProps { className?: string; placeholder: string; children: React.ReactNode; } export const ScrollableList = ({ className, placeholder, children, }: ScrollableListProps) => { const isEmpty ...
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" ...
e62972351cec7241
cpp
66
One Dark Pro
// (C) Copyright 2017, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
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...
ea6fa26bfb1eb0a7
python
189
Dracula
# pylint: disable=too-many-locals """Tests for callback functions.""" import json from itertools import product from typing import Dict, List, Tuple from ..callback import LearningRateScheduler from ..core import Booster, DMatrix from ..training import cv, train from .utils import Device def run_eta_decay( tree...
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...
011a6ddf2e84ce44
csharp
96
One Dark Pro
namespace ShareX.MediaLib { partial class VideoThumbnailerForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
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...
f1a97f56355ed076
java
42
GitHub Dark
package com.alibaba.csp.sentinel.dashboard.rule.nacos.gateway; import java.util.List; import com.alibaba.csp.sentinel.dashboard.constants.SentinelConStants; import com.alibaba.csp.sentinel.dashboard.rule.nacos.SentinelConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.s...
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...
f7cf1ea283f13443
typescript
150
Dracula
/** * The following is modified based on source found in * https://github.com/facebook/create-react-app * * MIT Licensed * Copyright (c) 2015-present, Facebook, Inc. * https://github.com/facebook/create-react-app/blob/main/LICENSE * */ import { join } from 'node:path' import { exec } from 'node:child_process' ...
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" ...
9f6305948c509970
typescript
212
Solarized Light
import { DM_Sans, Figtree, Geist, Geist_Mono, Inter, JetBrains_Mono, Lora, Merriweather, Noto_Sans, Noto_Serif, Nunito_Sans, Outfit, Playfair_Display, Public_Sans, Raleway, Roboto, Roboto_Slab, } from "next/font/google" const inter = Inter({ subsets: ["latin"], variable: "--font-i...
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...
b5e171bd72d63969
typescript
34
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { Banner } from './Banner.js'; import { describe, it, expect } from 'vitest'; describe('Banner', () => { it.each([ ['warning mode', true, 'Warning Message'], ['...
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...
2c17a1233a87f9dd
rust
175
Solarized Light
use std::fmt; use crossfont::Size as FontSize; use serde::de::{self, Visitor}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; use alacritty_config_derive::{ConfigDeserialize, SerdeReplace}; use crate::config::ui_config::Delta; /// Font config. /// /// Defaults are provided at the level of this struc...
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" ...
3ab1b5187e86b5e9
csharp
212
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Agents.Core.Models; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.CopilotStudio.Internal; using ...
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...
ee842689c39df318
javascript
45
Dracula
/** * Recursive Staircase Problem (Recursive Solution With Memoization). * * @param {number} totalStairs - Number of stairs to climb on. * @return {number} - Number of ways to climb a staircase. */ export default function recursiveStaircaseMEM(totalStairs) { // Memo table that will hold all recursively calculate...
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...
dbe8f8ddca3420df
csharp
124
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...
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...
1aef1cb1c8e81618
go
245
Solarized Light
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc (unknown) // source: api/v1/common.proto package apiv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync ...
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...
23874f5dadf4563e
java
124
GitHub Dark
package org.jeecg.config.jimureport; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.dto.LogDTO; import org.jeecg.common.system.api.ISysBaseAPI; import org.jeecg.common.system.vo.DictModel; import org.jeecg.common.util.oConvertUtils; import org.jeecg.modules.base.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...
02a046e984285ef2
python
442
Default Light+
import base64 import binascii import datetime as dt import hashlib import hmac import json import os import urllib.parse from .common import InfoExtractor from ..utils import ExtractorError, int_or_none from ..utils.traversal import get_first, traverse_obj class GoPlayIE(InfoExtractor): IE_NAME = 'play.tv' I...
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" ...
0c41c05bf92e814f
go
32
Solarized Dark
// Copyright 2022 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...
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"...
3a24148f0fefd9e8
typescript
28
Solarized Light
export const CONSTANTS = { BUTTON_MIN_WIDTH: 50, BUTTON_MIN_HEIGHT: 25, BUTTON_MIN_PADDING_VERTICAL: 3, BUTTON_MIN_PADDING_HORIZONTAL: 6, MAX_PARENT_TRAVERSAL: 5, MAX_BACKGROUND_SAMPLES: 100, MIN_SIGNIFICANT_AREA: 1000, MIN_LARGE_CONTAINER_AREA: 10000, DUPLICATE_POSITION_THRESHOLD: 1, MIN_LOGO_SIZE:...
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" ...
078e5c34db1259e4
typescript
269
Solarized Light
import { C, INTERNAL, Internal, assertInternal, SIZE_OF_INT, SIZE_OF_SHORT } from './constants'; import { LookaheadIterator } from './lookahead_iterator'; import { unmarshalLanguageMetadata } from './marshal'; import { TRANSFER_BUFFER } from './parser'; const LANGUAGE_FUNCTION_REGEX = /^tree_sitter_\w+$/; export inte...
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...