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
24cc41fcceb0cd2f
java
32
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" ...
4d2a46a336e4a85c
rust
75
Solarized Light
#![allow(clippy::let_unit_value)] use std::ffi::{CStr, CString}; use std::{env, str}; use libc::{LC_ALL, LC_CTYPE, setlocale}; use log::debug; use objc2::sel; use objc2_foundation::{NSLocale, NSObjectProtocol}; const FALLBACK_LOCALE: &str = "UTF-8"; pub fn set_locale_environment() { let env_locale_c = CString::...
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...
40464aca0d015721
rust
261
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::ffi::OsString; use std::fmt::Display; use std::fs::read_to_string; use std::hash::Hash; use std::io::Write; use std::path::{Path, PathBuf}; use std::sync::{Arc, Mutex}; use vmm::builder::{StartMi...
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"...
f7e778ff69a4188f
typescript
250
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; import { Modal } from 'ant-design-vue'; import { isObject } from '/@/utils/is'; enum Api { listNoCareTenant = '/sys/user/listAll', list = '/sys/user/list', save = '/sys/user/add', edit = '/sys/user/edit', getUserRole = '/sys/user/queryUserRole', duplicateCheck ...
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"...
5e149ecd857bcef5
java
32
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...
222645a91a939d62
python
93
Default Light+
import base64 from .common import InfoExtractor from ..utils import int_or_none class PopcorntimesIE(InfoExtractor): _VALID_URL = r'https?://popcorntimes\.tv/[^/]+/m/(?P<id>[^/]+)/(?P<display_id>[^/?#&]+)' _TEST = { 'url': 'https://popcorntimes.tv/de/m/A1XCFvz/haensel-und-gretel-opera-fantasy', ...
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...
65acf92554b1efbe
python
34
Monokai
# Copyright (c) Microsoft. All rights reserved. import numpy from pinecone import Vector from semantic_kernel.memory.memory_record import MemoryRecord def build_payload(record: MemoryRecord) -> dict: """Builds a metadata payload to be sent to Pinecone from a MemoryRecord.""" payload: dict = {} if record...
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...
8c0885c29900ba82
csharp
25
Dracula
namespace v2rayN.Desktop.Views; public partial class CheckUpdateView : ReactiveUserControl<CheckUpdateViewModel> { public CheckUpdateView() { InitializeComponent(); ViewModel = new CheckUpdateViewModel(UpdateViewHandler); this.WhenActivated(disposables => { this.On...
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...
a2c799cd6690b3a3
cpp
21
Solarized Light
#pragma once #include "cmd-general-purpose.h" #include "cmd-debug-control.h" #include "cmd-breakpoint-control.h" #include "cmd-conditional-breakpoint-control.h" #include "cmd-tracing.h" #include "cmd-thread-control.h" #include "cmd-memory-operations.h" #include "cmd-operating-system-control.h" #include "cmd-watch-cont...
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...
3dc8acd4a1226405
typescript
391
Solarized Light
"use client" import * as React from "react" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent } from "@/registry/bases/base/ui/card" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/regi...
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...
8c477f1cae2ee2e6
python
32
Solarized Light
def alternative_string_arrange(first_str: str, second_str: str) -> str: """ Return the alternative arrangements of the two strings. :param first_str: :param second_str: :return: String >>> alternative_string_arrange("ABCD", "XY") 'AXBYCD' >>> alternative_string_arrange("XY", "ABCD") ...
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...
4cbfb6da90bce5ab
csharp
97
Monokai
namespace winPEAS._3rdParty.BouncyCastle.asn1.misc { public abstract class MiscObjectIdentifiers { // // Netscape // iso/itu(2) joint-assign(16) us(840) uscompany(1) Netscape(113730) cert-extensions(1) } // public static readonly DerObjectIdentifier Netscape = new ...
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...
bef9c9ae4b2701dc
java
468
GitHub Dark
package com.github.mikephil.charting.components; import android.graphics.Color; import android.graphics.Paint; import com.github.mikephil.charting.utils.Utils; /** * Class representing the y-axis labels settings and its entries. Only use the setter methods to * modify it. Do not * access public variables directly...
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" ...
a1aafe27c37c933c
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...
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...
322f36cd30f3e9e7
cpp
62
Default Light+
// Note: this description is outdated // // An interface allowing to compute ggml_cgraph with Metal // // This is a fully functional interface that extends ggml with GPU support for Apple devices. // A similar interface can be created for other GPU backends (e.g. Vulkan, CUDA, etc.) // // How it works? // // As long as...
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.", ...
5eb83c8492f0a8e6
typescript
29
Dracula
declare const __DEFINES__: Record<string, any> const context = (() => { if (typeof globalThis !== 'undefined') { return globalThis } else if (typeof self !== 'undefined') { return self } else if (typeof window !== 'undefined') { return window } else { return Function('return this')() } })() ...
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.", ...
8ddffb3ba588f89d
java
182
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
b7ef7e3eaf09e65c
javascript
50
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); const defaultNotificationService = "notify"; class HomeAssistant extends NotificationProvider { name = "HomeAssistant"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbe...
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...
1373c30becc7276c
typescript
401
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import express, { type Request } from 'express'; import type { AgentCard, Message } from '@a2a-js/sdk'; import { type TaskStore, DefaultRequestHandler, InMemoryTaskStore, DefaultExecutionEventBus, type AgentExecutionEven...
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...
d3656fe1e8cc04aa
typescript
122
Default Light+
import { describe, it, expect } from "vitest"; import { parseVRAM, getTotalVRAM } from "./vram"; describe("VRAM Utilities", () => { describe("parseVRAM", () => { it("should parse GB (decimal) values correctly", () => { expect(parseVRAM("1 GB")).toBeCloseTo(1000 / 1024); // ≈0.9765625 GiB expect(parse...
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...
2295a8ac958d24ad
python
204
Monokai
# Copyright (c) Microsoft. All rights reserved. import sys from abc import ABC, abstractmethod from numpy import ndarray from semantic_kernel.memory.memory_record import MemoryRecord if sys.version_info >= (3, 13): from warnings import deprecated else: from typing_extensions import deprecated @deprecated(...
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...
e429ba9ae2715c57
cpp
156
One Dark Pro
#ifndef HTP_MSG_H #define HTP_MSG_H #include <assert.h> // ggml-common.h must be included prio to this header // Mask to enable various stages of the Ops. // Used for debugging and profiling. enum { HTP_OPMASK_QUEUE = (1 << 0), // Enable Queueing (ie calls into the DSP) HTP_OPMASK_QUANTIZE = (1 << 1), /...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
dc2dfca596d2c493
java
58
GitHub Dark
package org.jeecg.modules.system.service; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.modules.system.entity.SysRoleIndex; /** * @Description: 角色首页配置 * @Author: jeecg-boot * @Date: 2022-03-25 * @Version: V1.0 */ public interface ISysRoleIndexService extends IService<SysRoleIndex> ...
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" ...
afeec7e4767fabf6
go
319
Default Light+
package parsers import ( "testing" "github.com/ollama/ollama/api" ) func TestQwen3ParserThinkingEnabled(t *testing.T) { parser := &Qwen3Parser{hasThinkingSupport: true, defaultThinking: true} parser.Init(nil, nil, &api.ThinkValue{Value: true}) content, thinking, calls, err := parser.Add("Let me think...</think...
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...
fc5aab5d7c053299
java
67
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"...
1ade34f6762bf8e6
cpp
247
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. //----------------------------------------------------------------------------- // Package Title ratpak // File fact.c // Copyright (C) 1995-96 Microsoft // Date 01-16-95 // // // Description ...
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.", ...
d739e95e43795d26
cpp
142
Default Light+
#include "models.h" llm_build_qwen3vl::llm_build_qwen3vl(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const size_t n_deepstack_layers = hparams.n_deepstack_layers; const int64_t n_embd = hparams.n_embd; const int64_t n_embd_head = hparams.n_embd_head_v; GGM...
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...
75b5cf2920c4c13a
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Step02.Models; namespace Step02.Steps; /// <summary> /// Mock step that emulates a Fraud detection check, based on the userId the fraud detection will pass or fail. /// </summary> public class FraudDetectionStep : KernelProcessSt...
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.", ...
7ce4b0150d7dfe45
java
29
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...
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" ...
ccde85aa0bd8d936
typescript
111
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import process from 'node:process'; import { type Command, type KeyBinding, type KeyBindingConfig, defaultKeyBindingConfig, } from './keyBindings.js'; /** * Maps internal key names to user-friendly display names. */ cons...
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...
802ff60da93da85e
csharp
66
Monokai
using System; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web.Script.Serialization; using winPEAS._3rdParty.BouncyCastle.crypto.engines; using winPEAS._3rdParty.BouncyCastle.crypto.modes; using winPEAS._3rdParty.BouncyCastle.crypto.parameters; namespace winP...
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.", ...
61dcfb5951417d58
csharp
131
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" ...
797d9026e9f4942e
java
207
Default Light+
package com.thealgorithms.sorts; /** * Implementation of Flash Sort algorithm that implements the SortAlgorithm interface. * * Sorts an array using the Flash Sort algorithm. * <p> * Flash Sort is a distribution sorting algorithm that partitions the data into * different classes based on a classification array. I...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
56aaa8037e0565e9
rust
88
Solarized Light
//! Migration of legacy YAML files to TOML. use std::path::Path; use toml::Value; use crate::cli::MigrateOptions; use crate::config; use crate::migrate::{migrate_config, migrate_toml, write_results}; /// Migrate a legacy YAML config to TOML. pub fn migrate( options: &MigrateOptions, path: &Path, recursi...
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.", ...
1c68f2c5549486ef
python
24
Dracula
from enum import Enum from fastapi import FastAPI class ModelName(str, Enum): alexnet = "alexnet" resnet = "resnet" lenet = "lenet" app = FastAPI() @app.get("/models/{model_name}") async def get_model(model_name: ModelName): if model_name is ModelName.alexnet: return {"model_name": model_...
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.", ...
d46937a91fec8a65
java
24
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
85b9abee38037517
python
74
Default Light+
# -*- coding: utf-8 -*- class PagesDataStore(object): def __init__(self, db): self.db = db pass def add_link_to_crawl(self, url): """Add the given link to `links_to_crawl`.""" pass def remove_link_to_crawl(self, url): """Remove the given link from `links_to_crawl...
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...
b1c0e2ac676a87df
cpp
60
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 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"...
881b596741086fb7
typescript
63
GitHub Dark
import { app, BrowserWindow, Menu } from 'electron'; import { isDev } from './env'; import { createMainWindow, createIndexWindow } from './utils/window'; import { getAppInfo } from './utils'; import './ipc'; // 隐藏所有菜单 Menu.setApplicationMenu(null); let mainWindow: BrowserWindow | null = null; function main() { mai...
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...
b76e07a4a6d88a54
typescript
256
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../config/config.js'; import type { LogAttributes } from '@opentelemetry/api-logs'; import type { BaseTelemetryEvent } from './types.js'; import { getCommonAttributes } from './telemetryAttributes.js'; ...
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...
6d5a63aa2363c562
csharp
47
Default Light+
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Management.Automation; using System.Text; using ICSharpCode.Decompiler.CSharp; using ICSharpCode.Decompiler.TypeSystem; namespace ICSharpCode.Decompiler.PowerShell { [Cmdlet(VerbsCommon.Get, "DecompiledTypes")] [OutputT...
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" ...
7c4b4af5bee0e67b
typescript
75
Solarized Light
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/examples/base/ui/input-group" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/examples/base/ui/tooltip" import { HelpCircle, InfoIcon } from "lucide-react" export default function InputGroupTooltip() { return...
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...
5e5273896746b10b
rust
89
Default Dark+
use async_openai::config::{AzureConfig, OpenAIConfig}; use http_client::reqwest::header::HeaderMap; use meilisearch_types::features::ChatCompletionSettings as DbChatSettings; use secrecy::SecretString; #[derive(Debug, Clone)] pub enum Config { OpenAiCompatible(OpenAIConfig), AzureOpenAiCompatible(AzureConfig),...
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...
0658429867027cff
go
236
Default Light+
package convert import ( "cmp" "fmt" "slices" "strings" "github.com/ollama/ollama/fs/ggml" ) type lfm2Model struct { ModelParameters HiddenSize uint32 `json:"hidden_size"` NumHiddenLayers uint32 `json:"num_hidden_layers"` MaxPositionEmbeddings uint32 `json:"max_position_embeddings"` ...
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...
d02d500a7bd39feb
csharp
121
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Resources; namespace ChatCompletion; /// <summary> /// This sample shows how to use Google's Gemini Chat Completion model with vision using VertexAI and GoogleAI APIs. /// </summary>...
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.", ...
d814057e2418ea25
typescript
47
Solarized Light
import { Response } from "express"; import { ErrorResponse, RequestWithAuth } from "./types"; import { getACUCTeam } from "../auth"; import { RateLimiterMode } from "../../types"; interface TokenUsageResponse { success: true; data: { remainingTokens: number; planTokens: number; billingPeriodStart: stri...
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" ...
2902062d5a46d853
typescript
79
Solarized Light
"use client" import { Pie, PieChart } from "recharts" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartLegend, ChartLegendContent, type ChartConfig, } from "@/registry/new-york-v4/ui/chart" export const descrip...
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"...
dbedcc016d15890e
python
214
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.setup.chat_completion_services import ( Services, get_chat_completion_service_and_request_settings, ) from semantic_kernel import Kernel from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavio...
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"...
47b53c3b6b512762
python
90
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from semantic_kernel.agents import AssistantAgentThread, OpenAIAssistantAgent from semantic_kernel.connectors.ai.open_ai import OpenAISettings from semantic_kernel.contents import AuthorRole, ChatMessageContent, FileReferenceContent, ImageConten...
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...
255f7b6dda20bec6
javascript
162
Monokai
import colorLib from '@kurkle/color'; import {DateTime} from 'luxon'; import 'chartjs-adapter-luxon'; import {valueOrDefault} from '../../dist/helpers.js'; // Adapted from http://indiegamr.com/generate-repeatable-random-numbers-in-js/ var _seed = Date.now(); export function srand(seed) { _seed = seed; } export fun...
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...
b8f0ef815e5bbcc3
rust
59
GitHub Dark
// Generate the nth prime number. // Algorithm is inspired by the optimized version of the Sieve of Eratosthenes. pub fn nthprime(nth: u64) -> u64 { let mut total_prime: u64 = 0; let mut size_factor: u64 = 2; let mut s: u64 = nth * size_factor; let mut primes: Vec<u64> = Vec::new(); let n: u64 = n...
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" ...
601ae346291a7be3
typescript
158
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type PolicyEngineConfig, type ApprovalMode, type PolicyEngine, type MessageBus, type PolicySettings, createPolicyEngineConfig as createCorePolicyEngineConfig, createPolicyUpdater as createCorePolicyUpdater, ...
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...
ee4643612279ce35
python
72
Default Light+
from .common import InfoExtractor from .vimeo import VimeoIE from .youtube import YoutubeIE from ..utils import ( ExtractorError, unescapeHTML, urljoin, ) class UkColumnIE(InfoExtractor): _WORKING = False IE_NAME = 'ukcolumn' _VALID_URL = r'(?i)https?://(?:www\.)?ukcolumn\.org(/index\.php)?/(?...
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...
b36b827553cac3ab
go
21
Default Dark+
package main import ( "fmt" "net/http" "time" ) func main() { const PushURL = "https://example.com/api/push/key?status=up&msg=OK&ping=" const Interval = 60 for { _, err := http.Get(PushURL) if err == nil { fmt.Println("Pushed!") } time.Sleep(Interval * time.Second) } }
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"...
f2cebc5a31ad5961
python
413
Default Light+
import itertools import re from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, UnsupportedError, clean_html, extract_attributes, format_field, get_element_by_class, get_elements_html_by_class, int_or_none, join_nonemp...
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...
538a07e7323bdd0d
python
292
Monokai
# Copyright (c) Microsoft. All rights reserved. #################################################################### # Sample Quart webapp with that connects to Azure OpenAI # # Make sure to install `uv`, see: # # https://docs.astral.sh/uv/getting-started/installation/ ...
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"...
35240d76a023c49d
typescript
229
One Dark Pro
import { Resolver, Query, Mutation, Args, ID, ResolveField, Parent, } from '@nestjs/graphql'; import { UseGuards } from '@nestjs/common'; import { GqlAuthGuard } from 'src/guards/gql-auth.guard'; import { GqlUser } from 'src/decorators/gql-user.decorator'; import { User } from 'src/user/user.model'; impor...
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"...
6a23f21cb1077521
csharp
69
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Represents text content. /// </summary> public sealed class TextContent : KernelContent { /// <summary> /// The te...
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.", ...
66ac84d5b452b48e
python
248
Solarized Light
from copy import deepcopy class FenwickTree: """ Fenwick Tree More info: https://en.wikipedia.org/wiki/Fenwick_tree """ def __init__(self, arr: list[int] | None = None, size: int | None = None) -> None: """ Constructor for the Fenwick tree Parameters: arr (li...
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...
6e4f17347f2321db
cpp
125
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 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.", ...
831e670b1c170232
typescript
48
GitHub Dark
import { unref } from 'vue'; import { createLoading } from './createLoading'; import type { LoadingProps } from './typing'; import type { Ref } from 'vue'; export interface UseLoadingOptions { target?: any; props?: Partial<LoadingProps>; } interface Fn { (): void; } export function useLoading(props: Partial<Lo...
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"...
a936d9422b053946
python
151
Solarized Light
""" The Mandelbrot set is the set of complex numbers "c" for which the series "z_(n+1) = z_n * z_n + c" does not diverge, i.e. remains bounded. Thus, a complex number "c" is a member of the Mandelbrot set if, when starting with "z_0 = 0" and applying the iteration repeatedly, the absolute value of "z_n" remains bounded...
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" ...
6e445be2e591314c
csharp
122
One Dark Pro
namespace ShareX.ImageEffectsLib { partial class ImageEffectPackagerForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
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"...
b0042c2d48877035
csharp
128
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
95687d7cb24e2f48
typescript
49
Solarized Light
#!/usr/bin/env node import { add } from "@/src/commands/add" import { build } from "@/src/commands/build" import { diff } from "@/src/commands/diff" import { docs } from "@/src/commands/docs" import { info } from "@/src/commands/info" import { init } from "@/src/commands/init" import { mcp } from "@/src/commands/mcp" i...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
955e80d6c79c43e0
typescript
89
One Dark Pro
import { onMounted, ref, Ref } from 'vue'; import { DocumentNode } from 'graphql'; import { TypedDocumentNode, useClientHandle } from '@urql/vue'; export function usePagedQuery< Result, Vars extends Record<string, any>, ListItem >( query: string | TypedDocumentNode<Result, Vars> | DocumentNode, getList: (res...
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...
8d81fbbffe4ea91a
go
105
Default Light+
//go:build darwin package server import ( "context" "errors" "fmt" "log/slog" "os" "os/exec" "path/filepath" "strconv" "strings" "syscall" ) var ( pidFile = filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "ollama.pid") serverLogPath = filepath.Join(os.Getenv("HOME"), "....
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" ...
1d7fd69a205ae0c4
rust
449
Default Dark+
mod extract_docid_word_positions; mod extract_facet_number_docids; mod extract_facet_string_docids; mod extract_fid_docid_facet_values; mod extract_fid_word_count_docids; mod extract_geo_points; mod extract_vector_points; mod extract_word_docids; mod extract_word_pair_proximity_docids; mod extract_word_position_docids;...
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" ...
8376bc9fee025072
typescript
34
Dracula
import type { PluginContext } from 'rolldown' import type { DevEnvironment } from './server/environment' import type { BuildEnvironment } from './build' import type { ScanEnvironment } from './optimizer/scan' import type { UnknownEnvironment } from './baseEnvironment' export type Environment = | DevEnvironment | B...
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" ...
300bd61db62762e0
cpp
51
Monokai
/* * Wslay - The WebSocket Library * * Copyright (c) 2011, 2012 Tatsuhiro Tsujikawa * * 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 limitati...
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...
669d6998aa57eb16
go
58
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy 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 applicab...
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...
20788a5220ee6777
python
164
Default Light+
import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, int_or_none, urlencode_postdata, urljoin, ) class AluraIE(InfoExtractor): _VALID_URL = r'https?://(?:cursos\.)?alura\.com\.br/course/(?P<course_name>[^/]+)/task/(?P<id>\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" ...
89a82afb799e430a
typescript
118
One Dark Pro
import { runMutation, runGQLQuery, runGQLSubscription, } from "@helpers/backend/GQLClient" import { CreateUserEnvironmentDocument, CreateUserEnvironmentMutation, CreateUserEnvironmentMutationVariables, UpdateUserEnvironmentMutation, UpdateUserEnvironmentMutationVariables, UpdateUserEnvironmentDocumen...
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"...
8357c242655a263c
cpp
83
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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...
cc581f1f9985b12e
java
36
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
abea223008c2f5e9
csharp
90
Default Light+
// // WhileStatement.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
275eb319ab9b6737
java
137
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...
d93956dc5f4a9dce
typescript
146
One Dark Pro
import { Cookie, Environment, HoppRESTRequest } from "@hoppscotch/data" import { RunPostRequestScriptOptions, RunPreRequestScriptOptions, SandboxPreRequestResult, SandboxTestResult, TestResult, } from "@hoppscotch/js-sandbox" import { runPreRequestScript, runTestScript } from "@hoppscotch/js-sandbox/web" impo...
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...
43638395bcfcc6aa
java
56
GitHub Dark
package org.jeecg.modules.monitor.controller; import cn.hutool.core.util.NumberUtil; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping;...
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...
c982c59d6201affe
python
141
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging from samples.concepts.setup.chat_completion_services import Services, get_chat_completion_service_and_request_settings from semantic_kernel import Kernel from semantic_kernel.connectors.ai.chat_completion_client_base import ChatCompletionCl...
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" ...
46c9200c4db9b679
csharp
147
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...
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...
fe184cca1c920901
csharp
33
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; namespace Microsoft.SemanticKernel; /// <summary> /// An interface that provides a channel for emitting external messages from a step. /// In addition provide common methods like initialization and Uninitialization /// </summary> public ...
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...
c1b22e7929a4d639
csharp
75
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...
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...
6584f28c1c38e738
cpp
61
Dracula
/** * Copyright 2017-2023 by XGBoost Contributors */ #ifndef XGBOOST_DATA_ELLPACK_PAGE_H_ #define XGBOOST_DATA_ELLPACK_PAGE_H_ #include <memory> // for unique_ptr #include "../common/hist_util.h" // for HistogramCuts #include "xgboost/context.h" // for Context #include "xgboost/data.h" // for DMatrix...
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...
cbcb02419474c94f
typescript
23
Solarized Dark
export interface ProxyStatsInfo { name: string conf: any user: string clientID: string todayTrafficIn: number todayTrafficOut: number curConns: number lastStartTime: string lastCloseTime: string status: string } export interface GetProxyResponse { proxies: ProxyStatsInfo[] } export interface Tra...
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" ...
977613eb579304c4
javascript
156
Dracula
import fs from 'node:fs' import module from 'node:module' import { defineConfig } from 'vite' const require = module.createRequire(import.meta.url) export default defineConfig({ define: { __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false, }, resolve: { dedupe: ['react'], alias: { 'node:url': 'url'...
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.", ...
9489f04938914515
python
52
Default Light+
from .common import InfoExtractor from .jwplatform import JWPlatformIE from ..utils import make_archive_id class OneFootballIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?onefootball\.com/[a-z]{2}/video/[^/&?#]+-(?P<id>\d+)' _TESTS = [{ 'url': 'https://onefootball.com/en/video/highlights-fc-zue...
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" ...
ccc926c199ca9f0f
java
142
Default Dark+
package org.schabi.newpipe.local.holder; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.core.content.ContextCompat; import org.schabi.newpipe.R; import org.schabi.newpipe.database.LocalItem; im...
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" ...
cf05c7b3ce0e3824
csharp
77
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...
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...
c20018da2346c79d
csharp
266
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections; using System.Linq; using System.Linq.Expressions; using System.Text; using Microsoft.Extensions.VectorData.ProviderServices; using Microsoft.Extensions.VectorData.ProviderServices.Filter; namespace Microsoft.SemanticKernel.Conne...
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...
8a706d249c6f809a
typescript
130
One Dark Pro
import { getServerSideConfig } from "@/app/config/server"; import { ALIBABA_BASE_URL, ApiPath, ModelProvider, ServiceProvider, } from "@/app/constant"; import { prettyObject } from "@/app/utils/format"; import { NextRequest, NextResponse } from "next/server"; import { auth } from "@/app/api/auth"; import { isMo...
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...
69bfb26491bb99e1
cpp
211
One Dark Pro
#include <hex.hpp> #include <hex/api/content_registry/diffing.hpp> #include <hex/providers/buffered_reader.hpp> #include <wolv/utils/guards.hpp> #include <wolv/literals.hpp> #include <edlib.h> #include <imgui.h> #include <hex/api/task_manager.hpp> #include <span> namespace hex::plugin::diffing { using namespa...
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...
1d1f501088a7f2a9
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.", ...
91ee6c994981a43a
csharp
419
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
9d3dd452a4ae4570
java
62
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" ...
b2a942f636142e8e
cpp
297
Solarized Light
#include <unordered_map> #include <algorithm> #include "exception.h" #include "filehelper.h" #include "value.h" #include "console.h" #include "threading.h" #include "module.h" #include "syscalls.h" static std::unordered_map<unsigned int, String> ExceptionNames; static std::unordered_map<unsigned int, String> NtStatusN...
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.", ...
dc73fd14081197bb
python
78
Default Light+
from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, UserNotLive, int_or_none, join_nonempty, parse_iso8601, str_or_none, url_or_none, ) from ..utils.traversal import traverse_obj class FlexTVIE(InfoExtractor): IE_NAME = ...
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"...
46740c9527652e22
python
66
Dracula
"""XGBoost: eXtreme Gradient Boosting library. Contributors: https://github.com/dmlc/xgboost/blob/master/CONTRIBUTORS.md """ from . import tracker # noqa from . import collective from ._c_api import _py_version from .core import ( Booster, DataIter, DMatrix, ExtMemQuantileDMatrix, QuantileDMatrix...
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...
0756841dcfcb8c13
typescript
39
Solarized Light
"use client" import * as React from "react" import { Slider } from "@/examples/radix/ui-rtl/slider" import { useTranslation, type Translations, } from "@/components/language-selector" const translations: Translations = { en: { dir: "ltr", values: {}, }, ar: { dir: "rtl", values: {}, }, ...
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...
53a61aec12eeea76
typescript
67
One Dark Pro
import { defineVersion, entityRefUptoVersion } from "verzod" import { z } from "zod" import { GQLHeader as V1_GQLHeader } from "../../graphql/v/1" import { HoppRESTHeaders as V1_HoppRESTHeaders } from "../../rest/v/1" import { HoppGQLAuth, GQLHeader as V2_GQLHeader } from "../../graphql/v/6" import { HoppRESTAuth, ...
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...