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
12437fb3aef708af
java
77
Default Light+
package com.thealgorithms.puzzlesandgames; import java.util.List; /** * Recursive solution to the Tower of Hanoi puzzle. * * <p> * The puzzle rules are: * 1. Only one disc can be moved at a time. * 2. A disc can only be placed on top of a larger disc. * 3. All discs must start on one pole and end on another. ...
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"...
5ea497cc55cbdc97
cpp
294
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once namespace CalculatorApp { namespace Common { ref class AlwaysSelectedCollectionView sealed : public Windows::UI::Xaml::DependencyObject, public Windows::UI::Xaml::Data::ICollectionView ...
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...
0e78e8c3715f0d7a
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Web.Tavily; /// <summary> /// Represents an image result. /// </summary> #pragma warning disable CA1812 // Instantiated by reflection internal sealed class TavilyImageResul...
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"...
70e741296099845a
csharp
84
Monokai
using System.ComponentModel; using Windows.Win32.Foundation; using Windows.Win32.UI.WindowsAndMessaging; using static Windows.Win32.PInvoke; namespace Netch.Forms; [Fody.ConfigureAwait(true)] public partial class LogForm : Form { private readonly Form _parent; public LogForm(Form parent) { Initi...
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"...
3be1b272f766c3f6
java
39
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...
9d222fa3beee1f60
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"...
fa7e24df64aa36b6
javascript
313
Default Dark+
const { R } = require("redbean-node"); const { log } = require("../src/util"); const Alerta = require("./notification-providers/alerta"); const AlertNow = require("./notification-providers/alertnow"); const AliyunSms = require("./notification-providers/aliyun-sms"); const Apprise = require("./notification-providers/app...
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...
d812a49de88b6c9f
typescript
90
One Dark Pro
import * as O from "fp-ts/Option" import { pipe } from "fp-ts/function" import { RelayResponse } from "@hoppscotch/kernel" import { RunQueryOptions } from "~/helpers/graphql/connection" import { OperationType } from "@urql/core" import { parseBodyAsJSON } from "~/helpers/functional/json" export type HoppGQLSuccessResp...
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.", ...
c04f81ae1ed97870
rust
140
One Dark Pro
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #[cfg(target_arch = "x86_64")] use acpi_tables::{Aml, aml}; use crate::Vm; use crate::devices::acpi::vmclock::{VmClock, VmClockError}; use crate::devices::acpi::vmgenid::{VmGenId, VmGenIdError}; use crate...
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...
12c918c2ab396c06
cpp
100
One Dark Pro
#include <content/visualizer_helpers.hpp> #include <hex/helpers/scaling.hpp> #include <implot.h> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <pl/patterns/pattern_bitfield.hpp> namespace hex::plugin::visualizers { void drawDigitalSignalVisualizer(pl::ptrn::Pattern &, bool shouldReset,...
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...
b8560afb0d5e9761
csharp
75
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.Google.Core; using Microsoft.Sema...
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...
0f40bff387417197
python
30
Solarized Light
# Created by: Ramy-Badr-Ahmed (https://github.com/Ramy-Badr-Ahmed) # in Pull Request: #11532 # https://github.com/TheAlgorithms/Python/pull/11532 # # Please mention me (@Ramy-Badr-Ahmed) in any issue or pull request # addressing bugs/corrections to this file. # Thank you! import numpy as np def hypercube_point...
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...
f053b27681bb3b25
cpp
161
Solarized Dark
// ------------------------------------------------ OpenPose C++ Demo ------------------------------------------------ // This example summarizes all the functionality of the OpenPose library. It can... // 1. Read a frames source (images, video, webcam, 3D stereo Flir cameras, etc.). // 2. Extract and render bo...
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...
c4e4abb9147245c0
csharp
35
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"...
b9be487eacc20efa
python
216
Default Light+
import json import os import signal import sys import re from modules.timer import startup_timer def gradio_server_name(): from modules.shared_cmd_options import cmd_opts if cmd_opts.server_name: return cmd_opts.server_name else: return "0.0.0.0" if cmd_opts.listen else None def fix_to...
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" ...
f07fb3c8626c3d72
python
196
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, parse_iso8601, ) class MySpaceIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// myspace\.com/[^/]+/ (?P<mediatype> ...
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...
72ba439b1a3d3c38
go
251
Default Light+
package model import ( "encoding/binary" "encoding/json" "fmt" "io" "os" "sort" "strconv" "strings" "github.com/ollama/ollama/x/imagegen/manifest" ) // TensorQuantInfo describes per-tensor quantization metadata. type TensorQuantInfo struct { QuantType string GroupSize int } // Root wraps a ModelManifest ...
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...
8451dbd5789ba3f6
go
100
Default Light+
package _123Share import ( "github.com/alist-org/alist/v3/pkg/utils" "net/url" "path" "strconv" "strings" "time" "github.com/alist-org/alist/v3/internal/model" ) type File struct { FileName string `json:"FileName"` Size int64 `json:"Size"` UpdateAt time.Time `json:"UpdateAt"` FileId ...
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...
8cef3d390fc5ea46
go
88
Solarized Dark
// Copyright 2017 fatedier, fatedier@gmail.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
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...
d4783fb6f2b85a89
typescript
75
Solarized Light
import type { Attachment } from "@/types/proto/api/v1/attachment_service_pb"; import type { Location, MemoRelation } from "@/types/proto/api/v1/memo_service_pb"; import { Visibility } from "@/types/proto/api/v1/memo_service_pb"; import type { LocalFile } from "../types/attachment"; export type LoadingKey = "saving" | ...
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...
2105d49aad58762e
cpp
96
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...
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...
63e99d1569e8db1c
rust
452
Solarized Light
use std::{ collections::HashMap, ffi::CStr, fmt, os::raw::c_char, process::abort, slice, str, sync::atomic::AtomicUsize, }; use regex::Regex; use tree_sitter::{Language, ffi}; use super::{Error, Highlight, HighlightConfiguration, Highlighter, HtmlRenderer}; pub struct TSHighlighter { pub languages: HashM...
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...
e62ffdc903f23cd0
typescript
44
Solarized Light
"use client" import { ChartContainer, type ChartConfig } from "@/examples/radix/ui/chart" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "February", desktop: 305, mobile: 200 }, { month: "March", desktop: 237, mobile: 1...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
fba088bb9dc3db7c
python
101
Default Light+
from .common import InfoExtractor from ..utils import ( ISO639Utils, clean_html, determine_ext, float_or_none, int_or_none, join_nonempty, url_or_none, ) from ..utils.traversal import traverse_obj class AdobeTVVideoIE(InfoExtractor): IE_NAME = 'adobetv' _VALID_URL = r'https?://vide...
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.", ...
cb479e4348d4c7ad
typescript
39
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod'; /** * Interface for OS-level secure storage operations. * Note: Method names must match the underlying library (e.g. keytar) * to support correct dynamic loading and schema validation. */ export interf...
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...
70501506eabd67a2
javascript
43
Solarized Light
require("dotenv").config(); //const baseUrl = "https://api.firecrawl.dev"; const baseUrl = "http://localhost:3002"; const crawlId = process.argv[2]; (async () => { let url = baseUrl + "/v1/crawl/" + crawlId; let urls = []; while (url) { let res; while (true) { try { ...
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.", ...
fd6e8312d21a8ecd
csharp
153
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; #pragma warning disable RCS1168 // Parameter name differs from base name. #pragma warning disable CA1725 // Parameter names shoul...
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...
a5b28d5b79512a35
rust
220
Dracula
use hbb_common::{ bail, base64::{engine::general_purpose::URL_SAFE_NO_PAD, Engine as _}, sodiumoxide::crypto::sign, ResultType, }; use serde_derive::{Deserialize, Serialize}; #[derive(Debug, PartialEq, Default, Serialize, Deserialize, Clone)] pub struct CustomServer { #[serde(default)] pub key:...
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...
372c835c9a1ca912
typescript
43
Solarized Light
import { siteConfig } from "@/lib/config" export function SiteFooter() { return ( <footer className="group-has-[.docs-nav]/body:pb-20 group-has-[.section-soft]/body:bg-surface/40 group-has-[[data-slot=designer]]/body:hidden group-has-[[data-slot=docs]]/body:hidden group-has-[.docs-nav]/body:sm:pb-0 dark:bg-trans...
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...
74c5542c004bbf9a
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Globalization; using HandlebarsDotNet; using Microsoft.SemanticKernel.PromptTemplates.Handlebars.Helpers; using Xunit; namespace SemanticKernel.Extensions.UnitTests.PromptTemplates.Handlebars.Helpers; public class KernelHelperUtilsTests { ...
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...
f73d067cafb67dd0
typescript
20
Solarized Light
export function normalizeUrl(url: string) { url = url.replace(/^https?:\/\//, "").replace(/^www\./, ""); if (url.endsWith("/")) { url = url.slice(0, -1); } return url; } export function normalizeUrlOnlyHostname(url: string) { try { const urlObj = new URL(url); return urlObj.hostname.replace(/^www...
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...
50e66310f872b574
typescript
117
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest'; import * as process from 'node:process'; import * as fs from 'node:fs'; import * as path from 'node:path'; import { permissionsCommand } from './permissionsC...
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...
0f0bb63db0e75cd5
typescript
124
One Dark Pro
import type { Version } from "./type/versioning" import { VERSIONS as IO_VERSIONS } from "./io" import { IO_IMPLS as WEB_IO_IMPLS } from "./io/impl/web" import { IO_IMPLS as DESKTOP_IO_IMPLS } from "./io/impl/desktop" import { VERSIONS as RELAY_VERSIONS } from "./relay" import { RELAY_IMPLS as WEB_RELAY_IMPLS } 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...
c1d51c140afedf3e
typescript
81
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi } from 'vitest'; import { mcpCommand } from './mcp.js'; import yargs, { type Argv } from 'yargs'; describe('mcp command', () => { it('should have correct command definition', () => { expect(...
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...
efb5f99555233016
cpp
75
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...
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...
dd55cfe74f72a647
python
123
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from typing import Annotated, Any, TypeVar from pydantic import Field, model_validator from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavior from semantic_kernel.kernel_pydantic import KernelBaseModel logger = logging...
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" ...
bace9cfeac3c8267
typescript
39
GitHub Dark
import { MockMethod } from 'vite-plugin-mock'; import { resultSuccess, baseUrl } from '../_util'; const demoTreeList = (keyword) => { const result = { list: [] as Recordable[], }; for (let index = 0; index < 5; index++) { const children: Recordable[] = []; for (let j = 0; j < 3; j++) { children...
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...
9432c6f27cc5edf8
csharp
495
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" ...
e2b00008d3680346
java
197
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...
b1044a5b11901863
java
88
Default Light+
package com.thealgorithms.compression; /** * An implementation of the Run-Length Encoding (RLE) algorithm. * * <p>Run-Length Encoding is a simple form of lossless data compression in which * runs of data (sequences in which the same data value occurs in many * consecutive data elements) are stored as a single dat...
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...
292d435a6e08a5b5
python
176
Default Light+
from .common import InfoExtractor from ..utils import ( clean_podcast_url, int_or_none, parse_iso8601, strip_or_none, try_get, urlencode_postdata, ) class SimplecastBaseIE(InfoExtractor): _UUID_REGEX = r'[\da-f]{8}-(?:[\da-f]{4}-){3}[\da-f]{12}' _API_BASE = 'https://api.simplecast.com/...
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" ...
57a33171a7bb30e4
csharp
69
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
ad989c38ab0afd65
cpp
49
Solarized Light
#pragma once #include <Imports.h> #include <map> class CodeFoldingHelper { public: CodeFoldingHelper(); ~CodeFoldingHelper(); bool isFoldStart(duint va) const; bool isFoldBody(duint va) const; bool isFoldEnd(duint va) const; bool isFolded(duint va) const; bool isDataRangeFolded(duint vaSt...
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"...
e194c9d5fa27385b
cpp
117
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0e9cc91e446398d5
cpp
71
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...
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...
37522fd371b0f9f5
go
138
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...
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...
08e49565accd2708
java
63
GitHub Dark
package org.jeecg.config.mybatis; import cn.hutool.core.util.ObjectUtil; import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; import java.util.concurrent.ConcurrentHashMap; /** * @Description: 本地线程变量存储工具类 * @author: lsq * @date: 2022年03月25日 11:42 */ public class ThreadLocalDataHelper { /** * 线程...
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.", ...
7cda34ab3acaf008
javascript
37
Dracula
#!/usr/bin/env node 'use strict'; const MAX_STDIN = 1024 * 1024; let raw = ''; process.stdin.setEncoding('utf8'); process.stdin.on('data', chunk => { if (raw.length < MAX_STDIN) { const remaining = MAX_STDIN - raw.length; raw += chunk.substring(0, remaining); } }); process.stdin.on('end', () => { try {...
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"...
6127bc3f77a2f9e0
cpp
37
Solarized Dark
#ifndef OPENPOSE_CALIBRATION_CAMERA_PARAMETER_ESTIMATION_HPP #define OPENPOSE_CALIBRATION_CAMERA_PARAMETER_ESTIMATION_HPP #include <openpose/core/common.hpp> namespace op { /** * This function estimate and saves the intrinsic parameters (K and distortion coefficients). * @param gridInnerCorners The Poin...
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" ...
9228e70fc3d6aef6
typescript
205
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import * as fs from 'node:fs'; import { TrustedHooksManager } from './trustedHooks.js'; import { Storage } from '../config/storage.js'; import { HookEventName, HookType...
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"...
6ba46c8b6e1c492a
python
275
Solarized Light
import os import json import time import requests from dotenv import load_dotenv from google import genai from datetime import datetime # ANSI color codes class Colors: CYAN = '\033[96m' YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' MAGENTA = '\033[95m' BLUE = '\033[94m' BOLD = '\...
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...
a451c1d66d489449
java
62
Solarized Dark
//Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. // //Example 1: // //Input: //[ //[ 1, 2, 3 ], //[ 4, 5, 6 ], //[ 7, 8, 9 ] //] //Output: [1,2,3,6,9,8,7,4,5] //Example 2: // //Input: //[ //[1, 2, 3, 4], //[5, 6, 7, 8], //[9,10,11,12] //] //Output: [1,2...
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...
e5ecb5b47e7b9885
java
60
GitHub Dark
package org.jeecg.filter; import lombok.extern.slf4j.Slf4j; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.cloud.gateway.filter.GlobalFilter; import org.springframework.core.Ordered; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springfram...
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"...
6aaa3affab67bd70
java
56
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...
5890bb1a19619e56
typescript
426
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { toChatMessage, toInputMessages, toSystemInstruction, toOutputMessages, toFinishReasons, OTelFinishReason, toOutputType, OTelOutputType, } from './semantic.js';...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5a8542134ce459d2
python
201
Solarized Light
""" Sum of digits sequence Problem 551 Let a(0), a(1),... be an integer sequence defined by: a(0) = 1 for n >= 1, a(n) is the sum of the digits of all preceding terms The sequence starts with 1, 1, 2, 4, 8, ... You are given a(10^6) = 31054319. Find a(10^15) """ ks = range(2, 20 + 1) base = [10**k for k i...
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...
db005cf109807672
python
131
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.setup.chat_completion_services import Services, get_chat_completion_service_and_request_settings from semantic_kernel import Kernel from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavior from semant...
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"...
c3b910be91fd5ebe
cpp
114
Solarized Dark
#ifndef OPENPOSE_FILESTREAM_W_PEOPLE_JSON_SAVER_HPP #define OPENPOSE_FILESTREAM_W_PEOPLE_JSON_SAVER_HPP #include <openpose/core/common.hpp> #include <openpose/filestream/peopleJsonSaver.hpp> #include <openpose/thread/workerConsumer.hpp> namespace op { template<typename TDatums> class WPeopleJsonSaver : public...
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...
71b7a6bfaf340d70
go
44
Default Light+
package tool import ( "fmt" "github.com/alist-org/alist/v3/internal/model" "sort" ) var ( Tools = make(ToolsManager) ) type ToolsManager map[string]Tool func (t ToolsManager) Get(name string) (Tool, error) { if tool, ok := t[name]; ok { return tool, nil } return nil, fmt.Errorf("tool %s not found", name) }...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8666ec5d8b6108c9
csharp
92
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...
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...
5a92df2acb539828
csharp
156
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Reflection; using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData.ProviderServices; using MongoDB.Bson; using MongoDB.Bson.Seria...
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...
4e90a32e091f3363
python
167
Monokai
import torch import nodes import comfy.utils from typing_extensions import override from comfy_api.latest import ComfyExtension, io def camera_embeddings(elevation, azimuth): elevation = torch.as_tensor([elevation]) azimuth = torch.as_tensor([azimuth]) embeddings = torch.stack( [ to...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
72109229f1bfc6da
csharp
147
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; using Microsoft.SemanticKernel; using ProcessFramework.Aspire.SignalR.ProcessOrchestrator.Models; using ProcessFramework.SignalR; var builder = WebApplication.CreateBuilder(args); AppContext.SetSwitc...
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" ...
db5a4a3263505cac
java
286
GitHub Dark
package org.jeecg.modules.airag.app.controller; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.util.CommonUtils; import org...
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...
114860b4ae2c2840
go
90
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...
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...
c6424036af66c407
csharp
22
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Connectors.Google; #pragma warning disable CA1707 // Identifiers should not contain underscores /// <summary> /// Represents the version of the Vertex AI API. /// </summary> public enum VertexAIVersion { /// <summary> /// Re...
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...
64465d3769d73a96
csharp
318
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" ...
6429905eedc6627b
java
38
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
1b060774703ea8d4
go
266
Solarized Dark
// Copyright 2025 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
68578379a3547f41
rust
258
Default Dark+
use serde::{Deserialize, Serialize}; use crate::error::{Code, ResponseError}; pub const DEFAULT_CHAT_SYSTEM_PROMPT: &str = "You are a highly capable research assistant with access to powerful search tools. IMPORTANT INSTRUCTIONS:1. When answering questions, you MUST make multiple tool calls (at least 2-3) to gather c...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
139cc0209be88305
java
73
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
2948f5db70fc695b
typescript
49
Solarized Light
import { MapPinIcon, XIcon } from "lucide-react"; import type { FC } from "react"; import { cn } from "@/lib/utils"; import type { Location } from "@/types/proto/api/v1/memo_service_pb"; interface LocationDisplayProps { location: Location; onRemove?: () => void; className?: string; } const LocationDisplay: FC<L...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
0a5c40092703cff5
java
37
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"...
b984e6a50f677196
cpp
116
Dracula
/** * Copyright 2023-2024 by XGBoost Contributors */ #ifndef XGBOOST_TREE_HIST_HIST_CACHE_H_ #define XGBOOST_TREE_HIST_HIST_CACHE_H_ #include <cstddef> // for size_t #include <map> // for map #include <memory> // for unique_ptr #include <vector> // for vector #include "../../common/hist_util.h" //...
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" ...
b2d5e0599007dcfa
python
76
Monokai
from comfy import model_management import math class LTXVLatentUpsampler: """ Upsamples a video latent by a factor of 2. """ @classmethod def INPUT_TYPES(s): return { "required": { "samples": ("LATENT",), "upscale_model": ("LATENT_UPSCALE_MODEL",...
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...
3f2fb732a408c88c
go
174
Default Light+
package tokenizer import "container/heap" type bpeMergeNode struct { prev int next int token string } type bpePair struct { left int right int rank int value string } type bpePairHeap []*bpePair func (h bpePairHeap) Len() int { return len(h) } func (h bpePairHeap) Less(i, j int) bool { return h[i].ran...
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"...
3fee4099a28a6fd8
typescript
34
Solarized Light
import { Field, FieldDescription, FieldGroup, FieldLabel, FieldSet, } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registry/new-york-v4/ui/input" export default function FieldInput() { return ( <div className="w-full max-w-md"> <FieldSet> <FieldGroup> <Field> ...
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"...
a951f3a458a047db
csharp
195
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Concurrent; using Dapr.Actors.Client; using Grpc.Core; using Microsoft.SemanticKernel; using Microsoft.VisualStudio.Threading; using ProcessWithCloudEvents.Grpc.Clients; using ProcessWithCloudEvents.Grpc.DocumentationGenerator; using ProcessWit...
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...
4b4bbd6333d1369d
python
57
Default Light+
import re from .common import InfoExtractor from ..utils import merge_dicts, url_or_none class AngelIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?angel\.com/watch/(?P<series>[^/?#]+)/episode/(?P<id>[\w-]+)/season-(?P<season_number>\d+)/episode-(?P<episode_number>\d+)/(?P<title>[^/?#]+)' _TESTS = [{ ...
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...
3e7a168f8c8590cd
typescript
86
GitHub Dark
import type { ValidationRule } from 'ant-design-vue/lib/form/Form'; import type { ComponentType } from './types/index'; import { useI18n } from '/@/hooks/web/useI18n'; import { dateUtil } from '/@/utils/dateUtil'; import { isNumber, isObject } from '/@/utils/is'; const { t } = useI18n(); /** * @description: 生成placeh...
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...
9ed2e7f281db9b85
cpp
68
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...
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...
70f1e5fd0a8c27c7
java
302
GitHub Dark
package org.jeecg.modules.system.service; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.common.system.vo.DictModel; import org.jeecg.common.system.vo.DictQuery; import org.jeecg.modules.system.entity.SysDict; import org.jeecg.modules.system.entity.SysDictItem; import org.jeecg.modules.sy...
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...
0acfb575dd585035
cpp
118
One Dark Pro
#include "models.h" llm_build_qwen2vl::llm_build_qwen2vl(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 == n_rot); ggml_tensor *...
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.", ...
39f351775d5c1b66
csharp
32
Monokai
using System; using System.Runtime.InteropServices; using winPEAS.Native.Enums; namespace winPEAS.Native { internal class Ntdsapi { [DllImport("ntdsapi.dll", CharSet = CharSet.Auto, PreserveSig = false)] internal static extern void DsBind( string DomainControllerName, // in, option...
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...
3842ceae6c8f434d
csharp
43
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...
a84a1e1ec12b9b34
python
36
Dracula
import gzip from collections.abc import Callable from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.header...
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...
c4c459a5416c8f94
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.UmsMemberLoginLog; import com.macro.mall.model.UmsMemberLoginLogExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface UmsMemberLoginLogMapper { long countByExample(UmsMemberLoginLogExample example); int deleteBy...
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...
f9e8af97e7338aaa
java
314
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...
4959db7ed68d3d2f
cpp
68
One Dark Pro
#include <hex/plugin.hpp> #include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/views.hpp> #include <hex/api/theme_manager.hpp> #include <hex/helpers/logger.hpp> #include <hex/api/events/events_gui.hpp> #include <hex/api/events/requests_gui.hpp> #include <romfs/romfs.hpp> #include <nlohm...
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" ...
9a8028e7959e31e0
python
59
Monokai
# Copyright (c) Microsoft. All rights reserved. import re from dataclasses import dataclass from typing_extensions import Self from semantic_kernel.utils.feature_stage_decorator import experimental @experimental def is_valid_topic_type(value: str) -> bool: """Check if the given value is a valid topic type.""" ...
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...
b42d539961ae55f1
python
49
Dracula
#!/usr/bin/python # make prediction import numpy as np import xgboost as xgb # path to where the data lies dpath = 'data' modelfile = 'higgs.model' outfile = 'higgs.pred.csv' # make top 15% as positive threshold_ratio = 0.15 # load in training data, directly use numpy dtest = np.loadtxt( dpath+'/test.csv', delimite...
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...
18d08d848f01b8b0
typescript
86
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { OTPInput, OTPInputContext } from "input-otp" import { MinusIcon } from "lucide-react" function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & { containerClassName...
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...
de5aa87388e1b348
go
183
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
27e63fb59747f5bb
typescript
205
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs/promises'; import * as fsSync from 'node:fs'; import * as path from 'node:path'; import type { FileDiscoveryService } from '../services/fileDiscoveryService.js'; import type { FileFilteringOptions } fro...
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.", ...
a69dc7981cdc3d24
csharp
31
Monokai
using System.Runtime.InteropServices; using ScreenToGif.Domain.Models.Native; namespace ScreenToGif.Native.Structs; [StructLayout(LayoutKind.Sequential)] public struct TitlebarInfo { /// <summary> /// The size, in bytes, of the structure. The caller must set this member to sizeof(TITLEBARINFO). /// </summ...
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...
c0b94fe122f83af2
java
25
GitHub Dark
package com.github.mikephil.charting.formatter; import com.github.mikephil.charting.interfaces.datasets.ILineDataSet; import com.github.mikephil.charting.interfaces.dataprovider.LineDataProvider; /** * Interface for providing a custom logic to where the filling line of a LineDataSet * should end. This of course onl...
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"...
6bd40af245ddb03b
csharp
196
Default Light+
// Copyright (c) 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, copy, mo...
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...
39d7dc2d2bcdef63
typescript
112
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Avatar as AvatarPrimitive } from "radix-ui" function Avatar({ className, size = "default", ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & { size?: "default" | "sm" | "lg" }) { return ( <...
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...
f200d0a8579b43e4
python
154
Monokai
from comfy import sd1_clip from .spiece_tokenizer import SPieceTokenizer import comfy.text_encoders.t5 import os import re import torch import logging from tokenizers import Tokenizer from .ace_text_cleaners import multilingual_cleaners, japanese_to_romaji SUPPORT_LANGUAGES = { "en": 259, "de": 260, "fr": 262, "e...
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...
285beef8b6107bde
typescript
124
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, afterEach, beforeEach } from 'vitest'; import { getCacheKey, read, write, clear } from './crawlCache.js'; describe('CrawlCache', () => { describe('getCacheKey', () => { it('should generate ...
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.", ...