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
4baff862f3fc9afd
java
260
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...
3a748231ebf7ad0b
csharp
370
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Magentic; using Microsoft.SemanticKernel.Agents.Orchestration; using Micr...
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...
589088ed4622d3c1
csharp
141
Default Light+
// // SyntaxTree.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2010 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 Softw...
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" ...
dfe404f88234e525
java
84
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...
2bed053bd871a147
csharp
159
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.Magentic; using Microsoft.SemanticKernel.ChatCompletion; using Moq; using Xunit; namespace SemanticKernel.Agen...
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...
a5b3a2329fbb27ce
cpp
177
One Dark Pro
/********************************************************************** * File: ocrrow.h (Formerly row.h) * Description: Code for the ROW class. * Author: Ray Smith * Created: Tue Oct 08 15:58:04 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version ...
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" ...
7fc806951671dab8
java
33
GitHub Dark
package org.jeecg.common.system.vo; import lombok.Data; import java.io.Serializable; import java.util.List; /** * 下拉树 model * * @author jeecg-boot */ @Data public class SelectTreeModel implements Serializable { private String key; private String title; private String value; /** * 父Id *...
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...
a1e0d3da9eb0b861
typescript
115
Solarized Light
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { Controller, useForm } from "react-hook-form" import { toast } from "sonner" import * as z from "zod" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, Ca...
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...
11f40e8a9da4175b
java
20
GitHub Dark
package org.jeecg.modules.message.handle.impl; import lombok.extern.slf4j.Slf4j; import org.jeecg.modules.message.handle.ISendMsgHandle; /** * @Description: 发微信消息模板 * @author: jeecg-boot */ @Slf4j public class WxSendMsgHandle implements ISendMsgHandle { @Override public void sendMsg(String esReceiver, String es...
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.", ...
4f5aa3cfe00e0a12
cpp
113
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: lm_consistency.cpp // Description: Struct for recording consistency of the paths representing // OCR hypotheses. // Author: Rika Antonova // Created: Mon Jun 20 11:26:43 PST 2012 // // (C) Copyright 2012, Goog...
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"...
3b49b4fb2321efaf
python
31
Dracula
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.ge...
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...
dbe13a8da988d3dc
python
160
Monokai
#This is an example that uses the websockets api and the SaveImageWebsocket node to get images directly without #them being saved to disk import websocket #NOTE: websocket-client (https://github.com/websocket-client/websocket-client) import uuid import json import urllib.request import urllib.parse server_address = "...
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...
f262e5f0c41b4294
python
53
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from semantic_kernel.agents import CopilotStudioAgent, CopilotStudioAgentThread """ This sample demonstrates how to use the Copilot Studio agent to perform a web search. In Copilot Studio, for the specified agent, you must enable the "Web Search" capabil...
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...
85567d094be0d2f6
java
62
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.", ...
6422be7f4b7d88fd
cpp
112
One Dark Pro
#include "models.h" llm_build_codeshell::llm_build_codeshell(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); const int64_t n_embd_gqa = hparams.n_embd_v_gqa(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()...
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"...
e34f7a695dfc538d
csharp
21
Monokai
using System.Runtime.InteropServices; namespace ScreenToGif.Native.Structs; public struct MemoryStatusEx { public uint Length; public uint MemoryLoad; public ulong TotalPhysicalMemory; public ulong AvailablePhysicalMemory; public ulong TotalPageFile; public ulong AvailablePageFile; public ...
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"...
1714ee0ee1829373
javascript
90
GitHub Dark
$(function() { // trigger fail, end if ( !(triggerCode == 200 || handleCode != 0) ) { $('#logConsoleRunning').hide(); $('#logConsole').append('<span style="color: red;">'+ I18n.joblog_rolling_log_triggerfail +'</span>'); return; } // pull log var fromLineNum = 1; // [fro...
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...
aa8064e45cb3c85c
cpp
218
Dracula
/** * Copyright 2023-2026, XGBoost Contributors */ #pragma once #include <cstdint> // for int8_t #include <functional> // for function #include <type_traits> // for is_invocable_v, enable_if_t #include <vector> // for vector #include "../common/type.h" // for EraseType, RestoreType #include...
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"...
5e4a2a133fadea44
typescript
323
Solarized Light
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" // @generated from file api/v1/attachment_service.proto (package memos.api.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@...
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...
f3339caf4e84aca4
go
81
Solarized Light
package email import ( "testing" "github.com/stretchr/testify/assert" ) func TestConfigValidation(t *testing.T) { tests := []struct { name string config *Config wantErr bool }{ { name: "valid config", config: &Config{ SMTPHost: "smtp.gmail.com", SMTPPort: 587, SMTPUsername: ...
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...
364a039526215c6c
typescript
48
One Dark Pro
import * as E from "fp-ts/Either" export type ExperimentsPlatformDef = { aiExperiments?: { enableAIExperiments: boolean generateRequestName?: ( requestInfo: string, namingStyle: string ) => Promise< E.Either< string, { request_name: string trace_id: s...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
074350ab757e98a8
typescript
192
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { act, useCallback } from 'react'; import { vi } from 'vitest'; import { render } from '../../test-utils/render.js'; import { useConsoleMessages } from './useConsoleMessages.js'; import { CoreEvent, type ConsoleLogPayload } ...
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.", ...
cea62a45b496a5b5
typescript
77
Solarized Light
import { Button } from "@/examples/base/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/examples/base/ui/card" import { Field, FieldDescription, FieldLabel } from "@/examples/base/ui/field" import { InputOTP, InputOTPGroup, InputOTPSeparator, Inpu...
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...
4543449aac4fec77
typescript
163
Default Light+
// // Measurements // /** * By definition one radian is the angle subtended at the centre * of a circle by an arc that is equal in length to the radius. */ export type Radians = number & { _brand: "excalimath__radian" }; /** * An angle measurement of a plane angle in which one full * rotation is 360 degrees. */...
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.", ...
7b26cfe4abd41d61
java
44
GitHub Dark
package org.jeecg.modules.system.model; import java.io.Serializable; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; /** * @Title: DuplicateCheckVo * @Description: 重复校验VO * @Author 张代浩 * @Date 2019-03-25 * @Version V1.0 */ @Data @Schema(description="重复校验数据模型") public class 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"...
db93aee9fe73f03d
typescript
98
One Dark Pro
import { VersionedAPI } from "@type/versioning" import { IoV1, SaveFileWithDialogOptions, OpenExternalLinkOptions, Event, } from "@io/v/1" import { pipe } from "fp-ts/function" import * as S from "fp-ts/string" import * as RNEA from "fp-ts/ReadonlyNonEmptyArray" export const implementation: VersionedAPI<IoV1> ...
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...
9306b583ccf32367
csharp
40
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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.", ...
8e7e0cd440fc2f79
typescript
156
Default Dark+
import { ArrowTrendingUpIcon, BuildingOfficeIcon, MapPinIcon, } from '@heroicons/react/20/solid'; import { ArrowTopRightOnSquareIcon, BuildingOffice2Icon, CalendarDaysIcon, } from '@heroicons/react/24/outline'; import { JobType } from '@prisma/client'; import CompanyProfileImage from '~/components/shared/C...
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" ...
9198ef7683e8e803
cpp
307
One Dark Pro
/********************************************************************** * File: paragraphs_internal.h * Description: Paragraph Detection internal data structures. * Author: David Eger * * (C) Copyright 2011, Google Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not...
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...
46003ea14146c9d1
csharp
22
Monokai
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace ScreenToGif.Util.Converters; public class BytesToSize : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is not long length) ...
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...
5ef91f9cabce3267
python
496
Default Light+
import base64 import binascii import functools import hashlib import hmac import io import json import re import time import urllib.parse import uuid from .common import InfoExtractor from ..aes import aes_ecb_decrypt from ..networking import RequestHandler, Response from ..networking.exceptions import TransportError ...
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"...
648a8e12b970af05
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...
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"...
04eef282d30ff066
typescript
43
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { TestRig } from './test-helper.js'; import { join } from 'node:path'; describe('Flicker Detector', () => { let rig: TestRig; beforeEach(() => { ...
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...
ea0a58129e5017fd
python
285
Monokai
import argparse import pytest from requests.exceptions import HTTPError from unittest.mock import patch, mock_open from app.frontend_management import ( FrontendManager, FrontEndProvider, Release, ) from comfy.cli_args import DEFAULT_VERSION_STRING @pytest.fixture def mock_releases(): return [ ...
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" ...
b1973b6faeb04625
java
44
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" ...
211375bfb687629b
typescript
118
Default Dark+
import clsx from 'clsx'; import Link from 'next/link'; import { useRouter } from 'next/router'; import { Fragment } from 'react'; import { Menu, Transition } from '@headlessui/react'; import { ChevronDownIcon } from '@heroicons/react/20/solid'; import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'; 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" ...
799ba70fe6d83ab6
typescript
98
One Dark Pro
import type { RelayRequest } from "@hoppscotch/kernel" import * as E from "fp-ts/Either" import { pipe } from "fp-ts/function" import * as O from "fp-ts/Option" import { cloneDeep } from "lodash-es" import superjson from "superjson" import { useSetting } from "~/composables/settings" const isEncoded = (value: string)...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
8e8cdc8edc21103e
cpp
37
Dracula
#include "pch.h" #include <iostream> #include <fstream> #include <string> #include <cwctype> void trim(std::wstring& str) { str.erase(str.begin(), std::find_if(str.begin(), str.end(), [](wchar_t ch) { return !std::iswspace(ch); })); str.erase(std::find_if(str.rbegin(), str.rend(), [](wchar_t c...
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" ...
002fa937d531a01b
csharp
130
Default Light+
#nullable enable // Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation ...
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...
2241366b1fe77d0c
cpp
100
Dracula
#ifndef RUNNER_WIN32_WINDOW_H_ #define RUNNER_WIN32_WINDOW_H_ #include <windows.h> #include <functional> #include <memory> #include <string> // A class abstraction for a high DPI-aware Win32 Window. Intended to be // inherited from by classes that wish to specialize with custom // rendering and input handling class ...
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...
57fc6f2e491588b5
typescript
88
Solarized Light
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "@/registry/new-york-v4/ui/table" const invoices = [ { invoice: "INV001", paymentStatus: "Paid", totalAmount: "$250.00", paymentMethod: "Credit Card", }, { invoice: "INV00...
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" ...
c877990fdd39bc25
python
39
One Dark Pro
#!/usr/bin/env python3 # Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 """ Buildkite pipeline for testing popular Docker containers """ from common import BKPipeline, random_str pipeline = BKPipeline() ROOTFS_TAR = f"rootfs_$(uname -m)_{random_str(k=8)...
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.", ...
dd740575bb7afca0
csharp
159
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 ...
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...
ebb7a478f517b58e
csharp
52
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Connectors.InMemory; /// <summary> /// Represents a collection of vector store records in a InMemory databas...
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" ...
5512800babddbef9
rust
93
GitHub Dark
use crate::hyperlink::HyperlinkAlias; /// Aliases to well-known hyperlink schemes. /// /// These need to be sorted by name. pub(super) const HYPERLINK_PATTERN_ALIASES: &[HyperlinkAlias] = &[ alias( "cursor", "Cursor scheme (cursor://)", "cursor://file{path}:{line}:{column}", ), prio...
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...
059196cf07a83ed5
typescript
45
Solarized Light
"use client" import * as React from "react" import Autoplay from "embla-carousel-autoplay" import { Card, CardContent } from "@/registry/new-york-v4/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/new-york-v4/ui/carousel" export default function...
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...
509f99198cf29e95
python
64
Solarized Light
""" == Raise base to the power of exponent using recursion == Input --> Enter the base: 3 Enter the exponent: 4 Output --> 3 to the power of 4 is 81 Input --> Enter the base: 2 Enter the exponent: 0 Output --> 2 to the power of 0 is 1 """ def power(base...
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" ...
130454f2f053c5c0
typescript
48
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CommandContext } from '../commands/types.js'; import type { ExtensionUpdateAction } from '../state/extensions.js'; /** * Creates a UI context object with no-op functions. * Useful for non-interactive environments w...
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...
5db93e12b029a66b
csharp
140
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using System.ClientModel.Primitives; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.Se...
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...
8091f5b6f03f04dd
typescript
117
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui-rtl/button" import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/examples/radix/ui-rtl/card" import { Input } from "@/examples/radix/ui-rtl/input" import { Label } from...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
119189dc089f5401
java
42
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...
47b96c759c6ca01d
typescript
54
Default Dark+
const { PrismaClient } = require('@prisma/client'); const cities = require('./data/cities.json'); const countries = require('./data/countries.json'); const states = require('./data/states.json'); const prisma = new PrismaClient(); async function main() { console.log('Seeding started...'); console.info('Seeding ...
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"...
4c70bf92e6d15fcd
typescript
95
Solarized Light
import { config } from "../config"; import { SearchResult } from "../../src/lib/entities"; import * as Sentry from "@sentry/node"; import { logger } from "../lib/logger"; import { executeWithRetry, attemptRequest } from "../lib/retry-utils"; const useFireEngine = config.FIRE_ENGINE_BETA_URL !== "" && config.FIRE_E...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
bd6869ab7c5c6525
csharp
39
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Runtime.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Represents a message type and source in the context of a kernel process. /// </summary> [DataContract] public class KernelProcessMessageSource { /// <summary> /// Initia...
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...
ca36e810c5932422
cpp
406
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...
237c01610a651e8a
java
174
GitHub Dark
package com.github.mikephil.charting.data; import android.graphics.drawable.Drawable; import android.os.Parcel; import android.os.ParcelFormatException; import android.os.Parcelable; import com.github.mikephil.charting.utils.Utils; /** * Class representing one entry in the chart. Might contain multiple values. * ...
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...
c50c8617a3620a89
go
32
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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...
b29c1c9fb7cc82f5
cpp
55
Solarized Light
#ifndef TREE_SITTER_ALLOC_H_ #define TREE_SITTER_ALLOC_H_ #ifdef __cplusplus extern "C" { #endif #include <stdbool.h> #include <stdio.h> #include <stdlib.h> // Allow clients to override allocation functions #ifdef TREE_SITTER_REUSE_ALLOCATOR extern void *(*ts_current_malloc)(size_t size); extern void *(*ts_current_...
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...
7a2e655f077c1f9c
cpp
142
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <chrono> #include <iterator> #include <spdlog/common.h> #include <spdlog/fmt/fmt.h> #include <type_traits> #ifdef SPDLOG_USE_STD_FORMAT #include <charconv> #...
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" ...
d4fcb28a05ed44f0
typescript
113
Solarized Light
import type { Root, Text } from "mdast"; import type { Node as UnistNode } from "unist"; import { visit } from "unist-util-visit"; import type { TagNode, TagNodeData } from "@/types/markdown"; const MAX_TAG_LENGTH = 100; function isTagChar(char: string): boolean { if (/\p{L}/u.test(char)) { return true; } ...
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...
b22fc876aab9b8c6
rust
139
Default Dark+
use heed::types::{Bytes, Str, Unit}; use heed::{Database, RoPrefix, RoTxn}; use roaring::RoaringBitmap; const FID_SIZE: usize = 2; const DOCID_SIZE: usize = 4; use crate::heed_codec::facet::{ FacetGroupKey, FacetGroupKeyCodec, FacetGroupValueCodec, FieldDocIdFacetCodec, }; use crate::heed_codec::BytesRefCodec; us...
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" ...
67e4e35b827cfab5
java
57
Default Light+
package com.thealgorithms.misc; import java.util.Random; /** * The Fisher-Yates (Knuth) Shuffle algorithm randomly permutes an array's * elements, ensuring each permutation is equally likely. * * <p> * Worst-case performance O(n) * Best-case performance O(n) * Average performance O(n) * Worst-case space compl...
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...
59f8f8b3f3c54a0a
cpp
66
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...
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"...
c728997f09bee37c
csharp
120
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" ...
dff89f83fa2ba49f
python
209
Default Light+
import base64 import random import string import struct from .common import InfoExtractor from ..compat import compat_ord from ..utils import ( ExtractorError, int_or_none, mimetype2ext, parse_codecs, parse_qs, update_url_query, urljoin, xpath_element, xpath_text, ) class VideaIE(...
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"...
de825b951c6601ff
csharp
225
Monokai
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace System.Yaml.Serialization { /// <summary> /// /// object に代入されたクラスや構造体のメンバーに、リフレクションを /// 解して簡単にアクセスできるようにしたクラス /// /// アクセス方法をキャッシュするので、繰り返し使用する場合に高速化が /// 期待できる...
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.", ...
48bda4c4b31d0d7a
cpp
92
One Dark Pro
/* * * Copyright (c) 2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. ...
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...
5d89050cf890cf6c
csharp
211
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Net.Http; using System.Runtime.CompilerServices; using System.Text; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions...
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" ...
66358b00d628cfbc
csharp
86
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKernel.Agents.Magentic; /// <summary> /// Common messages used for agent chat patterns. /// </summary> public static class MagenticMessages { /// <summary...
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...
5ecb2b15f1bc26b0
typescript
186
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useCallback } from 'react'; import * as process from 'node:process'; import * as path from 'node:path'; import { loadTrustedFolders, TrustLevel, isWorkspaceTrusted, } from '../../config/trustedFolders.js'; ...
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...
2bc22a9845ea9eb7
python
153
Default Light+
from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, int_or_none, str_or_none, strip_or_none, traverse_obj, unified_timestamp, ) class KakaoIE(InfoExtractor): _VALID_URL = r'https?://(?:play-)?tv\.kakao\.com/(?:channel/\d+|em...
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"...
158ddb5681da1061
csharp
82
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using System.ClientModel.Primitives; using Microsoft.SemanticKernel; using OpenAI; #pragma warning disable CA5399 // HttpClient is created without enabling CheckCertificateRevocationList namespace ChatCompletion; /// <summary> /// This exam...
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...
1f65fadece3442b9
csharp
23
Monokai
using System.Runtime.InteropServices; using winPEAS.Native.Enums; namespace winPEAS.Native.Structs { [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct TOKEN_PRIVILEGES { public uint PrivilegeCount; public LUID_AND_ATTRIBUTES Privileges; public TOKEN_PRIVILEGES(LUID lu...
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" ...
d04fc12dcffbf513
rust
327
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::fmt; use std::sync::{Arc, Mutex}; use kvm_bindings::{ KVM_CLOCK_TSC_STABLE, KVM_IRQCHIP_IOAPIC, KVM_IRQCHIP_PIC_MASTER, KVM_IRQCHIP_PIC_SLAVE, KVM_PIT_SPEAKER_DUMMY, MsrList, kvm_clock_da...
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"...
861aec19c0c32348
java
61
Default Light+
package com.thealgorithms.sorts; import java.util.Arrays; /** * A standard implementation of the Counting Sort algorithm for integer arrays. * This implementation has a time complexity of O(n + k), where n is the number * of elements in the input array and k is the range of the input. * It works only with integer...
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" ...
691fed0c2241c168
rust
420
One Dark Pro
// Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #![allow( clippy::cast_possible_truncation, clippy::cast_sign_loss, clippy::undocumented_unsafe_blocks, // Not everything is used by both binaries dead_code )] use std::collections::Ha...
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.", ...
009ec873ee891497
python
88
Solarized Light
from itertools import combinations def find_triplets_with_0_sum(nums: list[int]) -> list[list[int]]: """ Given a list of integers, return elements a, b, c such that a + b + c = 0. Args: nums: list of integers Returns: list of lists of integers where sum(each_list) == 0 Examples: ...
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" ...
d261550276841306
csharp
238
Monokai
using System; using System.IO; namespace winPEAS._3rdParty.BouncyCastle.asn1 { public class Asn1StreamParser { private readonly Stream _in; private readonly int _limit; private readonly byte[][] tmpBuffers; public Asn1StreamParser( Stream inStream) : this(inStream, Asn1InputStream.FindLimit(inStream...
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" ...
d719f380e28b6d5d
typescript
25
Solarized Light
// Valid registry name pattern: @namespace where namespace is alphanumeric with hyphens/underscores const REGISTRY_PATTERN = /^(@[a-zA-Z0-9](?:[a-zA-Z0-9-_]*[a-zA-Z0-9])?)\/(.+)$/ export function parseRegistryAndItemFromString(name: string) { if (!name.startsWith("@")) { return { registry: null, item...
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...
184c9d7bf148e4df
typescript
160
Solarized Dark
import { Box, Button, Typography } from '@mui/material' import { useLockFn } from 'ahooks' import type { Ref } from 'react' import { useImperativeHandle, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' import { BaseDialog, BaseEmpty, DialogRef } from '@/components/base' import { useClas...
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"...
a73872745007b270
typescript
261
Solarized Light
import "dotenv/config"; import { config } from "./config"; import "./services/sentry"; import { setSentryServiceTag } from "./services/sentry"; import * as Sentry from "@sentry/node"; import express, { NextFunction, Request, Response } from "express"; import bodyParser from "body-parser"; import cors from "cors"; impor...
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...
0ffea82624299b3f
typescript
34
Default Dark+
import type { UseInfiniteQueryResult } from 'react-query'; import { Button } from '~/ui'; export type PaginationLoadMoreButtonProps = { query: UseInfiniteQueryResult; }; export default function PaginationLoadMoreButton( props: PaginationLoadMoreButtonProps, ) { const { query: { data, hasNextPage, isFetching...
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...
7fc525451bf8cb79
typescript
140
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { HistoryItemStats, HistoryItemModelStats, HistoryItemToolStats, } from '../types.js'; import { MessageType } from '../types.js'; import { formatDuration } from '../utils/formatters.js'; import { UserAccountMana...
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.", ...
445ba8e8e08e000c
csharp
148
Monokai
using System; using System.Collections.Generic; using System.ComponentModel; namespace winPEAS.TaskScheduler { internal static class EnumUtil { public static void CheckIsEnum<T>(bool checkHasFlags = false) { if (!typeof(T).IsEnum) throw new ArgumentException($"Type ...
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...
854fcd1a83c62cc2
go
181
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
1a4a25d4e92750d2
csharp
49
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
92d445bff6cb60f6
java
300
Default Light+
package com.thealgorithms.datastructures.hashmap.hashing; /** * A generic HashMap implementation that uses separate chaining with linked lists * to handle collisions. The class supports basic operations such as insert, delete, * and search, as well as displaying the contents of the hash map. * * @param <K> the ty...
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...
99697cb620fa08e9
csharp
170
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Text; /// <summary> /// Provides a reader for Server-Sent Events (SSE) data. /// </summary> /// <remarks> //...
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"...
d6230a1b350931d7
typescript
64
Default Dark+
import assert from 'node:assert/strict' import test from 'node:test' import type { JsonObject } from 'type-fest' import { matchesWhere } from './matches-where.ts' await test('matchesWhere', async (t) => { const obj: JsonObject = { a: 10, b: 20, c: 'x', nested: { a: 10, b: 20 } } const cases: [JsonObject, boolean...
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...
42a53877858e8cbe
python
176
Default Light+
import re from .common import InfoExtractor from .vimeo import VimeoIE from ..utils import ( ExtractorError, int_or_none, merge_dicts, try_get, unescapeHTML, unified_timestamp, urljoin, ) class RayWenderlichIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// ...
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...
9ae8a02a71ca42e3
go
54
Default Light+
package tokenizer import ( "slices" "testing" "github.com/google/go-cmp/cmp" ) func TestWordPiece(t *testing.T) { wpm := NewWordPiece( &Vocabulary{ Values: []string{"[UNK]", "[CLS]", "[SEP]", "▁hello", "▁world", "s", "▁!", "▁@", "▁#"}, AddBOS: true, AddEOS: true, BOS: []int32{1}, EOS: []in...
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.", ...
dd003930f4b33a34
go
55
Solarized Light
package version import ( "fmt" "strings" "golang.org/x/mod/semver" ) // Version is the service current released version. // Semantic versioning: https://semver.org/ var Version = "0.27.0" func GetCurrentVersion() string { return Version } // GetMinorVersion extracts the minor version (e.g., "0.25") from a full...
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...
c695c1e4ca38c847
java
82
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
f85a09a65fee6e32
csharp
78
Default Light+
// Copyright (c) 2021 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...
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...
ba4df316c2169272
go
386
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...
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...
3ca77170507e6991
python
56
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from semantic_kernel.agents import BedrockAgent, BedrockAgentThread """ This sample shows how to interact with a Bedrock agent via streaming in the simplest way. This sample uses the following main component(s): - a Bedrock agent You will learn how to cr...
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...
801b849ef5890508
rust
65
GitHub Dark
use std::{env, io::Write, path::Path}; use {bstr::ByteVec, ignore::WalkBuilder, walkdir::WalkDir}; fn main() { let mut path = env::args().nth(1).unwrap(); let mut parallel = false; let mut simple = false; let (tx, rx) = crossbeam_channel::bounded::<DirEntry>(100); if path == "parallel" { p...
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"...
181f7957facd4e2a
javascript
220
Dracula
import Comparator from '../../utils/comparator/Comparator'; import HashTable from '../hash-table/HashTable'; export default class BinaryTreeNode { /** * @param {*} [value] - node value. */ constructor(value = null) { this.left = null; this.right = null; this.parent = null; this.value = value;...
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...
ab3e2081e10e9e77
cpp
78
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
319cce21ca36bb6d
java
59
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...