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
a1b219436f9042cf
python
20
Dracula
from typing import Annotated from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item,...
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.", ...
bc84309cbeefcec8
java
78
Default Light+
package com.thealgorithms.datastructures.stacks; import java.util.Stack; /** * Provides methods to reverse a stack using recursion. * * <p>This class includes methods to reverse the order of elements in a stack * without using additional data structures. Elements are inserted at the bottom * of the stack to achi...
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...
445d5c4c22211e57
go
114
Solarized Light
package s3 import ( "context" "io" "time" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/s3" "github.com/pkg/errors" storepb "github.com/usememos/memos/proto/gen/store" ) type Client struct { Client ...
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...
32a5f88626f7bcab
csharp
83
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using Xunit; namespace Microsoft.SemanticKernel.Agents.Runtime.Abstractions.Tests; [Trait("Category", "Unit")] public class MessageContextTests { [Fact] public void ConstructWithMessageIdAndCancellationTokenTest() { ...
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...
8adb0e6074e6eff0
csharp
49
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
db0d08e3a34d4bf6
typescript
304
Solarized Light
import { MapDocument, TeamFlags, URLTrace, } from "../../../controllers/v1/types"; import { getMapResults } from "../../../controllers/v1/map"; import { removeDuplicateUrls } from "../../validateUrl"; import { isUrlBlocked } from "../../../scraper/WebScraper/utils/blocklist"; import { buildPreRerankPrompt, buildR...
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" ...
491b8fb0e420a712
python
31
Solarized Light
""" wiki: https://en.wikipedia.org/wiki/Heterogram_(literature)#Isograms """ def is_isogram(string: str) -> bool: """ An isogram is a word in which no letter is repeated. Examples of isograms are uncopyrightable and ambidextrously. >>> is_isogram('Uncopyrightable') True >>> is_isogram('allowan...
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" ...
fc73b122134938dd
typescript
75
GitHub Dark
import type { ErrorLogInfo } from '/#/store'; import { defineStore } from 'pinia'; import { store } from '/@/store'; import { formatToDateTime } from '/@/utils/dateUtil'; import projectSetting from '/@/settings/projectSetting'; import { ErrorTypeEnum } from '/@/enums/exceptionEnum'; export interface ErrorLogState {...
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" ...
9c63364f58be0040
typescript
94
Solarized Light
import { configDotenv } from "dotenv"; import { parse } from "tldts"; import { Engine } from "../../scrapeURL/engines"; import { logger } from "../../../lib/logger"; import { config } from "../../../config"; configDotenv(); type EngineForcingMapping = { [domain: string]: Engine | Engine[]; }; let engineMappings: E...
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" ...
d42384716b40515b
cpp
434
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "GraphingInterfaces/IGraphingOptions.h" namespace MockGraphingImpl { class GraphingOptions : public Graphing::IGraphingOptions { public: GraphingOptions() : m_markZero...
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...
2d79c0903d9e73e2
cpp
449
Solarized Light
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * Copyright (C) 1999-2015, International Business Machines * Corporation and others. All Rights Reserved. * ***********...
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...
1bc736a4f247001f
java
149
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...
fb78b4a6318a55d0
python
236
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from abc import ABC from typing import Any, Union from openai import AsyncOpenAI, AsyncStream, BadRequestError, _legacy_response from openai._types import FileTypes, Omit, omit from openai.lib._parsing._completions import type_to_response_format_param 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.", ...
7d6650520686abdc
python
91
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, url_or_none, ) class APAIE(InfoExtractor): _VALID_URL = r'(?P<base_url>https?://[^/]+\.apa\.at)/embed/(?P<id>[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})' _EMBED_REGEX = [r'<iframe[^>]+\bsrc=(["\'])(?P<...
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" ...
d358caa235643fca
go
441
Default Dark+
package integration import ( "compress/gzip" "context" "crypto/rand" "fmt" "io" "net/http" "net/http/httputil" "net/url" "strings" "testing" "time" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" "github.com/caddyserver/caddy/v2/caddytest" ) // (see https://github.com/caddyserver/caddy/issues/35...
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" ...
c712ab8193cd78c7
csharp
122
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Core.CodeInterpreter; /// <summary> /// Settings for a Python Sessions Plugin. /// </summary> public class Se...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5d54512f097ed03c
javascript
120
Dracula
/** * Sequence of 0s and 1s. * @typedef {number[]} Bits */ /** * @typedef {{ * signBitsCount: number, * exponentBitsCount: number, * fractionBitsCount: number, * }} PrecisionConfig */ /** * @typedef {{ * half: PrecisionConfig, * single: PrecisionConfig, * double: PrecisionConfig * }} Precisi...
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.", ...
72bdff90e9169c8c
csharp
199
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...
772cd59428be3146
java
58
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
7bb68e88249aa7c6
cpp
59
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "Utils.h" namespace CalculatorApp::ViewModel::Common { public enum class TokenType { Operator, Operand, Separator }; [Windows::UI::Xaml::Data::Bindable] publi...
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...
d7d1fcd58dd101ac
go
401
Solarized Dark
// Copyright 2024 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...
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...
bc5cf5daefeda771
java
47
Solarized Dark
// You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water, and there is exactly one island (i.e., one or more connected land cells). The island doesn't hav...
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...
aeddbb3ef139fee0
java
47
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...
fbeedf2555e1ab64
rust
38
Solarized Dark
use std::sync::OnceLock; use clash_verge_logging::{Type, logging}; #[cfg(unix)] mod unix; #[cfg(windows)] mod windows; pub(crate) static RUNTIME: OnceLock<Option<tokio::runtime::Runtime>> = OnceLock::new(); pub fn register<F, Fut>(f: F) where F: Fn() -> Fut + Send + Sync + 'static, Fut: Future + Send + 'sta...
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.", ...
5d89750733bec66b
cpp
107
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #ifndef SPDLOG_HEADER_ONLY #include <spdlog/cfg/helpers.h> #endif #include <spdlog/details/os.h> #include <spdlog/details/registry.h> #include <algorithm> #include ...
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...
fb8bab00016d293a
csharp
201
Default Light+
// Copyright (c) 2017 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
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...
7092c59660b89c3f
python
89
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, float_or_none, smuggle_url, traverse_obj, unsmuggle_url, update_url_query, ) class UplynkBaseIE(InfoExtractor): _UPLYNK_URL_RE = r'''(?x) https?://[\w-]+\.uplynk\.com/(?P<path> ext/[0-9a-...
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...
a53349f707b2b34c
go
86
Default Light+
package _123Open import ( "bytes" "encoding/json" "fmt" "net/http" "sync" "time" ) const tokenURL = ApiBaseURL + ApiToken type tokenManager struct { clientID string clientSecret string mu sync.Mutex accessToken string expireTime time.Time } func newTokenManager(clientID, clientSecret strin...
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...
be29387df1722536
go
37
Default Light+
package doubao import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { // Usually one of two // driver.RootPath driver.RootID // define other Cookie string `json:"cookie" type:"text"` UploadThread string `json:"upload_thread" default:...
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...
b740012eb341f01e
java
83
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"...
396a9392c3ac3e4b
typescript
195
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/examples/radix/ui-rtl/dialog" import { InputGroup, InputGroupAddon, } from "@/examples/radix/ui-rtl/input-group" import { Com...
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"...
c9f78ac4d4898f52
csharp
21
Default Light+
using System; public class MonoFixed { public unsafe void FixMultipleStrings(string text) { fixed (char* ptr = text) { fixed (char* userName = Environment.UserName) { fixed (char* ptr2 = text) { *ptr = 'c'; *userName = 'd'; *ptr2 = 'e'; } } } } }
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
3fff139962623b08
csharp
48
Default Light+
using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal class AutoProperties { #if CS110 public required int RequiredField; #endif public int A { get; } = 1; public int B { get; set; } = 2; public static int C { get; } = 3; public static int D { get; set; } = 4; public string...
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.", ...
51e81aeab02b7e95
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 ...
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...
0116a3d33af3efee
rust
181
Solarized Dark
use super::{Context, Module}; use crate::modules::cc::{Lang, module as cc_module}; /// Creates a module with the current C compiler and version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { cc_module(context, Lang::Cpp) } #[cfg(test)] mod tests { use crate::{test::ModuleRenderer, utils::Comm...
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" ...
eba880e972ad9187
csharp
90
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 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.", ...
6e9fff7688acf719
csharp
111
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Extensions; namespace Microsoft.SemanticKernel.Agents; #pragma warning disable SYSLIB100...
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"...
52a14d55bff72429
python
226
Solarized Dark
""" Enhanced XLSX Converter with OCR support for embedded images. Extracts images from Excel spreadsheets and performs OCR while maintaining cell context. """ import io import sys from typing import Any, BinaryIO, Optional from markitdown.converters import HtmlConverter from markitdown import DocumentConverter, Docum...
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...
5eae851b8f962607
go
387
Default Light+
//go:build windows || darwin package server import ( "bufio" "context" "errors" "fmt" "io" "log/slog" "os" "os/exec" "path/filepath" "regexp" "runtime" "strconv" "strings" "time" "github.com/ollama/ollama/app/logrotate" "github.com/ollama/ollama/app/store" ) const restartDelay = time.Second // Serv...
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...
92337b49854a286f
go
319
Default Light+
// Package llama provides a Llama-style decoder-only transformer for MLX. package llama import ( "encoding/json" "fmt" "math" "github.com/ollama/ollama/x/mlxrunner/cache" "github.com/ollama/ollama/x/mlxrunner/mlx" "github.com/ollama/ollama/x/mlxrunner/model" "github.com/ollama/ollama/x/mlxrunner/model/base" "...
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...
91cb1e23b7964f9d
go
124
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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...
f7e3c0fc324c5f09
java
45
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...
fca318df972223c9
java
25
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 ...
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...
d8f9d0bbbb5d470e
typescript
57
Default Light+
const K = 1024; const SIZES = ["B", "KB", "MB", "GB", "TB"]; function formatBytes(bytes: number, unit?: string): string { let i: number; if (unit) { i = SIZES.indexOf(unit); } else { i = bytes === 0 ? 0 : Math.floor(Math.log(bytes) / Math.log(K)); } const decimals = SIZES[i] === "GB" || SIZES[i] ===...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
4fb723e6e8786aa8
cpp
170
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/plugin_manager.hpp> #include <hex/helpers/logger.hpp> #include <string> #include <imgui.h> #include <imgui_internal.h> #include <wolv/utils/string.hpp> #include <wolv/utils/preproc.hpp> #include <wolv/utils/guards.hpp> #if defined(_MSC_VER) #include <windows.h>...
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"...
a9f71116fe496913
cpp
395
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...
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...
9eca9ac3ed95f9f9
csharp
85
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // HorizontalNoOverflowStackPanel.h // Declaration of the HorizontalNoOverflowStackPanel class // using System; using Windows.Foundation; using Windows.UI.Xaml.Automation; using Windows.UI.Xaml.Automation.Peers; name...
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...
55bae9fd342d7118
csharp
116
Default Light+
// Copyright (c) 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, // publish, d...
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...
7424b1827d8919f1
csharp
80
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
7d19a9e0550c6b37
typescript
137
GitHub Dark
export default { footer: { onlinePreview: 'Preview', onlineDocument: 'Document' }, header: { // user dropdown dropdownItemDoc: 'Document', dropdownItemLoginOut: 'Login Out', dropdownItemSwitchPassword: 'Password Change', dropdownItemSwitchDepart: 'Switch Department', dropdownItemRefreshCache...
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.", ...
52f1641626525336
typescript
83
Default Light+
import React, { memo, useEffect, useState } from "react"; import type { ExcalidrawElement, NonDeleted } from "@excalidraw/element/types"; import { useTransition } from "../hooks/useTransition"; import { EmptyLibraryUnit, LibraryUnit } from "./LibraryUnit"; import type { SvgCache } from "../hooks/useLibraryItemSvg";...
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" ...
cd883af7eb367952
go
350
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...
f4340008c7faa5cd
go
29
Default Light+
package handles import ( "fmt" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/server/common" "github.com/gin-gonic/gin" ) func ListDriverInfo(c *gin.Context) { common.SuccessResp(c, op.GetDriverInfoMap()) } func ListDriverNames(c *gin.Context) { common.SuccessResp(c, op.GetDriverNa...
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" ...
9fa4f20e6007fbfe
typescript
288
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import * as path from 'node:path'; import { loadCliConfig, type CliArgs } from './config.js'; import { createTestMergedSettings } from './settings.js'; import * as Serv...
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...
4a6dd4e414716a2f
cpp
88
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...
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...
19c9022fa697f898
java
102
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
3cd911a82c2dd38b
csharp
84
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
db8febf7c2bd0cf9
python
49
Solarized Light
# https://www.tutorialspoint.com/python3/bitwise_operators_example.htm def binary_or(a: int, b: int) -> str: """ Take in 2 integers, convert them to binary, and return a binary number that is the result of a binary or operation on the integers provided. >>> binary_or(25, 32) '0b111001' >>> bi...
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"...
ace069329b37bf52
cpp
23
One Dark Pro
#include <hex/helpers/scaling.hpp> #include <hex/api/imhex_api/system.hpp> namespace hex { float operator""_scaled(long double value) { return value * ImHexApi::System::getGlobalScale(); } float operator""_scaled(unsigned long long value) { return value * ImHexApi::System::getGlobalScale...
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...
20a2c7d4de1b7dd4
rust
112
Default Dark+
use bytes::Bytes; use crate::{ config::Config, error::OpenAIError, types::{ CreateSpeechRequest, CreateSpeechResponse, CreateTranscriptionRequest, CreateTranscriptionResponseJson, CreateTranscriptionResponseVerboseJson, CreateTranslationRequest, CreateTranslationResponseJson, ...
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...
5ced8ce20eda4bb9
csharp
42
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Extensions.VectorData; /// <summary> /// Defines an attribute to mark a property on a record class as 'data'. /// </summary> /// <remarks> /// Marking a property as 'data' means that the property is not a key and not a vector. But op...
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...
565db98dbf16c722
csharp
45
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using ProcessFramework.Aspire.Shared; var builder = WebApplication.CreateBuilder(args); AppContext.SetSwitch("Microsoft.SemanticKernel.Experimental.G...
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...
d6925f39089f10db
cpp
44
Default Light+
#pragma once #include <nlohmann/json_fwd.hpp> #include <functional> #include <memory> #include <string> std::string json_schema_to_grammar(const nlohmann::ordered_json & schema, bool force_gbnf = false); class common_schema_converter; // Probes a JSON schema to extract informatio...
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...
fa905717f1ea3b42
typescript
135
Default Light+
/* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // This file was automatically generated by TanStack Router. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from bei...
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...
ba7b775e33d49f67
typescript
219
Default Light+
import clsx from "clsx"; import React, { useState, useEffect } from "react"; import { t } from "../../../i18n"; import { FilledButton } from "../../FilledButton"; import { TrashIcon, codeIcon, stackPushIcon, RetryIcon } from "../../icons"; import type { TChat, TTTDDialog } from "../types"; export const ChatMessage: ...
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" ...
32eb47dbce5f2adb
typescript
45
One Dark Pro
import { HoppRESTParam } from "@hoppscotch/data" import * as A from "fp-ts/Array" import { flow, pipe } from "fp-ts/function" import * as O from "fp-ts/Option" import * as Sep from "fp-ts/Separated" const isDangling = ([, value]: [string, string]) => !value /** * Converts queries to HoppRESTParam format and separate...
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...
1940fa8a575741b8
python
497
Default Light+
import hashlib import re from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, float_or_none, int_or_none, join_nonempty, merge_dicts, unified_strdate, ) class ProSiebenSat1BaseIE(InfoExtractor): _GEO_BYPASS = False _ACCESS_ID = None _SUPPORTED...
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" ...
41160bd7caf7e828
go
97
Default Light+
package op import ( stdpath "path" "time" "github.com/Xhofe/go-cache" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/singleflight" "github.com/alist-org/alist/v3/pkg/utils" "github.com...
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...
117fb3971a3e02df
typescript
53
Default Light+
import { useTunnels } from "../../context/tunnels"; import { t } from "../../i18n"; import { WelcomeScreenHelpArrow, WelcomeScreenMenuArrow, WelcomeScreenTopToolbarArrow, } from "../icons"; const MenuHint = ({ children }: { children?: React.ReactNode }) => { const { WelcomeScreenMenuHintTunnel } = useTunnels()...
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.", ...
fc5d91c3075e5ced
typescript
63
Solarized Light
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, Dropdow...
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...
4be532b7694195ea
go
75
Solarized Dark
// Copyright 2020 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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" ...
1304ac0c8e4288b1
typescript
458
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 { directoryCommand } from './directoryCommand.js'; import { expandHomeDir, getDirectorySuggestions, } from '../utils/dir...
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.", ...
d58d123eb6f70252
go
31
Default Light+
package utils import "strings" // MaskIP anonymizes middle segments of an IP address. func MaskIP(ip string) string { if ip == "" { return "" } if strings.Contains(ip, ":") { parts := strings.Split(ip, ":") if len(parts) > 2 { for i := 1; i < len(parts)-1; i++ { if parts[i] != "" { parts[i] = "*"...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
eddf86bbb9da5b84
csharp
20
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Weaviate; internal sealed class WeaviateGetCollectionSchemaRequest(string collectionName) { private const string ApiRoute = "schema"; [JsonIgnore] ...
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...
76c4f98a3846393f
csharp
40
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...
8da5a977883cd45a
csharp
39
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.Contents; /// <summary> /// Unit testing of <see cref="ReasoningContent"/>. /// </summary> public class ReasoningContentTests { [Fact] public void VerifyReasoningContextText() ...
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...
c10497d3ac0864d9
csharp
397
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 ...
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...
0de77344f5b35b97
java
48
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
9250a499d67b2d52
python
102
Solarized Light
# Knight Tour Intro: https://www.youtube.com/watch?v=ab_dY3dZFHM from __future__ import annotations def get_valid_pos(position: tuple[int, int], n: int) -> list[tuple[int, int]]: """ Find all the valid positions a knight can move to from the current position. >>> get_valid_pos((1, 3), 4) [(2, 1), (0...
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" ...
acd31aedc11f08fc
typescript
52
Default Light+
import clsx from "clsx"; import { useUIAppState } from "../../context/ui-appState"; import { useExcalidrawSetAppState } from "../App"; import "./SidebarTrigger.scss"; import type { SidebarTriggerProps } from "./common"; export const SidebarTrigger = ({ name, tab, icon, title, children, onToggle, class...
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"...
2f20782f164068cd
cpp
62
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: equationdetectbase.h // Description: The base class equation detection class. // Author: Zongyi (Joe) Liu (joeliu@google.com) // Created: Fri Aug 31 11:13:01 PST 2011 // // (C) Copyright 2011, Google Inc. // Licensed under ...
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"...
1d54d502a8d80a31
rust
57
Solarized Dark
//! The VCS module is a gathering of other Version Control System modules. //! //! It offers the option to order VCSes in a "discovery" order and will then use the `<vcs>.format` //! option for it. //! //! Notably, this module is only a dispatcher: it offers nothing beyond "try these VCSes in this //! order and use the...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
322592ddbfe3cc6c
csharp
425
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Azure.AI.Inference; using Azure.Core.Pipeline; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Semant...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d12ef006a006d267
java
33
Default Light+
package com.thealgorithms.maths; /** * Multiplies two complex numbers represented as strings in the form "a+bi". * Supports negative values and validates input format. */ public final class ComplexNumberMultiply { private ComplexNumberMultiply() { } private static int[] parse(String num) { if ...
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.", ...
9eefdc360fce4314
csharp
344
Default Light+
// Copyright (c) 2018 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
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...
393d961f2d4af4a7
python
59
Default Light+
from .common import InfoExtractor from ..utils import parse_duration class DHMIE(InfoExtractor): _WORKING = False IE_DESC = 'Filmarchiv - Deutsches Historisches Museum' _VALID_URL = r'https?://(?:www\.)?dhm\.de/filmarchiv/(?:[^/]+/)+(?P<id>[^/]+)' _TESTS = [{ 'url': 'http://www.dhm.de/filmarc...
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...
2fd85359ab15ce4d
java
168
GitHub Dark
package com.github.mikephil.charting.components; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.os.Build; import android.view.LayoutInflater; import android.view.View; import android...
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.", ...
297fcf40aea11db8
go
347
Solarized Dark
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: etcdserver.proto package etcdserverpb import ( fmt "fmt" io "io" math "math" math_bits "math/bits" proto "github.com/golang/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.E...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
24711ad1c1f399ae
typescript
60
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * A utility to manage writing text to stdout, ensuring that newlines * are handled consistently and robustly across the application. */ import stripAnsi from 'strip-ansi'; export class TextOutput { private atStartOfLine ...
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...
83feab9fadb68563
csharp
126
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using System.Net.Http.Headers; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.SemanticKernel.Http; ...
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.", ...
a6757ecd17d0e551
java
142
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
6aa67cb12f200f11
go
440
Default Light+
// Credits: https://pkg.go.dev/github.com/rclone/rclone@v1.65.2/cmd/serve/s3 // Package s3 implements a fake s3 server for alist package s3 import ( "context" "encoding/hex" "fmt" "io" "path" "strings" "sync" "time" "github.com/pkg/errors" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-or...
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" ...
36e8efd25a673f5d
csharp
192
Monokai
namespace ScreenToGif.Util.Extensions; public static class MathExtensions { public static int DivisibleByTwo(this int number) => number % 2 == 0 ? number : number + 1; public static long PackLong(int left, int right) => (long)left << 32 | (uint)right; public static void UnpackLong(long value, out int lef...
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...
d478fbdc0ec130ba
typescript
119
GitHub Dark
import {defHttp} from '/@/utils/http/axios'; import { useMessage } from "/@/hooks/web/useMessage"; const { createConfirm } = useMessage(); enum Api { list = '/openapi/list', save='/openapi/add', edit='/openapi/edit', deleteOne = '/openapi/delete', deleteBatch = '/openapi/deleteBatch', genPath = '/openapi/...
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...
ba8bd787850e319a
python
313
Solarized Light
from collections import deque class Process: def __init__(self, process_name: str, arrival_time: int, burst_time: int) -> None: self.process_name = process_name # process name self.arrival_time = arrival_time # arrival time of the process # completion time of finished process or last int...
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...
be8924836e58961c
java
33
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...
c04de7191c9b6443
cpp
262
Solarized Dark
// ------------------------- OpenPose Library Tutorial - Thread - Example 2 - User Input Processing And Output ------------------------- // This directory only provides examples for the basic OpenPose thread mechanism API, and it is only meant for people // interested in the multi-thread architecture without been inter...
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"...
fb3140e54182fe09
csharp
45
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Chroma; internal sealed class UpsertEmbeddingsRequest { [JsonIgnore] public string CollectionId { get; set; } [JsonPropertyName("ids"...
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...
4f6af09a06bead33
rust
54
Default Dark+
use serde::Serialize; use crate::{ config::Config, error::OpenAIError, types::{Batch, BatchRequest, ListBatchesResponse}, Client, }; /// Create large batches of API requests for asynchronous processing. The Batch API returns completions within 24 hours for a 50% discount. /// /// Related guide: [Batch...
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.", ...
160bc2c8cf7021cc
python
278
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, int_or_none, join_nonempty, parse_qs, smuggle_url, traverse_obj, try_call, unsmuggle_url, ) def _parse_japanese_date(text): if not text: return None ERA_TABLE = { ...
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...