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
8f730d7dedfc7ec4
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 ...
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"...
23c68cad83c7d176
java
112
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...
b821e837109a0fa9
typescript
135
One Dark Pro
import { BuiltinMask } from "./typing"; export const EN_MASKS: BuiltinMask[] = [ { avatar: "1f47e", name: "GitHub Copilot", context: [ { id: "Copilot-0", role: "system", content: 'You are an AI programming assistant.\nWhen asked for you name, you must respond with ...
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"...
c0af28851f2468cf
python
98
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging from azure.identity import AzureCliCredential from samples.concepts.audio.audio_player import AudioPlayer from semantic_kernel.connectors.ai.open_ai import ( AzureChatCompletion, AzureTextToAudio, OpenAIChatPromptExecutionSetti...
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...
170f347948a3c3c6
typescript
255
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { renderHook } from '../../test-utils/render.js'; import { describe, it, expect, vi, afterEach, beforeEach } from 'vitest'; import { useHookDisplayState } from './useHookDisplayState.js'; import { coreEvents, CoreEvent, ...
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"...
4e56ae5dfc1b2872
csharp
29
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using System.Text.Json; using QualityCheckWithFilters.Models; namespace QualityCheckWithFilters.Services; /// <summary> /// Service which performs HTTP requests to evaluation server. /// </summary> internal sealed class EvaluationService(HttpClient...
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.", ...
121e8edc01f45fb8
java
70
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.", ...
f8799e7702d286cc
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ComponentModel; using System.Globalization; namespace Microsoft.SemanticKernel; /// <summary> /// Converts a object of <see cref="RestApiOperationResponse"/> type to string type. /// </summary> public class RestApiOperationResponseConverter...
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" ...
89ac35d499102611
typescript
143
Dracula
import path from 'node:path' import { defineConfig } from 'tsdown' import licensePlugin from '../vite/rollupLicensePlugin.ts' export default defineConfig(() => ({ entry: ['src/index.ts'], target: 'node20', minify: true, inlineOnly: false as const, fixedExtension: false, plugins: [ licensePlugin( ...
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...
29a780b93f4efafb
csharp
488
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...
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" ...
bca3567032748e96
cpp
386
Solarized Light
#include "cmd-gui.h" #include "debugger.h" #include "console.h" #include "memory.h" #include "recursiveanalysis.h" #include "function.h" #include "module.h" #include "stringformat.h" #include "value.h" #include "variable.h" bool cbShowThreadId(int argc, char* argv[]) { if(argc > 1) { duint threadId = 0...
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...
495a599725894ab4
go
214
Default Light+
package github_releases import ( "encoding/json" "strings" "time" "github.com/alist-org/alist/v3/pkg/utils" "github.com/go-resty/resty/v2" ) type MountPoint struct { Point string // 挂载点 Repo string // 仓库名 owner/repo Release *Release // Release 指针 latest Releases *[]Release // []Rel...
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"...
8359604bb7978017
python
151
Monokai
# /// script # noqa: CPY001 # dependencies = [ # "semantic-kernel[mcp]", # ] # /// # Copyright (c) Microsoft. All rights reserved. import argparse import logging from random import random from typing import Annotated, Any, Literal import anyio from azure.identity import AzureCliCredential from semantic_kernel.agent...
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"...
96ef4de19b06bdf4
cpp
55
One Dark Pro
#include "models.h" llm_build_mamba::llm_build_mamba(const llama_model & model, const llm_graph_params & params) : llm_build_mamba_base(params) { ggml_tensor * cur; ggml_tensor * inpL; // {n_embd, n_tokens} inpL = build_inp_embd(model.tok_embd); auto * rs_inp = build_rs_inp(); ggml_tensor * ...
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...
cad61ab021a1d4d1
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.SmsHomeRecommendSubject; import com.macro.mall.model.SmsHomeRecommendSubjectExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SmsHomeRecommendSubjectMapper { long countByExample(SmsHomeRecommendSubjectExample exa...
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.", ...
a2f79257fdfb7590
python
139
Monokai
#code originally taken from: https://github.com/ChenyangSi/FreeU (under MIT License) import torch import logging from typing_extensions import override from comfy_api.latest import ComfyExtension, IO def Fourier_filter(x, threshold, scale): # FFT x_freq = torch.fft.fftn(x.float(), dim=(-2, -1)) x_freq = 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...
5b828e25f6f42682
rust
46
Solarized Light
use core::ffi::c_void; use super::FREE_FN; /// A raw pointer and a length, exposed as an iterator. pub struct CBufferIter<T> { ptr: *mut T, count: usize, i: usize, } impl<T> CBufferIter<T> { pub const unsafe fn new(ptr: *mut T, count: usize) -> Self { Self { ptr, count, i: 0 } } } impl<T...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
6288295489ea6ad4
typescript
138
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ export type ModelId = string; type TerminalUnavailabilityReason = 'quota' | 'capacity'; export type TurnUnavailabilityReason = 'retry_once_per_turn'; export type UnavailabilityReason = | TerminalUnavailabilityReason | TurnUna...
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...
412820f348a4810f
python
31
Solarized Light
""" Implemented an algorithm using opencv to convert a colored image into its negative """ from cv2 import destroyAllWindows, imread, imshow, waitKey def convert_to_negative(img): # getting number of pixels in the image pixel_h, pixel_v = img.shape[0], img.shape[1] # converting each pixel's color to its...
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...
9a4360aba5c0e87e
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...
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" ...
470f4ede95a1a66e
cpp
256
One Dark Pro
#pragma once // ggml-backend internal header #include "ggml-backend.h" #ifdef __cplusplus extern "C" { #endif #define GGML_BACKEND_API_VERSION 2 // // Backend buffer type // struct ggml_backend_buffer_type_i { const char * (*get_name) (ggml_backend_buffer_type_t buft); ...
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.", ...
efea329a4d14c87f
typescript
215
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs'; import * as path from 'node:path'; import ignore, { type Ignore } from 'ignore'; export interface GitIgnoreFilter { isIgnored(filePath: string): boolean; } export class GitIgnoreParser implements ...
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...
0f73596fcfb20e4a
python
51
Solarized Light
""" Problem 72 Counting fractions: https://projecteuler.net/problem=72 Description: Consider the fraction, n/d, where n and d are positive integers. If n<d and HCF(n,d)=1, it is called a reduced proper fraction. If we list the set of reduced proper fractions for d ≤ 8 in ascending order of size, we get: 1/8, 1/7, 1/6...
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" ...
00220889631b6a78
cpp
35
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "INarratorAnnouncementHost.h" // Declaration of the NotificationHost class. // This class announces NarratorAnnouncements using the RaiseNotification API // available in RS3. namespace CalculatorApp...
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...
c389d946723ec8d2
python
68
Solarized Light
import math def escape_velocity(mass: float, radius: float) -> float: """ Calculates the escape velocity needed to break free from a celestial body's gravitational field. The formula used is: v = sqrt(2 * G * M / R) where: v = escape velocity (m/s) G = gravitational const...
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" ...
fe3a66f5bf981894
rust
124
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::helm::HelmConfig; use crate::formatter::StringFormatter; use crate::formatter::VersionFormatter; /// Creates a module with the current Helm version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_module("h...
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.", ...
9ffeb189bf10f1fe
java
70
Default Light+
package com.thealgorithms.strings; /** * Wikipedia: https://en.wikipedia.org/wiki/Longest_palindromic_substring#Manacher's_algorithm */ public final class Manacher { private Manacher() { } /** * Finds the longest palindromic substring using Manacher's Algorithm * * @param s The input str...
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...
aa72179f5002b882
csharp
80
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.Extensions.AI; namespace Microsoft.Extensions.VectorData.ProviderServices; #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member /// <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...
0039471c3e919cb1
java
79
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" ...
0ab7e24c1f6c80e2
cpp
44
Solarized Light
#pragma once #include <QObject> #include <QThread> #include <QTimer> #include <atomic> #include <memory> #include "Types.h" namespace httplib { class Server; class Client; } class REToolSync : public QThread { Q_OBJECT public: explicit REToolSync(QObject* parent = nullptr); REToolSync(const REToo...
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" ...
7459cd592896cab7
csharp
32
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...
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" ...
8f2c3603ab07cd02
csharp
238
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
6da0ffa08ef8a6bb
rust
33
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 JobsConfig<'a> { pub threshold: i64, pub symbol_threshold: i64, pub number_threshold: ...
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" ...
e449035e63b85b66
python
206
Default Light+
import json import re import urllib.parse from .common import InfoExtractor from ..utils import ( clean_html, extract_attributes, int_or_none, parse_duration, parse_resolution, str_or_none, unified_timestamp, url_or_none, ) from ..utils.traversal import ( find_element, find_elem...
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...
3fc08da5846910d4
cpp
116
Solarized Dark
#ifndef OPENPOSE_THREAD_THREAD_QUEUE_IN_OUT_HPP #define OPENPOSE_THREAD_THREAD_QUEUE_IN_OUT_HPP #include <openpose/core/common.hpp> #include <openpose/thread/queue.hpp> #include <openpose/thread/thread.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums, typename TWorker = std::sha...
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" ...
dd2a80974fcdc726
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" ...
8b59152b3b4ee9ab
go
76
Default Light+
//go:build integration && library package integration import ( "context" "fmt" "log/slog" "os" "testing" "time" "github.com/ollama/ollama/api" ) // First run of this scenario on a target system will take a long time to download // ~1.5TB of models. Set a sufficiently large -timeout for your network speed fu...
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"...
dd9e5c689ede53d3
java
78
Default Light+
package com.thealgorithms.datastructures.trees; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.LinkedList; import java.util.List; /** * Given a binary tree. * This code returns the zigzag level order traversal of its nodes' values. * Binary tree: * ...
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.", ...
d8cffea7d78a6303
go
186
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
34c0b5756595579e
typescript
86
Solarized Light
import { ChevronRight, MoreHorizontal, Plus } from "lucide-react" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/new-york-v4/ui/collapsible" import { SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuAction, SidebarMenuButton, SidebarMen...
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.", ...
80f721b125042756
csharp
409
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...
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" ...
a3ea8a2a1162804f
javascript
78
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
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...
15bab5eeb0fb5f2c
python
122
Solarized Light
""" Graph Coloring also called "m coloring problem" consists of coloring a given graph with at most m colors such that no adjacent vertices are assigned the same color Wikipedia: https://en.wikipedia.org/wiki/Graph_coloring """ def valid_coloring( neighbours: list[int], colored_vertices: list[int], color: int ) ...
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...
b28324f857edb22f
typescript
420
Default Light+
import type { Meta, StoryObj } from "@storybook/react-vite"; import Message from "./Message"; import { Message as MessageType, ToolCall, ToolFunction } from "@/gotypes"; const meta = { title: "Components/Message", component: Message, parameters: { layout: "padded", }, tags: ["autodocs"], argTypes: { ...
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" ...
695e6286c13d4076
java
50
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...
928e28c2d5a6e67c
csharp
65
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; namespace Microsoft.SemanticKernel.Agents.Orchestration.Handoff; /// <summary> /// A message that describes the input task and captures results for a <see cref="HandoffOrchestration{TInput,TOutput}"/>. /// </summary> internal static ...
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...
cf6101c588f37546
javascript
72
Dracula
#!/usr/bin/env node /** * Stop Hook: Check for console.log statements in modified files * * Cross-platform (Windows, macOS, Linux) * * Runs after each response and checks if any modified JavaScript/TypeScript * files contain console.log statements. Provides warnings to help developers * remember to remove debug...
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...
202583866d477dc3
python
112
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( determine_ext, float_or_none, get_element_by_id, int_or_none, parse_iso8601, str_to_int, ) class IzleseneIE(InfoExtractor): _VALID_URL = r'''(?x) https?://(?:(?:www|m)\.)?izlesene\.com/ (?:video|em...
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...
8f17add41db8ca0c
java
318
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" ...
4005302cde091e43
typescript
34
Default Light+
const polyfill = () => { if (!Array.prototype.at) { // Taken from https://github.com/tc39/proposal-relative-indexing-method#polyfill so that it works in tests /* eslint-disable */ Object.defineProperty(Array.prototype, "at", { value: function (n: number) { // ToInteger() abstract op ...
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...
1a27c0b36d03039d
python
428
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging import sys from collections.abc import AsyncGenerator, Callable from typing import TYPE_CHECKING, Any, ClassVar from google.genai import Client from google.genai.types import Candidate, Content, GenerateContentConfigDict, GenerateContentResponse from pyda...
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...
9729499a0e3424c5
csharp
95
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using ModelContextProtocol.Protocol; using ModelContextProtocol.Server; namespace MCPServer.Resources; /// <summary> /// Represents a resource definition. /// </summary> public sealed class ResourceDefinition { /// <summary> //...
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"...
8ef5daa629f04d6d
rust
95
Dracula
#[cfg(windows)] fn build_windows() { let file = "src/platform/windows.cc"; let file2 = "src/platform/windows_delete_test_cert.cc"; cc::Build::new().file(file).file(file2).compile("windows"); println!("cargo:rustc-link-lib=WtsApi32"); println!("cargo:rerun-if-changed={}", file); println!("cargo:r...
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" ...
46199c7ad08a9951
java
192
GitHub Dark
package org.jeecg.config.sign.util; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.constant.SymbolConstant; import org.jeecg.common.exception.JeecgBootException; import org.jeecg.common.util.SpringContextUtils; import org.jeecg.common.util.oConvertUtils; import org.je...
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"...
c960c59bb2a8b48e
typescript
39
Default Dark+
import type { ComponentProps } from 'react'; import { useFormContext, useWatch } from 'react-hook-form'; import type { JobTitleType } from '~/components/shared/JobTitles'; import { getLabelForJobTitleType } from '~/components/shared/JobTitles'; import JobTitlesTypeahead from '~/components/shared/JobTitlesTypeahead'; ...
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"...
3c99df31103164ec
java
68
Default Light+
package com.thealgorithms.strings; /** * A utility class that provides a method to convert a string to a 32-bit signed integer (similar to C/C++'s atoi function). */ public final class MyAtoi { private MyAtoi() { } /** * Converts the given string to a 32-bit signed integer. * The conversion di...
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...
a34d2358d89e4672
csharp
168
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" ...
698cffbacb0fd3d9
csharp
376
Default Light+
#nullable enable // Copyright (c) 2014 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify...
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...
076e80ce4b563461
cpp
44
Solarized Dark
#ifndef OPENPOSE_UTILITIES_POINTER_CONTAINER_HPP #define OPENPOSE_UTILITIES_POINTER_CONTAINER_HPP namespace op { template<typename TPointerContainer> inline bool checkNoNullNorEmpty(const TPointerContainer& tPointerContainer) { return (tPointerContainer != nullptr && tPointerContainer->size() > 0);...
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.", ...
e6113d3004bdd957
typescript
203
GitHub Dark
import type { Router, RouteRecordRaw } from 'vue-router'; import { usePermissionStoreWithOut } from '/@/store/modules/permission'; import { PageEnum } from '/@/enums/pageEnum'; import { useUserStoreWithOut } from '/@/store/modules/user'; import { PAGE_NOT_FOUND_ROUTE } from '/@/router/routes/basic'; import { RootRo...
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...
10e264da49ec99f4
rust
124
GitHub Dark
//! Calculate the exponential moving average (EMA) on the series of stock prices. //! //! Wikipedia Reference: <https://en.wikipedia.org/wiki/Exponential_smoothing> //! Investopedia Reference: <https://www.investopedia.com/terms/e/ema.asp> //! //! Exponential moving average is used in finance to analyze changes in stoc...
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.", ...
69730119dc58792b
go
37
Default Dark+
package reverseproxy import ( "bytes" "net/http/httptest" "strings" "testing" "github.com/caddyserver/caddy/v2" ) func TestHandlerCopyResponse(t *testing.T) { h := Handler{} testdata := []string{ "", strings.Repeat("a", defaultBufferSize), strings.Repeat("123456789 123456789 123456789 12", 3000), } d...
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" ...
8eb9ae1db44824a7
cpp
80
One Dark Pro
#include "count-equal.hpp" #include <cstdint> template <typename T> static void count_equal(const T *__restrict__ x, const T *__restrict__ y, int64_t *__restrict__ dst, const int64_t dk, const int64_t k) { auto item_ct1 = sycl::ext::oneapi::this_work_item::get_nd_it...
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...
7794ab6c467cf54f
cpp
31
Solarized Dark
#ifndef OPENPOSE_3D_POSE_TRIANGULATION_HPP #define OPENPOSE_3D_POSE_TRIANGULATION_HPP #include <openpose/core/common.hpp> namespace op { class OP_API PoseTriangulation { public: PoseTriangulation(const int minViews3d); virtual ~PoseTriangulation(); void initializationOnThread(); ...
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"...
531ca7102024a1df
go
97
Default Light+
package common import ( "strings" ) func FindStop(sequence string, stops []string) (bool, string) { for _, stop := range stops { if strings.Contains(sequence, stop) { return true, stop } } return false, "" } func ContainsStopSuffix(sequence string, stops []string) bool { for _, stop := range stops { f...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
fd46ca07297c9c2c
cpp
68
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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.", ...
462671e29ce8a2ce
typescript
51
Default Dark+
import type { Config } from 'unique-names-generator'; import { countries, names } from 'unique-names-generator'; import { adjectives, animals, colors, uniqueNamesGenerator, } from 'unique-names-generator'; import { PrismaClient } from '@prisma/client'; const prisma = new PrismaClient(); const customConfig: Co...
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" ...
1d746176626306c5
java
48
Solarized Dark
// You are given a m x n 2D grid initialized with these three possible values. // -1 - A wall or an obstacle. // 0 - A gate. // INF - Infinity means an empty room. We use the value 231 - 1 = 2147483647 to represent INF as you may assume that the distance to a gate is less than 2147483647. // Fill each empty room with ...
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" ...
63e1191596c07401
csharp
85
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.IO; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.HuggingFace.Core; using Microsoft.SemanticKernel.Text; using Xunit; namespace SemanticKernel.Connectors.HuggingFace.UnitT...
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...
8208bea6d77388ad
csharp
29
Monokai
using System.IO; using System.Runtime.Serialization.Json; using System.Text; namespace ScreenToGif.Util; public static class Serializer { public static string Serialize<T>(T data) { using (var ms = new MemoryStream()) { var ser = new DataContractJsonSerializer(typeof(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...
82f9ea73b48aa7e5
typescript
25
GitHub Dark
import type { Router } from 'vue-router'; import { useAppStore } from '/@/store/modules/app'; import { useMultipleTabStore } from '/@/store/modules/multipleTab'; import { useUserStore } from '/@/store/modules/user'; import { usePermissionStore } from '/@/store/modules/permission'; import { PageEnum } from '/@/enums/pag...
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"...
7efeb192f7697ead
cpp
117
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: reconfig.cpp // Description: Network layer that reconfigures the scaling vs feature // depth. // Author: Ray Smith // // (C) Copyright 2014, Google Inc. // Licensed under the Apache License, Version 2.0 (the "Licen...
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" ...
3d611ba5266d0c26
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel.DataAnnotations; namespace VectorStoreRAG.Options; /// <summary> /// Contains settings to control the RAG experience. /// </summary> internal sealed class RagConfig { public const string ConfigSectionName = "Rag"; [Required] p...
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...
9726c0ecc4ec835f
typescript
150
Solarized Light
import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSet, FieldTitle, } from "@/examples/radix/ui/field" import { RadioGroup, RadioGroupItem } from "@/examples/radix/ui/radio-group" export function RadioFields() { return ( <FieldGroup> <FieldSet> ...
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.", ...
c492745fe05e8a42
csharp
81
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Agents.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using OpenAI; var apiKey = Environment.GetEnvironmentVariable("OPENAI_API_KEY") ?? throw new InvalidOperationException("OP...
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...
3e65535eb2e7aaea
rust
33
GitHub Dark
// collatz conjecture : https://en.wikipedia.org/wiki/Collatz_conjecture pub fn sequence(mut n: usize) -> Option<Vec<usize>> { if n == 0 { return None; } let mut list: Vec<usize> = vec![]; while n != 1 { list.push(n); if n.is_multiple_of(2) { n /= 2; } else { ...
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" ...
348ddf6b89afbfc8
javascript
47
Dracula
import fs from 'node:fs' import path from 'node:path' import { defineConfig } from 'vite' export default defineConfig({ esbuild: { supported: { // Force esbuild inject helpers to test regex 'object-rest-spread': false, 'optional-chain': false, }, }, build: { // Force oxc inject help...
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...
0d43a6e495dd4cb2
typescript
74
Solarized Light
"use client" import { ChevronDownIcon } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/regis...
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...
1edd102fad9cbad7
cpp
56
One Dark Pro
#pragma once #include <wolv/utils/preproc.hpp> #include <hex/ui/imgui_imhex_extensions.h> #if defined(DEBUG) #define DBG_DEFINE_DEBUG_VARIABLE(type, name) \ static type name; \ hex::dbg::impl::drawDebugVariable(name, WOLV_STRING...
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...
6156e32aef2f6478
typescript
58
Default Dark+
import type { Resume } from '~/types/resume'; export function resumeGetFilterCounts(data: Array<Resume>) { const roleCounts: Record<string, number> = {}; for (let i = 0; i < data.length; i++) { const { role } = data[i]; if (!(role in roleCounts)) { roleCounts[role] = 1; } else { roleCounts[...
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...
b173779d1f8e2545
cpp
46
One Dark Pro
/********************************************************************** * File: tlog.h * Description: Variant of printf with logging level controllable by a * commandline flag. * Author: Ranjith Unnikrishnan * Created: Wed Nov 20 2013 * * (C) Copyright 2013, Google Inc. ** Licensed ...
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...
54bba04e67950bb0
cpp
91
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/helpers/fs.hpp> #include <string> #include <variant> #include <nlohmann/json.hpp> #include <imgui.h> EXPORT_MODULE namespace hex { /** * @brief The Theme Manager takes care of loading and applying themes */ class ThemeManager { public: con...
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" ...
6aade50aebeaabb4
javascript
199
Default Dark+
import { createRouter, createWebHistory } from "vue-router"; import EmptyLayout from "./layouts/EmptyLayout.vue"; import Layout from "./layouts/Layout.vue"; import Dashboard from "./pages/Dashboard.vue"; import DashboardHome from "./pages/DashboardHome.vue"; import Details from "./pages/Details.vue"; import EditMonito...
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...
2471274290705b81
typescript
218
GitHub Dark
import type { ButtonProps } from 'ant-design-vue/lib/button/buttonTypes'; import type { CSSProperties, VNodeChild, ComputedRef } from 'vue'; /** * @description: 弹窗对外暴露的方法 */ export interface ModalMethods { setModalProps: (props: Partial<ModalProps>) => void; emitVisible?: (visible: boolean, uid: number) => void; ...
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"...
538f95eb3328ffbf
java
127
GitHub Dark
package org.jeecg.modules.airag.wordtpl.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lomb...
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...
c2746bca6630dfba
java
72
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...
ad9d43d87a7e1eb9
java
41
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...
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.", ...
4da10ef6c3e0033d
csharp
92
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Runtime.Serialization; using System.Text.Json; using Microsoft.SemanticKernel.Connectors.OpenAI; namespace Microsoft.SemanticKernel; /// <summary> /// A serializable representation of an internal message used in a process runtime received by...
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...
fcbd07f12f6b0418
go
218
Solarized Light
// Code generated by protoc-gen-connect-go. DO NOT EDIT. // // Source: api/v1/auth_service.proto package apiv1connect import ( connect "connectrpc.com/connect" context "context" errors "errors" v1 "github.com/usememos/memos/proto/gen/api/v1" emptypb "google.golang.org/protobuf/types/known/emptypb" http "net/htt...
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...
06e0d12e1946bf58
python
153
Default Light+
import base64 import io import time import gradio as gr from pydantic import BaseModel, Field from modules.shared import opts import modules.shared as shared from collections import OrderedDict import string import random from typing import List current_task = None pending_tasks = OrderedDict() finished_tasks = [] ...
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...
2f2791378e355d76
csharp
479
Default Dark+
namespace RevokeMsgPatcher { partial class FormMain { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 tru...
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...
54ff4f89b9801df4
typescript
143
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Escapes a string for use in a regular expression. */ export function escapeRegex(text: string): string { return text.replace(/[-[\]{}()*+?.,\\^$|#\s"]/g, '\\$&'); } /** * Basic validation for regular expressions to prev...
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...
d1f9055f07e819af
java
213
GitHub Dark
package org.jeecg.common.util; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import jakarta.servlet.http.HttpServletRequest; /** * * @Author 张代浩 * */ public class BrowserUtils { /** * 判断是否是IE * @param request * @return *...
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"...
0f2832086631d6c0
go
241
Solarized Dark
// Copyright 2017 fatedier, fatedier@gmail.com // // 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...
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...
2bd16e7d14c1dafd
csharp
130
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using System.Text.Json; using System.Text.Json.Serialization.Metadata; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; namespace ChatCompletion; public class ChatHistorySerialization(ITestOutputHelper output) : BaseTe...
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...
b02b2e2caa3cd73a
java
60
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...
d67df0b76d33f654
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using SharedSteps; namespace Step02.Steps; /// <summary> /// <see cref="ScriptedUserInputStep"/> Step with interactions that makes the Process fail due credit score failure /// </summary> public sealed class UserInputCreditScoreFailureInteractionStep : ScriptedUserIn...
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...
f63bec3e23925c0f
python
162
Monokai
import nodes import torch import comfy.utils import comfy.sd import folder_paths import comfy_extras.nodes_model_merging import node_helpers class ImageOnlyCheckpointLoader: @classmethod def INPUT_TYPES(s): return {"required": { "ckpt_name": (folder_paths.get_filename_list("checkpoints"), ), ...
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"...
dff918ca9f803780
javascript
233
Dracula
import GraphVertex from '../../../../data-structures/graph/GraphVertex'; import GraphEdge from '../../../../data-structures/graph/GraphEdge'; import Graph from '../../../../data-structures/graph/Graph'; import articulationPoints from '../articulationPoints'; describe('articulationPoints', () => { it('should find art...
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...
42532e36d9307424
cpp
365
One Dark Pro
// SPDX-License-Identifier: Apache-2.0 // File: pageiterator.h // Description: Iterator for tesseract page structure that avoids using // tesseract internal data structures. // Author: Ray Smith // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Version 2.0 (the "Licens...
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.", ...