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
af4e7e97ecd912c1
csharp
227
Monokai
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text.RegularExpressions; using winPEAS.Helpers; using winPEAS.Helpers.Registry; using winPEAS.Info.FilesInfo.Office.OneDrive; using winPEAS.Native; namespace winPEAS.Info.FilesInfo.Office...
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...
6bd8a90767de545e
csharp
37
Default Dark+
using System; namespace RevokeMsgPatcher.Model { public class ReplacePattern { public byte[] Search { get; set; } public byte[] Replace { get; set; } public string Category { get; set; } /// <summary> /// 悬浮气泡提示 /// </summary> public string Tips { get...
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.", ...
86800c0608a0b4da
csharp
123
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Microsoft.Extensions.VectorData; using Microsoft.Extensions.VectorData.ProviderServices; namespace Microsoft.SemanticKernel.Connectors.PgVector; /// <summary> /// Extension methods for configuring PostgreSQL-specific properties on vector store pro...
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.", ...
e150518d47637a09
python
31
Dracula
from fastapi import FastAPI from pydantic import BaseModel, HttpUrl app = FastAPI() class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None ...
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...
4cba63f7f7911331
csharp
23
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Services; namespace Microsoft.SemanticKernel.Plugins.OpenApi.Extensions; /// <summary> /// An OpenAPI visitor that normalizes the operation IDs by replacing dots with underscores. /// So that the operation IDs c...
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...
92c73c17440576c4
rust
22
GitHub Dark
pub mod backtracking; pub mod big_integer; pub mod bit_manipulation; pub mod ciphers; pub mod compression; pub mod conversions; pub mod data_structures; pub mod dynamic_programming; pub mod financial; pub mod general; pub mod geometry; pub mod graph; pub mod greedy; pub mod machine_learning; pub mod math; pub mod navig...
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...
87d29b0bd762d03b
typescript
81
Solarized Light
"use client" import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, } from "@/examples/base/ui/combobox" import { InputGroupAddon } from "@/examples/base/ui/input-group" import { GlobeIcon } from "lucide-react" ...
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.", ...
7cfd759faff139ce
go
171
Default Light+
package renderers import ( "encoding/json" "fmt" "strings" "github.com/ollama/ollama/api" ) // GLM47Renderer renders messages for GLM-4.7 models. // // GLM-4.7 Thinking Modes (ref: https://docs.z.ai/guides/capabilities/thinking-mode): // // 1. INTERLEAVED THINKING // The model thinks between tool calls and ...
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" ...
c8b1f69beba8f3ad
rust
156
GitHub Dark
//! This module provides a generic implementation of a Trie (prefix tree). //! A Trie is a tree-like data structure that is commonly used to store sequences of keys //! (such as strings, integers, or other iterable types) where each node represents one element //! of the key, and values can be associated with full sequ...
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.", ...
dfe4c2f7607ea9fe
java
244
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.", ...
0f2c25ae308aeb34
typescript
138
Default Dark+
import type { City, Company, Country, QuestionsQuestion, QuestionsQuestionVote, State, } from '@prisma/client'; import { Vote } from '@prisma/client'; import type { AggregatedQuestionEncounter, CountryInfo, Question, } from '~/types/questions'; type AggregatableEncounters = Array<{ city: City | nu...
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...
cc646923fcb0ad97
rust
24
Default Dark+
use std::mem; use heed::{BoxedError, BytesDecode}; use crate::heed_codec::BytesDecodeOwned; pub struct BoRoaringBitmapLenCodec; impl BytesDecode<'_> for BoRoaringBitmapLenCodec { type DItem = u64; fn bytes_decode(bytes: &[u8]) -> Result<Self::DItem, BoxedError> { Ok((bytes.len() / mem::size_of::<u3...
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...
9261f00dad9b6d43
cpp
139
Solarized Light
#include "SimpleTraceDialog.h" #include "ui_SimpleTraceDialog.h" #include "Bridge.h" #include <QMessageBox> #include "BrowseDialog.h" #include "MiscUtil.h" #include "Tracer/TraceBrowser.h" SimpleTraceDialog::SimpleTraceDialog(QWidget* parent) : QDialog(parent), ui(new Ui::SimpleTraceDialog) { ui->setupUi(t...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
03ffd1c5e9836f67
csharp
78
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Azure; using Azure.AI.Inference; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Xunit; namespace SemanticKernel.Connectors.AzureAII...
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" ...
3d6b3a341c1f626d
typescript
59
Dracula
/* eslint-disable @typescript-eslint/no-unused-vars */ import type { Equal, ExpectTrue } from '@type-challenges/utils' import { mergeWithDefaults } from '../utils' const useDefaultTypeForUndefined1 = mergeWithDefaults( { foo: 1, }, {}, ) const useDefaultTypeForUndefined2 = mergeWithDefaults( { foo: 1,...
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...
9f9f40316d707cf5
typescript
305
Solarized Light
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" // @generated from file api/v1/activity_service.proto (package memos.api.v1, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serv...
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"...
6cde425a702edb24
csharp
70
Default Light+
// Copyright (c) 2011-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
3802df4160663f73
python
38
Solarized Light
# https://leetcode.com/problems/monotonic-array/ def is_monotonic(nums: list[int]) -> bool: """ Check if a list is monotonic. >>> is_monotonic([1, 2, 2, 3]) True >>> is_monotonic([6, 5, 4, 4]) True >>> is_monotonic([1, 3, 2]) False >>> is_monotonic([1,2,3,4,5,6,5]) False >>>...
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...
34a16af70b11257a
python
55
Solarized Light
import math from collections.abc import Callable def intersection(function: Callable[[float], float], x0: float, x1: float) -> float: """ function is the f we want to find its root x0 and x1 are two random starting points >>> intersection(lambda x: x ** 3 - 1, -5, 5) 0.9999999999954654 >>> int...
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...
974f7ca789eb156c
typescript
64
Default Dark+
import { emptyOption } from './constants'; const EducationFieldLabels = { 'aerospace-engineering': 'Aerospace Engineering', 'applied-mathematics': 'Applied Mathematics', biology: 'Biology', 'biomedical-engineering': 'Biomedical Engineering', 'business-analytics': 'Business Analytics', 'chemical-engineering...
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...
bd544e219c7c8a25
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Plugins.OpenApi; namespace Plugins; /// <summary> /// Examples to show how to create plugins from OpenAPI specs. /// </summary> public class CreatePluginFromOpenApiSpec_Github(ITestOutputHelper output) : ...
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.", ...
f937ce8024c1ef0c
csharp
70
Monokai
// Copyright (c) Microsoft. All rights reserved. using Azure.AI.Agents.Persistent; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.AzureAI; using Microsoft.SemanticKernel.ChatCompletion; using Resources; namespace GettingStarted.AzureAgents; /// <summary> /// Demonstrate using <see cref="AzureA...
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...
b106c0c620dcf44f
python
31
Dracula
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield...
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...
fa80d99ddc090d80
java
363
GitHub Dark
package com.github.mikephil.charting.charts; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.RectF; import android.util.AttributeSet; import com.github.mikephil.charting.components.YAxis; import com.github.mikephil.charting.components.YAxis.AxisD...
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.", ...
3e9a7c49a15ad7d3
python
84
Solarized Light
""" Project Euler Problem 8: https://projecteuler.net/problem=8 Largest product in a series The four adjacent digits in the 1000-digit number that have the greatest product are 9 x 9 x 8 x 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 8586...
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...
51756ed0d8e5e92b
typescript
68
Solarized Light
export interface ListItemInfo { type: "task" | "unordered" | "ordered" | null; symbol?: string; // For task/unordered lists: "- ", "* ", "+ " number?: number; // For ordered lists: 1, 2, 3, etc. indent?: string; // Leading whitespace } // Detect the list item type of the last line before cursor export function...
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.", ...
6c2945cd24920abf
java
104
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
1eea01c636bf50e0
go
25
Solarized Dark
// Copyright 2023 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
fd6b612224fed863
typescript
101
Dracula
import { useState } from 'preact/hooks' import preactLogo from './assets/preact.svg' import viteLogo from './assets/vite.svg' import heroImg from './assets/hero.png' import './app.css' export function App() { const [count, setCount] = useState(0) return ( <> <section id="center"> <div class="her...
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"...
d668f0d6a5013533
csharp
106
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKernel.Agents.Orchestration.GroupChat; /// <summary> /// Represents the result of a group chat manager operation, including a value and a ...
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" ...
ce712d0935c87cfb
cpp
86
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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...
62634afaee65c6ba
csharp
90
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel.Connectors.Redis; using StackExchange.Redis; namespace Memory.VectorStoreLangchainInterop; /// <summary> /// Contains a factory method that can be used to create a Redis vector store that is compat...
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...
df388000b98527cd
python
64
Default Light+
from .common import InfoExtractor from ..utils import ( dict_get, int_or_none, ) class KinoPoiskIE(InfoExtractor): _GEO_COUNTRIES = ['RU'] _VALID_URL = r'https?://(?:www\.)?kinopoisk\.ru/film/(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.kinopoisk.ru/film/81041/watch/', 'md5': '4f71...
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...
33b732be4d845891
cpp
103
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,...
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"...
69722f2be7556b2e
typescript
70
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useRef, useCallback, useEffect, useState } from 'react'; export interface UseRepeatedKeyPressOptions { onRepeat?: (count: number) => void; onReset?: () => void; windowMs: number; } export function useRepeatedKeyPre...
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.", ...
96d4ce89f6cba38c
java
118
Default Dark+
package org.schabi.newpipe.settings.custom; import static org.schabi.newpipe.player.notification.NotificationConstants.ACTION_RECREATE_NOTIFICATION; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.util.AttributeSet; impor...
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" ...
b1ed12ca3caf7b81
typescript
135
Solarized Light
"use client" import { Card, CardContent, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { Item, ItemActions, ItemContent, ItemGroup, ItemMedia, ItemTitle, } from "@/registry/bases/base/ui/item" // Usage items with percentage and value. const items = [ { name: "Edge Requ...
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...
85c65672db4cf23b
csharp
42
Default Light+
using NimblePros.SampleToDo.Infrastructure.Email; namespace NimblePros.SampleToDo.Web.Configurations; public static class OptionConfig { public static IServiceCollection AddOptionConfigs(this IServiceCollection services, IConfiguration configuration, ...
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...
5ab3d3b9ed422d7c
java
323
GitHub Dark
package org.jeecg.modules.system.controller; import java.util.*; import java.util.stream.Collectors; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import...
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...
cee5d23046db2d21
javascript
21
Dracula
/** * Finds the maximum profit from selling and buying the stocks. * ACCUMULATOR APPROACH. * * @param {number[]} prices - Array of stock prices, i.e. [7, 6, 4, 3, 1] * @param {function(): void} visit - Visiting callback to calculate the number of iterations. * @return {number} - The maximum profit */ const accum...
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...
99576621694ab4f2
csharp
35
Monokai
using System.Windows; using System.Windows.Controls; namespace ScreenToGif.Controls; public class ExtendedProgressBar : ProgressBar { public enum ProgressState { Primary, Info, Warning, Danger } public static readonly DependencyProperty StateProperty = DependencyProper...
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.", ...
3c2b1fb5165630bd
typescript
449
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { parseGoogleApiError, type QuotaFailure } from './googleErrors.js'; describe('parseGoogleApiError', () => { it('should return null for non-gaxios errors', () => { expect...
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...
6192a502b70691ea
java
47
GitHub Dark
package org.jeecg.common.aspect.annotation; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.constant.enums.ModuleType; import java.lang.annotation.*; /** * 系统日志注解 * * @Author scott * @email jeecgos@163.com * @Date 2019年1月14日 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RU...
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...
7450776c645fc44d
csharp
330
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Runtime.Serialization; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; namespace SemanticKernel.Process.IntegrationTests; #pragma warning disable CS1591 // Missing XML comment for pub...
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"...
1c8266e254c41003
go
272
Default Light+
package convert import ( "io" "slices" "strings" "testing" ) type lfm2StubTensor struct { tensorBase } func newLFM2StubTensor(name string, shape []uint64) *lfm2StubTensor { return &lfm2StubTensor{ tensorBase: tensorBase{ name: name, shape: shape, }, } } func (t *lfm2StubTensor) WriteTo(io.Writer) ...
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.", ...
b66ca1a4a07bdc99
python
66
Solarized Light
""" This function implements the shell sort algorithm which is slightly faster than its pure implementation. This shell sort is implemented using a gap, which shrinks by a certain factor each iteration. In this implementation, the gap is initially set to the length of the collection. The gap is then reduced by a certa...
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...
e5d33b05321d1fbd
java
343
Default Dark+
package us.shandian.giga.ui.fragment; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.os...
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...
0d8927c474b89141
java
56
Default Light+
package com.thealgorithms.ciphers; /** * The Autokey Cipher is an interesting and historically significant encryption method, * as it improves upon the classic Vigenère Cipher by using the plaintext itself to * extend the key. This makes it harder to break using frequency analysis, as it * doesn’t rely solely on a...
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...
c94a696db2e1c20b
cpp
246
Solarized Light
#include "MultiItemsSelectWindow.h" #define QTC_ASSERT(cond, action) if (cond) {} else { action; } do {} while (0) #include <QFocusEvent> #include <QHeaderView> #include <QVBoxLayout> #include <QScrollBar> #include <QApplication> enum class Role { ItemData = Qt::UserRole }; MultiItemsSelectWindow::MultiItemsSel...
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"...
6484b7fbf8be5a65
csharp
68
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" ...
4d156c2568098880
go
58
Solarized Dark
package markdown import ( "strings" "testing" ) func TestToHTML(t *testing.T) { input := []byte( `## some headline followed by some paragraph with [a link](https://example.local) and some list: - first - second - nested on second level - nested on third level - ~~strikethrough~~ - yet another second level ...
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"...
ca5f11243fde561a
typescript
311
Solarized Dark
import { CheckCircleOutlineRounded } from '@mui/icons-material' import { alpha, Box, ListItemButton, styled, Typography } from '@mui/material' import { useLockFn } from 'ahooks' import { useCallback, useEffect, useReducer } from 'react' import { useTranslation } from 'react-i18next' import { BaseLoading } from '@/comp...
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"...
f77c609a56f4d721
python
99
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from semantic_kernel.agents import AgentRegistry, OpenAIAssistantAgent from semantic_kernel.functions import kernel_function """ The following sample demonstrates how to create an OpenAI Assistant agent that answers questions ...
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.", ...
65b2fa13c31950f1
python
465
Monokai
from __future__ import annotations import json import os import re import uuid import glob import shutil import logging import tempfile from aiohttp import web from urllib import parse from comfy.cli_args import args import folder_paths from .app_settings import AppSettings from typing import TypedDict default_user = ...
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...
40ca4870578e076c
cpp
99
One Dark Pro
#pragma once #include <hex/api/event_manager.hpp> #include <hex/helpers/semantic_version.hpp> struct ImGuiTestEngine; /* Lifecycle events definitions */ namespace hex { /** * @brief Called when Imhex finished startup, and will enter the main window rendering loop */ EVENT_DEF(EventImHexStartupFini...
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" ...
26d04271e4c0a752
typescript
120
Solarized Light
"use client" import * as React from "react" import { TrendingUp } from "lucide-react" import { Label, Pie, PieChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTo...
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...
fd2b59f99ef25188
java
69
Default Light+
package com.thealgorithms.randomized; /** * This class implements the Randomized QuickSort algorithm. * It selects a pivot randomly to improve performance on sorted or nearly sorted data. * @author Vibhu Khera */ public final class RandomizedQuickSort { private RandomizedQuickSort() { throw new Unsupp...
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"...
2a60022b7a517ea0
java
37
Default Light+
package com.thealgorithms.ciphers; import java.math.BigInteger; public final class DiffieHellman { private final BigInteger base; private final BigInteger secret; private final BigInteger prime; // Constructor to initialize base, secret, and prime public DiffieHellman(BigInteger base, BigInteger...
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...
ae495ac6fc5ede9e
python
27
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Any from semantic_kernel.kernel_pydantic import KernelBaseModel class InputVariable(KernelBaseModel): """Input variable for a prompt template. Args: name: The name of the input variable. description: The description of the i...
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"...
3ee687a3701f1cba
java
61
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.", ...
383c25dba67c2739
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...
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...
02ce9d9fe292bd15
java
178
Default Dark+
package org.schabi.newpipe.local.dialog; import static org.schabi.newpipe.database.playlist.model.PlaylistEntity.DEFAULT_THUMBNAIL_ID; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import android.widget.Toast; im...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
78942ad0ac459776
java
25
GitHub Dark
package org.jeecg.modules.airag.wordtpl.dto; import java.util.ArrayList; import java.util.List; import com.alibaba.fastjson.JSONObject; import lombok.Data; @Data public class WordTableDTO { private String value = ""; private String type = "table"; private List<WordTableRowDTO> trList; private in...
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...
e98c155a3984c076
typescript
41
One Dark Pro
import { gqlApi, restApi } from '~/helpers/axiosConfig'; export default { getUserDetails: () => gqlApi.post('', { query: `query Me { me { uid displayName email photoURL isAdmin createdOn } }`, }), refreshToken: () => restApi.get('/auth/r...
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.", ...
dd491b1fd1361ce7
java
48
GitHub Dark
package org.jeecg.common.api.dto; import lombok.Data; import java.io.Serializable; import java.util.List; /** * online 拦截器权限判断 * cloud api 用到的接口传输对象 * @author: jeecg-boot */ @Data public class OnlineAuthDTO implements Serializable { private static final long serialVersionUID = 1771827545416418203L; /**...
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" ...
23b74cd012182b24
csharp
23
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.IO; using System.Resources; namespace SemanticKernel.Functions.UnitTests.OpenApi.TestPlugins; internal static class ResourcePluginsProvider { /// <summary> /// Loads OpenAPI document from assembly resource. /// </summary> /// <param 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"...
58de2436d6847103
csharp
115
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Orchestration.Extensions; using Microsoft.SemanticKernel.Agents.Runtime; namespace Microsoft.Sema...
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" ...
43843e2cccc8c6df
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; namespace MCPServer.Tools; /// <summary> /// A collection of utility methods for working with orders. /// </summary> internal sealed class OrderProcessingUtils { /// <summary> /// Places an order for the specified item. ///...
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...
4ce8790621db6954
typescript
335
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { expect, describe, it } from 'vitest'; import type { SessionMetrics } from '../telemetry/uiTelemetry.js'; import { JsonFormatter } from './json-formatter.js'; import type { JsonError } from './types.js'; describe('JsonForm...
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.", ...
d8585aac0edb3e71
csharp
196
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // App.xaml.h // Declaration of the App class. // using System; using System.Diagnostics; using System.Threading.Tasks; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Storage; ...
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...
58c95139d051dd18
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...
5734d4144ddfbf52
rust
275
Default Dark+
mod context; mod document; pub(crate) mod error; mod fields; use std::cell::RefCell; use std::convert::TryFrom; use std::fmt::Debug; use std::num::NonZeroUsize; use bumpalo::Bump; pub(crate) use document::{Document, ParseableDocument}; use error::{NewPromptError, RenderPromptError}; pub use fields::{BorrowedFields, O...
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"...
dc96693597a67fca
java
51
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.", ...
c4b92476933efb02
csharp
160
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using OpenAI.Images; namespace Microsoft.SemanticKernel.Connectors.OpenAI; /// <summary> /// Base class for AI clients that provides common...
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...
813c4a91d17dbd57
typescript
255
Default Dark+
/* eslint-disable @typescript-eslint/no-explicit-any */ import { useCallback } from 'react'; import { Vote } from '@prisma/client'; import { trpc } from '../../trpc'; type UseVoteOptions = { setDownVote: () => void; setNoVote: () => void; setUpVote: () => void; }; type BackendVote = { id: string; vote: Vot...
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...
6ca6103066368138
csharp
31
Monokai
using System; using System.Diagnostics; namespace winPEAS.Helpers { internal static class CheckRunner { public static void Run(Action action, bool isDebug, string description = null) { if (!isDebug) { action(); } else ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
bd11cbad7a593466
typescript
365
Solarized Light
import { Logger } from "winston"; import { DeepResearchActivity, DeepResearchFinding, DeepResearchSource, updateDeepResearch, } from "./deep-research-redis"; import { generateCompletions, trimToTokenLimit, } from "../../scraper/scrapeURL/transformers/llmExtract"; import { ExtractOptions } from "../../contro...
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...
2ac1c1a62c578e37
python
21
Solarized Light
from collections import Counter def sock_merchant(colors: list[int]) -> int: """ >>> sock_merchant([10, 20, 20, 10, 10, 30, 50, 10, 20]) 3 >>> sock_merchant([1, 1, 3, 3]) 2 """ return sum(socks_by_color // 2 for socks_by_color in Counter(colors).values()) if __name__ == "__main__": 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...
60eeee4862d41df0
java
91
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsResource implements Serializable { private Long id; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "资源名称") priva...
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" ...
48a52325a0addb43
javascript
41
Dracula
/** * GREEDY approach of solving Jump Game. * * This comes out as an optimisation of DYNAMIC PROGRAMMING BOTTOM_UP approach. * * Once we have our code in the bottom-up state, we can make one final, * important observation. From a given position, when we try to see if * we can jump to a GOOD position, we only eve...
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.", ...
4b4776fef5c0a245
go
110
Solarized Dark
// Copyright 2025 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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" ...
e8d7b496d2ba8251
typescript
393
Solarized Light
import * as React from "react" import Image from "next/image" import { IconChevronRight, IconDownload } from "@tabler/icons-react" import { PlusIcon, TicketIcon } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-yor...
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.", ...
3cd5eaed808cc3bd
typescript
95
Solarized Light
import type { Socket } from "net"; import { config } from "../../../../config"; import type { TLSSocket } from "tls"; import * as undici from "undici"; import { interceptors } from "undici"; import { CookieJar } from "tough-cookie"; import { cookie } from "http-cookie-agent/undici"; import IPAddr from "ipaddr.js"; expo...
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...
dbf0df1ab39e8137
java
30
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
fb9b7141050edc9a
rust
68
Solarized Dark
use clash_verge_logging::{Type, logging}; use super::use_lowercase; use serde_yaml_ng::{self, Mapping, Value}; fn deep_merge(a: &mut Value, b: Value) { match (a, b) { (&mut Value::Mapping(ref mut a), Value::Mapping(b)) => { for (k, v) in b { deep_merge(a.entry(k.clone()).or_ins...
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"...
5081b772642a34cd
csharp
107
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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" ...
a2c7109ffacc9450
java
394
GitHub Dark
package org.jeecg.common.system.util; import com.auth0.jwt.JWT; import com.auth0.jwt.JWTVerifier; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.exceptions.JWTDecodeException; import com.auth0.jwt.interfaces.DecodedJWT; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base....
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"...
c934ec4d3629f5dd
python
22
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import abstractmethod from typing import TYPE_CHECKING, Protocol, runtime_checkable if TYPE_CHECKING: from semantic_kernel import Kernel from semantic_kernel.functions.kernel_arguments import KernelArguments @runtime_checkable class CodeRenderer(Proto...
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...
839e1475d3b802b2
java
115
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
0a54be576d95a88b
java
54
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsRoleMenuRelation implements Serializable { private Long id; @ApiModelProperty(value = "角色ID") private Long roleId; @ApiModelProperty(value = "菜单ID") private Long menuId; ...
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...
a0fb0d4c0adb7d4c
java
36
Default Light+
package com.thealgorithms.sorts; public class SelectionSort implements SortAlgorithm { /** * Generic Selection Sort algorithm. * * Time Complexity: * - Best case: O(n^2) * - Average case: O(n^2) * - Worst case: O(n^2) * * Space Complexity: O(1) – in-place sorting. * ...
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.", ...
4012acc36d2b2ebb
python
27
Dracula
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", summary="Create an item") async def create_item(item: Item) -> Item: "...
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...
66f8a22ceb787c50
typescript
58
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { allowEditorTypeInSandbox, hasValidEditorCommand, type EditorType, EDITOR_DISPLAY_NAMES, } from '@google/gemini-cli-core'; export interface EditorDisplay { name: string; type: EditorType | 'not_set'; disabled...
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"...
699958c79341ab08
csharp
51
Default Light+
// // AliasResolveResult.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. (http://xamarin.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 S...
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"...
db91e39aae436ba6
java
133
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...
7cb51247bb61442c
cpp
113
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...
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...
088ed6f7237f9c1b
go
39
Default Light+
package streamtape import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootID APILogin string `json:"api_login" required:"true" help:"API Login from Streamtape account settings"` APIKey string `json:"api_key" r...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
3ecfd16f863d5f24
java
32
Solarized Dark
// Given a sorted integer array without duplicates, return the summary of its ranges. // For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. public class SummaryRanges { public List<String> summaryRanges(int[] nums) { List<String> result = new ArrayList(); if(nums.length == 1) { ...
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" ...
d31c592272dbd158
java
75
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...
21f90e0a231e2735
javascript
91
Dracula
import GraphVertex from '../../../../data-structures/graph/GraphVertex'; import GraphEdge from '../../../../data-structures/graph/GraphEdge'; import Graph from '../../../../data-structures/graph/Graph'; import hamiltonianCycle from '../hamiltonianCycle'; describe('hamiltonianCycle', () => { it('should find hamiltoni...
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...