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
fa216fee66898318
java
122
Dracula
package com.macro.mall.common.config; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.util.ReflectionUtils; import or...
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...
cd75acd5deaf63e0
java
29
Dracula
package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldType; import java.io.Serializable; /** * 搜索商品的属性信息 * Created by macro on 2018/6/27. */ @Data @E...
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.", ...
1914dc56f1589985
csharp
71
Default Light+
#nullable enable // Copyright (c) 2020 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modif...
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" ...
eb4946681a8e8b49
rust
290
Solarized Dark
use std::{borrow::Cow, ops::Deref, sync::LazyLock}; use semver::Version; use crate::{ config::ModuleConfig, configs::fortran::FortranConfig, formatter::{StringFormatter, VersionFormatter}, }; use super::{Context, Module}; pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module...
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" ...
263c24574b0de453
typescript
366
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { createBrowserAgentDefinition, cleanupBrowserAgent, } from './browserAgentFactory.js'; import { injectAutomationOverlay } from './automationOverl...
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...
c7b609f608de6a11
csharp
78
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; using System.Text.Json; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Xunit; namespace SemanticKernel.UnitTests.AI.ChatCompletion; /// <summary> /// Unit tests of <see cref="ChatHistory"/>. /// </summary> publ...
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"...
d4b045a39cf933b7
cpp
123
Default Light+
#include "models.h" llm_build_baichuan::llm_build_baichuan(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v; GGML_ASSERT(n_embd_head == hparams.n_embd_head_k); GGML_ASSERT(n_embd_head == hparams.n_rot); ggml_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...
857e1106da77cd04
python
61
Default Light+
import base64 import re from .common import InfoExtractor from ..utils import ( extract_attributes, int_or_none, parse_iso8601, ) from ..utils.traversal import traverse_obj class ViouslyIE(InfoExtractor): _VALID_URL = False _WEBPAGE_TESTS = [{ 'url': 'http://www.turbo.fr/videos-voiture/45...
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"...
01b10162bde4210b
python
49
Default Light+
from .common import InfoExtractor from ..utils import ExtractorError, int_or_none, parse_iso8601, traverse_obj class TrtCocukVideoIE(InfoExtractor): _VALID_URL = r'https?://www\.trtcocuk\.net\.tr/video/(?P<id>[\w-]+)' _TESTS = [{ 'url': 'https://www.trtcocuk.net.tr/video/kaptan-pengu-ve-arkadaslari-1'...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
48a2f74841ccdb81
python
198
Monokai
import math import pytest from collections import OrderedDict from unittest.mock import patch, MagicMock mock_nodes = MagicMock() mock_nodes.MAX_RESOLUTION = 16384 mock_server = MagicMock() with patch.dict("sys.modules", {"nodes": mock_nodes, "server": mock_server}): from comfy_extras.nodes_math import MathExpre...
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...
75c7ac6f8958a186
csharp
62
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...
5ca8feb02d66226e
rust
28
Dracula
#[macro_export] macro_rules! return_if_not_method { ($call: ident, $prefix: ident) => { if $call.starts_with($prefix) { return None; } }; } #[macro_export] macro_rules! call_if_method { ($call: ident ,$method: literal, $block: block) => { if ($call != $method) { ...
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...
f80b4562b902aa5c
cpp
29
Solarized Light
#pragma once #include <QDialog> namespace Ui { class ExceptionRangeDialog; } class ExceptionRangeDialog : public QDialog { Q_OBJECT public: explicit ExceptionRangeDialog(QWidget* parent = nullptr); ~ExceptionRangeDialog(); unsigned long rangeStart; unsigned long rangeEnd; private slots: ...
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"...
4f2664c83a431515
rust
273
Solarized Light
use serde::de::Error as SerdeError; use serde::{Deserialize, Deserializer, Serialize}; use alacritty_config_derive::ConfigDeserialize; use crate::display::color::{CellRgb, Rgb}; #[derive(ConfigDeserialize, Serialize, Clone, Debug, Default, PartialEq, Eq)] pub struct Colors { pub primary: PrimaryColors, pub 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" ...
3bf00e217ce86ff8
python
480
Solarized Light
""" Mel Frequency Cepstral Coefficients (MFCC) Calculation MFCC is an algorithm widely used in audio and speech processing to represent the short-term power spectrum of a sound signal in a more compact and discriminative way. It is particularly popular in speech and audio processing tasks such as speech recognition an...
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...
df54c39846a40bfa
python
65
Default Light+
from __future__ import annotations import logging import torch from modules import ( devices, errors, face_restoration, face_restoration_utils, modelloader, shared, ) logger = logging.getLogger(__name__) model_url = 'https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.p...
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...
9ce723d209cdb0d7
java
72
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...
4ca931bb30e4d3bc
typescript
39
Solarized Light
import Link from "next/link" import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/examples/radix/ui/breadcrumb" export function BreadcrumbEllipsisDemo() { return ( <Breadcrumb> <BreadcrumbList> <Breadcr...
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...
6712637223d425f4
javascript
335
Solarized Light
#!/usr/bin/env node /** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Script for patch release trigger workflow (step 2). * Handles channel detection, workflow dispatch, and user feedback. */ import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; /** * Ex...
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.", ...
bbcd1abfbe613926
rust
396
Default Dark+
pub mod composite; pub mod hf; pub mod manual; pub mod ollama; pub mod openai; pub mod rest; use std::num::NonZeroUsize; use std::sync::Mutex; use std::time::Instant; use composite::SubEmbedderOptions; use crate::progress::EmbedderStats; use crate::prompt::PromptData; use crate::vector::error::{EmbedError, NewEmbedd...
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" ...
bd9595ce97d5a284
go
205
Default Light+
package _115_share import ( "fmt" "strconv" "time" driver115 "github.com/SheltonZhu/115driver/pkg/driver" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/pkg/errors" ) var _ model.Obj = (*FileObj)(nil) type Fil...
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...
b448900ef157ceac
csharp
226
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Amazon.BedrockAgentRuntime; using Amazon.BedrockAgentRuntime.Model; using Amazon.Runtime.EventStre...
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...
a52ce4c3d3257fa6
java
205
Default Light+
package com.thealgorithms.datastructures.hashmap.hashing; import java.util.LinkedList; /** * A generic implementation of a hash map using an array of linked lists for collision resolution. * This class provides a way to store key-value pairs efficiently, allowing for average-case * constant time complexity for ins...
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...
dbb6ed6ebff3f694
cpp
120
Solarized Light
#pragma once #include "_global.h" #include "expressionfunctions.h" namespace Exprfunc { duint srcline(duint addr); duint srcdisp(duint addr); duint modparty(duint addr); duint modsystem(duint addr); duint moduser(duint addr); duint modrva(duint addr); duint modheaderva(duint addr); du...
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.", ...
1e00b193a436b1a5
python
24
Dracula
from fastapi import FastAPI from pydantic import BaseModel as BaseModelV2 from pydantic.v1 import BaseModel class Item(BaseModel): name: str description: str | None = None size: float class ItemV2(BaseModelV2): name: str description: str | None = None size: float app = FastAPI() @app.pos...
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"...
a2e7fe4aad9cf8f9
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"...
8e14e28c220bc787
csharp
59
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 ...
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...
f88e172f7b131840
csharp
150
Monokai
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace System.Yaml { /// <summary> /// Add string class two methods: .UriEscape(), .UriUnescape() /// /// Charset that is not escaped is represented NonUriChar member. /...
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.", ...
933b19cc36e0c4a2
javascript
136
GitHub Dark
'use strict'; import CanceledError from './CanceledError.js'; /** * A `CancelToken` is an object that can be used to request cancellation of an operation. * * @param {Function} executor The executor function. * * @returns {CancelToken} */ class CancelToken { constructor(executor) { if (typeof executor !==...
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...
657046a50ac038ed
java
68
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
48154042a924af41
typescript
52
Solarized Dark
import { useCallback } from 'react' import { restartCore, stopCore, uninstallService } from '@/services/cmds' import { showNotice } from '@/services/notice-service' import { useSystemState } from './use-system-state' const executeWithErrorHandling = async ( operation: () => Promise<void>, loadingKey: string, s...
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" ...
59491ff7766d419c
typescript
21
Solarized Light
import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Spinner({ className, ...props }: React.ComponentProps<"svg">) { return ( <IconPlaceholder lucide="Loader2Icon" tabler="IconLoader" hugeicons="Loading03Icon...
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...
4ac4f3581b0ea857
go
90
Default Light+
package teambition import "time" type ErrResp struct { Name string `json:"name"` Message string `json:"message"` } type Collection struct { ID string `json:"_id"` Title string `json:"title"` Updated time.Time `json:"updated"` } type Work struct { ID string `json:"_id"` FileName ...
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...
e19a38b3f070dc86
typescript
372
Solarized Light
import { config } from "../config"; // import { // getRateLimiter, // serverRateLimiter, // redisRateLimitClient, // } from "./rate-limiter"; // import { RateLimiterMode } from "../../src/types"; // import { RateLimiterRedis } from "rate-limiter-flexible"; // describe("Rate Limiter Service", () => { // beforeA...
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...
41e87a0fc4522443
java
30
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...
5f2f3742022dea47
typescript
136
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState } from 'react'; import { Box, Text } from 'ink'; import { type AgentDefinition } from '@google/gemini-cli-core'; import { theme } from '../semantic-colors.js'; import { RadioButtonSelect, type RadioSelectItem,...
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...
0fb0455b5f3e0186
typescript
98
GitHub Dark
import { FormSchema } from '@/components/Form'; import anthropic from './icon/anthropic.png'; import deepspeek from './icon/deepspeek.png'; import ollama from './icon/ollama.png'; import OpenAi from './icon/OpenAi.png'; import qianfan from './icon/qianfan.png'; import qianwen from './icon/qianwen.png'; import zhipuai ...
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...
9123c1bf8fbcdbf6
typescript
29
Solarized Light
import { useCallback, useEffect, useRef, useState } from "react"; import { COMPACT_STATES, getMaxDisplayHeight } from "./constants"; import type { ContentCompactView } from "./types"; export const useCompactMode = (enabled: boolean) => { const containerRef = useRef<HTMLDivElement>(null); const [mode, setMode] = us...
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...
8f7e8de187269c69
rust
84
Dracula
#![allow(dead_code)] // https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731 // // JP/KR mapping https://github.com/TigerVNC/tigervnc/blob/1a008c1380305648ab50f1d99e73439747e9d61d/vncviewer/win32.c#L267 // altgr handle: https://github.com/TigerVNC/tigervnc/blob/dccb95f345f7a9c5aa785a19d1bfa3fdecd8f8e0/vncv...
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.", ...
08dcd84796a1ce3a
cpp
269
Default Light+
#include "llama-memory-hybrid.h" #include "llama-impl.h" #include "llama-model.h" #include "llama-context.h" // // llama_memory_hybrid // llama_memory_hybrid::llama_memory_hybrid( const llama_model & model, /* attn */ ggml_type type_k, ggml_type ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
41bd583708f8d8ef
csharp
39
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using Microsoft.SemanticKernel.Process.Internal; using Microsoft.SemanticKernel.Process.Models; namespace Microsoft.SemanticKernel; /// <summary> /// EndStep is a special purpose step that is used to trigger a process to stop. It is ...
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" ...
fb86471dafdc814f
typescript
55
Monokai
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck /** * @namespace Chart */ import Chart from './core/core.controller.js'; import * as helpers from './helpers/index.js'; import _adapters from './core/core.adapters.js'; import Animation from './core/core.animation.js'; import animator from...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
d55da21e7b63c3b8
typescript
348
Default Dark+
import { z } from 'zod'; import { Vote } from '@prisma/client'; import { TRPCError } from '@trpc/server'; import { createProtectedRouter } from '../context'; export const questionsAnswerCommentUserRouter = createProtectedRouter() .mutation('create', { input: z.object({ answerId: z.string(), content:...
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...
86c0119b6ae07a8b
typescript
26
One Dark Pro
import { HoppRESTRequest } from "@hoppscotch/data" import { CageModuleCtx, defineSandboxFn } from "faraday-cage/modules" import type { PmNamespaceMethods } from "~/types" /** * Creates pm (Postman compatibility) namespace methods for the sandbox environment * Provides Postman-compatible APIs for request information...
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.", ...
f56947ce26582a6c
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; /// <summary> /// AI21JambaResponse objects for Bedrock Runtime actions. /// </summary> internal static class AI21JambaResponse { //...
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"...
6cfcc91db39dfd02
typescript
114
Dracula
import path from 'node:path' import { TraceMap, originalPositionFor } from '@jridgewell/trace-mapping' import type { EnvironmentModuleGraph } from '..' let offset: number function calculateOffsetOnce() { if (offset !== undefined) { return } try { new Function('throw new Error(1)')() } catch (e) { ...
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...
543a7aa135542107
java
181
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"...
b15df50678b81907
python
414
Monokai
import torch from torch import nn import math import comfy.ldm.common_dit from comfy.ldm.modules.attention import optimized_attention from comfy.ldm.flux.math import apply_rope1 from comfy.ldm.flux.layers import EmbedND def attention(q, k, v, heads, transformer_options={}): return optimized_attention( q.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...
ea3cd3afec81a1ac
typescript
56
Default Light+
import { THEME } from "@excalidraw/common"; import type { Theme } from "@excalidraw/element/types"; import { t } from "../i18n"; import { ToolButton } from "./ToolButton"; import "./ToolIcon.scss"; // We chose to use only explicit toggle and not a third option for system value, // but this could be added in the fu...
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...
25e725898121798d
csharp
99
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" ...
d2e76431ac578671
go
175
Default Light+
package _123Share import ( "context" "encoding/base64" "fmt" "net/http" "net/url" "sync" "time" "golang.org/x/time/rate" _123 "github.com/alist-org/alist/v3/drivers/123" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/er...
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...
149d90c5b41710f5
typescript
154
Solarized Light
"use client" import * as React from "react" import { ArrowDown, ArrowUp, Bell, Copy, CornerUpLeft, CornerUpRight, FileText, GalleryVerticalEnd, LineChart, Link, MoreHorizontal, Settings2, Star, Trash, Trash2, } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button"...
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...
676bde3f38690cd3
java
44
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...
3756c10fed734437
java
28
Solarized Dark
//There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. //The cost of painting each house with a certain color is different. You have to paint all the houses such //that no two adjacent houses have the same color. //The cost of painting each house with a certain col...
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"...
be7a74deaa2c9a80
csharp
33
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...
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" ...
644dd3de737ab49a
java
24
GitHub Dark
package org.jeecg.config; import org.jeecg.common.constant.CommonConstant; import org.springframework.context.annotation.Condition; import org.springframework.context.annotation.ConditionContext; import org.springframework.core.type.AnnotatedTypeMetadata; /** * 跨域配置加载条件 * @author: jeecg-boot */ public class CorsFi...
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...
d16b7afd292401ad
java
222
GitHub Dark
package org.jeecg.common.util; import io.minio.*; import io.minio.http.Method; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.constant.SymbolConstant; import org.jeecg.common.util.filter.SsrfFileTypeFilter; import org.jeecg.common.util.filter.StrAttackFilter; import org.springframework.web.multipart.Multipa...
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" ...
922575b0c9e90c3d
python
141
Default Light+
import re from .common import InfoExtractor from ..utils import ( filter_dict, float_or_none, int_or_none, parse_age_limit, smuggle_url, traverse_obj, unsmuggle_url, url_or_none, ) class CineverseBaseIE(InfoExtractor): _VALID_URL_BASE = r'https?://www\.(?P<host>{})'.format('|'.joi...
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...
d60827a9e0d3e8ac
typescript
83
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { uiTelemetryService, SessionEndReason, SessionStartSource, flushTelemetry, } from '@google/gemini-cli-core'; import { CommandKind, type SlashCommand } from './types.js'; import { MessageType } from '../types.js'; im...
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" ...
8dc1c5c739c5dfc8
csharp
224
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...
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"...
5a1a9dbed2de6c8d
python
98
Dracula
""" Example of using callbacks with Dask ==================================== """ from typing import Any import numpy as np from dask.distributed import Client, LocalCluster from dask_ml.datasets import make_regression from dask_ml.model_selection import train_test_split import xgboost as xgb import xgboost.dask as ...
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...
4fbd73babc6d66ef
cpp
197
One Dark Pro
#include "validate_myanmar.h" #include "errcode.h" #include "icuerrorcode.h" #include "tprintf.h" #include "unicode/uchar.h" // From libicu #include "unicode/uscript.h" // From libicu namespace tesseract { // Returns whether codes matches the pattern for a Myanmar Grapheme. // Taken directly from the unicode table ...
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.", ...
4b1b992231b82759
go
151
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" ...
852b17cef291b465
python
76
Solarized Light
""" https://en.wikipedia.org/wiki/Running_key_cipher """ def running_key_encrypt(key: str, plaintext: str) -> str: """ Encrypts the plaintext using the Running Key Cipher. :param key: The running key (long piece of text). :param plaintext: The plaintext to be encrypted. :return: The ciphertext. ...
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...
7874037372fa9745
java
32
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" ...
eb82eb8f5b594fca
csharp
150
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.OpenAI; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.PromptTemplates.Handlebars; using Microsoft.SemanticKernel.PromptTemplates.Liquid; using OpenAI.Assistants; names...
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...
176b69bb2f8321c0
go
38
Default Light+
//go:build aix || darwin || dragonfly || freebsd || (linux && !appengine) || netbsd || openbsd || os400 || solaris package readline import ( "syscall" ) type Termios syscall.Termios func SetRawMode(fd uintptr) (*Termios, error) { termios, err := getTermios(fd) if err != nil { return nil, err } newTermios :=...
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"...
a56ae25a38b64c1a
python
42
Default Light+
from .common import InfoExtractor class RestudyIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:(?:www|portal)\.)?restudy\.dk/video/[^/]+/id/(?P<id>[0-9]+)' _TESTS = [{ 'url': 'https://www.restudy.dk/video/play/id/1637', 'info_dict': { 'id': '1637', 'e...
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...
b7d915bc9d285ae1
python
110
Default Light+
from __future__ import annotations import bisect import threading import time class ProgressCalculator: # Time to calculate the speed over (seconds) SAMPLING_WINDOW = 3 # Minimum timeframe before to sample next downloaded bytes (seconds) SAMPLING_RATE = 0.05 # Time before showing eta (seconds) ...
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...
604b7782195aef76
typescript
159
Solarized Light
"use client" import * as React from "react" import { XIcon } from "lucide-react" import { Dialog as DialogPrimitive } from "radix-ui" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) { retur...
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...
baf622b4a70a6741
csharp
160
Default Light+
// Copyright (c) 2017 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
c6cacb5135905429
csharp
141
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" ...
daf2570a0aeb7018
csharp
76
Dracula
using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 namespace CalculatorApp { [Windows.Foundation.Metadata.WebHostHidden] public sealed partial class MemoryListItem : UserControl { public MemoryLi...
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"...
8a53fb58592f2d2a
python
35
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Annotated from semantic_kernel.functions.kernel_function_decorator import kernel_function ############################### # Plugins for demo purposes ### ############################### class WeatherPlugin: """A demo plugin for getting the weat...
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" ...
51d013e2675dce5b
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.IO; using System.Reflection; internal static class RepoFiles { /// <summary> /// Scan the local folders from the repo, looking for "prompt_template_samples" folder. /// </summary> /// <returns>The full path to prompt_template_samples</retu...
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" ...
67639294d0bf5a02
typescript
88
Solarized Light
"use client" import * as React from "react" import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/registry/new-york-v4/...
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...
c3a652c5762f1b98
python
112
Solarized Light
#!/usr/bin/env python3 """ The Bifid Cipher uses a Polybius Square to encipher a message in a way that makes it fairly difficult to decipher without knowing the secret. https://www.braingle.com/brainteasers/codes/bifid.php """ import numpy as np SQUARE = [ ["a", "b", "c", "d", "e"], ["f", "g", "h", "i", "k"...
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...
603b83dd229346db
typescript
40
Solarized Light
export function absolutifyLink(rel: string): string { const anchor = document.createElement("a"); anchor.setAttribute("href", rel); return anchor.href; } export function getSystemColorScheme() { if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) { return "dark"; } else { ...
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...
1ceba982d9bbcf71
rust
212
GitHub Dark
//! Calculates simple, compound, and APR interest on a principal amount. //! //! Formulas: //! Simple Interest: I = p * r * t //! Compound Interest: I = p * ((1 + r)^n - 1) //! APR Interest: Compound interest with r = annual_rate / 365 //! and n = years * 365 //! where: //! - `p` is ...
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...
d27c01bc43bf5fb1
typescript
104
Solarized Light
import type { LatLng } from "leaflet"; import type { Location, Memo, Visibility } from "@/types/proto/api/v1/memo_service_pb"; import type { EditorRefActions } from "../Editor"; import type { Command } from "../Editor/commands"; import type { LocationState } from "./insert-menu"; export interface MemoEditorProps { c...
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.", ...
2015abae2423bbe5
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Nodes; using Microsoft.Extensions.AI; namespace Microsoft.SemanticKernel.Connectors.Redis; internal interface IRedisJsonMapper<TRecord> { /// <summary> /// Maps from the consumer record data model to th...
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...
7cfd3505e02c6cdb
typescript
62
GitHub Dark
import { logger } from "@coder/logger" /** * Event emitter callback. Called with the emitted value and a promise that * resolves when all emitters have finished. */ export type Callback<T, R = void | Promise<void>> = (t: T, p: Promise<void>) => R export interface Disposable { dispose(): void | Promise<void> } e...
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...
375e5b05c3bd7eab
java
29
Solarized Dark
//Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right //which minimizes the sum of all numbers along its path. //Note: You can only move either down or right at any point in time. //Example 1: //[[1,3,1], //[1,5,1], //[4,2,1]] //Given the above grid map, return 7. Because 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...
13e9a712a00d34c3
csharp
37
Dracula
global using System; global using System.Collections.Generic; global using System.Globalization; global using System.IO; global using System.Linq; global using System.Reactive.Disposables.Fluent; global using System.Reactive.Linq; global using System.Text; global using System.Threading; global using System.Threading.Ta...
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...
4d51cf1b33660109
java
36
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" ...
ee870b8e3f2ae9a8
java
102
Default Light+
package com.thealgorithms.divideandconquer; /** * A utility class for counting the number of inversions in an array. * <p> * An inversion is a pair (i, j) such that i < j and arr[i] > arr[j]. * This class implements a divide-and-conquer approach, similar to merge sort, * to count the number of inversions efficien...
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...
61a4857f3fefcb79
typescript
95
Solarized Light
import * as React from "react" import { cn } from "@/registry/bases/base/lib/utils" function Card({ className, size = "default", ...props }: React.ComponentProps<"div"> & { size?: "default" | "sm" }) { return ( <div data-slot="card" data-size={size} className={cn("cn-card group/card flex...
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" ...
107fad355b94099a
python
116
Default Light+
from .common import InfoExtractor from ..utils import parse_duration, parse_iso8601, traverse_obj class NOSNLArticleIE(InfoExtractor): _VALID_URL = r'https?://nos\.nl/(?P<type>video|(\w+/)?\w+)/?\d+-(?P<display_id>[\w-]+)' _TESTS = [ { # only 1 video 'url': 'https://nos.nl/nieu...
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.", ...
fac711b7bb215f5b
cpp
64
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 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...
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...
fa57e54b67369196
typescript
69
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { patchStdio, createWorkingStdio } from './stdio.js'; import { coreEvents } from './events.js'; vi.mock('./events.js', () => ({ coreEvents: { e...
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"...
0c9df5335c0c6bc9
csharp
27
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// Options for OpenAPI document parser. /// </summary> public sealed class OpenApiDocumentParserOptions { /// <summary> /// Flag indicating whether to ignore non-compliant errors...
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...
db022fe41af544e8
go
479
Default Light+
// Package api implements the client-side API for code wishing to interact // with the ollama service. The methods of the [Client] type correspond to // the ollama REST API as described in [the API documentation]. // The ollama command-line client itself uses this package to interact with // the backend service. // // ...
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...
5c4302102ea8d163
typescript
211
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box, Text, useIsScreenReaderEnabled } from 'ink'; import type React from 'react'; import { useMemo } from 'react'; import { theme } from '../semantic-colors.js'; import { RadioButtonSelect, type RadioSelectItem, } from...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
1e12789706dae5e0
cpp
139
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/task_manager.hpp> #include <hex/ui/view.hpp> #include <hex/helpers/binary_pattern.hpp> #include <ui/widgets.hpp> #include <vector> #include <wolv/container/interval_tree.hpp> #include <hex/api/content_registry/views.hpp> #include <hex/api/content_registry/data_form...
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...
13c290a5e46b1047
csharp
34
Default Light+
using NimblePros.SampleToDo.Core.ContributorAggregate; using NimblePros.SampleToDo.Core.ProjectAggregate; namespace NimblePros.SampleToDo.Infrastructure.Data; public class AppDbContext : DbContext { public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) {} public DbSet<ToDoItem> ToDo...
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" ...
0111a1aaacbebf69
cpp
94
One Dark Pro
#if defined(OS_WINDOWS) #include "messaging.hpp" #include <hex/helpers/logger.hpp> #include <windows.h> namespace hex::messaging { std::optional<HWND> getImHexWindow() { HWND imhexWindow = nullptr; ::EnumWindows([](HWND hWnd, LPARAM ret) -> BOOL { // Get the window name ...
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.", ...
a2937f3768087875
csharp
35
Monokai
using System.IO; namespace ScreenToGif.Util.Codification.Psd; internal class ImageData : IPsdContent { /// <summary> /// 0 = Raw Data /// 1 = RLE compressed /// 2 = ZIP without prediction /// 3 = ZIP with prediction. /// </summary> internal ushort Encoding { get; set; } = 1; internal ...
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"...
3358807008816bdd
rust
162
One Dark Pro
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use gdbstub_arch::x86::reg::X86_64CoreRegs as CoreRegs; use kvm_bindings::*; use kvm_ioctls::VcpuFd; use vm_memory::GuestAddress; use crate::Vmm; use crate::gdb::target::GdbTargetError; use crate::logger:...
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...
e4f3e568f6ee6962
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 ...
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...
e7ada8e4e4a089bb
typescript
240
One Dark Pro
import { ConsoleEntry } from "faraday-cage/modules" import * as E from "fp-ts/Either" import { cloneDeep } from "lodash-es" import { defaultModules, postRequestModule } from "~/cage-modules" import { HoppFetchHook, RunPostRequestScriptOptions, SandboxTestResult, TestDescriptor, TestResponse, TestResult, } ...
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...