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
f37f87a81f140f3f
csharp
69
Monokai
namespace winPEAS._3rdParty.BouncyCastle.asn1 { public class BerSet : DerSet { public static new readonly BerSet Empty = new BerSet(); public static new BerSet FromVector(Asn1EncodableVector elementVector) { return elementVector.Count < 1 ? Empty : new BerSet(element...
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...
376c54da85ca9b3d
java
46
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...
8a1f5e10dbc16932
csharp
148
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...
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.", ...
13988c13cf629d97
go
59
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
a3d5aae2d190f09d
cpp
158
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: detlinefit.h // Description: Deterministic least upper-quartile squares line fitting. // Author: Ray Smith // // (C) Copyright 2008, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not ...
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" ...
80218d8e971f1834
java
121
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
345c380140aae421
java
46
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
708bf8c5a6dc3f5a
csharp
48
Default Light+
using NimblePros.SampleToDo.Core.ProjectAggregate; using NimblePros.SampleToDo.UseCases.Projects.MarkToDoItemComplete; namespace NimblePros.SampleToDo.Web.ProjectEndpoints; /// <summary> /// Mark an item as complete /// </summary> public class MarkItemComplete(IMediator mediator) : Endpoint<MarkItemCompleteRequest> ...
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"...
5e5ed467efdc9302
csharp
44
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...
4e09257a10e8c834
typescript
104
Solarized Light
"use client" import { useThemeConfig } from "@/components/active-theme" import { Label } from "@/registry/new-york-v4/ui/label" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "@/registry/new-york-v4/ui/select" const DEFAULT_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...
eb4f9e37ed72612e
csharp
178
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...
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.", ...
ea385456385ed35d
javascript
59
Default Dark+
const NotificationProvider = require("./notification-provider"); const { DOWN, UP } = require("../../src/util"); const { default: axios } = require("axios"); class YZJ extends NotificationProvider { name = "YZJ"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSO...
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...
5873bcc094c4d123
typescript
223
Default Light+
export type StylesPanelMode = "compact" | "full" | "mobile"; export type EditorInterface = Readonly<{ formFactor: "phone" | "tablet" | "desktop"; desktopUIMode: "compact" | "full"; userAgent: Readonly<{ isMobileDevice: boolean; platform: "ios" | "android" | "other" | "unknown"; }>; isTouchScreen: boo...
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...
abe52d4621756e62
typescript
24
One Dark Pro
import { V15_SCHEMA } from "./15" import { z } from "zod" import { defineVersion } from "verzod" import { generateUniqueRefId } from "../../utils/collection" export const V16_SCHEMA = V15_SCHEMA.extend({ v: z.literal("16"), _ref_id: z.string().optional(), }) const V16_VERSION = defineVersion({ schema: V16_SCHEM...
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...
819a0bbe56520dac
typescript
20
Dracula
import { ref } from 'vue' export function useCounter() { const count = ref(0) function increment() { count.value++ } function decrement() { count.value-- } return { count, increment, decrement, } }
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...
f2936ee4dc7d1af8
cpp
88
One Dark Pro
#if defined(OS_LINUX) #include <fcntl.h> #include <sys/file.h> #include <unistd.h> #include <hex/helpers/logger.hpp> #include <hex/api/events/events_lifecycle.hpp> #include "messaging.hpp" #include <jthread.hpp> namespace hex::messaging { constexpr static auto CommunicationPipePath = "/tmp/imhex.fifo"; con...
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...
579c13a7428bbc85
python
42
Solarized Light
""" Mish Activation Function Use Case: Improved version of the ReLU activation function used in Computer Vision. For more detailed information, you can refer to the following link: https://en.wikipedia.org/wiki/Rectifier_(neural_networks)#Mish """ import numpy as np from .softplus import softplus def mish(vector: ...
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" ...
35848a221937e3f5
cpp
235
Dracula
/** * Copyright 2014-2024, XGBoost Contributors * \file socket.h * \author Tianqi Chen */ #pragma once #include <xgboost/collective/result.h> #include <xgboost/collective/socket.h> #if defined(_WIN32) #include <xgboost/windefs.h> // Socket API #include <winsock2.h> #include <ws2tcpip.h> #else #include <arpa/inet...
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"...
adcae51c68ad9b19
java
51
Default Light+
package com.thealgorithms.maths; /** * A utility class for computing the average of numeric arrays. * This class provides static methods to calculate the average of arrays * of both {@code double} and {@code int} values. */ public final class Average { // Prevent instantiation of this utility class privat...
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.", ...
cb52bbf7383e70b0
csharp
28
Monokai
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Input; namespace ScreenToGif.Util.Converters; public class CommandToInputGestureText : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var command =...
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...
7dc24266827bb9b8
python
91
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel.agents import AgentGroupChat, ChatCompletionAgent from semantic_kernel.connectors.ai.open_ai import AzureChatCompletion from semantic_kernel.contents import ChatHistorySummarizationReduce...
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...
191aefc47ed63c60
python
214
Solarized Light
import os import json import time import requests from dotenv import load_dotenv from serpapi.google_search import GoogleSearch from google import genai # ANSI color codes class Colors: CYAN = '\033[96m' YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' MAGENTA = '\033[95m' BLUE = '\033[9...
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...
93afdd6ca4efe8d3
python
43
Default Light+
from .common import InfoExtractor from ..utils import int_or_none, str_or_none, url_or_none from ..utils.traversal import traverse_obj class AlibabaIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?alibaba\.com/product-detail/[\w-]+_(?P<id>\d+)\.html' _TESTS = [{ 'url': 'https://www.alibaba.com/pro...
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...
543ce5f3214dd830
go
355
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...
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.", ...
65404c17230e1e71
java
37
Default Dark+
package org.schabi.newpipe.settings.preferencesearch; import android.text.TextUtils; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; public class PreferenceSearcher { private final List<PreferenceSearchItem> allEntries = new ArrayList<>(); ...
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...
93015994d2bae92b
rust
96
Default Dark+
use milli::progress::ProgressView; use serde::Serialize; use time::{Duration, OffsetDateTime}; use utoipa::ToSchema; use crate::batches::{Batch, BatchId, BatchStats, EmbedderStatsView}; use crate::task_view::DetailsView; use crate::tasks::serialize_duration; /// Represents a batch of tasks that were processed togethe...
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"...
61e5ea18a1411c8c
csharp
21
Default Light+
using Vogen; [assembly: VogenDefaults( staticAbstractsGeneration: StaticAbstractsGeneration.MostCommon | StaticAbstractsGeneration.InstanceMethodsAndProperties)] namespace NimblePros.SampleToDo.Core.ProjectAggregate; // NOTE: Structs do not require conversion to work with EF Core [ValueObject<string>(conve...
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...
52a4a14d3fea6325
typescript
183
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { isHeadlessMode } from './headless.js'; import process from 'node:process'; describe('isHeadlessMode', () => { const originalStdoutIsTTY = process...
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" ...
05a80698efb789b6
typescript
44
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Field, FieldGroup, FieldLabel } from "@/examples/radix/ui/field" import { Input } from "@/examples/radix/ui/input" import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "@/examples/radix/ui/popov...
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...
979b56706758b25b
rust
162
One Dark Pro
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // Copyright 2023 Rivos, Inc. // // SPDX-License-Identifier: Apache-2.0 use vm_memory::{Bytes, GuestAddress, GuestMemory}; use zerocopy::little_endian::{U16, U32, U64}; use zerocopy::{Immutable, IntoBytes}; use crate::{GenericAddressStructure,...
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...
78f1b9f1d1c2cf40
javascript
35
Dracula
import binarySearch from '../binarySearch'; describe('binarySearch', () => { it('should search number in sorted array', () => { expect(binarySearch([], 1)).toBe(-1); expect(binarySearch([1], 1)).toBe(0); expect(binarySearch([1, 2], 1)).toBe(0); expect(binarySearch([1, 2], 2)).toBe(1); expect(bina...
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...
05369dce93b29f48
java
77
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
4540509434c687da
typescript
92
Solarized Dark
import { ChevronRightRounded } from '@mui/icons-material' import { Box, List, ListItem, ListItemButton, ListItemText, ListSubheader, } from '@mui/material' import CircularProgress from '@mui/material/CircularProgress' import React, { ReactNode, useState } from 'react' import isAsyncFunction from '@/utils/i...
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...
6cdb962f446753c2
typescript
80
Solarized Light
import { Button } from "@/examples/base/ui/button" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/examples/base/ui/field" import { Input } from "@/examples/base/ui/input" import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "@/examples/base...
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...
849e058c229b055b
python
73
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from semantic_kernel.agents import BedrockAgent, BedrockAgentThread from semantic_kernel.functions.kernel_function_decorator import kernel_function from semantic_kernel.kernel import Kernel """ This sample shows how to intera...
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" ...
9286d7f544db4015
go
240
Solarized Light
package store import ( "context" "github.com/pkg/errors" "google.golang.org/protobuf/encoding/protojson" storepb "github.com/usememos/memos/proto/gen/store" ) type InstanceSetting struct { Name string Value string Description string } type FindInstanceSetting struct { Name string } type Delet...
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...
de385160b09a6b58
typescript
110
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useEffect } from 'react'; import { getLuminance, parseColor, shouldSwitchTheme, } from '../themes/color-utils.js'; import { themeManager, DEFAULT_THEME } from '../themes/theme-manager.js'; import { DefaultLight } 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...
a971e37292ad726e
java
115
Solarized Dark
// Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). // If two nodes are in the same row and column, the order should be from left to right. // Examples: // Given binary tree [3,9,20,null,null,15,7], // 3 // /\ // / \ // 9 20 // /\...
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...
76b49ff4b558d501
typescript
137
Solarized Light
"use client" import * as React from "react" import { Minus, Plus } from "lucide-react" import { Bar, BarChart, ResponsiveContainer } from "recharts" import { Button } from "@/registry/new-york-v4/ui/button" import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, Drawe...
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" ...
c14f55588b1cf486
go
344
Solarized Light
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. // source: api/v1/auth_service.proto /* Package apiv1 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ package apiv1 import ( "context" "errors" "io" "net/http" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecos...
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...
b562492c627cb128
csharp
30
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...
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"...
b258d221c7afe759
typescript
441
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; import * as vscode from 'vscode'; import { OpenFilesManager, MAX_FILES } from './open-files-manager.js'; vi.mock('vscode', () => ({ EventEmitter: vi.fn(()...
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...
0517d67770ca68b1
typescript
105
Solarized Light
import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/base/lib/utils" function Empty({ className, ...props }: React.ComponentProps<"div">) { return ( <div data-slot="empty" className={cn( "cn-empty flex w-full min-w-0 flex-1 flex-col items-cen...
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...
2bf4c5d823a9fcab
typescript
195
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react" import { Select as SelectPrimitive } from "radix-ui" function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) { return <Selec...
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...
57fab110918ea335
python
27
Monokai
# Copyright (c) Microsoft. All rights reserved. from aiohttp import web """OpenAPI Sample Server""" routes = web.RouteTableDef() @routes.post("/{name}") async def hello(request): # Get path parameters name = request.match_info.get("name", "") # Get query parameters q = request.rel_url.query.get("q",...
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.", ...
d6430c0d76b385e1
java
131
GitHub Dark
package org.jeecg.modules.system.util; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.util.RedisUtil; import org.jeecg.common.util.oConvertUtils; import org.jeecg.modules.system.entity.SysDepart; import org.jeecg.modules.system.model.DepartIdModel; import org.jeecg.modules.system.model.SysDep...
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...
bfb8a6376ea4a157
python
69
Solarized Light
""" Factorial of a positive integer -- https://en.wikipedia.org/wiki/Factorial """ def factorial(number: int) -> int: """ Calculate the factorial of specified number (n!). >>> import math >>> all(factorial(i) == math.factorial(i) for i in range(20)) True >>> factorial(0.1) Traceback (most...
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.", ...
10e3fd0396c816f2
java
136
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
ef6736a48d96ea7f
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Data; /// <summary> /// Represents a request to the <see cref="TextSearchStoreOptions.SourceRetrievalCallback"/>. /// </summary> [Experimental("SKEXP0130")] public sealed class TextSearchStoreS...
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...
98c09ef00e0b0953
python
43
Monokai
from comfy import sd1_clip import comfy.text_encoders.t5 import os from transformers import T5TokenizerFast class T5XXLModel(sd1_clip.SDClipModel): def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, attention_mask=True, model_options={}): textmodel_json_config = os.path.join(os.pat...
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...
d1c7dce44e46bb1c
typescript
48
Solarized Light
import { decodePreset, isPresetCode } from "shadcn/preset" import { designSystemConfigSchema, type DesignSystemConfig, } from "@/registry/config" // Parses design system config from URL search params. export function parseDesignSystemConfig(searchParams: URLSearchParams) { let configInput: Record<string, unknow...
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"...
a704b45d6bd6512d
csharp
197
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.OpenAI; using OpenAI; using OpenAI.Ass...
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...
c555755b063536c2
java
63
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"...
4049e3f8954c51a3
csharp
72
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...
3f850658c6a0c56e
csharp
37
Default Light+
using NimblePros.SampleToDo.Core.ContributorAggregate; using NimblePros.SampleToDo.Core.ProjectAggregate; namespace NimblePros.SampleToDo.Infrastructure.Data.Config; public class ToDoItemConfiguration : IEntityTypeConfiguration<ToDoItem> { public void Configure(EntityTypeBuilder<ToDoItem> builder) { builder....
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...
aa697e92d65dc6dc
java
331
Default Light+
package com.thealgorithms.datastructures.lists; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Random; import java.util.stream.Collectors; import java.util.stream.IntStream; /** * Skip list is a data structure that ...
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.", ...
e3287c7d888166e6
typescript
239
Default Light+
import { useEffect, useRef } from "react"; import { createPortal } from "react-dom"; import { EVENT, KEYS, rgbToHex } from "@excalidraw/common"; import type { ExcalidrawElement } from "@excalidraw/element/types"; import { useUIAppState } from "../context/ui-appState"; import { atom } from "../editor-jotai"; import {...
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...
5b74d5dde263c97b
cpp
316
Solarized Light
/* * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org> * * Jansson is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #ifndef JANSSON_H #define JANSSON_H #include <stdio.h> #include <stdlib.h> /* for size_t */ #include <stdarg.h> ...
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.", ...
6a80985fe959ae38
typescript
20
Solarized Light
import { Tabs, TabsList, TabsTrigger } from "@/examples/radix/ui/tabs" import { AppWindowIcon, CodeIcon } from "lucide-react" export function TabsIcons() { return ( <Tabs defaultValue="preview"> <TabsList> <TabsTrigger value="preview"> <AppWindowIcon /> Preview </TabsTri...
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.", ...
b15cb2c2d2ec3e6b
python
49
Solarized Light
""" Project Euler Problem 190: https://projecteuler.net/problem=190 Maximising a Weighted Product Let S_m = (x_1, x_2, ..., x_m) be the m-tuple of positive real numbers with x_1 + x_2 + ... + x_m = m for which P_m = x_1 * x_2^2 * ... * x_m^m is maximised. For example, it can be verified that |_ P_10 _| = 4112 (|_ _|...
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...
e5df1ef596c74027
typescript
63
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { join } from 'node:path'; import { TestRig } from './test-helper.js'; describe('stdout-stderr-output', () => { 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...
6e97a55dbc3a9568
java
58
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...
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...
190767b0487418f5
go
65
Default Light+
package bufioutil import ( "bytes" "io" "strings" "testing" ) func TestBufferedSeeker(t *testing.T) { const alphabet = "abcdefghijklmnopqrstuvwxyz" bs := NewBufferedSeeker(strings.NewReader(alphabet), 0) // minReadBufferSize = 16 checkRead := func(buf []byte, expected string) { t.Helper() _, err := bs.Re...
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" ...
62a250452ee8a11c
rust
271
GitHub Dark
use std::collections::hash_map::{DefaultHasher, RandomState}; use std::hash::{BuildHasher, Hash, Hasher}; /// A Bloom Filter <https://en.wikipedia.org/wiki/Bloom_filter> is a probabilistic data structure testing whether an element belongs to a set or not /// Therefore, its contract looks very close to the one of a set...
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...
58daf3552e88d987
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.IO; using System.Text.Json.Nodes; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.IntegrationTests.CrossLanguage; public class PromptWithHelperFunctionsTest { private const string SkPr...
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...
a15891d880ffd910
typescript
45
Solarized Light
import { Item, ItemContent, ItemDescription, ItemMedia, ItemTitle, } from "@/examples/radix/ui/item" import { InboxIcon } from "lucide-react" export function ItemSizeDemo() { return ( <div className="flex w-full max-w-md flex-col gap-6"> <Item variant="outline"> <ItemMedia variant="icon">...
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...
df439c59a594dae6
csharp
182
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.Ollama...
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...
96a1a52ec9b472a9
typescript
59
Solarized Light
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; import useCurrentUser from "@/hooks/useCurrentUser"; import { cn } from "@/lib/utils"; import { State } from "@/types/proto/api/v1/common_pb"; import type { Memo } from "@/types/proto/api/v1/memo_service_pb"; import type...
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" ...
5ac245584d2d52a6
typescript
28
One Dark Pro
declare global { interface Array<T> { at(index: number): T | undefined; } } if (!Array.prototype.at) { Array.prototype.at = function (index: number) { // Get the length of the array const length = this.length; // Convert negative index to a positive index if (index < 0) { index = lengt...
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...
5f079a583a11eaf6
java
33
Dracula
package com.macro.mall.portal.domain; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.util.Date; /** * 会员商品收藏 * Created by macro on 2018/...
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...
20a2352f02393a22
typescript
138
GitHub Dark
import { field, logger } from "@coder/logger" import * as http from "http" import * as https from "https" import { ProxyAgent } from "proxy-agent" import * as semver from "semver" import * as url from "url" import { httpProxyUri, version } from "./constants" import { SettingsProvider, UpdateSettings } from "./settings"...
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...
0b90cad2471cd83b
typescript
93
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { HybridTokenStorage } from '../mcp/token-storage/hybrid-token-storage.js'; import type { OAuthCredentials } from '../mcp/token-storage/types.js'; import { debugLogger } from '../utils/debugLogger.js'; import { createCache }...
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...
98393ce40be978f9
python
41
Solarized Light
""" Python implementation of a sort algorithm. Best Case Scenario : O(n) Worst Case Scenario : O(n^2) because native Python functions:min, max and remove are already O(n) """ def merge_sort(collection): """Pure implementation of the fastest merge sort algorithm in Python :param collection: some mutable order...
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...
072a35b9fd5198f3
csharp
35
Default Light+
using Microsoft.Extensions.Logging; using NimblePros.SampleToDo.Core.ContributorAggregate; using NimblePros.SampleToDo.Core.ContributorAggregate.Events; using NimblePros.SampleToDo.Core.Interfaces; namespace NimblePros.SampleToDo.Core.Services; public class DeleteContributorService : IDeleteContributorService { pr...
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...
b8e95027fd04dc28
csharp
26
Default Light+
using NimblePros.SampleToDo.UseCases.Projects; using NimblePros.SampleToDo.UseCases.Projects.ListIncompleteItems; namespace NimblePros.SampleToDo.Infrastructure.Data.Queries; public class ListIncompleteItemsQueryService : IListIncompleteItemsQueryService { private readonly AppDbContext _db; public ListIncomplet...
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.", ...
53ada959d4748287
cpp
251
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: equationdetect.h // Description: The equation detection class that inherits equationdetectbase. // Author: Zongyi (Joe) Liu (joeliu@google.com) // // (C) Copyright 2011, Google Inc. // Licensed under the Apache License, Version...
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...
4a4b229ff3503f91
csharp
87
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
5bd2c654f253335c
python
103
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from typing import Annotated from azure.identity import AzureCliCredential from semantic_kernel.agents import AgentRegistry, AzureAssistantAgent from semantic_kernel.functions import kernel_function """ The following sample demonstrates how to...
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.", ...
ae1c322197d34c4e
csharp
74
Default Light+
// Copyright (c) 2017 Siegfried Pammer // // 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, // publ...
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...
d17bfabca35a94d2
typescript
165
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { GenerateContentResponse, CountTokensResponse, EmbedContentResponse, GenerateContentParameters, CountTokensParameters, EmbedContentParameters, ContentEmbedding, } from '@google/genai'; import { appendFile...
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.", ...
61eb908b4cde5d7a
javascript
59
Dracula
import ComplexNumber from '../complex-number/ComplexNumber'; const CLOSE_TO_ZERO_THRESHOLD = 1e-10; /** * Inverse Discrete Fourier Transform (IDFT): frequencies to time. * * Time complexity: O(N^2) * * @param {ComplexNumber[]} frequencies - Frequencies summands of the final signal. * @param {number} zeroThresho...
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...
b6745da0496ab89b
go
156
Default Light+
package parsers import ( "strings" "unicode" "unicode/utf8" "github.com/ollama/ollama/api" "github.com/ollama/ollama/harmony" ) type Parser interface { // Init initializes the parser with tools, optional last message for chat prefill, and think value // Returns processed tools if the parser needs to modify th...
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.", ...
dbe98c9ac3ad52e1
python
23
Dracula
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_...
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...
fe606326687a1171
python
58
Default Light+
from .common import InfoExtractor from .kaltura import KalturaIE class IncIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?inc\.com/(?:[^/]+/)+(?P<id>[^.]+).html' _TESTS = [{ 'url': 'http://www.inc.com/tip-sheet/bill-gates-says-these-5-books-will-make-you-smarter.html', 'md5': '7416739c9c1...
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"...
65738e64d38f4a9c
python
114
Default Light+
from .common import InfoExtractor from ..utils import ( int_or_none, parse_duration, parse_iso8601, qualities, str_or_none, traverse_obj, url_or_none, ) class PornboxIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?pornbox\.com/application/watch-page/(?P<id>[0-9]+)' _TESTS = [...
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...
0e3893ce2bd7eec1
csharp
100
Monokai
#region License // ------------------------------------------------------------------ // Adapted work from DirectX.Capture // https://www.codeproject.com/articles/3566/directx-capture-class-library // http://creativecommons.org/licenses/publicdomain/ // -----------------------------------------------------------------...
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"...
bc87169b527ac3c6
cpp
134
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: lm_pain_points.h // Description: Functions that utilize the knowledge about the properties // of the paths explored by the segmentation search in order // to generate "pain points" - the locations in the ra...
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"...
285d5eafc2a879c6
go
184
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...
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" ...
90f0b1482d8eebd2
csharp
31
Dracula
namespace ServiceLib.Events; public static class AppEvents { public static readonly EventChannel<Unit> ReloadRequested = new(); public static readonly EventChannel<bool?> ShowHideWindowRequested = new(); public static readonly EventChannel<Unit> AddServerViaScanRequested = new(); public static readonly...
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"...
7a9438c911a6a068
csharp
103
Monokai
using System.IO; using System.Text; namespace ScreenToGif.Util.Codification.Gif.Decoder; public static class GifHelpers { public static string ReadString(Stream stream, int length) { var bytes = new byte[length]; stream.ReadAll(bytes, 0, length); return Encoding.ASCII.GetString(bytes);...
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...
78fc1bba57d7a005
python
284
Monokai
import os import re from .yamlGlobals import ( LINPEAS_PARTS ) class LinpeasModule: def __init__(self, path): self.path = path real_path = os.path.realpath(path) with open(path, 'r') as file: self.module_text = file.read() self.sh_code = "" self.is_...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
9397325bb56558d8
cpp
140
Solarized Light
#include <QTextCodec> #include "Configuration.h" #include "HexLineEdit.h" #include "ui_HexLineEdit.h" #include "Bridge.h" #include <QKeyEvent> HexLineEdit::HexLineEdit(QWidget* parent) : QLineEdit(parent), ui(new Ui::HexLineEdit) { ui->setupUi(this); // setup data mData = QByteArray(); mKeepSi...
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" ...
fe4426d0c758e092
typescript
132
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { gitProvider } from './gitProvider.js'; import * as childProcess from 'node:child_process'; vi.mock('node:child_process', async (importOriginal) => { const a...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
8ee29d38f58fa22b
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; using Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions; using Microsoft.SemanticKernel.Experimental.Orchestration.Execution; namespace Microsoft....
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.", ...
aa1f2deeaf3471f5
python
51
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from typing import Any, ClassVar, Literal, TypeVar from xml.etree.ElementTree import Element # nosec from pydantic import Field from semantic_kernel.contents.const import FILE_REFERENCE_CONTENT_TAG, ContentTypes from semantic_kernel.contents.kernel_cont...
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"...
cd2a6596967e6665
csharp
52
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Data.Entity; using Microsoft.Extensions.Configuration; namespace StructuredDataPlugin; /// <summary> /// Represents a database context for the structured data plugin demo. /// Inherits from Entity Framework's DbContext to provide database access and mana...
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.", ...
adc3262d95d2ce42
rust
137
GitHub Dark
/// Calculate the greatest common divisor (GCD) of two numbers and the /// coefficients of Bézout's identity using the Extended Euclidean Algorithm. /// /// # Arguments /// /// * `a` - One of the numbers to find the GCD of /// * `m` - The other number to find the GCD of /// /// # Returns /// /// A tuple (gcd, x1, x2) s...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
92ba4d2ffad12f3e
typescript
319
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/base/ui/button" import { Checkbox } from "@/examples/base/ui/checkbox" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, Drop...
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"...
1bf5b2319f24a63b
go
43
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
7d80a2818736591d
java
40
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...