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
3403a820419747a3
csharp
65
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel.Agents.Runtime; using Microsoft.SemanticKernel.Agents.Runtime.Core; namespace Microsoft.SemanticKernel.Agents.Orchestration.Extensions; /// <summary> /// Extension meth...
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"...
4d13e3f1ed73e533
cpp
43
One Dark Pro
#include <hex/helpers/fs.hpp> #include <wolv/io/file.hpp> #include <romfs/romfs.hpp> #include <hex/helpers/logger.hpp> #include <hex/helpers/default_paths.hpp> namespace hex::plugin::builtin { void extractBundledFiles() { constexpr static std::array<std::pair<std::string_view, bool>, 2> Paths = { ...
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...
5ad6b824e2c402fb
csharp
86
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.SemanticKernel.Plugins.Core; namespace PromptTemplates; public class TemplateLanguage(ITestOutputHelper output) : BaseTest(output) { /// <summary> /// Show how 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...
770360d357210887
java
25
One Dark Pro
package io.github.ggerganov.whispercpp.callbacks; import com.sun.jna.Callback; import com.sun.jna.Pointer; import io.github.ggerganov.whispercpp.WhisperContext; import io.github.ggerganov.whispercpp.model.WhisperState; /** * Callback before the encoder starts. * If not null, called before the encoder starts. * If ...
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...
1589172c15b79bfd
java
357
GitHub Dark
package org.jeecg.common.util.dynamic.db; import com.alibaba.druid.pool.DruidDataSource; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ArrayUtils; import org.jeecg.common.exception.JeecgBootException; import org.jeecg.common.exception.JeecgBootException; import org.jeecg.common.system.vo.DynamicDat...
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...
c4a8c293294499fc
typescript
23
Default Light+
import { useQuery } from "@tanstack/react-query"; import { fetchHealth } from "@/api"; export function useHealth() { const healthQuery = useQuery({ queryKey: ["health"], queryFn: fetchHealth, refetchInterval: (query) => { // If the server is not healthy, poll every 10ms // Once healthy, stop ...
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" ...
af3f6482e296c140
go
38
Solarized Dark
// Copyright 2021 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...
ed753a3f49793e1d
cpp
33
Solarized Light
#ifndef _ANALYSIS_H #define _ANALYSIS_H #include "_global.h" #include <zydis_wrapper.h> class Analysis { public: explicit Analysis(duint base, duint size); Analysis(const Analysis & that) = delete; virtual ~Analysis(); virtual void Analyse() = 0; virtual void SetMarkers() = 0; protected: duin...
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...
536e753b56662593
python
74
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import TYPE_CHECKING from semantic_kernel.exceptions.process_exceptions import ProcessInvalidConfigurationException from semantic_kernel.processes.kernel_process.kernel_process_edge import KernelProcessEdge from semantic_kernel.processes.process_end_step imp...
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"...
97b3e898ef9abed5
cpp
69
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2014 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
cff65b971794b238
typescript
108
One Dark Pro
import { HoppCollection, HoppRESTRequest, getDefaultGQLRequest, getDefaultRESTRequest, translateToNewRESTCollection, HoppGQLRequest, translateToNewGQLCollection, } from "@hoppscotch/data" import * as A from "fp-ts/Array" import * as O from "fp-ts/Option" import * as RA from "fp-ts/ReadonlyArray" import * ...
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...
9392501e58924a18
typescript
258
Solarized Dark
import { ExpandLessRounded, ExpandMoreRounded, InboxRounded, } from '@mui/icons-material' import { alpha, Box, ListItemText, ListItemButton, Typography, styled, Chip, Tooltip, } from '@mui/material' import { useMemo } from 'react' import { useTranslation } from 'react-i18next' import { useIconCac...
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...
6b1c84bd6f71a44a
csharp
38
Monokai
using System.Windows; using System.Windows.Media; namespace ScreenToGif.Windows.Other; public partial class RegionMagnifier : Window { #region Properties public static readonly DependencyProperty LeftPositionProperty = DependencyProperty.Register(nameof(LeftPosition), typeof(double), typeof(RegionMagnifier),...
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...
70bf61f863c4de81
rust
316
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::java::JavaConfig; use crate::formatter::{StringFormatter, VersionFormatter}; use crate::utils::get_command_string_output; use std::path::PathBuf; use regex::Regex; const JAVA_VERSION_PATTERN: &str = "(?:JRE.*\\(|OpenJ9 )(?P<version>\\d+(?:\\.\\d+){0,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...
9a6f3fefb6aa9464
java
243
GitHub Dark
package com.alibaba.csp.sentinel.dashboard.controller; import java.util.Date; import java.util.List; import com.alibaba.csp.sentinel.dashboard.auth.AuthAction; import com.alibaba.csp.sentinel.dashboard.auth.AuthService.PrivilegeType; import com.alibaba.csp.sentinel.dashboard.controller.base.BaseRuleController; impor...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
e268ee2217a625d0
cpp
94
One Dark Pro
/** * Copyright (c) 2017 rxi * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See `microtar.c` for details. */ #ifndef MICROTAR_H #define MICROTAR_H #include <stdio.h> #include <stdlib.h> #if defined(__cplusplus) extern "C" { #endif #define MTAR_...
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.", ...
25abcdcbb73f53d1
javascript
66
Dracula
/** * @param {number[]} candidates - candidate numbers we're picking from. * @param {number} remainingSum - remaining sum after adding candidates to currentCombination. * @param {number[][]} finalCombinations - resulting list of combinations. * @param {number[]} currentCombination - currently explored candidates. ...
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...
edcf17da3ad2ec67
csharp
71
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...
d8bcb5417e57b06a
cpp
58
One Dark Pro
#include <hex/api/content_registry/reports.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/utils.hpp> #include <hex/providers/provider.hpp> namespace hex::plugin::builtin { namespace { } void registerReportGenerators() { // Generate provider data description report ContentRegi...
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...
9ccc41d6300388b2
java
27
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.", ...
17ee7d96ec786def
cpp
108
Solarized Dark
#include <openpose/gpu/cuda.hpp> #ifdef USE_CUDA #include <cuda.h> #include <cuda_runtime.h> #include <openpose/utilities/fastMath.hpp> #endif namespace op { #ifdef USE_CUDA const dim3 THREADS_PER_BLOCK_TINY {32, 32, 1}; const dim3 THREADS_PER_BLOCK_SMALL {64, 64, 1}; const dim...
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...
04341211d2dcb6ab
csharp
70
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; namespace Microsoft.SemanticKernel.Agents.Magentic; /// <summary> /// Represents the context for the MagenticManager, encapsulating the team, task, and chat history. /// </summary> public sealed class MagenticManagerContext { ///...
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" ...
2e59cdfc2a2b2a0a
javascript
41
Dracula
/** * DYNAMIC PROGRAMMING approach of solving Unique Paths problem. * * @param {number} width - Width of the board. * @param {number} height - Height of the board. * @return {number} - Number of unique paths. */ export default function dpUniquePaths(width, height) { // Init board. const board = Array(height)....
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" ...
5dcdb2cd78b04abc
cpp
246
Default Light+
#include "llama-hparams.h" #include "ggml.h" #include <algorithm> #include <cassert> void llama_hparams::set_swa_pattern(uint32_t n_pattern, bool dense_first) { if (dense_first) { for (uint32_t il = 0; il < n_layer; ++il) { swa_layers[il] = n_pattern == 0 || (il % n_pattern != 0); } ...
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.", ...
006d2dbb23f54494
java
81
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...
db2de121dc1bfc19
java
40
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...
662e805044c7b44f
typescript
91
Solarized Light
import dayjs from "dayjs"; import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react"; import { memo, useCallback, useMemo, useState } from "react"; import { useTranslation } from "react-i18next"; import { YearCalendar } from "@/components/ActivityCalendar"; import { Button } from "@/components/ui/button"; import...
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...
58c0915d6a5f3a56
typescript
59
One Dark Pro
import { Service } from "dioc" import { ref } from "vue" import { parseString as setCookieParse } from "set-cookie-parser-es" import { Cookie } from "@hoppscotch/data" export class CookieJarService extends Service { public static readonly ID = "COOKIE_JAR_SERVICE" /** * The cookie jar that stores all relevant ...
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...
914a041a4ea300ca
typescript
50
Solarized Light
import dedent from "dedent" import { createTemplate } from "./create-template" import { fontsourceMonorepoInit } from "./monorepo" export const vite = createTemplate({ name: "vite", title: "Vite", defaultProjectName: "vite-app", templateDir: "vite-app", frameworks: ["vite"], create: async () => { // E...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
3a685818a90f26d5
csharp
230
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.Google; using Microsoft.SemanticKernel.Connectors.Google.Core; usi...
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...
ed2a0f86f92f9f09
csharp
104
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; using Xunit; namespace Microsoft.SemanticKernel.Agents.Runtime.InProcess.Tests; [Trait("Category", "Unit")] public class MessageEnvelopeTests { [Fact] public void ConstructAllParametersTest()...
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"...
5acbcde6eefc1ef5
cpp
73
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...
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" ...
930f14abc0d5407b
csharp
151
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using OllamaSharp; using Xunit; namespace SemanticKernel.Connectors.Ollama.UnitTests.Extensions; /// <summary> /// Unit...
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...
e995280e8ead41f4
go
24
Default Dark+
// Copyright 2019 Gin Core Team. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package render import ( "net/http/httptest" "strings" "testing" "github.com/stretchr/testify/require" ) func TestReaderRenderNoHeaders(t *testing.T) { co...
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...
b70e37eab33864e3
typescript
80
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useRef, useCallback, useEffect } from 'react'; import { persistentState } from '../../utils/persistentState.js'; export const APPROVAL_MODE_REVEAL_DURATION_MS = 1200; const FOCUS_UI_ENABLED_STATE_KEY = 'focusUiE...
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" ...
1717bc736fd6c3d8
typescript
40
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { act } from 'react'; import { vi } from 'vitest'; // The waitFor from vitest doesn't properly wrap in act(), so we have to // implement our own like the one in @testing-library/react // or @testing-library/react-native // ...
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" ...
e456f0aeb4f57dcc
python
74
Default Light+
from .common import InfoExtractor from ..utils import ( bug_reports_message, clean_html, get_element_by_class, js_to_json, mimetype2ext, strip_or_none, url_or_none, urljoin, ) from ..utils.traversal import traverse_obj class BTVPlusIE(InfoExtractor): _VALID_URL = r'https?://(?:www\...
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" ...
a8f74e612a762c38
csharp
52
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...
f25849c316859f50
java
208
Default Light+
package com.thealgorithms.geometry; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.TreeSet; /** * A class providing algorithms to compute the convex hull of a s...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
281014d85e1328ba
cpp
79
Dracula
/* * Copyright 2018 by Contributors */ #pragma once #include <dmlc/registry.h> #include <xgboost/base.h> #include <xgboost/data.h> #include <xgboost/host_device_vector.h> #include <xgboost/model.h> #include <functional> #include <string> #include <utility> #include <vector> namespace xgboost { class Json; struct...
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...
3baded89ac9490e9
java
50
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" ...
293ac18b7aa38520
typescript
87
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { ChevronDownIcon, ChevronUpIcon } from "lucide-react" import { Accordion as AccordionPrimitive } from "radix-ui" function Accordion({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>) { ...
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...
828d2ee2bf0aae29
typescript
161
Solarized Light
"use client" import * as React from "react" import { Dialog as DialogPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Dialog({ ...props }:...
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...
3069314272e3a339
typescript
58
Solarized Light
import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-09/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/bases/base/ui/breadcrumb" import { Separator } from "@/registry/bases/base/ui/separator" im...
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...
bdec68839cd5f66c
cpp
94
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: lstmtester.h // Description: Top-level line evaluation class for LSTM-based networks. // Author: Ray Smith // // (C) Copyright 2016, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not ...
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...
42f7068eb5579472
java
50
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" ...
90b06ee69269e5b1
java
41
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" ...
c71ad76c2cc9bde5
javascript
52
Dracula
import a5 from './a5' import a6 from './a6' import a7 from './a7' import a8 from './a8' import a9 from './a9' import a10 from './a10' import a11 from './a11' import a12 from './a12' import a13 from './a13' import a14 from './a14' import a15 from './a15' import a16 from './a16' import a17 from './a17' import a18 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.", ...
842bf5475840c5ed
go
32
Default Light+
//go:build windows package transfer import ( "os" "golang.org/x/sys/windows" ) // setSparse sets the FSCTL_SET_SPARSE attribute on Windows files. // This allows the OS to not allocate disk blocks for zero-filled regions, // which is useful for large files that may not be fully written (e.g., partial // downloads)...
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...
d2262f6b2a9cf3cf
typescript
126
Solarized Light
import { Response } from "express"; import { config } from "../../config"; import { RequestWithAuth } from "./types"; import { getExtract, getExtractExpiry, getExtractResult, } from "../../lib/extract/extract-redis"; import { supabaseGetExtractByIdDirect } from "../../lib/supabase-jobs"; import { logger as _logge...
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.", ...
4c8e20146639396b
python
37
Solarized Light
""" Problem 20: https://projecteuler.net/problem=20 n! means n x (n - 1) x ... x 3 x 2 x 1 For example, 10! = 10 x 9 x ... x 3 x 2 x 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27. Find the sum of the digits in the number 100! """ from math import factorial def solution...
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.", ...
2745fae8e5c29b5c
csharp
224
Monokai
using System; using System.Collections; using System.Globalization; using System.IO; namespace winPEAS._3rdParty.BouncyCastle.crypto.util { internal abstract class Platform { private static readonly CompareInfo InvariantCompareInfo = CultureInfo.InvariantCulture.CompareInfo; #if NETCF_1_0 || NETCF_2_...
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...
1003f14ed890da7f
typescript
20
Solarized Light
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" function Input({ className, type, ...props }: React.ComponentProps<"input">) { return ( <input type={type} data-slot="input" className={cn( "cn-input w-full min-w-0 outline-none file:inline-flex file:b...
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" ...
1cb1d7c549e2f50a
typescript
22
GitHub Dark
import { nextTick, unref } from 'vue'; import type { Ref } from 'vue'; import type { Options } from 'sortablejs'; export function useSortable(el: HTMLElement | Ref<HTMLElement>, options?: Options) { function initSortable() { nextTick(async () => { if (!el) return; const Sortable = (await import('sor...
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" ...
6e4bd942946d8217
csharp
90
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...
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"...
56375edb15df3b5a
java
329
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"...
6868f3a470dc1d84
csharp
23
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.DependencyInjection; namespace Microsoft.SemanticKernel; /// <summary>Provides a builder for constructing instances of <see cref="Kernel"/>.</summary> public interface IKernelBuilder { /// <summary>Gets the collection of services to be ...
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...
1df48a0e18fd1eef
go
352
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
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...
32935690106a5539
typescript
144
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useEffect, useCallback } from 'react'; import { type Config, type CodeAssistServer, UserTierId, getCodeAssistServer, debugLogger, } from '@google/gemini-cli-core'; export interface PrivacyState { isL...
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...
352f245d444b19f4
java
78
Solarized Dark
/** * News agency pays money for articles according to some rules. Each character has its own value (some * characters may have value equals to zero). Author gets his payment as a sum of all character’s values * in the article. You have to determine the amount of money that news agency must pay to an author. * Input * ...
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...
6a8ef31cdec747e4
typescript
186
Solarized Light
import type { Logger } from "winston"; import { supabase_rr_service, supabase_service } from "../services/supabase"; import { logger } from "./logger"; import * as Sentry from "@sentry/node"; // ============================================================================ // NEW TABLES: scrapes, requests, crawls, etc. ...
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...
8ad72b840ac21f13
java
43
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...
f2134850eb6b8f6b
csharp
45
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...
611d3e12359b4268
cpp
23
Solarized Light
#pragma once #ifndef QT_NO_ACCESSIBILITY #include <QAccessibleWidget> #include "AccessibleAbstractTableView.h" #include "AbstractStdTable.h" class AccessibleStdTable : public AccessibleAbstractTableView { public: AccessibleStdTable(QWidget* w); ~AccessibleStdTable(); bool isRowSelected(int row) const over...
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...
aaa1c0a7bcf9639d
csharp
131
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel.Primitives; using System.Text.Json; using Azure.AI.Agents.Persistent; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.AzureAI; using Moq; using Xunit; namespace SemanticKernel.Agents.UnitTests.AzureAI...
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"...
0aa831a592ba9971
rust
87
GitHub Dark
//! Vigenère Cipher //! //! # Algorithm //! //! Rotate each ascii character by the offset of the corresponding key character. //! When we reach the last key character, we start over from the first one. //! This implementation does not rotate unicode characters. /// Vigenère cipher to rotate plain_text text by key and ...
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...
6013cb1826271c80
go
28
Default Light+
package errs import ( "errors" pkgerr "github.com/pkg/errors" "testing" ) func TestErrs(t *testing.T) { err1 := NewErr(StorageNotFound, "please add a storage first") t.Logf("err1: %s", err1) if !errors.Is(err1, StorageNotFound) { t.Errorf("failed, expect %s is %s", err1, StorageNotFound) } if !errors.Is(pk...
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.", ...
93cfd2a520925c49
go
254
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...
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"...
dc48a0219aab2c9e
python
154
Monokai
# Copyright (c) Microsoft. All rights reserved. from collections.abc import Callable from typing import Any, TypeVar, cast T = TypeVar("T", bound=type[Any] | Callable[..., Any]) DEFAULT_RC_NOTE = ( "Features marked with this status are nearing completion and are considered " "stable for most purposes, but ma...
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...
a8cd9388c23b1983
python
209
Solarized Light
""" HTTP client utilities for v2 API. """ import time from typing import Dict, Any, Optional from urllib.parse import urlparse, urlunparse, urljoin import requests from .get_version import get_version version = get_version() class HttpClient: """HTTP client with retry logic and error handling.""" def __init...
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...
434c9f0a5897497d
typescript
26
GitHub Dark
// import { ComputedRef } from 'vue'; // import { ThemeEnum } from '/@/enums/appEnum'; // import { MenuModeEnum } from '/@/enums/menuEnum'; export interface MenuState { // 默认选中的列表 defaultSelectedKeys: string[]; // 模式 // mode: MenuModeEnum; // // 主题 // theme: ComputedRef<ThemeEnum> | ThemeEnum; // 缩进 ...
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...
18e30cb7d3c925d5
cpp
87
Solarized Dark
#ifndef OPENPOSE_CORE_W_CV_MAT_TO_OP_INPUT_HPP #define OPENPOSE_CORE_W_CV_MAT_TO_OP_INPUT_HPP #include <openpose/core/common.hpp> #include <openpose/core/cvMatToOpInput.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WCvMatToOpInput : public Worker<TDatums> { ...
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"...
62a14a713d8f6f53
typescript
72
GitHub Dark
import type { ComputedRef, Ref, Slots } from 'vue'; import type { BasicTableProps } from '../types/table'; import { unref, computed, h, nextTick, watchEffect } from 'vue'; import TableFooter from '../components/TableFooter.vue'; import { useEventListener } from '/@/hooks/event/useEventListener'; export function useTab...
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.", ...
71314eff78b22950
java
259
Monokai
package com.termux.shared.shell.command.result; import androidx.annotation.NonNull; import com.termux.shared.data.DataUtils; import com.termux.shared.logger.Logger; import com.termux.shared.markdown.MarkdownUtils; import com.termux.shared.errors.Errno; import com.termux.shared.errors.Error; import java.io.Serializab...
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...
29c32b0ec90a7f63
cpp
117
Default Light+
#pragma once #include "ggml.h" // // cache line // #if defined(__cpp_lib_hardware_interference_size) #define CACHE_LINE_SIZE std::hardware_destructive_interference_size #else #if defined(__POWER9_VECTOR__) #define CACHE_LINE_SIZE 128 #elif defined(__VXE__) || defined(__VXE2__) #define CACHE_LINE_SIZE 256 #else #defi...
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"...
f3dccf80503b3813
java
33
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" ...
7fbc4386d942c5d3
python
59
Solarized Light
#!/usr/bin/env python3 """ Python program to translate to and from Morse code. https://en.wikipedia.org/wiki/Morse_code """ # fmt: off MORSE_CODE_DICT = { "A": ".-", "B": "-...", "C": "-.-.", "D": "-..", "E": ".", "F": "..-.", "G": "--.", "H": "....", "I": "..", "J": ".---", "K": "-.-", "L": ".-..", "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" ...
b5dd8fbf3558d2da
cpp
33
Solarized Light
#ifndef _FUNCTION_H #define _FUNCTION_H #include "addrinfo.h" struct FUNCTIONSINFO { duint modhash; duint start; duint end; bool manual; duint instructioncount; duint parent; std::string mod() const { return ModNameFromHash(modhash); } }; bool FunctionAdd(duint Start, dui...
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...
4364ed3617790549
csharp
49
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; /// <summary> /// The Amazon Titan Text response object when deserialized from Invoke Model call. /// </summary> internal sealed class 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...
058428c5d61fee77
java
126
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...
176ce6d891751bb9
csharp
116
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...
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...
f03b0d826c36a969
java
54
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...
2b15d23558c886cf
python
92
Solarized Light
""" Functions useful for doing molecular chemistry: * molarity_to_normality * moles_to_pressure * moles_to_volume * pressure_and_volume_to_temperature """ def molarity_to_normality(nfactor: int, moles: float, volume: float) -> float: """ Convert molarity to normality. Volume is taken in litres. W...
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...
d54daa70498dd1aa
csharp
162
Monokai
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Shapes; namespace ScreenToGif.Controls; internal class CircularProgressBar : ProgressBar { #region Variables and properties private Path _pathRoot; private PathFigure _pathFigure; priva...
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" ...
eb000de3bd1403a5
cpp
140
Solarized Light
#include <ntstatus.h> #include "threading.h" static HANDLE waitArray[WAITID_LAST]; void waitclear() { for(int i = 0; i < WAITID_LAST; i++) unlock((WAIT_ID)i); } void wait(WAIT_ID id) { WaitForSingleObject(waitArray[id], INFINITE); } bool waitfor(WAIT_ID id, unsigned int Milliseconds) { return Wa...
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...
bdc67696c0b7ca85
cpp
121
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2013 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...
435dff371a8d187e
cpp
93
Dracula
/** * Copyright 2022-2026, XGBoost Contributors * * @brief Utilities for estimating initial score. */ #include "fit_stump.h" #include <cstddef> // for size_t #include <cstdint> // for int32_t #include "../collective/aggregator.h" // for GlobalSum #include "../common/threading_utils.h" // for ParallelFor #inc...
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...
ad4538413eb52de9
go
151
Default Light+
package manifest import ( "encoding/json" "os" "path/filepath" "slices" "testing" "github.com/ollama/ollama/types/model" ) func createManifest(t *testing.T, path, name string) { t.Helper() p := filepath.Join(path, "manifests", name) if err := os.MkdirAll(filepath.Dir(p), 0o755); err != nil { t.Fatal(err)...
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" ...
16d22f2922a915fb
cpp
122
Solarized Light
#include "StdTable.h" #include "Bridge.h" StdTable::StdTable(QWidget* parent) : AbstractStdTable(parent) { } /************************************************************************************ Sorting ********************************************************************************...
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"...
373304758183d37b
typescript
315
GitHub Dark
import { computed, nextTick, ref, unref, watch } from 'vue'; import { propTypes } from '/@/utils/propTypes'; import { useDesign } from '/@/hooks/web/useDesign'; import { getEnhanced, replaceProps } from '../utils/enhancedUtils'; import { vModel } from '/@/components/jeecg/JVxeTable/utils'; import { JVxeRenderType } fro...
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...
efe86e1183b652c1
python
410
Default Light+
import binascii import io import re import urllib.parse from . import get_suitable_downloader from .external import FFmpegFD from .fragment import FragmentFD from .. import webvtt from ..dependencies import Cryptodome from ..utils import ( bug_reports_message, parse_m3u8_attributes, remove_start, trave...
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"...
a5dde1e9bdc2c141
csharp
39
Default Dark+
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RevokeMsgPatcher.Model { public class ModifyInfo { public string Name { get; set; } public string Version { get; set; } public string SHA1Bef...
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...
3d057747623dcd78
csharp
144
Monokai
using System; using System.Collections.Generic; using System.Linq; using winPEAS.Helpers; using winPEAS.Helpers.Registry; namespace winPEAS.Checks { internal class RegistryInfo : ISystemCheck { private const string TypingInsightsRelativePath = @"Software\Microsoft\Input\TypingInsights"; privat...
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"...
b2d4246417cbcd37
java
81
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
1aaee51e2995c755
csharp
34
Default Light+
#nullable enable using System; using System.Collections.Generic; using System.Text; using ICSharpCode.Decompiler.Util; namespace ICSharpCode.Decompiler.IL { internal static class ILInstructionExtensions { public static T WithILRange<T>(this T target, ILInstruction sourceInstruction) where T : ILInstruction { ...
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...
b6262adf23f8e0a9
cpp
90
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <cassert> #include "CalculatorHistory.h" using namespace std; using namespace CalculationManager; namespace { static wstring GetGeneratedExpression(const vector<pair<wstring, int>>& tokens) { wstr...
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...
1b1ed97e5b426718
python
44
Solarized Light
"""PARSER_DESCRIPTION""" from importlib.resources import files as _files from ._binding import language def _get_query(name, file): try: query = _files(f"{__package__}") / file globals()[name] = query.read_text() except FileNotFoundError: globals()[name] = None return globals()[n...
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...
4fb115115db5f652
typescript
120
Solarized Light
export function TypographyDemo() { return ( <div> <h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight text-balance"> Taxing Laughter: The Joke Tax Chronicles </h1> <p className="text-xl leading-7 text-muted-foreground [&:not(:first-child)]:mt-6"> Once upon a time, 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...
cfb80e1059f7f81e
java
42
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" ...
18341cb8733617c0
java
30
Dracula
package com.macro.mall.portal.dao; import com.macro.mall.model.SmsCoupon; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.PromotionProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 前台购物车商品管理自定义Dao * Created by macro on 2018/8/2. */ public interf...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...