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
3934cf232c3faa28
python
240
Monokai
import pytest import torch import tempfile import os import av import io from fractions import Fraction from comfy_api.input_impl.video_types import VideoFromFile, VideoFromComponents from comfy_api.util.video_types import VideoComponents from comfy_api.input.basic_types import AudioInput from av.error import InvalidDa...
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...
cd3399b5dac16694
typescript
108
Solarized Light
"use client" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { Field, FieldLabel } from "@/registry/bases/base/ui/field" import { Input } from "@/registry/bases/base/ui/inp...
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...
996bd9ff6075cab7
java
500
GitHub Dark
package com.github.mikephil.charting.charts; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.RectF; import android.util.Attrib...
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...
802b4189328aa4d0
rust
90
GitHub Dark
use crate::data_structures::Heap; use std::cmp::{Ord, Ordering}; /// Returns k-th smallest element of an array. /// Time complexity is stably O(nlog(k)) in all cases /// Extra space is required to maintain the heap, and it doesn't /// mutate the input list. /// /// It is preferrable to the partition-based algorithm in...
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...
1d3c0507751d6f6c
javascript
73
Dracula
export default class FenwickTree { /** * Constructor creates empty fenwick tree of size 'arraySize', * however, array size is size+1, because index is 1-based. * * @param {number} arraySize */ constructor(arraySize) { this.arraySize = arraySize; // Fill tree array with zeros. this.treeA...
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...
1b3bd7b03ec82803
csharp
38
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
106f4af57b2b191b
cpp
133
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
9862aa7daed98daa
cpp
422
Solarized Light
#include "MiscUtil.h" //#include <QtWin> #include <QApplication> #include <QMessageBox> #include <QCheckBox> #include <QDir> #include <Gui/LineEditDialog.h> #include <Gui/ComboBoxDialog.h> #include "StringUtil.h" #include <Gui/BrowseDialog.h> #include "Bridge.h" #include <thread> #if 0 void SetApplicationIcon(WId winI...
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...
2c31b1720759ec5f
cpp
83
Solarized Light
#pragma once #include "Imports.h" #include <map> #include <functional> #include <QMutex> #include "MemoryPage.h" typedef DWORD TRACEINDEX; class TraceFileDump { public: struct Key { duint addr; TRACEINDEX index; friend bool operator <(const Key & a, const Key & b) { ...
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...
9d73c330c8eae6d4
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...
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...
7576dcb3b25de7b0
csharp
50
Monokai
using System.Text.Encodings.Web; using System.Text.Json; using System.Text.Json.Serialization; using Netch.Forms; using Netch.Models; using Netch.Models.Modes; using WindowsJobAPI; namespace Netch; public static class Global { /// <summary> /// 主窗体的静态实例 /// </summary> private static readonly Lazy<...
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...
190545d297e1ebc9
java
178
Default Dark+
package org.schabi.newpipe.fragments.list.kiosk; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.a...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
502f281465ad55eb
go
291
Solarized Light
package postgres import ( "context" "database/sql" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) // TestGetUserByPATHashWithMissingData tests the fix for #5611 and #5612. // Verifies...
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" ...
0cdc3ac2f8f2ae55
typescript
24
GitHub Dark
import type { AppRouteRecordRaw } from '/@/router/types'; import { LAYOUT } from '/@/router/constant'; export const AI_ROUTE: AppRouteRecordRaw = { path: '', name: 'ai-parent', component: LAYOUT, meta: { title: 'ai', }, children: [ { path: '/ai', name: 'ai', component: () => impor...
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"...
a3140677d2faf6d6
cpp
54
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 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" ...
2c9d2349d82d322c
go
208
Default Light+
package doubao_share import ( "encoding/json" "fmt" "github.com/alist-org/alist/v3/internal/model" ) type BaseResp struct { Code int `json:"code"` Msg string `json:"msg"` } type NodeInfoData struct { Share ShareInfo `json:"share,omitempty"` Creator CreatorInfo `json:"creator,omitempty"` NodeLis...
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.", ...
03c7c91dcad51304
typescript
96
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, } from "@/examples/radix/ui/sidebar...
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...
2143b52c06ab4412
javascript
128
Default Dark+
"use strict"; // Original source at https://github.com/elasticio/node-ntlm-client/blob/master/lib/hash.js var crypto = require("crypto"); function createLMResponse(challenge, lmhash) { var buf = new Buffer.alloc(24), pwBuffer = new Buffer.alloc(21).fill(0); lmhash.copy(pwBuffer); calculateDES(pwBuff...
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...
a73027c6b8caf071
typescript
182
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, expect, it, vi } from 'vitest'; import { getToolGroupBorderAppearance } from './borderStyles.js'; import { CoreToolCallStatus } from '@google/gemini-cli-core'; import { theme } from '../semantic-colors.js'; impor...
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...
c262c7d7af0c68cc
csharp
253
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Google; /// <summary> /// Represents a safety setting for the Gemini prompt. /// </summary> public sealed class GeminiSafetySetting { /// <su...
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...
3f2578ac9237e5f9
java
245
GitHub Dark
package org.jeecg.modules.airag.wordtpl.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.swagger.v3.oas...
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...
cf1e4e64c03c951a
typescript
226
Dracula
import path, { resolve } from 'node:path' import { fileURLToPath } from 'node:url' import { readFileSync } from 'node:fs' import type { RollupPluginHooks } from './typeUtils' const { version } = JSON.parse( readFileSync(new URL('../../package.json', import.meta.url)).toString(), ) export const ROLLUP_HOOKS: RollupP...
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" ...
cc11755de1c03136
cpp
244
One Dark Pro
#include <hex/mcp/server.hpp> #include <string> #include <fmt/format.h> #include <hex/helpers/logger.hpp> #include <nlohmann/json.hpp> #include <utility> #include <hex/api/task_manager.hpp> #include <wolv/net/socket_client.hpp> #include <hex/api/imhex_api/system.hpp> namespace hex::mcp { std::optional<std::str...
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...
795ad1c615500393
python
60
Solarized Light
""" Project Euler Problem 75: https://projecteuler.net/problem=75 It turns out that 12 cm is the smallest length of wire that can be bent to form an integer sided right angle triangle in exactly one way, but there are many more examples. 12 cm: (3,4,5) 24 cm: (6,8,10) 30 cm: (5,12,13) 36 cm: (9,12,15) 40 cm: (8,15,17...
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...
04e0497e00e26792
csharp
90
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
a87cdccbc635e900
go
100
GitHub Dark
// Copyright 2018 The mkcert Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bytes" "fmt" "io/ioutil" "log" "os" "path/filepath" "strings" ) var ( FirefoxProfiles = []string{os.Getenv("HOME") + "/.moz...
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" ...
7defc85406cdd87c
rust
212
Solarized Light
use std::{ borrow::Cow, env, fs, net::TcpListener, path::{Path, PathBuf}, str::{self, FromStr as _}, }; use anyhow::{Context, Result, anyhow}; use log::{error, info}; use tiny_http::{Header, Response, Server}; use super::wasm; macro_rules! optional_resource { ($name:tt, $path:tt) => { ...
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" ...
24353afb86e6f402
rust
35
Solarized Dark
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct CMakeConfig<'a> { pub format: &'a str, pub version_format: &'a str, pub symbol: &'a st...
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...
09800ec60e4f4f8f
typescript
93
One Dark Pro
import wildcard from "socketio-wildcard" import ClientV2 from "socket.io-client-v2" import { io as ClientV4, Socket as SocketV4 } from "socket.io-client-v4" import { io as ClientV3, Socket as SocketV3 } from "socket.io-client-v3" type Options = { path: string auth?: { token: string | undefined } } type Poss...
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" ...
12c3c2c00df15c83
java
108
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
c1824cc9e44c6e8c
csharp
59
Default Light+
// Copyright (c) 2016 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publi...
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...
9561742b3f15d34c
python
404
Default Light+
import functools import json import re import urllib.parse from .common import InfoExtractor from ..utils import ( OnDemandPagedList, clean_html, determine_ext, extract_attributes, int_or_none, parse_iso8601, str_or_none, unescapeHTML, url_or_none, urljoin, ) from ..utils.traver...
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...
e2c6704b80e1024d
cpp
107
Default Light+
#include "models.h" llm_build_jamba::llm_build_jamba(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_tensor * cur; ggml_tensor * inpL; // {n_embd, n_tokens} inpL = build_inp_embd(model.tok_embd...
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" ...
e9fab767f63d0bd9
csharp
119
Default Light+
#nullable enable // Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation ...
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...
7603ddd517697f8a
typescript
293
Solarized Light
import { timestampDate } from "@bufbuild/protobuf/wkt"; import dayjs from "dayjs"; import { ExternalLinkIcon, PaperclipIcon, SearchIcon, Trash } from "lucide-react"; import { useCallback, useEffect, useMemo, useState } from "react"; import { toast } from "react-hot-toast"; import { Link } from "react-router-dom"; impor...
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" ...
cff605ae78865e03
typescript
341
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import os from 'node:os'; import path from 'node:path'; import fs from 'node:fs/promises'; import { vi, describe, expect, it, afterEach, beforeEach } from 'vitest'; import * as gitUtils from '../../utils/gitUtils.js'; import { s...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
abe3de8133371e2d
java
36
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsBrandExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface PmsBrandMapper { long countByExample(PmsBrandExample example); int deleteByExample(PmsBrandExample example); ...
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...
a87f9d961b4b638e
python
152
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel import Kernel from semantic_kernel.agents import ChatCompletionAgent, ChatHistoryAgentThread from semantic_kernel.connectors.ai.open_ai import AzureChatCompletion from semantic_kernel.fil...
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...
36e7180673223877
typescript
114
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { PartListUnion } from '@google/genai'; import { parseSlashCommand } from './utils/commands.js'; import { FatalInputError, Logger, uiTelemetryService, type Config, } from '@google/gemini-cli-core'; import { Comm...
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"...
1e3662e2989eb913
csharp
83
Monokai
using System.IO; namespace ScreenToGif.Util.Codification.Apng.Chunks; /// <summary> /// The frame control chunk. /// </summary> internal class FctlChunk : Chunk { ///<summary> ///Sequence number of the animation chunk, starting from 0. ///</summary> internal uint SequenceNumber { get; private set; } ...
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...
e4ca0aad7ccc067a
typescript
39
Solarized Light
"use client" import * as React from "react" import { Checkbox as CheckboxPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPr...
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.", ...
ca40a2abece1e6fe
cpp
34
Solarized Light
#pragma once #include "_global.h" #include "_plugins.h" #include <functional> class ExpressionFunctions { public: using CBEXPRESSIONFUNCTION = std::function<bool(ExpressionValue* result, int argc, const ExpressionValue* argv, void* userdata)>; static void Init(); static bool Register(const String & name...
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" ...
5800771ccf404fb6
typescript
178
One Dark Pro
import { HoppCollection } from "@hoppscotch/data" import { ChildrenResult, SmartTreeAdapter } from "@hoppscotch/ui/helpers" import { computed, Ref } from "vue" import { TestRunnerRequest } from "~/services/test-runner/test-runner.service" export type Collection = { type: "collections" isLastItem: boolean data: {...
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"...
c3fe3da78b118f74
csharp
58
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel; using SemanticKernel.UnitTests.Functions.JsonSerializerContexts; using Xunit; namespace SemanticKernel.UnitTests.Functions; public class KernelFunctionFactoryCreateFromDelegateTests...
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.", ...
585b37adcec4c16c
typescript
63
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs'; import * as path from 'node:path'; import { performInit } from '@google/gemini-cli-core'; import type { Command, CommandContext, CommandExecutionResponse, } from './types.js'; export class Init...
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...
f3d431e2d687ac70
typescript
35
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../../test-utils/render.js'; import { WarningMessage } from './WarningMessage.js'; import { describe, it, expect } from 'vitest'; describe('WarningMessage', () => { it('renders with the correct prefix ...
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...
0435d46f9629ecb3
cpp
294
One Dark Pro
#include <sycl/sycl.hpp> #include "wkv.hpp" constexpr int WKV_BLOCK_SIZE = 64; // Helper function for the main kernel template <int block_size> static void rwkv_wkv6_f32_kernel( const int B, const int T, const int C, const int H, const float* k, const float* v, const float* r, const float* tf, const float...
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...
73d64f9d478b194d
cpp
69
One Dark Pro
/********************************************************************** * File: werdit.cpp (Formerly wordit.c) * Description: An iterator for passing over all the words in a document. * Author: Ray Smith * Created: Mon Apr 27 08:51:22 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Lice...
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...
89a390d4b169fb97
go
123
GitHub Dark
// Copyright 2018 The mkcert Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bytes" "crypto/sha1" "crypto/sha256" "crypto/x509" "encoding/hex" "hash" "os" "os/exec" "path/filepath" "runtime" "string...
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...
80c7485367cbfa48
csharp
61
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...
504946dc000194a6
python
446
Monokai
import numpy as np import scipy.ndimage import torch import comfy.utils import node_helpers from typing_extensions import override from comfy_api.latest import ComfyExtension, IO, UI import nodes def composite(destination, source, x, y, mask = None, multiplier = 8, resize_source = False): source = source.to(desti...
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...
a5cdd990535180c6
csharp
57
Monokai
using System.Windows; using System.Windows.Input; namespace ScreenToGif.Windows.Other; public partial class GoTo { #region Properties public int Maximum { get; set; } public int Selected { get; set; } #endregion public GoTo(int maximum) { InitializeComponent(); Maximum = m...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
8b5d8f1d6ad6fbc2
python
188
Dracula
# pylint: disable=missing-function-docstring """Global configuration for XGBoost""" import ctypes import json from contextlib import contextmanager from functools import wraps from typing import Any, Callable, Dict, Iterator, Optional, cast from ._typing import _F from .core import _LIB, _check_call, c_str, py_str ...
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.", ...
103958b7c0d0f187
java
62
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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"...
64d03dcec074cb66
java
53
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"...
7e067b262c2b874a
go
22
Default Light+
package middlewares import ( "fmt" "strings" "github.com/alist-org/alist/v3/internal/conf" "github.com/gin-gonic/gin" ) func ForceHttps(c *gin.Context) { if c.Request.TLS == nil { host := c.Request.Host // change port to https port host = strings.Replace(host, fmt.Sprintf(":%d", conf.Conf.Scheme.HttpPort)...
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...
98d8ef705f687ef2
python
38
Default Light+
from .common import InfoExtractor from ..utils import format_field, traverse_obj, unified_timestamp class LivestreamfailsIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?livestreamfails\.com/(?:clip|post)/(?P<id>[0-9]+)' _TESTS = [{ 'url': 'https://livestreamfails.com/clip/139200', 'md5': ...
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" ...
31e3b609bcc9c1b1
javascript
31
Default Dark+
import axios from "axios"; import fs from "fs"; import jsYaml from "js-yaml"; const LANGS_FILEPATH = "./src/common/languageColors.json"; //Retrieve languages from github linguist repository yaml file //@ts-ignore axios .get( "https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml", ...
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"...
092ae634e694a3d6
python
456
Default Light+
import datetime as dt import itertools import json import re import urllib.parse from .common import InfoExtractor, SearchInfoExtractor from ..utils import ( ExtractorError, determine_ext, float_or_none, format_field, int_or_none, str_or_none, traverse_obj, try_get, unescapeHTML, ...
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...
d2f7d77e48395272
go
37
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...
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...
c215710483d8b8f6
java
47
GitHub Dark
package org.jeecg.modules.message.entity; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * @Description...
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...
710a13fb428b1979
csharp
101
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...
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...
a32087fb5a32e9e9
cpp
48
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...
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...
15f8b4429baf5faf
rust
119
GitHub Dark
const ERROR_MESSAGE: &str = "Rotation must be in the range [0, 25]"; const ALPHABET_LENGTH: u8 = b'z' - b'a' + 1; /// Encrypts a given text using the Caesar cipher technique. /// /// In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code, /// or Caesar shift, is one of the sim...
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...
7d41dea41c9d9455
python
71
Default Light+
import urllib.parse from .common import InfoExtractor class RtmpIE(InfoExtractor): IE_DESC = False # Do not list _VALID_URL = r'(?i)rtmp[est]?://.+' _TESTS = [{ 'url': 'rtmp://cp44293.edgefcs.net/ondemand?auth=daEcTdydfdqcsb8cZcDbAaCbhamacbbawaS-bw7dBb-bWG-GqpGFqCpNCnGoyL&aifp=v001&slist=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.", ...
f688c86e6cc1db56
rust
105
Dracula
#![cfg_attr( all(not(debug_assertions), target_os = "windows"), windows_subsystem = "windows" )] use librustdesk::*; #[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))] fn main() { if !common::global_init() { eprintln!("Global initialization failed."); return; } ...
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"...
b0fec37da921ba74
java
69
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...
a294d6d16fba8fcf
python
91
Default Light+
import re from .common import InfoExtractor class ToypicsIE(InfoExtractor): _WORKING = False IE_DESC = 'Toypics video' _VALID_URL = r'https?://videos\.toypics\.net/view/(?P<id>[0-9]+)' _TEST = { 'url': 'http://videos.toypics.net/view/514/chancebulged,-2-1/', 'md5': '16e806ad6d6f58079d...
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...
bf065a88034b7ea0
typescript
64
Solarized Light
import { Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarSeparator, MenubarShortcut, MenubarTrigger, } from "@/examples/radix/ui/menubar" import { FileIcon, FolderIcon, HelpCircleIcon, SaveIcon, SettingsIcon, TrashIcon, } from "lucide-react" export function MenubarIc...
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...
652f32891ea9d4fa
typescript
122
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach, type Mock, } from 'vitest'; import { InstallationManager } from './installationManager.js'; import * as fs from 'node:fs'; import * as os from 'node:os'; impor...
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...
b2cd5e486b1cf914
java
220
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...
4de69843715cf6c4
python
91
Monokai
# Copyright (c) Microsoft. All rights reserved. from dataclasses import dataclass from enum import Enum from typing import Any from openai import BadRequestError from semantic_kernel.exceptions import ServiceContentFilterException class ContentFilterResultSeverity(Enum): """The severity of the content filter r...
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...
316339a44eefb10b
go
119
One Dark Pro
package whisper import ( "io" "time" ) /////////////////////////////////////////////////////////////////////////////// // TYPES // SegmentCallback is the callback function for processing segments in real // time. It is called during the Process function type SegmentCallback func(Segment) // ProgressCallback is th...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
cbde2f9de394c23e
go
21
Default Light+
package task import "github.com/xhofe/tache" type Manager[T tache.Task] interface { Add(task T) Cancel(id string) CancelAll() CancelByCondition(condition func(task T) bool) GetAll() []T GetByID(id string) (T, bool) GetByState(state ...tache.State) []T GetByCondition(condition func(task T) bool) []T Remove(id...
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" ...
63991e91fcaf45e2
typescript
154
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { expect, describe, it } from 'vitest'; import { hydrateString, recursivelyHydrateStrings, validateVariables, type VariableContext, } from './variables.js'; describe('validateVariables', () => { it('should not thr...
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.", ...
0a31f4e5b268358e
rust
128
Default Dark+
use fxhash::FxHashSet; use roaring::RoaringBitmap; use super::{ComputedCondition, RankingRuleGraphTrait}; use crate::score_details::{Rank, ScoreDetails}; use crate::search::new::interner::{DedupInterner, Interned}; use crate::search::new::query_term::LocatedQueryTermSubset; use crate::search::new::resolve_query_graph:...
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...
8f099a1f61fb6ab5
rust
274
Solarized Light
// Menu functionality is only used on macOS #![cfg(target_os = "macos")] use crate::app::window::open_additional_window_safe; use tauri::menu::{AboutMetadata, Menu, MenuItem, PredefinedMenuItem, Submenu}; use tauri::{AppHandle, Manager, Wry}; use tauri_plugin_opener::OpenerExt; pub fn get_menu(app: &AppHandle<Wry>, a...
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" ...
c60ae17270d84e77
csharp
404
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Microsoft.Extensions.VectorData.ProviderServices.Filter; /// <summary> /// Base class for filte...
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"...
34a9e09f7dfb4180
python
54
Solarized Light
""" Project Euler Problem 131: https://projecteuler.net/problem=131 There are some prime values, p, for which there exists a positive integer, n, such that the expression n^3 + n^2p is a perfect cube. For example, when p = 19, 8^3 + 8^2 x 19 = 12^3. What is perhaps most surprising is that for each prime with this pr...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a6e6d9bf1de158c0
typescript
106
GitHub Dark
import type { ComputedRef } from 'vue'; import type { BasicTableProps } from '../types/table'; import { unref } from 'vue'; import { ROW_KEY } from '../const'; import { isString, isFunction } from '/@/utils/is'; interface Options { setSelectedRowKeys: (keys: string[]) => void; getSelectRowKeys: () => string[]; 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.", ...
4ba59c8e7b8d9a3d
csharp
216
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Text.Json; using System.Text.Json.Serialization; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; 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.", ...
76520b1fd1a40977
java
57
Dracula
package com.macro.mall.portal.service; import com.macro.mall.model.OmsCartItem; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.CartPromotionItem; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 购物车管理Service * Created by macro on 20...
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" ...
14c7547285bdeb55
java
59
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" ...
5894321f03a6e9f4
typescript
40
Default Dark+
import withHref from '~/utils/questions/withHref'; import type { BaseQuestionCardProps } from './BaseQuestionCard'; import BaseQuestionCard from './BaseQuestionCard'; export type QuestionListCardProps = Omit< BaseQuestionCardProps & { showActionButton: false; showAggregateStatistics: true; showAnswerSta...
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"...
d2b050d3642f8ae7
typescript
53
Solarized Light
import * as React from "react" import Image from "next/image" import { ScrollArea, ScrollBar } from "@/examples/radix/ui/scroll-area" export interface Artwork { artist: string art: string } export const works: Artwork[] = [ { artist: "Ornella Binni", art: "https://images.unsplash.com/photo-1465869185982...
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.", ...
5ed2fe2c7371f417
csharp
53
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
1750889fe3ef0f1f
typescript
30
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useMemo } from 'react'; import { useUIState } from '../contexts/UIStateContext.js'; import { getConfirmingToolState, type ConfirmingToolState, } from '../utils/confirmingTool.js'; export type { ConfirmingToolState } f...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
a6bd9de9d2773fbf
java
124
Solarized Dark
/* * Copyright (c) 2019, Salesforce.com, Inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package org.apache.dubbo.gen.utils; import com.google.common.base.CharMatcher; impo...
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...
a2f9f72f25b1e395
csharp
20
Dracula
namespace ServiceLib.Models; [Serializable] public class RulesItem { public string Id { get; set; } public string? Type { get; set; } public string? Port { get; set; } public string? Network { get; set; } public List<string>? InboundTag { get; set; } public string? OutboundTag { get; set; } ...
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...
0e12a4054ce6c1ce
python
202
Default Light+
import functools from .common import InfoExtractor from ..utils import ( ExtractorError, OnDemandPagedList, UserNotLive, filter_dict, int_or_none, parse_iso8601, str_or_none, url_or_none, ) from ..utils.traversal import traverse_obj class NuumBaseIE(InfoExtractor): def _call_api(s...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
67cd8eea83453aaf
rust
110
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::red::RedConfig; use crate::formatter::{StringFormatter, VersionFormatter}; /// Creates a module with the current Red version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_module("red"); let config =...
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.", ...
df1516b1e3a15f53
java
57
GitHub Dark
package org.jeecg.modules.system.service; import java.util.List; import org.jeecg.modules.system.entity.SysPermissionDataRule; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 菜单权限规则 服务类 * </p> * * @Author huangzhilin * @since 2019-04-01 */ public interface ISysPermissionDataRuleServic...
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...
af6ad91e16d88e05
javascript
22
Default Dark+
/* SQL: ALTER TABLE monitor ADD ping_count INTEGER default 1 not null; ALTER TABLE monitor ADD ping_numeric BOOLEAN default true not null; ALTER TABLE monitor ADD ping_per_request_timeout INTEGER default 2 not null; */ exports.up = function (knex) { // Add new columns to table monitor return knex.schema.alterTa...
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...
570f863aac3ca247
cpp
70
One Dark Pro
#include "../../include/ggml-virtgpu.h" #include "ggml-remoting.h" static const char * ggml_backend_remoting_get_name(ggml_backend_t backend) { UNUSED(backend); return "API Remoting backend"; } static void ggml_backend_remoting_free(ggml_backend_t backend) { delete backend; } static ggml_status ggml_bac...
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"...
5d606c3189e4b3b5
typescript
158
Default Dark+
import { useEffect } from 'react'; import { useState } from 'react'; import { ArrowUpRightIcon } from '@heroicons/react/24/outline'; import { JobType } from '@prisma/client'; import { Alert, Button, HorizontalDivider, Spinner, Tabs } from '~/ui'; import OfferPercentileAnalysisText from './OfferPercentileAnalysisText';...
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...
89ece9f7d2d68359
java
60
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...
e9dd4f00567ccd15
csharp
30
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Experimental.Orchestration; /// <summary> /// The completion type of step /// </summary> public enum CompletionType { /// <summary> /// Once /// </summary> Once, /// <summary> /// Optional /// </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...
1ee82fa322a1763d
cpp
61
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
7c3de43941c18093
typescript
104
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { Bar, BarChart, XAxis, YAxis } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipContent, type Cha...
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" ...
c31a9ecff031c8d5
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 ...
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...