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
5d46838781131da5
typescript
172
One Dark Pro
import cn from "./cn"; import en from "./en"; import pt from "./pt"; import tw from "./tw"; import da from "./da"; import id from "./id"; import fr from "./fr"; import es from "./es"; import it from "./it"; import tr from "./tr"; import jp from "./jp"; import de from "./de"; import vi from "./vi"; import ru from "./ru"...
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"...
5c31583df4183f6e
python
42
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC, abstractmethod from typing import Annotated, Any, TypeVar from pydantic import Field from semantic_kernel.kernel_pydantic import KernelBaseModel _T = TypeVar("_T", bound="KernelContent") class KernelContent(KernelBaseModel, ABC): """Base cla...
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...
2bdf36fecfc996cf
typescript
29
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/examples/radix/ui/dialog" export function DialogNoCloseButton() { return ( <Dialog> <DialogTrigger asChild> <Button variant="outline...
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...
a827e9f5ea92593a
csharp
52
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace QualityCheckWithFilters.Models; /// <summary>Response model for BERTScore metric: https://huggingface.co/spaces/evaluate-metric/bertscore.</summary> internal sealed class BertSummarizationEvaluationResponse { [JsonP...
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.", ...
304ff66bb47c25ce
java
37
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"...
56b3ab30d7652d00
typescript
120
Dracula
/** * Package Manager Detection and Selection. * Supports: npm, pnpm, yarn, bun. */ /** Supported package manager names */ export type PackageManagerName = 'npm' | 'pnpm' | 'yarn' | 'bun'; /** Configuration for a single package manager */ export interface PackageManagerConfig { name: PackageManagerName; /** Lo...
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...
02081755d2e86284
csharp
141
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
96b90ffaf6c76d2c
typescript
140
Solarized Dark
import dayjs from 'dayjs' import { useEffect, useRef } from 'react' import { mutate } from 'swr' import { MihomoWebSocket, type LogLevel } from 'tauri-plugin-mihomo-api' import { getClashLogs } from '@/services/cmds' import { useClashLog } from './use-clash-log' import { useMihomoWsSubscription } from './use-mihomo-w...
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"...
4a773503db4b66ad
cpp
21
Solarized Light
#include "LabeledSplitterDetachedWindow.h" LabeledSplitterDetachedWindow::LabeledSplitterDetachedWindow(QWidget* parent, LabeledSplitter* splitterwidget) : QMainWindow(parent), index(0) { mSplitterWidget = splitterwidget; } LabeledSplitterDetachedWindow::~LabeledSplitterDetachedWindow() { } void Label...
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.", ...
0069b6ba04079d87
typescript
204
Solarized Dark
import { AccessTimeRounded, MyLocationRounded, NetworkCheckRounded, FilterAltRounded, FilterAltOffRounded, VisibilityRounded, VisibilityOffRounded, WifiTetheringRounded, WifiTetheringOffRounded, SortByAlphaRounded, SortRounded, } from '@mui/icons-material' import { Box, IconButton, TextField, SxPr...
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" ...
7e9638ab6788df33
python
73
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, get_element_by_class, int_or_none, remove_start, strip_or_none, unified_strdate, urlencode_postdata, ) class ScreencastOMaticIE(InfoExtractor): _VALID_URL = r'https?://screencast-o-matic\.com/(?:(?:watch|player)/|e...
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...
8f145fb4fc353afd
java
27
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.", ...
e283d383f44767cb
csharp
103
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...
ffdce6864c764758
java
149
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...
657a0beccc9acf07
cpp
32
Solarized Dark
#ifndef OPENPOSE_CORE_CV_MAT_TO_OP_OUTPUT_HPP #define OPENPOSE_CORE_CV_MAT_TO_OP_OUTPUT_HPP #include <openpose/core/common.hpp> namespace op { class OP_API CvMatToOpOutput { public: CvMatToOpOutput(const bool gpuResize = false); virtual ~CvMatToOpOutput(); std::tuple<std::shared_...
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" ...
deefc6cb64df64cf
go
107
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...
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" ...
53dad455a89ec730
cpp
79
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"...
917ced3a3c79f179
csharp
113
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Experimental.Orchestration; using Microsoft.SemanticKernel.Memory; ...
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...
653e4f3c2114fcc6
typescript
237
Dracula
import type * as http from 'node:http' import * as httpProxy from 'http-proxy-3' import colors from 'picocolors' import type { Connect } from '#dep-types/connect' import { createDebugger } from '../../utils' import type { CommonServerOptions, ResolvedConfig } from '../..' import type { HttpServer } from '..' const deb...
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"...
e09adb1d7f0e1a2a
java
40
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.", ...
9ccc197fb5752769
csharp
35
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; #if NETCOREAPP using System.Threading.Tasks; #endif namespace Microsoft.SemanticKernel.Agents.Orchestration.Concurrent; /// <summary> /// An orchestration that broadcasts the input message to each agent. /// </summary> public sealed class Concurre...
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...
ba656e317e11ba2b
csharp
131
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using xRetry; namespace Plugins; public class GroundednessChecks(ITestOutputHelper output) : BaseTest(output) { [RetryFact(typeof(HttpOperationException))] public async Task GroundednessCheckingAsync() { Console.Wri...
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...
55c3dbdaf34561c9
cpp
159
One Dark Pro
/****************************************************************************** * * File: protos.cpp (Formerly protos.c) * Author: Mark Seaman, OCR Technology * * (c) Copyright 1987, Hewlett-Packard Company. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this f...
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...
668da85324f5bbf9
go
179
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...
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.", ...
de4fcd743bad424e
typescript
23
Solarized Light
import { highlighter } from "@/src/utils/highlighter" import { logger } from "@/src/utils/logger" import { Command } from "commander" export const mcp = new Command() .name("registry:mcp") .description("starts the registry MCP server [DEPRECATED]") .option( "-c, --cwd <cwd>", "the working directory. defa...
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" ...
9fd82e13ca45a1e4
java
477
Default Light+
package com.thealgorithms.datastructures.lists; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.StringJoiner; /** * <a href="https://en.wikipedia.org/wiki/Linked_list">wikipedia</a> */ public class SinglyLinkedList implements Iterable<Integer> { /** * Head refer to 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...
b3716d68ad8e5348
csharp
63
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 ...
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.", ...
3eea5f4ab3fc98f3
go
301
Default Light+
package llama4 import ( "cmp" "image" "image/color" "reflect" "slices" "testing" gocmp "github.com/google/go-cmp/cmp" ) func TestFactors(t *testing.T) { tests := []struct { name string input int expected []int }{ { name: "factors of 1", input: 1, expected: []int{1}, }, { ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
cf6012dcf2aa6d30
typescript
184
Dracula
/** * Cross-platform utility functions for Claude Code hooks and scripts. * Works on Windows, macOS, and Linux. */ import type { ExecSyncOptions } from 'child_process'; // Platform detection export const isWindows: boolean; export const isMacOS: boolean; export const isLinux: boolean; // --- Directories --- /** ...
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"...
adfa944caafa16e8
python
46
Default Light+
#!/usr/bin/env python3 # Allow direct execution import os import sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import codecs import subprocess from yt_dlp.aes import aes_encrypt, key_expansion secret_msg = b'Secret message goes here' def hex_str(int_list): return codecs...
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"...
f051b62a36d18c5d
java
316
GitHub Dark
package com.github.mikephil.charting.renderer; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.Path; import android.graphics.RectF; import com.github.mikephil.charting.components.LimitLine; import com.github.mikephil.charting.components.YAxi...
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...
15a97e2bd02eca8e
java
80
GitHub Dark
package com.xxl.job.admin.core.util; import com.xxl.job.admin.core.conf.XxlJobAdminConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.core.io.support.EncodedResource; import org.s...
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...
e7e41dadfd724bc3
typescript
46
One Dark Pro
type HoppErrorPath = { path: string; }; type HoppErrorCmd = { command: string; }; type HoppErrorData = { data: any; }; type HoppErrors = { UNKNOWN_ERROR: HoppErrorData; FILE_NOT_FOUND: HoppErrorPath; UNKNOWN_COMMAND: HoppErrorCmd; MALFORMED_COLLECTION: HoppErrorPath & HoppErrorData; NO_FILE_PATH: {};...
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.", ...
342c1b56dbb6fbf8
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Weaviate; /// <summary> /// Converts <see cref="DateTime"/> to RFC 3339 formatted string for Weaviate. /// </summary>...
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"...
4291f61180ab2405
java
416
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.", ...
db981282b6197676
typescript
44
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { HoverCard as HoverCardPrimitive } from "radix-ui" function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>) { return <HoverCardPrimitive.Root data-slot="hover-card" {...props} /> } fu...
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...
7b2453fefae854da
python
122
Monokai
import torch import torch.nn as nn import torch.nn.functional as F from comfy.ldm.modules.diffusionmodules.model import vae_attention import math import comfy.ops ops = comfy.ops.disable_weight_init def nonlinearity(x): # swish return torch.nn.functional.silu(x) / 0.596 def mp_sum(a, b, t=0.5): return a.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" ...
32356661d8050844
typescript
57
Default Light+
import { Model } from "@/gotypes"; import { useSendMessage, useIsStreaming } from "@/hooks/useChats"; import { Display, type DisplayAction } from "@/components/ui/display"; interface DisplayStaleProps { model: Model; onDismiss: () => void; className?: string; chatId: string; onScrollToBottom?: () => void; } ...
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...
7c008518173fcdcf
python
111
Default Light+
from .amp import AMPIE from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, parse_iso8601, str_or_none, ) class BleacherReportIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:www\.)?bleacherreport\.com/articles/(?P<id>\d+)' _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...
b91c7131af37a747
csharp
92
Monokai
using System.Diagnostics.CodeAnalysis; using System.Net.Sockets; using Netch.Interops; using Netch.Models; namespace Netch.Utils; // #define DEBUG_TUN public static class RouteUtils { public static void CreateRouteFill(NetRoute template, IEnumerable<string> rules, int? metric = null) { foreach (var r...
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"...
c32641065fa6e197
java
71
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...
a50aebd5762a757e
java
90
Default Light+
package com.thealgorithms.ciphers; import java.security.SecureRandom; import java.util.Objects; /** * One-Time Pad (OTP) cipher implementation. * * <p>The One-Time Pad is information-theoretically secure if: * <ul> * <li>The key is truly random.</li> * <li>The key length is at least as long as the plaintext...
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...
6921d1c3e27c5cc8
cpp
91
One Dark Pro
// SPDX-FileCopyrightText: Copyright 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> // SPDX-License-Identifier: MIT // #pragma once #include "ggml.h" enum cpu_feature { CPU_FEATURE_NONE = 0, CPU_FEATURE_DOTPROD = 1, CPU_FEATURE_I8MM = 2, CPU_FEATURE_SVE = 4, CPU_FEA...
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...
18f609b94fc5b37d
rust
61
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::convert::Infallible; use kvm_ioctls::Kvm as KvmFd; use crate::cpu_config::templates::KvmCapability; /// ['Kvm'] initialization can't fail for Aarch64 pub type KvmArchError = Infallible; /// Op...
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...
457ff9769bb9a21a
csharp
67
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Data; /// <summary> /// Contains options for the <see cref="TextSearchStore{TKey}"/>. /// </summary> [Experimental(...
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...
7c1e6e23552b6633
java
62
Default Light+
package com.thealgorithms.conversions; /** * Class for converting an Octal number to its Hexadecimal equivalent. * * @author Tanmay Joshi */ public final class OctalToHexadecimal { private static final int OCTAL_BASE = 8; private static final int HEX_BASE = 16; private static final String HEX_DIGITS = ...
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...
82b964e5ae7932f9
cpp
44
Solarized Dark
#ifndef OPENPOSE_POSE_ENUM_CLASSES_HPP #define OPENPOSE_POSE_ENUM_CLASSES_HPP namespace op { /** * An enum class in which all the possible type of pose estimation models are included. */ enum class PoseModel : unsigned char { /** * COCO + 6 foot keypoints + neck + lower abs model...
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...
639354694975f157
java
61
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
8f059c54baae8f82
csharp
60
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...
d9a045a70077218e
java
39
Solarized Dark
// Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. // According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T that has both v and w as descendants (where we allow a node to be a descendant of it...
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...
14ef85c195f16603
csharp
42
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...
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...
c403e4463c2dc36f
java
40
Solarized Dark
// We are playing the Guess Game. The game is as follows: // I pick a number from 1 to n. You have to guess which number I picked. // Every time you guess wrong, I'll tell you whether the number is higher or lower. // You call a pre-defined API guess(int num) which returns 3 possible results (-1, 1, or 0): // -1 : ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
64bd25139a759396
typescript
73
Solarized Dark
import { styled, Box, Typography } from '@mui/material' import { Rule } from 'tauri-plugin-mihomo-api' const Item = styled(Box)(({ theme }) => ({ display: 'flex', padding: '4px 16px', color: theme.palette.text.primary, })) const COLOR = [ 'primary', 'secondary', 'info.main', 'warning.main', 'success.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"...
bfe57dcef8673d12
java
47
Default Dark+
package org.schabi.newpipe.views; import android.content.Context; import android.util.AttributeSet; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.widget.AppCompatEditText; import org.schabi.newpipe.util.NewPipeTextViewHelper; import org.schabi.newpipe.util.externa...
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...
8cb3fe4c72685df7
java
71
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.", ...
bc37a95b7f71c72f
java
109
Default Light+
package com.thealgorithms.maths; import java.math.BigInteger; import java.util.Random; /** * The {@code EulerPseudoprime} class implements the Euler primality test. * * It is based on Euler’s criterion: * For an odd prime number {@code n} and any integer {@code a} coprime to {@code n}: * a^((n-1)/2) ≡ (a/n) (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"...
b1592169c66fa4e3
csharp
330
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Microsoft.SemanticKernel.TemplateEngine; /// <summary> /// Simple tokenizer used...
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" ...
186ee8bac047680f
typescript
38
Dracula
import { getCompatibleVersions } from 'baseline-browser-mapping' // Update on each major release const targetDate = '2026-01-01' // https://esbuild.github.io/api/#target const baselineToEsbuildTargetMap: Record<string, string> = { chrome: 'chrome', edge: 'edge', firefox: 'firefox', safari: 'safari', safari_...
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...
61b364844208db9f
csharp
47
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" ...
16b73e980d5824ee
cpp
420
One Dark Pro
#include <ui/markdown.hpp> #include <imgui.h> #include <fonts/fonts.hpp> #include <hex/api/task_manager.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/logger.hpp> #include <hex/ui/imgui_imhex_extensions.h> #include <romfs/romfs.hpp> #include <chrono> #include <fonts/vscode_icons.hpp> #include <hex/helpers/...
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"...
65d5c25717a36b88
go
237
Default Light+
package local import ( "bytes" "encoding/json" "fmt" "io/fs" "os" "path/filepath" "runtime" "sort" "strconv" "strings" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/disintegration/imaging" ffmpeg "githu...
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...
f35a670a99b555b4
typescript
73
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach } from 'vitest'; import { GetInternalDocsTool } from './get-internal-docs.js'; import { ToolErrorType } from './tool-error.js'; import fs from 'node:fs/promises'; import path from 'node:pat...
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...
c213126938b42bde
cpp
80
Solarized Light
#pragma once #include "_global.h" #include "types.h" #include <functional> extern int gDefaultMaxPtrDepth; extern int gDefaultMaxExpandDepth; extern int gDefaultMaxExpandArray; struct NodeVisitor : Types::TypeManager::Visitor { using AddNodeFn = std::function<void* (void* parent, const TYPEDESCRIPTOR* type)>; ...
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...
9598ac37ac0a3f7f
python
65
Solarized Light
""" Project Euler Problem 3: https://projecteuler.net/problem=3 Largest prime factor The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143? References: - https://en.wikipedia.org/wiki/Prime_number#Unique_factorization """ def solution(n: int = 600851475143...
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...
7f07554da3bf78a1
csharp
75
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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"...
fec7445d38e355ee
javascript
22
Dracula
import bfRainTerraces from '../bfRainTerraces'; describe('bfRainTerraces', () => { it('should find the amount of water collected after raining', () => { expect(bfRainTerraces([1])).toBe(0); expect(bfRainTerraces([1, 0])).toBe(0); expect(bfRainTerraces([0, 1])).toBe(0); expect(bfRainTerraces([0, 1, 0]...
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...
e8ec682fde9fd0cf
go
248
Solarized Dark
// Copyright 2016 fatedier, fatedier@gmail.com // // 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...
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...
3e9caa2fc0afd648
python
74
Solarized Light
# dodecahedron.py """ A regular dodecahedron is a three-dimensional figure made up of 12 pentagon faces having the same equal size. """ def dodecahedron_surface_area(edge: float) -> float: """ Calculates the surface area of a regular dodecahedron a = 3 * ((25 + 10 * (5** (1 / 2))) ** (1 / 2 )) * (e**2) ...
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.", ...
9d37ffec9cbb9341
java
27
Dracula
package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单查询参数 * Created by macro on 2018/10/11. */ @Getter @Setter public class OmsOrderQueryParam { @ApiModelProperty(value = "订单编号") private String orderSn; @ApiModelProperty(value =...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
424c454d2613f11d
java
153
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...
73cad2f210dba2f0
java
116
Default Light+
package com.thealgorithms.datastructures.hashmap.hashing; /** * Immutable HashMap implementation using separate chaining. * * <p>This HashMap does not allow modification of existing instances. * Any update operation returns a new ImmutableHashMap. * * @param <K> key type * @param <V> value type */ public final...
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.", ...
45793336d8655185
csharp
494
Monokai
using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using winPEAS.Helpers; using winPEAS.Helpers.Registry; namespace winPEAS.KnownFileCreds { ...
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...
40f30440b00b949d
cpp
65
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...
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.", ...
bb139deff08c3028
python
51
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from collections.abc import Awaitable, Callable from inspect import isawaitable from httpx import AsyncClient, HTTPStatusError, RequestError from semantic_kernel.exceptions import ServiceInvalidRequestError from semantic_kernel.utils.telemetry.user_agent...
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.", ...
2bbdc09231bd0565
go
299
Default Dark+
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 // protoc v3.15.8 // source: test.proto package protoexample import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync...
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...
c7b8e75fc750dc4d
java
379
Dracula
package com.macro.mall.model; import java.util.ArrayList; import java.util.List; public class CmsPrefrenceAreaProductRelationExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public CmsPrefrenceAreaProductRelationExample() { oredCri...
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...
6e0cea0db4615816
rust
190
Default Dark+
use bumpalo::collections::Vec as BVec; use bumpalo::Bump; use serde_json::Value; use super::error::EmbedError; use super::{Embedder, Embedding}; use crate::progress::EmbedderStats; use crate::{DocumentId, Result, ThreadPoolNoAbort}; type ExtractorId = u8; #[derive(Clone, Copy)] pub struct Metadata<'doc> { pub doc...
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" ...
c365909dda8da8a2
python
27
Dracula
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ str | None, Query( alias="item-query", title="Query string", description="Query string for the items to search in the databa...
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...
67a4f5a6391f9d0c
python
157
Solarized Light
from __future__ import annotations from dataclasses import dataclass @dataclass class Node: data: int next_node: Node | None = None def print_linked_list(head: Node | None) -> None: """ Print the entire linked list iteratively. This function prints the elements of a linked list separat...
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"...
7c0a2d0480172d11
typescript
285
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach, type Mock, } from 'vitest'; import { configureCommand } from './configure.js'; import yargs from 'yargs'; import { debugLogger } from '@google/gemini-cli-core';...
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.", ...
1e83bf932a81f0a4
java
84
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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" ...
005cc5d0128f669b
typescript
127
Solarized Light
"use client" import * as React from "react" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "@/examples/base/ui-rtl/select" import { useTranslation, type Language, type Translations, } from "@/components/language-selector"...
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...
a979e752c6d2e216
typescript
161
Solarized Light
// Auto-generated by scripts/build-icons.ts export { ActivityIcon } from "@hugeicons/core-free-icons" export { Add01Icon } from "@hugeicons/core-free-icons" export { Alert02Icon } from "@hugeicons/core-free-icons" export { AlertCircleIcon } from "@hugeicons/core-free-icons" export { Analytics01Icon } from "@hugeicons/c...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
8542bf21bfdeee9b
go
484
Default Light+
package parsers import ( "testing" "github.com/google/go-cmp/cmp" "github.com/ollama/ollama/api" ) func TestOlmo3Parser(t *testing.T) { tests := []struct { name string input string expectedContent string expectedThinking string expectedCalls []api.ToolCall }{ { 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...
09c6ac1dc951fae2
csharp
29
Monokai
// Copyright (c) Microsoft. All rights reserved. using ChatWithAgent.Configuration; using Microsoft.Extensions.Configuration; namespace ChatWithAgent.ApiService.Config; /// <summary> /// Service configuration. /// </summary> public sealed class ServiceConfig { private readonly HostConfig _hostConfig; /// <...
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.", ...
08dbf071d65b1680
typescript
47
Solarized Dark
import { use } from 'react' import { WindowContext, type WindowContextType } from '@/providers/window' export const useWindow = () => { const context = use(WindowContext) if (context === undefined) { throw new Error('useWindow must be used within WindowProvider') } return context } export const useWindow...
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...
d64e82a2520708dc
csharp
75
Default Light+
// Copyright (c) 2024 Christoph Wille // // 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"...
ad57fe94f3d7b05b
javascript
149
Dracula
import LRUCache from '../LRUCacheOnMap'; describe('LRUCacheOnMap', () => { it('should set and get values to and from the cache', () => { const cache = new LRUCache(100); expect(cache.get('key-1')).toBeUndefined(); cache.set('key-1', 15); cache.set('key-2', 16); cache.set('key-3', 17); expect...
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...
5a053ae16c2c86b9
csharp
168
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" ...
469770743d3c7a7e
python
168
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import TYPE_CHECKING from samples.concepts.setup.chat_completion_services import Services, get_chat_completion_service_and_request_settings from semantic_kernel import Kernel from semantic_kernel.connectors.ai.function_choice_behavior import F...
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.", ...
9e1b62e0d411a765
csharp
145
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Web.Brave; /// <summary> /// The Brave Web Page Response /// </summary> /// <remarks>Can be use for parse for SearchResult LocationResult ...
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...
2503e4521e0daec3
csharp
55
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Agents.Chat; /// <summary> /// Provides settings that affect the behavior of <see cref="AgentGroupChat"/> ...
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"...
0c7f25ebf537349f
python
264
Default Light+
import re from .adobepass import AdobePassIE from ..utils import ( ExtractorError, determine_ext, fix_xml_ampersands, float_or_none, int_or_none, parse_duration, strip_or_none, update_url_query, url_or_none, xpath_attr, xpath_text, ) class TurnerBaseIE(AdobePassIE): _A...
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...
bdbdcf59703a42fd
csharp
100
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Connectors.Google.Core; using Microsoft.Semant...
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" ...
82b092b3fa0abc4e
java
70
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
867a8766b64fe0c9
rust
308
Default Dark+
use std::cmp::Ordering; use facet_bulk::generate_facet_levels; use heed::types::{Bytes, DecodeIgnore, Str}; use heed::RwTxn; use itertools::{merge_join_by, EitherOrBoth}; use super::document_changes::IndexingContext; use crate::facet::FacetType; use crate::index::main_key::{WORDS_FST_KEY, WORDS_PREFIXES_FST_KEY}; use...
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"...
374565163c8a4165
typescript
144
GitHub Dark
import { spawn, ChildProcess } from "child_process" import * as path from "path" import { onLine, OnLineCallback } from "../../src/node/util" interface DevelopmentCompilers { [key: string]: ChildProcess | undefined vscode: ChildProcess vscodeWebExtensions: ChildProcess codeServer: ChildProcess plugins: Child...
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...
14e5de7cf5dfd9a6
cpp
325
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * Copyright (C) 2013 Tatsuhiro Tsujikawa, Nils Maier * * 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...
b20c0794a5a55b83
cpp
115
One Dark Pro
#include <script_api.hpp> #include <hex/api/content_registry/provider.hpp> #include <hex/api/imhex_api/provider.hpp> #include <hex/api/imhex_api/hex_editor.hpp> #include <hex/providers/provider.hpp> #define VERSION V1 SCRIPT_API(void readMemory, u64 address, size_t size, void *buffer) { auto provider = hex::ImHe...
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.", ...
20b81f5e5b385a74
typescript
228
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Alert, AlertAction, AlertDescription, AlertTitle, } from "@/registry/bases/radix/ui/alert" import { Badge } from "@/registry/bases/radix/ui/badge" import { Button } from "@/registry/bases/radix/ui/button" import { ...
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...