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
fbcc1eb01b42b2a8
java
47
Default Light+
package com.thealgorithms.maths; public final class ParseInteger { private ParseInteger() { } private static void checkInput(final String s) { if (s == null) { throw new NumberFormatException("Input parameter must not be null!"); } if (s.isEmpty()) { throw n...
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.", ...
a4bd12228cf4b4c5
cpp
72
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...
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...
e76e7ea1172490e7
csharp
140
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.PromptTemplates.Liquid; using Microsoft.SemanticKernel.Prompty; namespace PromptTemplates; public class PromptyFunction(ITestOutputHelper output) : BaseTest(...
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...
727d9c99f2bdd068
java
74
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...
d9b034610ce77a25
csharp
33
Default Light+
// Copyright (c) 2020 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
ae159e6b919095cf
typescript
186
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import * as fs from 'node:fs'; import * as path from 'node:path'; import * as os from 'node:os'; import { ExtensionManager } from './extension-manager.js'; i...
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.", ...
75c1c7ea0fe28466
python
44
Solarized Light
""" A triangular number or triangle number counts objects arranged in an equilateral triangle. This module provides a function to generate n'th triangular number. For more information about triangular numbers, refer to: https://en.wikipedia.org/wiki/Triangular_number """ def triangular_number(position: int) -> int: ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
a7bb305a3d0e034d
csharp
56
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...
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...
23b992414633ebf4
rust
276
GitHub Dark
//! Base32 encoding and decoding implementation. //! //! Base32 is a binary-to-text encoding scheme that represents binary data using 32 ASCII characters //! (A-Z and 2-7). It's commonly used when case-insensitive encoding is needed or when avoiding //! characters that might be confused (like 0/O or 1/l). //! //! This ...
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...
75e560076fb57986
csharp
136
Monokai
using System.Windows.Media; using ScreenToGif.Domain.Enums; namespace ScreenToGif.ViewModel.ExportPresets.AnimatedImage.Gif; /// <summary> /// Settings for the a Gif preset with the built-in (embedded) encoder. /// </summary> public class EmbeddedGifPreset : GifPreset { private ColorQuantizationTypes _quantizer =...
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...
e91d95e9608afae7
typescript
122
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs'; import ignore from 'ignore'; import picomatch from 'picomatch'; import type { FileDiscoveryService } from '../../services/fileDiscoveryService.js'; const hasFileExtension = picomatch('**/*[*.]*'); export...
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...
2ca1e06a5ae97e8a
python
53
Monokai
# Copyright (c) Microsoft. All rights reserved. from enum import Enum from typing import TYPE_CHECKING from semantic_kernel.exceptions.process_exceptions import ProcessInvalidConfigurationException from semantic_kernel.processes.dapr_runtime.dapr_kernel_process_context import DaprKernelProcessContext from semantic_ke...
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" ...
d1d4b882fee0b7e8
typescript
63
Dracula
/** Types from https://github.com/rollup/plugins/blob/master/packages/alias/types/index.d.ts Inlined because the plugin is bundled. https://github.com/rollup/plugins/blob/master/LICENSE The MIT License (MIT) Copyright (c) 2019 RollupJS Plugin Contributors (https://github.com/rollup/plugins/graphs/contributors) Perm...
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...
ec1d1c24d6a6f7c6
csharp
112
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
bb5a4457af6c3e63
python
72
Default Light+
import os import urllib.parse from .common import InfoExtractor from ..utils import float_or_none class CamtasiaEmbedIE(InfoExtractor): _VALID_URL = False _WEBPAGE_TESTS = [ { 'url': 'http://www.ll.mit.edu/workshops/education/videocourses/antennas/lecture1/video/', 'playlist':...
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...
9e237bbd48bec7bb
java
37
Solarized Dark
/* An array A contains all the integers from 0 through n, except for one number which is * missing. In this problem, we cannot access an entire integer in A with a single operation. * The elements of A are represented in binary, and the only operation we can use to acces them * is "fetch the jth bit of A[i]," which ...
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...
f8ec7d25f4d37835
csharp
284
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.Json; using System.Text.Json.Nodes; using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData.ProviderServices; using MEAI = Microsoft.Extensions.A...
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"...
1d170aed34960df9
java
127
Default Light+
package com.thealgorithms.datastructures.crdt; import java.time.Instant; import java.util.HashMap; import java.util.Map; /** * Last-Write-Wins Element Set (LWWElementSet) is a state-based CRDT (Conflict-free Replicated Data * Type) designed for managing sets in a distributed and concurrent environment. It supports ...
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.", ...
94965033ee683344
typescript
102
Solarized Light
"use client" import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" function Table({ className, ...props }: React.ComponentProps<"table">) { return ( <div data-slot="table-container" className="cn-table-container"> <table data-slot="table" className={cn("cn-t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
a101536723a3aea0
python
141
Monokai
import sqlalchemy as sa from sqlalchemy import select from sqlalchemy.dialects import sqlite from sqlalchemy.orm import Session from app.assets.database.models import Asset, AssetReference from app.assets.database.queries.common import MAX_BIND_PARAMS, calculate_rows_per_statement, iter_chunks def asset_exists_by_ha...
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...
2857aaaddcc8b151
java
46
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
4177e5f5a1bfccb3
typescript
122
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi } from 'vitest'; import { isValidToolName, getToolAliases, ALL_BUILTIN_TOOL_NAMES, DISCOVERED_TOOL_PREFIX, LS_TOOL_NAME, } from './tool-names.js'; // Mock tool-names to provide a consist...
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...
b866720eb25f4890
java
53
Monokai
package com.termux.shared.shell.command.environment; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.shell.command.ExecutionCommand; import java.util.HashMap; public interface IShellEnvironment { /** * Get the default worki...
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...
587f2af487f1ac66
typescript
35
Solarized Light
import { Slot } from "@radix-ui/react-slot"; import { cva, type VariantProps } from "class-variance-authority"; import * as React from "react"; import { cn } from "@/lib/utils"; const badgeVariants = cva( "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowr...
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.", ...
e1ccd65c67de791e
java
100
Monokai
package com.termux.shared.android; import android.content.Context; import android.provider.Settings; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.logger.Logger; public class SettingsProviderUtils { private static final String LOG_TAG = "SettingsProviderUtils...
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...
0089d58dab9e2e9e
csharp
311
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using OllamaSharp; namespace ChatCompletion; /// <summary> /// These examples demonstrate different ways of using chat completion with Oll...
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...
4314cde1786d9687
cpp
152
One Dark Pro
#include <algorithm> #include <hex/api/content_registry/data_processor.hpp> #include <hex/api/localization_manager.hpp> #include <hex/helpers/scaling.hpp> #include <hex/helpers/crypto.hpp> #include <hex/data_processor/node.hpp> #include <mbedtls/error.h> #include <nlohmann/json.hpp> namespace hex::plugin::builtin { ...
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...
c2b9024beded6128
java
51
Monokai
package com.iluwatar.rate.limiting.pattern; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; /** Adaptive rate limiter that adjusts limits based on system health. */ public class AdaptiveRateLimiter implements RateLimiter { private final int initialLimit; private final int maxLimit...
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"...
874bcafebda55d7f
java
38
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...
6e1013808fc4f8e9
cpp
130
One Dark Pro
#ifndef HVX_DUMP_H #define HVX_DUMP_H #include <HAP_farf.h> #include <stdbool.h> #include <stdint.h> #include "hex-utils.h" #include "hvx-types.h" static void hvx_vec_dump_f16_n(char * pref, HVX_Vector v, uint32_t n) { HVX_VectorAlias u = { .v = v }; const uint32_t n0 = n / 16; const uint32_t n1 = n % ...
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...
3beb694e443d6d11
csharp
21
Default Light+
using Serilog; namespace MinimalClean.Architecture.Web.Configurations; public static class LoggerConfigs { public static WebApplicationBuilder AddLoggerConfigs(this WebApplicationBuilder builder) { // Add Serilog as an additional logging provider alongside OpenTelemetry // This allows both Serilog (for c...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
b6d5942b8172dc88
rust
91
Dracula
use docopt::Docopt; use hbb_common::{ env_logger::{init_from_env, Env, DEFAULT_FILTER_ENV}, log, tokio, }; use librustdesk::{ipc::Data, *}; const USAGE: &'static str = " IPC test program. Usage: ipc (-s | --server | -c | --client) [-p <str> | --postfix=<str>] ipc (-h | --help) Options: -h --help ...
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...
9c587898e759729d
csharp
359
Dracula
using static ServiceLib.Handler.SysProxy.ProxySettingWindows.InternetConnectionOption; namespace ServiceLib.Handler.SysProxy; public static class ProxySettingWindows { private const string _regPath = @"Software\Microsoft\Windows\CurrentVersion\Internet Settings"; private static bool SetProxyFallback(string? ...
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...
9e605e4ca569d0eb
java
22
Solarized Dark
//Given a list of daily temperatures, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put 0 instead. // //For example, given the list temperatures = [73, 74, 75, 71, 69, 72, 76, 73], your out...
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" ...
ce88de794dedf25d
cpp
197
Default Light+
#include "models.h" llm_build_granite_hybrid::llm_build_granite_hybrid(const llama_model & model, const llm_graph_params & params) : llm_graph_context_mamba(params) { const int64_t n_embd_head = hparams.n_embd_head_v; GGML_ASSERT(n_embd_head == hparams.n_embd_head_k); ggml_tensor * cur; ggml_tens...
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...
06b52a72e61fef35
cpp
96
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 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...
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" ...
8ad5328d225feec8
python
41
Solarized Light
""" https://en.wikipedia.org/wiki/Shellsort#Pseudocode """ def shell_sort(collection: list[int]) -> list[int]: """Pure implementation of shell sort algorithm in Python :param collection: Some mutable ordered collection with heterogeneous comparable items inside :return: the same collection ordered b...
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" ...
866f512445655eb5
rust
120
GitHub Dark
//! This module provides functions for finding the shortest palindrome //! that can be formed by adding characters to the left of a given string. //! References //! //! - [KMP](https://www.scaler.com/topics/data-structures/kmp-algorithm/) //! - [Prefix Functions and KPM](https://oi-wiki.org/string/kmp/) /// Finds 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...
9962e4495381b7d7
typescript
55
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useCallback } from 'react'; import type { ConversationRecord, MessageRecord, } from '@google/gemini-cli-core'; import { calculateTurnStats, calculateRewindImpact, type FileChangeStats, } from '../utils/...
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.", ...
e4555e8af6bc43e2
java
216
Solarized Light
package com.firecrawl.client; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.firecrawl.errors.AuthenticationException; import c...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
fbfb062f2885697c
java
48
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
f9b7cc3797d808ac
python
112
Default Light+
from .common import InfoExtractor from .youtube import YoutubeIE, YoutubeTabIE class BeatBumpVideoIE(InfoExtractor): _VALID_URL = r'https?://beatbump\.(?:ml|io)/listen\?id=(?P<id>[\w-]+)' _TESTS = [{ 'url': 'https://beatbump.ml/listen?id=MgNrAu2pzNs', 'md5': '5ff3fff41d3935b9810a9731e485fe66',...
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...
17f4af71a0ffc94b
python
77
Default Light+
from .common import InfoExtractor from ..utils import float_or_none, int_or_none, url_or_none from ..utils.traversal import traverse_obj class SnapchatSpotlightIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?snapchat\.com/spotlight/(?P<id>\w+)' _TESTS = [{ 'url': 'https://www.snapchat.com/spotli...
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...
bb7171896b736592
csharp
20
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Connectors.Redis; /// <summary> /// Indicates the way in which data is stored in redis. /// </summary> public enum RedisStorageType { /// <summary> /// Data is stored as JSON. /// </summary> Json, /// <summary> ...
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...
c75e920731e22170
go
23
Default Light+
package nn import ( "github.com/ollama/ollama/ml" ) type LayerNorm struct { Weight ml.Tensor `gguf:"weight"` Bias ml.Tensor `gguf:"bias"` } func (m *LayerNorm) Forward(ctx ml.Context, t ml.Tensor, eps float32) ml.Tensor { return t.LayerNorm(ctx, m.Weight, m.Bias, eps) } type RMSNorm struct { Weight ml.Tensor...
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...
a366da145aa93045
typescript
281
Solarized Light
"use client" import * as React from "react" import { ContextMenu as ContextMenuPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPri...
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...
d5a05f2b0988c354
typescript
182
GitHub Dark
import type { Menu } from '/@/router/types'; import { ref, onBeforeMount, unref, Ref, nextTick } from 'vue'; import { getMenus } from '/@/router/menus'; import { cloneDeep } from 'lodash-es'; import { filter, forEach } from '/@/utils/helper/treeHelper'; import { useGo } from '/@/hooks/web/usePage'; import { useScrollTo...
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...
699fd2af3b37790f
rust
238
Solarized Light
use crate::document::model::*; use maud::{html, Markup, DOCTYPE}; pub struct HtmlRenderer; impl HtmlRenderer { pub fn new() -> Self { Self } pub fn render(&self, document: &Document) -> String { let title = document.metadata.title.as_deref().unwrap_or("Document"); let footnotes: Vec<&Note> = docum...
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...
cca04d0390339291
java
140
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...
710b8faa339b683b
csharp
54
Monokai
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ScreenToGif Transla...
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.", ...
0eeda3890dada5a8
csharp
74
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 ...
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"...
81ea2b35004f8e40
csharp
188
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...
4d4c5df938a2cb8e
csharp
108
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
5bc460d19efe6de4
cpp
56
Dracula
/** * Copyright 2024-2026, XGBoost contributors */ #pragma once #include <cstddef> // for size_t #include <cstdint> // for int32_t #include <string> // for string #include "cuda_stream.h" // for StreamRef #include "xgboost/span.h" // for Span namespace xgboost::curt { std::int32_t AllVisibleGPUs(); /** * @...
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"...
ac4b4d75cf57748b
csharp
95
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel.Plugins.MsGraph.Connec...
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" ...
bd665c33124bda22
typescript
24
Solarized Light
import AuthFooter from "@/components/AuthFooter"; import PasswordSignInForm from "@/components/PasswordSignInForm"; import { useInstance } from "@/contexts/InstanceContext"; const AdminSignIn = () => { const { generalSetting: instanceGeneralSetting } = useInstance(); return ( <div className="py-4 sm:py-8 w-80...
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.", ...
e7a78d19c44029c3
rust
21
GitHub Dark
// https://en.wikipedia.org/wiki/Square_pyramidal_number // 1² + 2² + ... = ... (total) pub fn square_pyramidal_number(n: u64) -> u64 { n * (n + 1) * (2 * n + 1) / 6 } #[cfg(test)] mod tests { use super::*; #[test] fn test0() { assert_eq!(0, square_pyramidal_number(0)); assert_eq!(1,...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
9bc19c6e39897ed7
typescript
38
Default Dark+
import * as fs from 'fs'; const { PrismaClient } = require('@prisma/client'); const { parse } = require('csv-parse/sync'); const prisma = new PrismaClient(); async function main() { console.log('Seeding started...'); const file = fs.readFileSync('prisma/companies.csv'); const companies = parse(file, { colu...
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...
729f1eb83aeaaec9
csharp
174
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.O...
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...
c7c8ede479d25491
typescript
225
One Dark Pro
import { Service } from "dioc" import { Store } from "~/kernel/store" import * as E from "fp-ts/Either" import * as O from "fp-ts/Option" import { ref } from "vue" const STORE_NAMESPACE = "interceptors.extension.v1" const SETTINGS_KEY = "settings" export type ExtensionStatus = "available" | "unknown-origin" | "waitin...
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...
0950d0560180168e
go
228
Default Light+
package manifest import ( "crypto/sha256" "encoding/hex" "encoding/json" "fmt" "io" "log/slog" "os" "path/filepath" "github.com/ollama/ollama/types/model" ) type Manifest struct { SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType"` Config Layer `json:"config"` ...
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" ...
f71b8cb24b16c034
typescript
483
Default Light+
import { pointFrom, type GlobalPoint } from "@excalidraw/math"; import { useMemo } from "react"; import { MIN_WIDTH_OR_HEIGHT } from "@excalidraw/common"; import { getElementsInResizingFrame, isFrameLikeElement, replaceAllElementsInFrame, updateBoundElements, } from "@excalidraw/element"; import { rescalePoi...
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"...
11a43bd3a35a3522
rust
159
One Dark Pro
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::restriction)] use crate::arch::x86_64::generated::msr_index::{ MSR_IA32_BNDCFGS, MSR_IA32_CR_PAT, MSR_MTRRdefType, MSR_MTRRfix4K_C0000, MSR_MTRRfix4K_C8000, MSR_MTRRfix4K_D0000, MS...
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"...
ef83db2fd333d342
typescript
38
Default Dark+
import { z } from 'zod'; import { Vote } from '@prisma/client'; import { createRouter } from '../context'; import type { ResumeCommentVote } from '~/types/resume-comments'; export const resumesCommentsVotesRouter = createRouter().query('list', { input: z.object({ commentId: z.string(), }), async resolve({ ...
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"...
785b8522c466f203
csharp
88
Monokai
using System.ComponentModel; namespace Netch.Forms { partial class LogForm { /// <summary> /// Required designer variable. /// </summary> private IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
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...
f45684a0513e5be1
python
156
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, random_uuidv4, unified_timestamp, urlencode_postdata, ) class TennisTVIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?tennistv\.com/videos/(?P<id>[-a-z0-9]+)' _TESTS = [{ 'url': 'https://w...
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.", ...
a1f6fb19c344963d
typescript
116
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" function Table({ className, ...props }: React.ComponentProps<"table">) { return ( <div data-slot="table-container" className="relative w-full overflow-x-auto" > <table data-slot="table" ...
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"...
e02ad7ef48f18823
python
144
Default Light+
import urllib.parse from .common import InfoExtractor from ..networking import HEADRequest from ..utils import ( ExtractorError, determine_ext, make_archive_id, scale_thumbnails_to_max_format_width, ) class AntennaBaseIE(InfoExtractor): def _download_and_extract_api_data(self, video_id, netloc, c...
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...
9fc2782f8b55d8dd
typescript
218
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach } from 'vitest'; import { ReleaseChannel, getReleaseChannel, isNightly, isPreview, isStable, _clearCache, } from './channel.js'; import * as packageJson from './package.js';...
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...
78986bc0a8cb5453
typescript
80
Default Light+
import { DefaultSidebar, Sidebar, THEME } from "@excalidraw/excalidraw"; import { messageCircleIcon, presentationIcon, } from "@excalidraw/excalidraw/components/icons"; import { LinkButton } from "@excalidraw/excalidraw/components/LinkButton"; import { useUIAppState } from "@excalidraw/excalidraw/context/ui-appStat...
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" ...
0b5e0735340dd96c
python
58
Solarized Light
# /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # /// import httpx # Put your API key(s) here OPENWEATHERMAP_API_KEY = "" WEATHERSTACK_API_KEY = "" # Define the URL for the APIs with placeholders OPENWEATHERMAP_URL_BASE = "https://api.openweathermap.org/data/2.5/weather" WEATHERSTACK_...
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...
6fab29916af3d3f4
typescript
74
Default Light+
import { render } from "@testing-library/react"; import { EditorJotaiProvider } from "../editor-jotai"; import fallbackLangData from "../locales/en.json"; import Trans from "./Trans"; import type { TranslationKeys } from "../i18n"; describe("Test <Trans/>", () => { it("should translate the the strings correctly",...
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...
00956e66696a947a
typescript
81
Solarized Light
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { instanceServiceClient } from "@/connect"; import { InstanceSetting, InstanceSetting_Key } from "@/types/proto/api/v1/instance_service_pb"; // Query keys factory export const instanceKeys = { all: ["instance"] as const, profile:...
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...
67ecfe0eab642e30
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...
9a7d666de7f51457
python
85
Solarized Light
#!/usr/bin/env python3 from .hash_table import HashTable class QuadraticProbing(HashTable): """ Basic Hash Table example with open addressing using Quadratic Probing """ def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def _collision_resolution(self, key, data=None...
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...
1506c8ae82d19f11
csharp
65
Monokai
using System; using System.Collections; namespace winPEAS._3rdParty.BouncyCastle.util.collections { public abstract class UnmodifiableDictionary : IDictionary { protected UnmodifiableDictionary() { } public virtual void Add(object k, object v) { throw new NotSupportedException(); } public virtu...
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.", ...
7dad7dff2d17b268
csharp
124
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel; using System.Threading.Tasks; using Azure.Identity; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.OpenAI; using Microsoft.Se...
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...
16da15ad5968b1e1
cpp
62
Solarized Dark
#ifndef OPENPOSE_NET_NMS_CAFFE_HPP #define OPENPOSE_NET_NMS_CAFFE_HPP #include <openpose/core/common.hpp> namespace op { // It mostly follows the Caffe::layer implementation, so Caffe users can easily use it. However, in order to keep // the compatibility with any generic Caffe version, we keep this 'layer' i...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
cf95cd634bd5ea20
typescript
449
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /// <reference types="vitest/globals" /> import { describe, it, expect } from 'vitest'; import { validateSettings, formatValidationError, settingsZodSchema, } from './settings-validation.js'; import { z } from 'zod'; descri...
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...
967985ddeb5be341
typescript
198
GitHub Dark
import { Ref } from 'vue'; import { duplicateCheckDelay } from '/@/views/system/user/user.api'; import { BasicColumn, FormSchema } from '/@/components/Table'; import { DescItem } from '/@/components/Description'; import { findTree } from '/@/utils/common/compUtils'; // 用户信息 columns export const userInfoColumns: BasicC...
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...
ff652178f3c21411
typescript
57
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { expect } from 'vitest'; import { evalTest } from './test-helper.js'; const MUTATION_AGENT_DEFINITION = `--- name: mutation-agent description: An agent that modifies the workspace (writes, deletes, git operations, etc). ma...
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"...
81301181eb4c0f91
java
87
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...
d3995d9a3f82a8cb
go
57
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" ...
b4d1dc92a5c03cbe
csharp
361
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Text.Json; using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel; /// <summar...
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" ...
ed6fc268a3ddd535
csharp
56
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...
9bc269a40db0545a
csharp
123
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; u...
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.", ...
353ea9ab4c70d71a
rust
350
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::convert::Infallible; use serde::{Deserialize, Serialize}; pub use vm_allocator::AllocPolicy; use vm_allocator::{AddressAllocator, IdAllocator}; use crate::arch; use crate::snapshot::Persist; //...
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" ...
f124f69a7a07d373
go
193
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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...
1c0ee16d47817973
java
78
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"...
c6d356b0ad97e270
java
340
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...
4765847c395edc3a
python
94
Dracula
""" Getting started with categorical data ===================================== Experimental support for categorical data. In before, users need to run an encoder themselves before passing the data into XGBoost, which creates a sparse matrix and potentially increase memory usage. This demo showcases the experimental...
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" ...
bb0cfef0ba554cd6
typescript
32
One Dark Pro
import { NextResponse } from "next/server"; import { getServerSideConfig } from "../../config/server"; const serverConfig = getServerSideConfig(); // Danger! Do not hard code any secret value here! // 警告!不要在这里写入任何敏感信息! const DANGER_CONFIG = { needCode: serverConfig.needCode, hideUserApiKey: serverConfig.hideUser...
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" ...
608bbc02b9472679
typescript
20
Solarized Light
import { Avatar, AvatarBadge, AvatarFallback, AvatarImage, } from "@/examples/base/ui/avatar" import { PlusIcon } from "lucide-react" export function AvatarBadgeIconExample() { return ( <Avatar className="grayscale"> <AvatarImage src="https://github.com/pranathip.png" alt="@pranathip" /> <Ava...
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...
680884cf1fddd3a8
python
118
Monokai
from typing_extensions import override from typing import Callable import torch import comfy.model_management from comfy_api.latest import ComfyExtension, io import nodes class EmptyChromaRadianceLatentImage(io.ComfyNode): @classmethod def define_schema(cls) -> io.Schema: return io.Schema( ...
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"...
e24120ef699b026a
csharp
101
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Globalization; using System.Security.Cryptography; using System.Text.Json; using Microsoft.SemanticKernel; namespace Plugins.DictionaryPlugin; /// <summary> /// Plugin example with two Local functions, where one function gets...
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...
2fc78fda89a7d6eb
csharp
46
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.SemanticKernel; /// <summary> /// Represents an failure that occurred during the execution of a process. /// </summary> /// <remarks> /// Initializes a new instance of the <see cref="KernelProcessError"/> class. /// </remarks> public ...
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.", ...
4d557b1fa1d490f7
csharp
95
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Dapr.Actors; using Dapr.Actors.Client; using Microsoft.SemanticKernel.Process; using Microsoft.SemanticKernel.Process.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// A context for a Dapr kernel pr...
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...
da49b09daf23240f
typescript
69
One Dark Pro
import { platform } from "~/platform" export type ValidUserResponse = { valid: boolean error: string } export const SESSION_EXPIRED = "Session expired. Please log in again." /** * Attempts to refresh the authentication token * @returns Promise resolving to a ValidUserResponse with the result */ const attemptT...
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...
d8f779d0b44d8feb
rust
52
GitHub Dark
// Author: NithinU2802 // Binary to Octal Converter: Converts Binary to Octal // Wikipedia References: // 1. https://en.wikipedia.org/wiki/Binary_number // 2. https://en.wikipedia.org/wiki/Octal pub fn binary_to_octal(binary_str: &str) -> Result<String, &'static str> { // Validate input let binary_str = binary...
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"...
690a5482d08c4297
csharp
108
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...