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
23943ff8798df9ac
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Logging; using NAudio.Wave; public class AudioPlaybackService(ILogger<AudioPlaybackService> logger) : IDisposable { private readonly ILogger<AudioPlaybackService> _logger = logger; private WaveOutEvent? _waveOut; private bool _is...
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.", ...
385d558b54687759
python
156
Dracula
# pylint: disable=unbalanced-tuple-unpacking, too-many-locals """Tests for federated learning.""" import multiprocessing import os import subprocess import tempfile import time from typing import List, cast from sklearn.datasets import dump_svmlight_file, load_svmlight_file from sklearn.model_selection import train_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" ...
174b4c2a20d783ed
java
23
Solarized Dark
// Write a function that takes a string as input and returns the string reversed. // Example: // Given s = "hello", return "olleh". public class ReverseString { public String reverseString(String s) { if(s == null || s.length() == 1 || s.length() == 0) { return s; } ch...
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...
0fea0b0c3c211efe
python
73
Default Light+
import re from .common import InfoExtractor from .vimeo import VimeoIE from .youtube import YoutubeIE from ..utils import unescapeHTML, url_or_none from ..utils.traversal import traverse_obj class ElementorEmbedIE(InfoExtractor): _VALID_URL = False _WEBPAGE_TESTS = [{ 'url': 'https://capitaltv.cy/202...
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...
aa27a88fa48341db
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using ProcessFramework.Aspire.ProcessOrchestrator.Models; namespace ProcessFramework.Aspire.ProcessOrchestrator.Steps; public class SummarizeStep : KernelProcessStep { public static class ProcessFunctions { public const...
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.", ...
a63407839b2ff316
typescript
148
Solarized Light
import * as React from "react" import { type Column } from "@tanstack/react-table" import { Check, PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" import { Command, CommandEmpty, Co...
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.", ...
f709d04a28e6f6b2
java
205
GitHub Dark
package org.jeecg.modules.openapi.filter; import jakarta.servlet.*; import jakarta.servlet.http.HttpServletRequest; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.exception.JeecgBootException; import org.jeecg.modules.openapi.entity.OpenApi; import org.jeecg.modules.openapi.entity.OpenApiAuth; import org.je...
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...
558e51f07b1b4914
typescript
159
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ export enum TelemetryTarget { GCP = 'gcp', LOCAL = 'local', } const DEFAULT_TELEMETRY_TARGET = TelemetryTarget.LOCAL; const DEFAULT_OTLP_ENDPOINT = 'http://localhost:4317'; export { DEFAULT_TELEMETRY_TARGET, DEFAULT_OTLP_ENDP...
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" ...
622e693f47efb5b7
typescript
57
Solarized Light
import { Card, CardContent } from "@/registry/bases/radix/ui/card" import { Kbd } from "@/registry/bases/radix/ui/kbd" import { Separator } from "@/registry/bases/radix/ui/separator" export function Shortcuts() { return ( <Card> <CardContent> <div className="flex flex-col gap-3"> <div cla...
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...
dd89f4d11cd2799d
cpp
34
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "INarratorAnnouncementHost.h" // Declaration of the LiveRegionHost class. // This class announces NarratorAnnouncements using the LiveRegionChanged event. // This event is unreliable and should be de...
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...
bc316c338f2fe0bd
python
33
Dracula
import subprocess from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browse...
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...
1bbbe2fcf8aec0e6
java
234
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...
9a6059b4bbdd838d
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel.DataAnnotations; public class OpenAIOptions { public const string SectionName = "OpenAI"; [Required] public string ApiKey { get; set; } = string.Empty; [Required] public string ChatModelId { get; set; } = "gpt-4"; ...
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...
efa47ff00609e077
cpp
175
Solarized Light
#include "jit.h" static bool readwritejitkey(const wchar_t* jit_key_value, DWORD* jit_key_vale_size, const char* key, arch arch_in, arch* arch_out, readwritejitkey_error_t* error, bool write) { DWORD key_flags; DWORD lRv; HKEY hKey; DWORD dwDisposition; if(error != NULL) *error = ERROR_RW;...
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...
6911c6edf910ec0d
rust
257
Default Dark+
use std::borrow::Cow; use std::io::{self, Cursor}; use std::mem::size_of; use byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt}; use heed::BoxedError; use roaring::RoaringBitmap; use crate::heed_codec::BytesDecodeOwned; use crate::update::del_add::{DelAdd, KvReaderDelAdd}; /// This is the limit where using a by...
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" ...
506440cf5d059597
csharp
46
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...
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"...
2da975503d5ae615
typescript
233
Solarized Light
import { REGISTRY_URL } from "@/src/registry/constants" import { RegistryFetchError, RegistryForbiddenError, RegistryGoneError, RegistryNotFoundError, RegistryUnauthorizedError, } from "@/src/registry/errors" import { http, HttpResponse } from "msw" import { setupServer } from "msw/node" import { afterAll, af...
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" ...
72b6893e15bb053b
go
24
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package gin import ( "log" "github.com/gin-gonic/gin/binding" ) // BindWith binds the passed struct pointer using the specified binding engine. // S...
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...
19187d4f2eadb9ea
typescript
277
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach, vi, type Mock, } from 'vitest'; import { BaseToolInvocation, BaseDeclarativeTool, Kind, type ToolResult, } from './tools.js'; import { MessageBus } from '....
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...
8f2b6bed2204dd35
csharp
32
Default Light+
// Copyright (c) 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, copy, mo...
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...
5502fb23a442ae2b
go
31
Solarized Dark
// Copyright 2020 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...
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...
77308c9501bca358
typescript
35
Solarized Light
import { memo } from "react"; import useCurrentUser from "@/hooks/useCurrentUser"; import { State } from "@/types/proto/api/v1/common_pb"; import type { Memo, Reaction } from "@/types/proto/api/v1/memo_service_pb"; import { useReactionGroups } from "./hooks"; import ReactionSelector from "./ReactionSelector"; import Re...
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"...
99c0ae227f618842
java
51
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.", ...
98a6b125266aab9e
java
152
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...
1d412042c537cfe8
rust
337
Default Dark+
use std::borrow::Cow; use std::collections::HashMap; use std::path::{Path, PathBuf}; use std::sync::Mutex; pub use insta; use insta::internals::{Content, ContentPath}; use once_cell::sync::Lazy; use regex_lite::Regex; static SNAPSHOT_NAMES: Lazy<Mutex<HashMap<PathBuf, usize>>> = Lazy::new(Mutex::default); /// A regex...
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...
c5fd3174b057e847
python
428
Default Light+
import base64 import json import re import urllib.parse from .adobepass import AdobePassIE from .common import InfoExtractor from ..utils import ( determine_ext, dict_get, int_or_none, traverse_obj, unified_strdate, unified_timestamp, ) class ESPNIE(InfoExtractor): _VALID_URL = r'''(?x) ...
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" ...
942af438eda1c7ec
cpp
197
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...
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"...
b72ac8bb4e9359ae
python
202
Solarized Light
""" Bidirectional Search Algorithm. This algorithm searches from both the source and target nodes simultaneously, meeting somewhere in the middle. This approach can significantly reduce the search space compared to a traditional one-directional search. Time Complexity: O(b^(d/2)) where b is the branching factor and d...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
e96f2368e03269c4
typescript
249
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { CoderAgentExecutor } from './executor.js'; import type { ExecutionEventBus, RequestContext, TaskStore, } from '@a2a-js/sdk/server'; import { E...
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" ...
ac818eb41cfebb73
csharp
53
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; namespace GettingStarted; /// <summary> /// This example shows how to create and use a <see cref="Kernel"/> with ChatClient. /// </summary> public sealed class Step1_Create_Kernel(ITest...
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...
aad1ecabcc55c669
csharp
110
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text.Encodings.Web; using System.Text.Json; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Plugins.Web; /// <summary...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2cd5340e47283928
javascript
35
Dracula
import Comparator from '../../utils/comparator/Comparator'; /** * @typedef {Object} SorterCallbacks * @property {function(a: *, b: *)} compareCallback - If provided then all elements comparisons * will be done through this callback. * @property {function(a: *)} visitingCallback - If provided it will be called eac...
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...
3d3ebbfa96adba1d
csharp
293
Monokai
using System; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using ScreenToGif.Controls; using ScreenToGif.Native.External; using ScreenToGif.Native.Structs; using ScreenToGif.Util; using ScreenToGif.Util.Codification; //Nicke Manarin - ScreenToGif - 2...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
b24a11568754a3c4
typescript
343
One Dark Pro
import { Injectable, OnModuleInit } from '@nestjs/common'; import * as T from 'fp-ts/Task'; import * as TO from 'fp-ts/TaskOption'; import * as E from 'fp-ts/Either'; import { PrismaService } from 'src/prisma/prisma.service'; import { SHORTCODE_INVALID_PROPERTIES_JSON, SHORTCODE_INVALID_REQUEST_JSON, SHORTCODE_NO...
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.", ...
8c7e67e8fdcfd3c4
csharp
115
One Dark Pro
namespace ShareX { partial class FirstTimeConfigForm { /// <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...
5926510d591088e4
cpp
122
One Dark Pro
#pragma once #ifdef __cplusplus extern "C" { #endif #ifdef _WIN32 # pragma clang diagnostic ignored "-Wignored-attributes" #endif #include <AEEStdErr.h> #include <rpcmem.h> #include <remote.h> #include <dspqueue.h> #if defined(_WIN32) && !defined(__MINGW32__) # ifdef GGML_BACKEND_BUILD # define HTPDRV_...
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"...
924682ff03dbcf54
go
34
Default Light+
//go:build !arm64 && !amd64 package algo import "bytes" // indexByteTwo returns the index of the first occurrence of b1 or b2 in s, // or -1 if neither is present. func IndexByteTwo(s []byte, b1, b2 byte) int { i1 := bytes.IndexByte(s, b1) if i1 == 0 { return 0 } scope := s if i1 > 0 { scope = s[:i1] } if...
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...
7061a738666b3fe8
python
60
Solarized Light
""" Example: Using Firecrawl Python SDK v2 to extract attributes from HTML elements """ import os from firecrawl import FirecrawlApp def main(): app = FirecrawlApp(api_key=os.getenv('FIRECRAWL_API_KEY')) print('🎯 Extracting attributes from Hacker News...') try: # Extract story IDs from Hacker N...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
6f4cdfb7f17454e1
csharp
134
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; using ModelContextProtocol; using ModelContextProtocol.Client; using ModelCo...
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...
985dcbc28747dfe3
python
102
Solarized Light
""" Project Euler Problem 70: https://projecteuler.net/problem=70 Euler's Totient function, φ(n) [sometimes called the phi function], is used to determine the number of positive numbers less than or equal to n which are relatively prime to n. For example, as 1, 2, 4, 5, 7, and 8, are all less than nine and relatively ...
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.", ...
db66200c363f88a9
java
80
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"...
361a464d39ed77bc
cpp
70
Default Light+
#include "models.h" ggml_cgraph * clip_graph_internvl::build() { GGML_ASSERT(model.class_embedding != nullptr); GGML_ASSERT(model.position_embeddings != nullptr); const int n_pos = n_patches + 1; ggml_tensor * inp = build_inp(); // add CLS token inp = ggml_concat(ctx0, inp, model.class_embedd...
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...
f63464ecbae8a7b2
python
96
Default Light+
from .common import InfoExtractor from ..utils import UserNotLive, int_or_none, parse_iso8601, url_or_none, urljoin from ..utils.traversal import traverse_obj class PartiBaseIE(InfoExtractor): def _call_api(self, path, video_id, note=None): return self._download_json( f'https://prod-api.parti....
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"...
1109aa6a1951b97e
java
49
GitHub Dark
package org.jeecg.modules.demo.shop.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; /** * 商品实体 * @Author: chenrui * @Date: 2025-11-06 */ @Data @NoArgsConstructor @AllArgsConstructor public class Product { /** * 商品ID */...
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...
63867362d1a63c6a
csharp
47
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.HuggingFace; using Microsoft.SemanticKernel.ImageToText; using Resources; namespace ImageToText; /// <summary> /// Represents a class that demonstrates image-to-text functionality. /// </summar...
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" ...
7c51ab5447a5c243
python
82
Solarized Light
""" Lychrel numbers Problem 55: https://projecteuler.net/problem=55 If we take 47, reverse and add, 47 + 74 = 121, which is palindromic. Not all numbers produce palindromes so quickly. For example, 349 + 943 = 1292, 1292 + 2921 = 4213 4213 + 3124 = 7337 That is, 349 took three iterations to arrive at a palindrome. A...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
291993871ce496ca
typescript
43
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { TestRig } from './test-helper.js'; import * as path from 'node:path'; import { fileURLToPath } from 'node:url'; const __dirname = path.dirname(fileURLT...
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.", ...
8d78688435bd92a0
typescript
20
GitHub Dark
// Any plugins you want to setting has to be imported // Detail plugins list see https://www.tinymce.com/docs/plugins/ // Custom builds see https://www.tinymce.com/download/custom-builds/ // colorpicker/contextmenu/textcolor plugin is now built in to the core editor, please remove it from your editor configuration exp...
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...
3f6b3ab8978da757
csharp
40
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Content type to support file references. /// </summary> [Experimental("SKEXP0110")] public class FileRe...
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...
a006b020d1a6c796
typescript
112
Solarized Dark
import { getCurrentWindow } from '@tauri-apps/api/window' import React, { useCallback, useEffect, useMemo, useState } from 'react' import debounce from '@/utils/debounce' import { WindowContext } from './window-context' export const WindowProvider: React.FC<{ children: React.ReactNode }> = ({ children, }) => { c...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
dda67d84c964d032
typescript
98
Solarized Light
import { Logger } from "winston"; import { parseMarkdown } from "../lib/html-to-markdown"; const AB_LOG_PREFIX = "[FE_AB_COMPARE]"; const VARIANCE_THRESHOLD = 0.05; // 5% allowed variance export interface FireEngineResponse { content: string; pageStatusCode: number; } export interface MirrorResult { response: ...
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"...
6adc98e9ca797335
cpp
386
One Dark Pro
#pragma once #include <hex.hpp> #include <array> #include <wolv/utils/string.hpp> #include <hex/helpers/utils.hpp> #include <hex/helpers/fmt.hpp> #define CAPSTONE_AARCH64_COMPAT_HEADER #define CAPSTONE_SYSTEMZ_COMPAT_HEADER #include <capstone/capstone.h> #if CS_API_MAJOR <= 4 #error "Capstone 4 and older is no...
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.", ...
983f350f05eb418e
typescript
144
Default Dark+
import clsx from 'clsx'; import type { ReactElement } from 'react'; import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/20/solid'; type Props = Readonly<{ current: number; end: number; label: string; onSelect: (page: number, event: React.MouseEvent<HTMLElement>) => void; pagePadding?: number;...
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.", ...
defed5a03cfe96d5
go
271
Default Light+
package aliyundrive_open import ( "context" "encoding/base64" "fmt" "io" "math" "net/http" "strconv" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" streamPkg "github.com/alist-org/alist/v3/intern...
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...
ebc86f46328c73fd
cpp
414
Monokai
// // NetFilterSDK // Copyright (C) Vitaly Sidorov // All rights reserved. // // This file is a part of the NetFilter SDK. // The code and information is provided "as-is" without // warranty of any kind, either expressed or implied. // #ifndef _NFAPI_H #define _NFAPI_H #include <nfevents.h> #ifdef _NFAPI_STATIC_L...
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.", ...
893d82751120d724
go
221
Default Light+
package ftp import ( "bytes" "context" ftpserver "github.com/KirCute/ftpserverlib-pasvportmap" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/fs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/in...
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"...
e83458c516fca393
csharp
30
Monokai
namespace winPEAS._3rdParty.BouncyCastle.crypto { /// <remarks> /// With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes. /// This interface provides the extra method required to support variable output on a digest implementation. /// ...
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...
126711f83b910b7e
java
49
GitHub Dark
package org.jeecg.modules.system.vo.lowapp; import lombok.Data; import org.jeecgframework.poi.excel.annotation.Excel; import java.util.Date; /** * @Description: 应用用户与部门 用户导出/导入实体类 * * @author: wangshuai * @date: 2023/6/14 16:42 */ @Data public class AppExportUserVo { /**用户编号*/ @Excel(name="用户编号",width=30) ...
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...
a76a0ae8ca663857
javascript
76
Dracula
import Queue from '../../../data-structures/queue/Queue'; /** * @typedef {Object} Callbacks * * @property {function(vertices: Object): boolean} [allowTraversal] - * Determines whether DFS should traverse from the vertex to its neighbor * (along the edge). By default prohibits visiting the same vertex again. ...
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...
8f5c5c3b503d6987
java
37
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.", ...
df6438ac032644ad
typescript
28
Default Dark+
// Src/utils/trpc.ts import { createReactQueryHooks } from '@trpc/react'; import type { inferProcedureInput, inferProcedureOutput } from '@trpc/server'; import type { AppRouter } from '~/server/router'; export const trpc = createReactQueryHooks<AppRouter>(); /** * These are helper types to infer the input and outpu...
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.", ...
dfa5d383db11f3bc
cpp
71
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
b7b81a5e5ac0a1b7
go
32
Default Light+
package base import ( "fmt" "strings" "time" "github.com/Xhofe/go-cache" "github.com/alist-org/alist/v3/internal/driver" ) // storage upload progress, for upload recovery var UploadStateCache = cache.NewMemCache(cache.WithShards[any](32)) // Save upload progress for 20 minutes func SaveUploadProgress(driver dr...
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" ...
690d375f4095c6b8
java
94
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...
1a797b87a1b55244
csharp
196
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...
82d3c5b529f1a868
typescript
63
One Dark Pro
import { getService } from "~/modules/dioc" import { RESTTabService } from "~/services/tab/rest" import { parseTemplateStringE } from "@hoppscotch/data" import * as E from "fp-ts/Either" import { getCombinedEnvVariables } from "../utils/environments" export const replaceTemplateStringsInObjectValues = < T extends Re...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2083243080c58fa0
rust
58
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; use vmm::cpu_config::templates::CustomCpuTemplate; pub mod compare; pub mod dump; macro_rules! declare_fingerprint_struct_and_enum { ($($field_name:ident : $field...
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.", ...
944438deb80b973a
java
136
Default Light+
package com.thealgorithms.slidingwindow; import java.util.Arrays; import java.util.LinkedList; /** * The Sliding Window technique together with 2-stack technique is used to find coprime segment of minimal size in an array. * Segment a[i],...,a[i+l] is coprime if gcd(a[i], a[i+1], ..., a[i+l]) = 1 * <p> * Run-time...
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...
9be78b762d5a9ddc
java
38
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
5aaf8e893ca1a433
java
67
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"...
49a9a6a85f81a8bf
typescript
54
Solarized Light
import { Document } from "../controllers/v2/types"; import { SearchV2Response } from "../lib/entities"; export function transformToV1Response( searchResponse: SearchV2Response, ): Document[] { const documents: Document[] = []; if (searchResponse.web && searchResponse.web.length > 0) { for (const item of sea...
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.", ...
2c33b34270697c2e
cpp
329
Default Light+
#include "llama-kv-cache-iswa.h" #include "llama-impl.h" #include "llama-batch.h" #include "llama-model.h" #include <algorithm> #include <cassert> // // llama_kv_cache_iswa // llama_kv_cache_iswa::llama_kv_cache_iswa( const llama_model & model, ggml_type type_k, ggml_type ...
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...
76c3f1956da30da8
java
112
GitHub Dark
package org.jeecg.modules.system.service; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.modules.system.entity.SysAnnouncement; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRespon...
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...
e913275e49e3b288
java
27
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...
5b89a0eec723ba4c
java
33
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...
1ce64830c1dfbc8e
typescript
457
GitHub Dark
import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; import { h } from 'vue'; import { Icon } from '/@/components/Icon'; import { duplicateCheck } from '../user/user.api'; import { ajaxGetDictItems ,checkPermDuplication } from './menu.api'; import { render } from '/@/util...
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...
7a68a39142652e03
python
78
Solarized Light
from os import path from sysconfig import get_config_var from setuptools import Extension, find_packages, setup from setuptools.command.build import build from setuptools.command.build_ext import build_ext from setuptools.command.egg_info import egg_info from wheel.bdist_wheel import bdist_wheel class Build(build): ...
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...
f61ace15614f654c
typescript
56
Solarized Light
import { AppSidebar } from "@/registry/bases/radix/blocks/sidebar-08/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/bases/radix/ui/breadcrumb" import { Separator } from "@/registry/bases/radix/ui/separator"...
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" ...
07bff9abaa56fad7
typescript
37
Default Dark+
import { signIn } from 'next-auth/react'; import { Button, Dialog } from '~/ui'; export type ProtectedDialogProps = { onClose: () => void; show: boolean; }; export default function ProtectedDialog({ show, onClose, }: ProtectedDialogProps) { const handlePrimaryClick = () => { signIn(); onClose(); }...
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" ...
c5ab7ea5bd150dcc
python
86
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC, abstractmethod from collections.abc import AsyncIterable from typing import TYPE_CHECKING, Any from semantic_kernel.utils.feature_stage_decorator import experimental if TYPE_CHECKING: from semantic_kernel.agents.agent import Agent from sema...
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.", ...
74c3a57d874889e2
typescript
31
Monokai
/* eslint-disable @typescript-eslint/ban-types */ // DeepPartial implementation taken from the utility-types NPM package, which is // Copyright (c) 2016 Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io) // and used under the terms of the MIT license export type DeepPartial<T> = T extends Function ?...
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"...
54da4b694917fc8d
typescript
34
Solarized Light
import { Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from "@/examples/base/ui/avatar" import { PlusIcon } from "lucide-react" export function AvatarGroupCountIconExample() { return ( <AvatarGroup className="grayscale"> <Avatar> <AvatarImage src="https://github.co...
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...
564233873f513621
csharp
275
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using SemanticKernel.Process.TestsShared.CloudEvents; using SemanticKernel.Process.TestsShared.Services; using SemanticKernel.Process.TestsShared.Setup; using SemanticKernel.Process.TestsShared.Steps; using Xunit; namespace M...
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.", ...
ab6acac4d52583d2
cpp
174
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...
b3cafeca0eb59d39
java
31
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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"...
2fbfd8a47986b118
java
121
Solarized Dark
/* * Copyright 2002-2023 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
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.", ...
65a668078cc53920
csharp
31
Monokai
using System.Runtime.InteropServices; namespace ScreenToGif.Domain.Enums.Native; [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public struct DisplayDevices { public DisplayDevices(bool? filler) : this() { //Allows automatic initialization of "Size" with "new DisplayDevice(null/true/fal...
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.", ...
5e6942efe35e16ad
cpp
98
One Dark Pro
//===--- DemangleConfig.h ---------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
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.", ...
4310fa07a5cbfb89
go
78
Default Light+
package _123Link import ( "context" stdpath "path" "time" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" ) type Pan123Link struct { model.Storage Addition root *Node } 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"...
c23547ba8854ef42
java
58
Solarized Dark
/** * In these days you can more and more often happen to see programs which perform some useful calculations * being executed rather then trivial screen savers. Some of them check the system message queue * and in case of finding it empty (for examples somebody is editing a file and stays idle for some time) * exe...
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.", ...
24cd4632fd73618c
java
50
Monokai
package com.termux.app.fragments.settings; import android.content.Context; import android.os.Bundle; import androidx.annotation.Keep; import androidx.preference.PreferenceDataStore; import androidx.preference.PreferenceFragmentCompat; import androidx.preference.PreferenceManager; import com.termux.R; import com.term...
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...
3a1c8f568dd995e7
python
20
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.connectors.ai.nvidia.prompt_execution_settings.nvidia_prompt_execution_settings import ( NvidiaChatPromptExecutionSettings, NvidiaEmbeddingPromptExecutionSettings, NvidiaPromptExecutionSettings, ) from semantic_kernel.connectors.ai.nvidia...
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" ...
3c06fbd56025df63
typescript
154
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { act } from 'react'; import type { EventEmitter } from 'node:events'; import { renderWithProviders } from '../../test-utils/render.js'; import { waitFor } from '../../test-utils/async.js'; import { ConfigInitDisplay } from ...
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" ...
d2612a87de3f1c74
java
62
Default Light+
package com.thealgorithms.sorts; /** * Class that implements the Selection Sort algorithm using recursion. */ public class SelectionSortRecursive implements SortAlgorithm { /** * Sorts an array using recursive selection sort. * * @param array the array to be sorted * @param <T> the type of...
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...
e4890bbee616582e
typescript
247
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs'; import path from 'node:path'; import { coreEvents, type GeminiCLIExtension } from '@google/gemini-cli-core'; import { ExtensionStorage } from './storage.js'; export interface ExtensionEnablementConfig { ...
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.", ...
b6be1cd96f3b3fdc
cpp
280
Solarized Dark
#include <openpose/net/netCaffe.hpp> #include <numeric> // std::accumulate #ifdef USE_CAFFE #include <atomic> #include <mutex> #include <caffe/net.hpp> #include <glog/logging.h> // google::InitGoogleLogging #endif #ifdef USE_CUDA #include <openpose/gpu/cuda.hpp> #endif #include <openpose/utilities/f...
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" ...
a60e306bf996673f
python
163
Monokai
### 🗻 This file is created through the spirit of Mount Fuji at its peak # TODO(yoland): clean up this after I get back down import sys import pytest import os import tempfile from unittest.mock import patch from importlib import reload import folder_paths import comfy.cli_args from comfy.options import enable_args_pa...
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" ...
d034855cf484d792
python
58
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from typing import TYPE_CHECKING from pydantic import Field from semantic_kernel.agents.agent import Agent from semantic_kernel.kernel_pydantic import KernelBaseModel from semantic_kernel.utils.feature_stage_decorator import experimental if TYPE_CHECKIN...
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" ...
510b9f088d15a481
typescript
226
Default Light+
import clsx from "clsx"; import React, { useEffect, useLayoutEffect, useRef, useState, forwardRef, useImperativeHandle, useCallback, } from "react"; import { CLASSES, EVENT, isDevEnv, KEYS, updateObject, } from "@excalidraw/common"; import { useUIAppState } from "../../context/ui-appState"; im...
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"...
7548f3d7d1ea7654
typescript
78
Solarized Light
import i18n, { BackendModule, FallbackLng, FallbackLngObjList } from "i18next"; import { orderBy } from "lodash-es"; import { initReactI18next } from "react-i18next"; import { findNearestMatchedLanguage } from "./utils/i18n"; export const locales = orderBy([ "ar", "ca", "cs", "de", "en", "en-GB", "es", ...
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" ...