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
69429e09906e40bc
python
38
Dracula
import subprocess import time import httpx from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manu...
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"...
ee5130a025d9b6c3
python
38
Default Light+
from .common import InfoExtractor from ..utils import ( traverse_obj, unified_strdate, ) class MastersIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?masters\.com/en_US/watch/(?P<date>\d{4}-\d{2}-\d{2})/(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.masters.com/en_US/watch/2022-04-07/164937...
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...
52cac528d8b8132e
typescript
30
One Dark Pro
import { Field, ObjectType, registerEnumType } from '@nestjs/graphql'; import { AuthProvider } from 'src/auth/helper'; import { InfraConfigEnum } from 'src/types/InfraConfig'; import { ServiceStatus } from './helper'; @ObjectType() export class InfraConfig { @Field({ description: 'Infra Config Name', }) name...
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...
a2c276c76f6d93be
cpp
179
One Dark Pro
/********************************************************************** * File: topitch.h (Formerly to_pitch.h) * Description: Code to determine fixed pitchness and the pitch if fixed. * Author: Ray Smith * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (...
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...
714158970eeef047
java
50
Monokai
package com.termux.app.fragments.settings; import android.content.Context; import android.os.Bundle; import androidx.annotation.Keep; import androidx.preference.PreferenceDataStore; import androidx.preference.PreferenceFragmentCompat; import androidx.preference.PreferenceManager; import com.termux.R; import com.term...
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.", ...
295afd48e83d0a17
cpp
106
Dracula
/** * Copyright 2015-2024, XGBoost Contributors * \file logging.cc * \brief Implementation of loggers. * \author Tianqi Chen */ #include "xgboost/logging.h" #include <string> // for string #include "collective/communicator-inl.h" #if !defined(XGBOOST_STRICT_R_MODE) || XGBOOST_STRICT_R_MODE == 0 // Override log...
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...
368d0aacb4f046f2
python
243
Monokai
# Copyright (c) Microsoft. All rights reserved. from enum import Enum from typing import TYPE_CHECKING if TYPE_CHECKING: from semantic_kernel.connectors.ai.prompt_execution_settings import PromptExecutionSettings from semantic_kernel.connectors.ai.text_completion_client_base import TextCompletionClientBase ...
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...
d592dc1a881b5255
cpp
63
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: mutableiterator.h // Description: Iterator for tesseract results providing access to // both high-level API and Tesseract internal data structures. // Author: David Eger // // (C) Copyright 2011, Google Inc. // Lic...
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...
3d107c03def4e6d7
csharp
125
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...
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...
c1f50c9c62a83e43
java
50
Monokai
package com.termux.shared.settings.preferences; import android.content.Context; import android.content.SharedPreferences; import androidx.annotation.NonNull; import androidx.annotation.Nullable; /** A class that holds {@link SharedPreferences} objects for apps. */ public class AppSharedPreferences { /** The {@l...
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" ...
4e6bae435ee3ccd8
csharp
58
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
425269a04e161ac7
csharp
83
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...
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...
65d5240cd0c52a16
typescript
263
Solarized Light
"use client" import * as React from "react" import { buildRegistryTheme, DEFAULT_CONFIG, type DesignSystemConfig, } from "@/registry/config" import { useIframeMessageListener } from "@/app/(create)/hooks/use-iframe-sync" import { FONTS } from "@/app/(create)/lib/fonts" import { useDesignSystemSearchParams, ...
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" ...
01ce49587903fd58
typescript
124
Solarized Light
import { timestampDate } from "@bufbuild/protobuf/wkt"; import L, { DivIcon } from "leaflet"; import "leaflet.markercluster/dist/MarkerCluster.Default.css"; import "leaflet.markercluster/dist/MarkerCluster.css"; import { ArrowUpRightIcon, MapPinIcon } from "lucide-react"; import { useEffect, useMemo } from "react"; imp...
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...
dd919f14caf006ef
go
93
Default Light+
package sample import ( "fmt" "math/rand" "testing" ) func BenchmarkWeightedSampler(b *testing.B) { sizes := []int{10, 100, 1000, 10000} for _, size := range sizes { b.Run(fmt.Sprintf("Size %d", size), func(b *testing.B) { logits := make([]float32, size) for i := range logits { logits[i] = float32(r...
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...
db144b6a08795134
java
345
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...
fcffb93970500696
csharp
152
Dracula
namespace ServiceLib.ViewModels; public class ClashConnectionsViewModel : MyReactiveObject { public IObservableCollection<ClashConnectionModel> ConnectionItems { get; } = new ObservableCollectionExtended<ClashConnectionModel>(); [Reactive] public ClashConnectionModel SelectedSource { get; set; } publ...
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...
89d2cc6349be7281
go
455
Default Light+
package baidu_netdisk import ( "context" "crypto/md5" "encoding/hex" "errors" "fmt" "io" "net/url" "os" stdpath "path" "strconv" "strings" "sync" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.c...
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"...
1f0fc9ce78131d74
csharp
161
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using Azure.AI.Inference; using Azure.Core; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKe...
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.", ...
5e403e6ac269dcae
typescript
42
One Dark Pro
import { HoppModule } from "." import { Container, ServiceClassInstance } from "dioc" import { diocPlugin } from "dioc/vue" import { DebugService } from "~/services/debug.service" import { platform } from "~/platform" const serviceContainer = new Container() if (import.meta.env.DEV) { serviceContainer.bind(DebugSer...
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" ...
ed262e47212666ab
java
114
Default Light+
package com.thealgorithms.randomized; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Random; /** * Randomized Closest Pair of Points Algorithm * * Use Case: * - Efficiently finds the closest pair of points in ...
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...
da0cbf3213f29947
javascript
30
Dracula
import js from '@eslint/js' import globals from 'globals' import reactHooks from 'eslint-plugin-react-hooks' import reactRefresh from 'eslint-plugin-react-refresh' import { defineConfig, globalIgnores } from 'eslint/config' export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{js,jsx}'], ...
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...
f2c284eacc866598
java
82
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" ...
8e96f1893abdec52
typescript
20
Solarized Light
import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { Input as InputPrimitive } from "@base-ui/react/input" function Input({ className, type, ...props }: React.ComponentProps<"input">) { return ( <InputPrimitive type={type} data-slot="input" className={cn( ...
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.", ...
41ab3ff510d4157f
csharp
301
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using System.Text.Json.Nodes; using System.Web; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Plugins.MsGraph.Connectors.CredentialManagers; using Microsoft.SemanticKernel.Plugins.OpenApi; using Microsoft.SemanticKernel.Plugins....
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...
3e66a8e9c9268bbb
python
52
Solarized Light
""" This is a pure Python implementation of the P-Series algorithm https://en.wikipedia.org/wiki/Harmonic_series_(mathematics)#P-series For doctests run following command: python -m doctest -v p_series.py or python3 -m doctest -v p_series.py For manual testing run: python3 p_series.py """ from __future__ import annota...
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"...
acf9fe8afd10b8e5
csharp
58
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 ...
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...
0df44a757d631a64
typescript
68
Solarized Light
"use client" import * as React from "react" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/examples/radix/ui/input-group" import { Label } from "@/examples/radix/ui/label" import { Popover, PopoverContent, PopoverTrigger, } from "@/examples/radix/ui/popover" import { 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"...
e63d7236161fb585
python
37
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from semantic_kernel import Kernel from semantic_kernel.functions.kernel_arguments import KernelArguments async def main(): """OpenAPI Sample Client""" kernel = Kernel() spec_path = os.path.join( os.path.dirname(os.path.di...
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...
e9f5ac1a56a67782
typescript
254
Solarized Light
"use client" import * as React from "react" import { NavMain } from "@/registry/bases/base/blocks/sidebar-16/components/nav-main" import { NavProjects } from "@/registry/bases/base/blocks/sidebar-16/components/nav-projects" import { NavSecondary } from "@/registry/bases/base/blocks/sidebar-16/components/nav-secondary...
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.", ...
9c3fb050f56dc60c
typescript
66
Solarized Light
"use client" import { MoreHorizontal, type LucideIcon } from "lucide-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { SidebarGroup, SidebarMenu, SidebarMenuButton, SidebarMenuItem, useSidebar, } from "...
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"...
a64da04ee75ca601
typescript
53
Solarized Light
"use client" import { ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, type ChartConfig, } from "@/examples/base/ui/chart" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "Feb...
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...
057378581dffe001
javascript
21
Dracula
import { resolve } from 'node:path' import legacy from '@vitejs/plugin-legacy' import { defineConfig } from 'vite' export default defineConfig({ plugins: [legacy()], build: { manifest: true, rollupOptions: { input: { 'style-only-entry': resolve( import.meta.dirname, 'style...
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" ...
e3f139a1aaf3a83c
python
115
Default Light+
import re from .common import InfoExtractor from ..utils import ( find_xpath_attr, int_or_none, parse_iso8601, xpath_text, xpath_with_ns, ) class XstreamIE(InfoExtractor): _VALID_URL = r'''(?x) (?: xstream:| https?://frontend...
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...
cda3c71028b75e9d
java
94
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
7a65ba75afa59fce
rust
138
Default Dark+
use lazy_static::lazy_static; use prometheus::{ opts, register_gauge, register_gauge_vec, register_histogram_vec, register_int_counter_vec, register_int_gauge, register_int_gauge_vec, Gauge, GaugeVec, HistogramVec, IntCounterVec, IntGauge, IntGaugeVec, }; lazy_static! { pub static ref MEILISEARCH_HTTP_...
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" ...
fe2b5ca6a47aad2e
typescript
111
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { LinuxSandboxManager } from './LinuxSandboxManager.js'; import type { SandboxRequest } from '../../services/sandboxManager.js'; describe('LinuxSandboxManager', () => { const...
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...
252ef7a37a5ff415
java
41
GitHub Dark
package org.jeecg.common.exception; import org.jeecg.common.constant.CommonConstant; /** * @Description: 业务提醒异常(用于操作业务提醒) * @date: 2024-04-26 * @author: scott */ public class JeecgBootBizTipException extends RuntimeException { private static final long serialVersionUID = 1L; /** * 返回给前端的错误code */ private ...
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.", ...
483c1d20903c9f6a
java
99
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...
4006d379d6d05d2e
csharp
28
Default Light+
using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly { internal static class NoExtensionMethods { internal static Func<T> AsFunc<T>(this T value) where T : class { return new Func<T>(value.Return); } private static T Return<T>(this T value) { return value; } internal static Func<...
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...
b9b33fec3c46c4f8
csharp
404
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
6da10fd79978e248
go
181
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package gin import ( "errors" "fmt" "html/template" "io" "log" "net/http" "os" "strings" "sync" "testing" "github.com/stretchr/testify/asser...
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...
f3df84a20311a97d
java
47
Solarized Dark
/** * The company Assistance for Critical Moments (ACM) is helping other companies to overcome the * current economical crisis. As experts in computing machinery, their job is to calculate the cost/benefit * balance of the other companies. They receive two numbers, indicating the total amount of benefits and * cost...
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...
bcea38aa0786ed19
rust
440
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use crate::cpu_config::x86_64::cpuid::common::{GetCpuidError, get_vendor_id_from_host}; use crate::cpu_config::x86_64::cpuid::normalize::{ CheckedAssignError, get_range, set_bit, set_range, }; use crat...
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...
1cead82952f2ab1c
csharp
273
Monokai
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; using System.Xml.Linq; using ScreenToGif.Controls; using ScreenToGif.Domain.Enums; using ScreenToGif.Native.Helpers; using ScreenToGif.Util; using ScreenToGif.Util.Settings; using Screen...
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...
612ca60cb1aca442
csharp
77
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.OpenAI; using Microsoft.SemanticKernel.ChatCompletion; using SemanticKernel.Agents.UnitTests.Test; 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...
cbdbc7033af197d5
python
121
Default Light+
import json from contextlib import closing import modules.scripts from modules import processing, infotext_utils from modules.infotext_utils import create_override_settings_dict, parse_generation_parameters from modules.shared import opts import modules.shared as shared from modules.ui import plaintext_to_html from PI...
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...
7e47f7bd84a6cbe3
cpp
26
One Dark Pro
#pragma once #include <loaders/loader.hpp> #include <wolv/io/fs.hpp> #include <functional> namespace hex::script::loader { class DotNetLoader : public ScriptLoader { public: DotNetLoader() : ScriptLoader(".NET") {} ~DotNetLoader() override = default; bool initialize() override; ...
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...
c13ffa47f584df4d
java
33
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.", ...
97f57848980915d9
python
226
Monokai
import folder_paths import comfy.utils import comfy.model_management import torch from comfy.ldm.lightricks.vae.audio_vae import AudioVAE from comfy_api.latest import ComfyExtension, io class LTXVAudioVAELoader(io.ComfyNode): @classmethod def define_schema(cls) -> io.Schema: return io.Schema( ...
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...
41fd40aa5e4a4db2
typescript
143
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { renderHookActionFeedback } from './hookUtils.js'; import type { HookActionResult } from './hookSettings.js'; import { SettingScope } from '../config/settings.js'; describe('h...
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...
69b19e979d3b0318
typescript
242
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { renderWithProviders } from '../../test-utils/render.js'; import { waitFor } from '../../test-utils/async.js'; import { BannedAccountDialog } from '....
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
7165e3f452850e54
csharp
37
Dracula
namespace ServiceLib.Enums; public enum EViewAction { CloseWindow, ShowYesNo, SaveFileDialog, AddBatchRoutingRulesYesNo, SetClipboardData, AddServerViaClipboard, ImportRulesFromClipboard, ProfilesFocus, ShareSub, ShareServer, ScanScreenTask, ScanImageTask, BrowseServ...
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...
ea2d632e61d28dd0
python
31
Default Light+
from modules import scripts_postprocessing, ui_components, deepbooru, shared import gradio as gr class ScriptPostprocessingCeption(scripts_postprocessing.ScriptPostprocessing): name = "Caption" order = 4040 def ui(self): with ui_components.InputAccordion(False, label="Caption") as enable: ...
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"...
376e2f508744b01f
typescript
23
One Dark Pro
export function estimateTokenLength(input: string): number { let tokenLength = 0; for (let i = 0; i < input.length; i++) { const charCode = input.charCodeAt(i); if (charCode < 128) { // ASCII character if (charCode <= 122 && charCode >= 65) { // a-Z tokenLength += 0.25; }...
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...
2d560453c0f407e6
cpp
87
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"...
1b5868fff1f9dae5
csharp
326
Default Light+
// Copyright (c) 2018 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publi...
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...
e71bd1f9dbb8ed1b
csharp
43
Monokai
using winPEAS._3rdParty.BouncyCastle.util; namespace winPEAS._3rdParty.BouncyCastle.crypto.digests { public class Gost3411_2012_512Digest:Gost3411_2012Digest { private readonly static byte[] IV = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x...
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.", ...
cf2223308c0d7d2d
go
171
Default Light+
package cache import "github.com/ollama/ollama/x/imagegen/mlx" type Cache interface { Update(k, v *mlx.Array, seqLen int) (*mlx.Array, *mlx.Array) Offset() int Len() int State() []*mlx.Array Reset() } type KVCache struct { keys, values *mlx.Array offset int step int } func NewKVCache() *KVCach...
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"...
6d59b1f482068534
csharp
237
Default Light+
// Copyright (c) 2024 Tom Englert for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, m...
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...
3d33e890782cf298
rust
34
Default Dark+
pub use document::DocumentIdentifiers; pub use document_change::{DocumentChange, Insertion, Update}; pub use indexer::ChannelCongestion; pub use merger::{ merge_and_send_docids, merge_and_send_facet_docids, FacetDatabases, FacetFieldIdsDelta, }; use super::del_add::DelAdd; use crate::FieldId; mod channel; pub mod...
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...
6527acfaa6818ae3
typescript
20
One Dark Pro
import * as TO from "fp-ts/TaskOption" export const readFileAsText = (file: File) => TO.tryCatch( () => new Promise<string>((resolve, reject) => { const reader = new FileReader() reader.onload = () => { resolve(reader.result as string) } reader.onerror = () => { ...
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.", ...
96c375536673bf1e
typescript
190
One Dark Pro
import { ConsoleEntry } from "faraday-cage/modules" import * as E from "fp-ts/Either" import { cloneDeep } from "lodash" import { HoppFetchHook, RunPreRequestScriptOptions, SandboxPreRequestResult, TestResult, } from "~/types" import { defaultModules, preRequestModule } from "~/cage-modules" import { acquireCa...
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.", ...
f2986352d5a1da29
python
48
Solarized Light
""" This is a pure Python implementation of the bogosort algorithm, also known as permutation sort, stupid sort, slowsort, shotgun sort, or monkey sort. Bogosort generates random permutations until it guesses the correct one. More info on: https://en.wikipedia.org/wiki/Bogosort For doctests run following command: pyt...
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...
d212e6ddeb305946
rust
90
GitHub Dark
pub trait Hasher<const DIGEST_BYTES: usize> { /// return a new instance with default parameters fn new_default() -> Self; /// Add new data fn update(&mut self, data: &[u8]); /// Returns the hash of current data. If it is necessary does finalization /// work on the instance, thus it may no long...
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" ...
1f1e4d369980546c
java
63
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.", ...
c91189abcf219251
java
34
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...
3ddedef99711d736
cpp
119
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "GraphingInterfaces/IGraphRenderer.h" #include "GraphingInterfaces/GraphingEnums.h" #include "Mocks/Bitmap.h" #include "Mocks/GraphingOptions.h" #include <winbase.h> namespace MockGraphingImpl { ...
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...
d6f276cf2c00be91
cpp
388
One Dark Pro
/********************************************************************** * File: params.h * Description: Class definitions of the *_VAR classes for tunable constants. * Author: Ray Smith * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** ...
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"...
7fef6172479e4866
cpp
28
One Dark Pro
#pragma once // clang-format off #include <cstdint> #include <cstddef> #include <ggml-backend.h> #include "backend-convert.h" #include "backend-virgl-apir.h" #include "shared/apir_backend.h" #include "shared/apir_cs.h" #include "shared/apir_cs_ggml.h" // clang-format on #define GGML_VIRTGPU_BCK "ggml-virtgpu-backen...
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"...
416de179b35c9580
typescript
56
Default Dark+
import type { Country } from '@prisma/client'; import { trpc } from '../trpc'; function stringPositionComparator(a: string, b: string, query: string): number { const normalizedQueryString = query.trim().toLocaleLowerCase(); const positionA = a.toLocaleLowerCase().indexOf(normalizedQueryString); const positionB ...
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...
b7f9cee0a0a625ae
cpp
278
Default Light+
#pragma once #define HIP_DISABLE_WARP_SYNC_BUILTINS 1 #include <hip/hip_runtime.h> #include <hipblas/hipblas.h> #include <hip/hip_fp16.h> #include <hip/hip_bf16.h> // for rocblas_initialize() #include "rocblas/rocblas.h" #if defined(GGML_HIP_ROCWMMA_FATTN) #include <rocwmma/rocwmma-version.hpp> #endif // defined(GGML...
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" ...
95b87d82f1b0ba90
cpp
164
Solarized Light
#include "TraceXrefBrowseDialog.h" #include "ui_TraceXrefBrowseDialog.h" #include "TraceFileReader.h" #include "TraceFileDump.h" #include "StringUtil.h" #include "MiscUtil.h" #include "MenuBuilder.h" TraceXrefBrowseDialog::TraceXrefBrowseDialog(QWidget* parent) : QDialog(parent), ui(new Ui::TraceXrefBrowseDial...
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...
fa4c0e7c438254a1
python
156
Monokai
from . import hunyuan_video from . import sd3_clip from comfy import sd1_clip from comfy import sdxl_clip import comfy.model_management import torch import logging class HiDreamTokenizer: def __init__(self, embedding_directory=None, tokenizer_data={}): self.clip_l = sd1_clip.SDTokenizer(embedding_director...
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" ...
8671a89717ba8260
cpp
64
One Dark Pro
#ifndef HTP_OPS_H #define HTP_OPS_H #include "htp-ctx.h" #include "htp-msg.h" #include "worker-pool.h" #include <assert.h> #include <stdint.h> #include <hex-fastdiv.h> // ggml-common.h must be included prior to this header struct htp_spad { uint8_t * data; size_t stride; size_t size; size_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.", ...
f6918393bea47216
java
49
Default Dark+
package org.schabi.newpipe.local.holder; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.recyclerview.widget.RecyclerView; import org.schabi.newpipe.database.LocalItem; import org.schabi.newpipe.local.LocalItemBuilder; import org.schabi.newpipe.local.history.HistoryRecordManager; ...
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" ...
eeda12578a6d23f0
python
20
Dracula
from typing import Any import orjson from fastapi import FastAPI, Response app = FastAPI() class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option...
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"...
bc177c346fa6d1e8
java
54
Default Light+
package com.thealgorithms.searches; /** * Program to perform Saddleback Search Given a sorted 2D array(elements are * sorted across every row and column, assuming ascending order) of size n*m we * can search a given element in O(n+m) * * <p> * we start from bottom left corner if the current element is greater th...
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...
1c941dd34999fac3
cpp
23
Solarized Dark
#ifndef OPENPOSE_CORE_COMMON_HPP #define OPENPOSE_CORE_COMMON_HPP // Std library most used classes #include <array> #include <memory> // std::shared_ptr, std::unique_ptr #include <string> #include <vector> // OpenPose most used classes #include <openpose/core/array.hpp> #include <openpose/core/arrayCpuGpu.hpp> #includ...
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"...
3d3a51f0c4d91603
csharp
132
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Plugins.Manifest; using Microsoft.SemanticKernel.Agents; using M...
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"...
23fb531a25d50cd5
java
25
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
e51cde3051b6c4da
csharp
220
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.Onnx; namespace ChatCompletion; /// <summary> /// These examples demonstrate the ways different content types are streamed by O...
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" ...
f212bbe2ef7dbb8d
java
62
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
a96154d063040ce1
typescript
187
One Dark Pro
import { NextRequest, NextResponse } from "next/server"; import { getServerSideConfig } from "../config/server"; import { OPENAI_BASE_URL, ServiceProvider } from "../constant"; import { cloudflareAIGatewayUrl } from "../utils/cloudflare"; import { getModelProvider, isModelNotavailableInServer } from "../utils/model"; ...
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...
cb6eaf58eb0757ca
typescript
136
Solarized Light
"use client" import * as React from "react" import { Drawer as DrawerPrimitive } from "vaul" import { cn } from "@/lib/utils" function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) { return <DrawerPrimitive.Root data-slot="drawer" {...props} /> } function DrawerTrigger({ ...props }: ...
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...
c4237d60f2c86d22
python
73
Solarized Light
# source - The ARRL Handbook for Radio Communications # https://en.wikipedia.org/wiki/RC_time_constant """ Description ----------- When a capacitor is connected with a potential source (AC or DC). It starts to charge at a general speed but when a resistor is connected in the circuit with in series to a capacitor then...
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...
696fc587597baae6
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...
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...
105725871792336b
typescript
73
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { GeminiMessage } from './GeminiMessage.js'; import { StreamingState } from '../../types.js'; import { renderWithProviders } from '../../../test-utils/render.js'; describe('<GeminiMessage /> - Raw Markdown Display Snapshots...
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" ...
4da0620a8d6ad428
python
137
Default Light+
import hashlib from .common import InfoExtractor from ..utils import ( ExtractorError, traverse_obj, urlencode_postdata, ) class BrilliantpalaBaseIE(InfoExtractor): _NETRC_MACHINE = 'brilliantpala' _DOMAIN = '{subdomain}.brilliantpala.org' def _initialize_pre_login(self): self._HOMEP...
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"...
9b39ebcbf005c17f
go
189
Default Light+
package pcloud import ( "context" "fmt" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/go-resty/resty/v2" ) type PCloud struct { model.Storage Addition AccessToken string // Actual access token obtained fro...
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...
ce850f24be3118ed
typescript
172
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs/promises'; import path from 'node:path'; import { z } from 'zod'; import { type Config, formatCheckpointDisplayList, getToolCallDataSchema, getTruncatedCheckpointNames, performRestore, 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...
f839079365d46c96
python
113
Default Light+
import os import gradio as gr from modules import errors, shared from modules.paths_internal import script_path # https://huggingface.co/datasets/freddyaboulton/gradio-theme-subdomains/resolve/main/subdomains.json gradio_hf_hub_themes = [ "gradio/base", "gradio/glass", "gradio/monochrome", "gradio/s...
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.", ...
0e1ca324471bee25
typescript
133
Dracula
import { onMounted, onUnmounted, ref } from 'vue' import type { Sponsor, SponsorTier, } from '@voidzero-dev/vitepress-theme/src/types/sponsors' import voidZeroSvg from './images/voidzero.svg' import boltSvg from './images/bolt.svg' import nuxtLabsSvg from './images/nuxtlabs.svg' interface Sponsors { special: Spo...
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"...
0520aef7276c4c19
typescript
21
Solarized Light
import type { Request, Response } from "express"; import { getIndexInsertQueueLength, getOMCEQueueLength, } from "../../../services"; import { getWebhookInsertQueueLength } from "../../../services/webhook"; export async function indexQueuePrometheus(req: Request, res: Response) { const queueLength = await getInd...
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...
cb48ae08c4de180e
typescript
242
Solarized Light
"use client" import * as React from "react" import useEmblaCarousel, { type UseEmblaCarouselType, } from "embla-carousel-react" import { ArrowLeft, ArrowRight } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" type CarouselApi = UseEmblaCarouselType[1] ...
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...
b1c0a423f9ec4df8
csharp
175
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections; using System.Collections.Generic; #if NET using System.Globalization; #endif using System.Linq.Expressions; using System.Text; using Microsoft.Extensions.VectorData.ProviderServices; namespace Microsoft.SemanticKernel.Connectors...
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...
a605d46f1bb9e23e
go
30
Default Light+
package uss import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootPath Bucket string `json:"bucket" required:"true"` Endpoint string `json:"endpoint" required:"true"` OperatorName string `json:"oper...
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...
2d8b6f88e91e51ad
python
166
Solarized Light
from typing import Dict, Any, Union, List, TypeVar, Type from ...types import ( SearchRequest, SearchData, Document, SearchResultWeb, SearchResultNews, SearchResultImages, ) from ...utils.http_client_async import AsyncHttpClient from ...utils.error_handler import handle_response_error from ...ut...
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...
8e09d55c821520ba
csharp
150
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
df10f629578033d3
go
48
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...
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...