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
db9d62f26a640406
typescript
49
Solarized Light
"use client" import { SidebarIcon } from "lucide-react" import { SearchForm } from "@/registry/new-york-v4/blocks/sidebar-16/components/search-form" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" impor...
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...
08d603dbce022311
typescript
87
Default Light+
import React from "react"; import { actionSaveFileToDisk } from "../../actions"; import { actionChangeExportEmbedScene } from "../../actions/actionExport"; import { useI18n } from "../../i18n"; import { useExcalidrawActionManager, useExcalidrawSetAppState } from "../App"; import { FilledButton } from "../FilledButton"...
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" ...
e6bc7e84c1e7d4b1
typescript
166
Solarized Light
import { CogIcon, DatabaseIcon, KeyIcon, LibraryIcon, LucideIcon, Settings2Icon, UserIcon, UsersIcon } from "lucide-react"; import { useCallback, useEffect, useMemo, useState } from "react"; import { useLocation } from "react-router-dom"; import MobileHeader from "@/components/MobileHeader"; import InstanceSection from...
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.", ...
80742b0081e0ac50
cpp
56
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #include ...
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...
62c49fd1a2e6eb80
python
102
Default Light+
import json from .common import InfoExtractor from ..utils import ( int_or_none, parse_iso8601, try_get, ) class TF1IE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?tf1\.fr/[^/]+/(?P<program_slug>[^/]+)/videos/(?P<id>[^/?&#]+)\.html' _TESTS = [{ 'url': 'https://www.tf1.fr/tmc/quotidie...
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...
3e957dd53d812430
csharp
61
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.TemplateEngine; using Xunit; namespace SemanticKernel.UnitTests.TemplateEngine; public class ValBlockTests { [Fact] public void ItHasTheCorrectType() { // Act var target = new ValBlock(""); // Assert...
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...
018e73c97ba78d91
rust
119
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //! Defines the metrics system for memory devices. //! //! # Metrics format //! The metrics are flushed in JSON when requested by vmm::logger::metrics::METRICS.write(). //! //! ## JSON example with metrics...
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...
8e88ab16c1c5e875
go
251
Default Light+
package handles import ( "errors" "fmt" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/server/common" "github.com/gin-gonic/gin" "net/url" "strconv" "strings" ) type DelLabelFileBinDingReq ...
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.", ...
efd6cb1e863b9c25
cpp
478
Solarized Light
#include <QDebug> #include "FileParser.h" #include "Bridge.h" #include "StringUtil.h" #include "udmp-parser.h" #include "udmp-utils.h" #include <linuxpe> struct DumpMemoryProvider : MemoryProvider { void setParser(udmpparser::UserDumpParser* parser) { mParser = parser; } bool read(duint add...
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...
fcb6589746410689
csharp
56
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; namespace Examples; /// <summary> /// This example demonstrates how to add AI services to a kernel as described at /// https://learn.microsoft.com/semantic-kernel/agents/kernel/adding-services /// </summary> public class AIServices(ITe...
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"...
afadb0d80f39a0c1
typescript
52
Default Dark+
import type { ComponentProps } from 'react'; import { useState } from 'react'; import type { TypeaheadOption } from '~/ui'; import { Typeahead } from '~/ui'; import useCountryOptions from '~/utils/shared/useCountryOptions'; type BaseProps = Pick< ComponentProps<typeof Typeahead>, | 'disabled' | 'errorMessage' ...
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...
7c915ddb9c9df4b3
csharp
170
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...
c08d083918edf756
javascript
96
Default Dark+
const express = require("express"); const http = require("node:http"); const { printServerUrls } = require("../util-server"); /** * SimpleMigrationServer * For displaying the migration status of the server * Also, it is used to let Docker healthcheck know the status of the server, as the main server is not started ...
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...
96c3a1b5c0ddcdc0
typescript
31
GitHub Dark
import componentSetting from '/@/settings/componentSetting'; const { table } = componentSetting; const { pageSizeOptions, defaultPageSize, defaultSize, fetchSetting, defaultSortFn, defaultFilterFn } = table; export const ROW_KEY = 'key'; // Optional display number per page; export const PAGE_SIZE_OPTIONS = pageSize...
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...
560dca9aec5a13ff
csharp
331
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Azure.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft...
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"...
7b4b7dddde6258ce
java
24
Dracula
package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProduct; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 秒杀信息和商品对象封装 * Created by macro on 2019/1/28. */ @Getter @Setter public class FlashPromotionProduct extends Pm...
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...
68366177e5690fb5
java
62
GitHub Dark
package com.xxmassdeveloper.mpchartexample.custom; import android.annotation.SuppressLint; import android.content.Context; import android.widget.TextView; import com.github.mikephil.charting.components.MarkerView; import com.github.mikephil.charting.data.BarEntry; import com.github.mikephil.charting.data.Entry; impo...
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.", ...
8cf143483b06f402
python
375
Dracula
#!/usr/bin/env python3 import requests import argparse import json from datetime import datetime, timedelta, timezone def format_timestamp(timestamp): """Convert Unix timestamp to readable local datetime""" if timestamp is None: return None try: # Convert to local time local_dt = ...
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.", ...
12019deec869e707
csharp
78
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using Azure.AI.OpenAI; using Azure.Core; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Connectors.AzureOpenAI; using Moq; namespace SemanticKernel.Connectors.AzureOpenAI.UnitTests.Core; public sealed class Azu...
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...
e082d262638734ce
cpp
229
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: recogtraining.cpp // Description: Functions for ambiguity and parameter training. // Author: Daria Antonova // // (C) Copyright 2009, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
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...
a7a275689eb0591c
cpp
492
One Dark Pro
#include <hex/api/shortcut_manager.hpp> #include <imgui.h> #include <hex/api/content_registry/user_interface.hpp> #include <hex/api/task_manager.hpp> #include <hex/helpers/auto_reset.hpp> #include <hex/helpers/utils.hpp> #include <hex/ui/view.hpp> #include <imgui_internal.h> namespace hex { namespace { ...
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...
957cefb80e44858d
java
25
GitHub Dark
package org.jeecg.common.system.annotation; import java.lang.annotation.*; /** * 将枚举类转化成字典数据 * * <<使用说明>> * 1. 枚举类需以 `Enum` 结尾,并且在类上添加 `@EnumDict` 注解。 * 2. 需要手动将枚举类所在包路径** 添加到 `org.jeecg.common.system.util.ResourceUtil.BASE_SCAN_PACKAGES` 配置数组中。 * * @Author taoYan * @Date 2022/7/8 10:34 **/ @Target(Element...
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.", ...
858d98ddefb90952
python
148
Dracula
""" A demo for multi-output regression ================================== The demo is adopted from scikit-learn: https://scikit-learn.org/stable/auto_examples/ensemble/plot_random_forest_regression_multioutput.html#sphx-glr-auto-examples-ensemble-plot-random-forest-regression-multioutput-py See :doc:`/tutorials/mult...
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...
fc50255e0239e7b1
csharp
48
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"...
fd9b95960e162850
javascript
255
Dracula
#!/usr/bin/env node /** * Inspect selective-install profiles and module plans without mutating targets. */ const { listInstallComponents, listInstallModules, listInstallProfiles, resolveInstallPlan, } = require('./lib/install-manifests'); const { loadInstallConfig } = require('./lib/install/config'); const {...
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...
6817e8ee05ac17cb
cpp
78
One Dark Pro
#include "content/views/view_logs.hpp" #include <hex/api/content_registry/user_interface.hpp> #include <hex/helpers/logger.hpp> #include <fonts/vscode_icons.hpp> namespace hex::plugin::builtin { ViewLogs::ViewLogs() : View::Floating("hex.builtin.view.logs.name", ICON_VS_DEBUG_LINE_BY_LINE) { ContentRegi...
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" ...
6e21ed2389b275fc
java
48
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...
25abd0e627b46df7
cpp
52
Dracula
/** * Copyright 2021-2025, XGBoost Contributors */ #ifndef XGBOOST_COMMON_CACHE_MANAGER_H_ #define XGBOOST_COMMON_CACHE_MANAGER_H_ #include <cstdint> // for int64_t #include <array> namespace xgboost::common { /* Detect cache sizes at runtime, * or fall back to defaults if detection is not possible. */ class...
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.", ...
68e1c4886ade30bb
java
44
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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" ...
5a7e4dc96f057987
typescript
76
Default Light+
import { fileOpen as _fileOpen, fileSave as _fileSave, supported as nativeFileSystemSupported, } from "browser-fs-access"; import { MIME_TYPES } from "@excalidraw/common"; import { normalizeFile } from "./blob"; type FILE_EXTENSION = Exclude<keyof typeof MIME_TYPES, "binary">; export const fileOpen = async <M...
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" ...
17d69676e1d9e08d
cpp
295
One Dark Pro
// Copyright 2010 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) /////////////////////////////////////////////////////////////////////// // File: mastertrainer.h // Description: Trainer to build the MasterClassifier. // Author: Ray Smith // // (C) Copyright 2010, Google Inc. // Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
db4ec119e4c104f7
java
168
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...
a4f862d1fc028646
cpp
60
One Dark Pro
#ifndef GGML_ZDNN_COMMON_HPP #define GGML_ZDNN_COMMON_HPP #include "ggml.h" #include "ggml-impl.h" #include "zdnn.h" #include <vector> #include <memory> #define GGML_ZDNN_NAME "zDNN" #define GGML_ZDNN_VERSION ZDNN_VERNUM #define ZDNN_CHECK(stmt) \ do { \ ...
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...
2e20afb10dd39815
rust
73
Solarized Dark
use clash_verge_i18n::t; use std::borrow::Cow; macro_rules! define_menu { ($($field:ident => $const_name:ident, $id:expr, $text:expr),+ $(,)?) => { #[derive(Debug)] pub struct MenuTexts { $(pub $field: Cow<'static, str>,)+ } pub struct MenuIds; impl MenuTexts {...
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" ...
ee2b1e15d488a789
csharp
165
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...
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.", ...
12ad1bbfa1dd5662
cpp
21
One Dark Pro
#pragma once #include <content/views/view_hex_editor.hpp> #include <hex/api/localization_manager.hpp> #include <string> namespace hex::plugin::builtin { class PopupFill : public ViewHexEditor::Popup { public: PopupFill(u64 address, size_t size); void draw(ViewHexEditor *editor) override; ...
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"...
0c6248664919fb20
java
288
Monokai
package com.termux.app; import android.app.Notification; import android.app.NotificationManager; import android.app.Service; import android.content.Intent; import android.net.Uri; import android.os.Binder; import android.os.Build; import android.os.IBinder; import com.termux.R; import com.termux.shared.data.DataUtils...
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...
ef67ed7a369d526b
go
209
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
210b02bfba4d5740
python
76
Solarized Light
""" wiki: https://en.wikipedia.org/wiki/IPv4 Is IP v4 address valid? A valid IP address must be four octets in the form of A.B.C.D, where A, B, C and D are numbers from 0-255 for example: 192.168.23.1, 172.255.255.255 are valid IP address 192.168.256.0, 256.192.3.121 are invalid IP address """ def is_ip...
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"...
dbbd01c4a97b2fbb
go
54
Default Light+
package model import ( "encoding/json" "gorm.io/gorm" ) // PermissionEntry defines permission bitmask for a specific path. type PermissionEntry struct { Path string `json:"path"` // path prefix, e.g. "/admin" Permission int32 `json:"permission"` // bitmask permissions } // Role represents a permiss...
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" ...
5f19f00653649d48
python
146
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel import Kernel from semantic_kernel.agents import AgentGroupChat, ChatCompletionAgent from semantic_kernel.agents.strategies import KernelFunctionSelectionStrategy, KernelFunctionTerminati...
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...
738d77bc592906b9
java
44
Solarized Dark
// Given a collection of intervals, merge all overlapping intervals. // For example, // Given [1,3],[2,6],[8,10],[15,18], // return [1,6],[8,10],[15,18]. /** * Definition for an interval. * public class Interval { * int start; * int end; * Interval() { start = 0; end = 0; } * Interval(int s, int...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
aa1a2d619a2f3638
go
400
Default Light+
package server import ( "bytes" "context" "strings" "testing" "github.com/google/go-cmp/cmp" "github.com/ollama/ollama/api" "github.com/ollama/ollama/template" "github.com/ollama/ollama/types/model" ) func TestChatPrompt(t *testing.T) { type expect struct { prompt string images [][]byte error error ...
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"...
fd6b3953653e59c0
typescript
28
Default Dark+
import clsx from 'clsx'; type Props = Readonly<{ isSelected: boolean; onClick?: (event: React.MouseEvent<HTMLElement>) => void; title: string; }>; export default function ResumeFilterPill({ title, onClick, isSelected, }: Props) { return ( <button className={clsx( 'border-primary-500 fo...
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...
523640f301041b4a
typescript
70
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import type { AnsiLine, AnsiOutput, AnsiToken } from '@google/gemini-cli-core'; const DEFAULT_HEIGHT = 24; interface AnsiOutputProps { data: AnsiOutput; availab...
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.", ...
499f9bd46b7b485c
python
129
Default Light+
from .common import InfoExtractor from ..utils import ( OnDemandPagedList, int_or_none, traverse_obj, unified_timestamp, url_or_none, ) class YappyIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://yappy\.media/video/(?P<id>\w+)' _TESTS = [{ 'url': 'https://yappy.media...
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...
9a9213b59eb2dd1e
typescript
79
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipCo...
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.", ...
d642d4f7f0d4844f
cpp
297
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...
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" ...
433394578f05b633
rust
93
Solarized Light
//! Serde helpers. use toml::{Table, Value}; /// Merge two serde structures. /// /// This will take all values from `replacement` and use `base` whenever a value isn't present in /// `replacement`. pub fn merge(base: Value, replacement: Value) -> Value { match (base, replacement) { (Value::Array(mut base)...
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.", ...
727b0c5b9019c51c
csharp
113
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...
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...
cbee31db1ec3b932
cpp
83
One Dark Pro
# include "ggml-backend-impl.h" #if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) #if defined(__linux__) #include <sys/auxv.h> #endif #include <string> struct powerpc_features { std::string platform = ""; int power_version = -1; bool has_vsx = false; powerpc_feature...
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" ...
df0181f8ea980ba6
python
110
Solarized Light
# Implementation of Circular Queue (using Python lists) class CircularQueue: """Circular FIFO queue with a fixed capacity""" def __init__(self, n: int): self.n = n self.array = [None] * self.n self.front = 0 # index of the first element self.rear = 0 self.size = 0 ...
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...
3129701f770754c6
python
20
Monokai
# Copyright (c) Microsoft. All rights reserved. import random import string def generate_random_ascii_name(length: int = 16) -> str: """Generate a series of random ASCII characters of the specified length. As example, plugin/function names can contain upper/lowercase letters, and underscores Args: ...
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" ...
620ee1a61fa05525
cpp
328
Solarized Light
#include "loop.h" #include "memory.h" #include "threading.h" #include "module.h" #include "debugger.h" static std::map<DepthModuleRange, LOOPSINFO, DepthModuleRangeCompare> loops; bool LoopAdd(duint Start, duint End, bool Manual, duint instructionCount) { ASSERT_DEBUGGING("Export call"); // Loop must begin b...
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.", ...
06900d39a0d524a3
go
30
Solarized Dark
// Copyright 2018 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...
d35a373d6ef53d49
java
129
Default Light+
package com.thealgorithms.maths; /* Calculate the volume of various shapes.*/ public final class Volume { private Volume() { } /** * Calculate the volume of a cube. * * @param sideLength length of the given cube's sides * @return volume of the given cube */ public static doubl...
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"...
10160d8a9f38894a
typescript
105
GitHub Dark
import type { JVxeVueComponent } from './types'; import { JVxeTypes } from './types/JVxeTypes'; import JVxeSlotCell from './components/cells/JVxeSlotCell'; import JVxeNormalCell from './components/cells/JVxeNormalCell.vue'; import JVxeDragSortCell from './components/cells/JVxeDragSortCell.vue'; import JVxeInputCell f...
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" ...
53e8b8f4ab2c9edf
typescript
75
Solarized Light
import { Checkbox } from "@/examples/radix/ui/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSet, } from "@/examples/radix/ui/field" export function CheckboxGroup() { return ( <FieldSet> <FieldLegend variant="label"> Show these items on the desktop...
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" ...
3651f1b35996b3ed
typescript
318
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, type Mock } from 'vitest'; import { copyCommand } from './copyCommand.js'; import { type CommandContext } from './types.js'; import { createMockCommandContext } from '../../test-utils/...
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"...
256a7bd39e8c130c
cpp
92
Default Light+
#pragma once #include "ggml.h" #include "ggml-cpu-impl.h" #include <algorithm> #include <memory> #include <type_traits> #if defined(GGML_USE_OPENMP) #include <omp.h> #endif #define TILE_M 16 #define TILE_N 16 #define TILE_K 32 #define VNNI_BLK 4 #define AMX_BLK_SIZE 32 #define TMM0 0 #define TMM1 1 #define TMM2 2...
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...
46c0fd6b34053d4f
csharp
278
One Dark Pro
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Drawing; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Windows.Forms; using Newtonsoft.Json; using ShareX.HelpersLib; using ShareX.Up...
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.", ...
b11b40a5be09801d
python
205
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from enum import Enum from typing import ClassVar from pydantic import Field from semantic_kernel import Kernel from semantic_kernel.connectors.ai.chat_completion_client_base import ChatCompletionClientBase from semantic_kernel.connectors.ai.open_ai impo...
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...
7bebcf3587e029be
rust
135
GitHub Dark
/* Linear Sieve algorithm: Time complexity is indeed O(n) with O(n) memory, but the sieve generally runs slower than a well implemented sieve of Eratosthenes. Some use cases are: - factorizing any number k in the sieve in O(log(k)) - calculating arbitrary multiplicative functions on sieve numbers without increasing 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...
22116551f77c957f
csharp
59
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Extensions.VectorData; /// <summary> /// Defines a base exception type for any type of failure when using vector stores. /// </summary> public class VectorStoreException : Exception { /// <summary> /// Initializes a new insta...
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"...
36e955d9677cfd9f
typescript
189
Dracula
/* eslint no-console: 0 */ import readline from 'node:readline' import colors from 'picocolors' import type { RollupError } from 'rolldown' import type { ResolvedServerUrls } from './server' export type LogType = 'error' | 'warn' | 'info' export type LogLevel = LogType | 'silent' export interface Logger { info(msg:...
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.", ...
8fc9e4c5d2826ce0
typescript
194
Solarized Light
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/lib/utils" import { Separator } from "@/registry/new-york-v4/ui/separator" function ItemGroup({ className, ...props }: React.ComponentProps<"div">) { return ( <d...
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...
872b99bfbb776497
typescript
92
One Dark Pro
/** * Defines how to save a file to the user's filesystem. */ export type SaveFileWithDialogOptions = { /** * The data to be saved */ data: string | ArrayBuffer /** * The suggested filename for the file. This name will be shown in the * save dialog by default when a save is initiated. */ sugge...
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.", ...
bd44c0c9e8db09f2
csharp
83
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
905df1c916d8992b
java
246
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsMember implements Serializable { private Long id; private Long memberLevelId; @ApiModelProperty(value = "用户名") private String username; @ApiModelProp...
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...
d87c3847dde815af
cpp
95
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...
e02f4271c6f43e33
java
85
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...
ba4aa9fb0ed0d323
java
46
Default Light+
package com.thealgorithms.geometry; import java.util.Comparator; public record Point(int x, int y) implements Comparable<Point> { @Override public int compareTo(Point other) { int cmpY = Integer.compare(this.y, other.y); return cmpY != 0 ? cmpY : Integer.compare(this.x, other.x); } @...
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"...
4bee38aed6f56fce
typescript
47
Default Light+
// place here categories that you want to track. We want to track just a import { isDevEnv } from "@excalidraw/common"; // small subset of categories at a given time. const ALLOWED_CATEGORIES_TO_TRACK = new Set(["command_palette", "export"]); export const trackEvent = ( category: string, action: string, label?...
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.", ...
bd479b50f24893bc
typescript
27
One Dark Pro
import { Controller, Get, UseGuards } from '@nestjs/common'; import { HealthCheck, HealthCheckService, PrismaHealthIndicator, } from '@nestjs/terminus'; import { ThrottlerBehindProxyGuard } from 'src/guards/throttler-behind-proxy.guard'; import { PrismaService } from 'src/prisma/prisma.service'; @Controller('hea...
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...
966831bfc42ec4ba
python
154
Solarized Light
""" Project Euler problem 145: https://projecteuler.net/problem=145 Author: Vineet Rao, Maxim Smolskiy Problem statement: Some positive integers n have the property that the sum [ n + reverse(n) ] consists entirely of odd (decimal) digits. For instance, 36 + 63 = 99 and 409 + 904 = 1313. We will call such numbers reve...
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...
9b1eb20d94a99641
typescript
46
Solarized Light
"use client" import { Button } from "@/examples/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, } from "@/examples/base/ui/dropdown-menu" export function DropdownMenuSh...
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" ...
7ec5a5efc2b3b69b
java
31
Dracula
package com.macro.mall.security.component; import cn.hutool.json.JSONUtil; import com.macro.mall.common.api.CommonResult; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.web.access.AccessDeniedHandler; import org.springframework.stereotype.Component; import javax....
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.", ...
0e4b2ddb9e3e42ff
java
38
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...
cb84cc6dc6c469af
csharp
148
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microso...
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...
0af6a10d3041e3b0
java
52
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...
be0065607352ca52
csharp
101
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Orchestration.GroupChat; using Microsoft.SemanticKernel.Agents.Runtime; namespace Microsoft.SemanticKernel.Agents.Orchestration; /// <summary> /// Extensi...
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...
2d44625fe5d439fe
typescript
71
Solarized Light
import { RateLimiterMode } from "../../types"; import { getACUCTeam } from "../auth"; import { RequestWithAuth } from "./types"; import { AuthCreditUsageChunkFromTeam } from "../v1/types"; import { Response } from "express"; import { getRedisConnection } from "../../services/queue-service"; import { cleanOldConcurren...
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...
347acfd289f6841f
java
170
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"...
f4e37e88714877c6
csharp
28
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using System.Threading.Tasks; using Microsoft.SemanticKernel.Agents.OpenAI; using Xunit; namespace SemanticKernel.IntegrationTests.Agents.CommonInterfaceConformance.InvokeStreamingConformance; [Collection("Sequential")] public class OpenAIRe...
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...
ffb95dd2d8ba8766
cpp
34
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "../Common/Utils.h" #include "EquationViewModel.h" #include "VariableViewModel.h" namespace CalculatorApp::ViewModel { [Windows::UI::Xaml::Data::Bindable] public ref class GraphingCalculatorViewM...
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" ...
219339f2fc21fa72
typescript
81
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box, Text } from 'ink'; import { useUIState } from '../contexts/UIStateContext.js'; import { AppHeader } from './AppHeader.js'; import { HistoryItemDisplay } from './HistoryItemDisplay.js'; import { QuittingDisplay } from ...
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.", ...
c5af951ff7594e9f
typescript
26
One Dark Pro
import fs from "fs"; import path from "path"; import { CN_MASKS } from "./cn"; import { TW_MASKS } from "./tw"; import { EN_MASKS } from "./en"; import { type BuiltinMask } from "./typing"; const BUILTIN_MASKS: Record<string, BuiltinMask[]> = { cn: CN_MASKS, tw: TW_MASKS, en: EN_MASKS, }; const dirname = path....
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" ...
c8c3c6bc5ecbe69b
java
31
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"...
70f3252535ce0c60
csharp
53
Monokai
using System.IO; using System.Text; namespace ScreenToGif.Util.Codification.Apng.Chunks; /// <summary> /// The frame data chunk. /// </summary> internal class FdatChunk : Chunk { ///<summary> ///Sequence number of the animation chunk, starting from 0. ///</summary> internal uint SequenceNumber { get; ...
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" ...
65ba11f1e953f36f
typescript
41
Solarized Light
import * as React from "react" import { type LucideIcon } from "lucide-react" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" export function NavSecondary({ items, ...props }: { items: { title: string url: ...
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...
ee8fb0e2a48f2463
java
112
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"...
9dbe1ff5a968591f
typescript
239
One Dark Pro
import { HTTPSnippet } from "@hoppscotch/httpsnippet" import { HoppRESTRequest } from "@hoppscotch/data" import * as O from "fp-ts/Option" import * as E from "fp-ts/Either" import { pipe } from "fp-ts/function" import { buildHarRequest } from "./har" // Hoppscotch's Code Generation is Powered by HTTPSnippet (https://g...
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...
1283815ece3c4b62
java
64
Default Light+
package com.thealgorithms.maths; import java.util.stream.IntStream; /** * In number theory, the aliquot sum s(n) of a positive integer n is the sum of * all proper divisors of n, that is, all divisors of n other than n itself. For * example, the proper divisors of 15 (that is, the positive divisors of 15 that * a...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
3655a9ba7c22c63e
go
126
Default Light+
package fzf import ( "testing" ) func TestParseRange(t *testing.T) { { i := ".." r, _ := ParseRange(&i) if r.begin != rangeEllipsis || r.end != rangeEllipsis { t.Errorf("%v", r) } } { i := "3.." r, _ := ParseRange(&i) if r.begin != 3 || r.end != rangeEllipsis { t.Errorf("%v", r) } } { 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...
47cef4b3c246c952
typescript
190
One Dark Pro
import { HoppRESTResponse } from "@helpers/types/HoppRESTResponse" import { copyToClipboard } from "@helpers/utils/clipboard" import { refAutoReset } from "@vueuse/core" import { computed, ComputedRef, ref, Ref, watch } from "vue" import jsonToLanguage from "~/helpers/utils/json-to-language" import { platform } from "...
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.", ...
36f4521e8046c8a3
javascript
23
Default Dark+
const ColumnCompilerMySQL = require("knex/lib/dialects/mysql/schema/mysql-columncompiler"); const { formatDefault } = require("knex/lib/formatter/formatterUtils"); const { log } = require("../../../../../../../src/util"); class KumaColumnCompiler extends ColumnCompilerMySQL { /** * Override defaultTo method 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...
e8a91648c0dbcd2d
java
40
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"...
f979b46cca04c64e
java
65
Default Light+
package com.thealgorithms.searches; import com.thealgorithms.devutils.searches.SearchAlgorithm; /** * The LowerBound method is used to return an index pointing to the first * element in the range [first, last) which has a value not less than val, i.e. * the index of the next smallest number just greater than or eq...
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"...
a38ec5e7efee8b59
java
244
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...
771741df78daa14a
java
141
Solarized Dark
/* * The MIT License * * Copyright (c) 2013 Edin Dazdarevic (edin.dazdarevic@gmail.com) * 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...
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...