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 |
|---|---|---|---|---|---|---|
41360d2a8dd7fe23 | typescript | 40 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export interface NetworkLog {
id: string;
sessionId?: string;
timestamp: number;
method: string;
url: string;
headers: Record<string, string | string[] | undefined>;
body?: string;
pending?: boolean;
chunks?: Arra... | 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"... |
3ff4aecaab0dc335 | csharp | 84 | Default Light+ | //
// SizeOfExpression.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.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 t... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
58a68aa6e646e276 | python | 143 | Solarized Light | B64_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
def base64_encode(data: bytes) -> bytes:
"""Encodes data according to RFC4648.
The data is first transformed to binary and appended with binary digits so that its
length becomes a multiple of 6, then each 6 binary digits wil... | 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... |
ef59deb9e66c5e10 | 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... | 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... |
a2a0e7c00888aded | java | 72 | Default Dark+ | package org.schabi.newpipe.settings;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import androidx.annotation.NonNull;
import org.schabi.newpipe.MainActivity;
import org.schabi.newpipe.R;
import org.schabi.newpipe.util.ReleaseVersionUtil;
public ... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
4d6ddfe73e20059d | java | 98 | Solarized Dark | // We define the operation of splitting
// a binary number n into two numbers
// a(n), b(n) as follows. Let 0 ≤ i1 < i2 <
// . . . < ik be the indices of the bits (with
// the least significant bit having index 0) in
// n that are 1. Then the indices of the bits
// of a(n) that are 1 are i1, i3, i5, . . . and the
// in... | 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"
... |
57df75cbaf4c6829 | csharp | 25 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel;
using Microsoft.SemanticKernel;
namespace SemanticKernel.AotTests.Plugins;
internal sealed class WeatherPlugin
{
[KernelFunction]
[Description("Get the current weather in a given location.")]
public Weather GetCurrentWeather(L... | 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.",
... |
5415ddf33eb461f6 | go | 83 | Default Light+ | package launch
import (
"strings"
"testing"
"github.com/ollama/ollama/cmd/config"
)
var (
integrations map[string]Runner
integrationAliases map[string]bool
integrationOrder = launcherIntegrationOrder
)
func init() {
integrations = buildTestIntegrations()
integrationAliases = buildTestIntegrationAlia... | 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... |
ffb3d1f89af5eeed | go | 32 | Default Light+ | package _139
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
)
type Addition struct {
//Account string `json:"account" required:"true"`
Authorization string `json:"authorization" type:"text" required:"true"`
driver.RootID
Type string `js... | 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... |
e97717cdc11968e2 | go | 43 | Default Dark+ | // Copyright 2025 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.
//go:build go_json
package json
import (
"io"
"github.com/goccy/go-json"
)
// Package indicates what library is being used for JSON encoding.
const Package... | 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... |
e607659d7494ec0c | java | 56 | Default Dark+ | package org.schabi.newpipe.fragments.list.kiosk;
import android.os.Bundle;
import org.schabi.newpipe.error.ErrorInfo;
import org.schabi.newpipe.error.UserAction;
import org.schabi.newpipe.extractor.NewPipe;
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
import org.schabi.newpipe.extractor.kiosk.K... | 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.",
... |
b911cd1302dc7fd2 | typescript | 93 | Solarized Dark | import {
decodeAndTrim,
getIfNotBlank,
parseBoolOrPresence,
parsePortOrDefault,
parseQueryStringNormalized,
parseUrlLike,
safeDecodeURIComponent,
stripUriScheme,
} from './helpers'
export function URI_Trojan(line: string): IProxyTrojanConfig {
const afterScheme = stripUriScheme(line, 'trojan', 'Inval... | 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... |
66091cfac8bb5670 | rust | 355 | Default Dark+ | use std::cell::RefCell;
use hashbrown::HashMap;
use heed::types::Bytes;
use heed::{Database, RoTxn};
use memmap2::Mmap;
use rayon::iter::{IntoParallelIterator, ParallelIterator};
use roaring::RoaringBitmap;
use super::channel::*;
use super::extract::{
merge_caches_sorted, transpose_and_freeze_caches, BalancedCach... | 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... |
fa3d00b7dcbc6af8 | go | 195 | Default Dark+ | // Copyright 2014 Manu Martinez-Almeida. 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 (
"bytes"
"fmt"
"html/template"
"net/http"
"unicode"
"github.com/gin-gonic/gin/codec/json"
"github.com/gin-gonic/gin/inter... | 6 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Transcribe the code from this VS Code screenshot.",
"role"... |
8ad92a3efa7f6ddd | python | 119 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
from azure.identity import AzureCliCredential
from semantic_kernel.agents import AgentGroupChat, BedrockAgent, ChatCompletionAgent
from semantic_kernel.agents.strategies.termination.termination_strategy import TerminationStrategy
from semantic_kernel.con... | 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... |
97ce8265d4443985 | java | 30 | 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... |
2209798de25f35cc | typescript | 129 | One Dark Pro | import { getServerSideConfig } from "@/app/config/server";
import {
XAI_BASE_URL,
ApiPath,
ModelProvider,
ServiceProvider,
} from "@/app/constant";
import { prettyObject } from "@/app/utils/format";
import { NextRequest, NextResponse } from "next/server";
import { auth } from "@/app/api/auth";
import { isModelN... | 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... |
3162b0323a7b698e | csharp | 35 | Monokai | // Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.SemanticKernel.Plugins.OpenApi;
/// <summary>
/// REST API parameter location.
/// </summary>
public enum RestApiParameterLocation
{
/// <summary>
/// Query parameter.
/// </summary>
Query,
/// <summary>
/// Header paramete... | 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"... |
ed1797b8eafa2232 | cpp | 84 | One Dark Pro | #include "../node_context.h"
#include "../op_table.h"
#include "../utils.h"
#include <cstdint>
#include <memory>
#include <openvino/core/node.hpp>
#include <openvino/core/node_output.hpp>
#include <openvino/frontend/exception.hpp>
#include <openvino/op/concat.hpp>
#include <openvino/op/constant.hpp>
#include <openvino... | 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... |
b34a0f318aaa5522 | rust | 57 | One Dark Pro | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
use std::net::Ipv4Addr;
use serde::{Deserialize, Serialize};
use crate::mmds::data_store;
use crate::mmds::data_store::MmdsVersion;
/// Keeps the MMDS configuration.
#[derive(Clone, Debug, PartialEq, Eq,... | 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... |
e301e7722501f77e | typescript | 103 | Solarized Light | /**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { useState } from 'react';
import { render, Box, Text } from 'ink';
import { AskUserDialog } from '../src/ui/components/AskUserDialog.js';
import { KeypressProvider } from '../src/ui/contexts/KeypressContext.js';
import { Qu... | 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"
... |
e172dffd09618f2e | java | 34 | 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.",
... |
154bca67ce90a628 | java | 248 | Default Dark+ | package org.schabi.newpipe.player.seekbarpreview;
import static org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHelper.SeekbarPreviewThumbnailType;
import static org.schabi.newpipe.player.seekbarpreview.SeekbarPreviewThumbnailHelper.getSeekbarPreviewThumbnailType;
import android.content.Context;
impor... | 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... |
8def7767b2d2b89a | typescript | 134 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Test to verify circular reference handling in telemetry logging
*/
import { describe, it, expect } from 'vitest';
import { logToolCall } from './loggers.js';
import { ToolCallEvent } from './types.js';
import type { Config... | 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"... |
809bde194ce40b9e | csharp | 20 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel;
using Microsoft.SemanticKernel;
namespace Plugins;
public sealed class StaticTextPlugin
{
[KernelFunction, Description("Change all string chars to uppercase")]
public static string Uppercase([Description("Text to uppercase")] stri... | 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... |
9c378a90d7de34f9 | rust | 61 | Solarized Light | use log::LevelFilter;
use serde::Serialize;
use alacritty_config_derive::ConfigDeserialize;
/// Debugging options.
#[derive(ConfigDeserialize, Serialize, Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct Debug {
pub log_level: LevelFilter,
pub print_events: bool,
/// Keep the log file afte... | 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... |
4cb178f55a9a34fc | java | 213 | Default Light+ | package com.thealgorithms.datastructures.graphs;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashSet;
import java.util.stream.IntStream;
/**
* The Welsh-Powell algorithm is a graph coloring algorithm that aims to color a graph
* using the minimum number of colors such that no two adjacent... | 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.",
... |
2488a7f702fcf254 | csharp | 68 | Dracula | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Appium.Windows;
using System;
namespace CalculatorUITestFramework
{
public class CalculatorResults
{
private WindowsDriver<WindowsE... | 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... |
daf20b5826e949c5 | cpp | 28 | Solarized Light | #pragma once
#include <QFrame>
#include <QPushButton>
#include <QLabel>
namespace Ui
{
class OverlayFrame;
}
class OverlayFrame : public QFrame
{
Q_OBJECT
public:
static OverlayFrame* embed(QWidget* parent, bool visible = true);
explicit OverlayFrame(QWidget* parent = nullptr);
~OverlayFrame();... | 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... |
53ade99b91ca04d1 | java | 77 | 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... | 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.",
... |
2ae2035efc7ae4ec | typescript | 37 | Solarized Light | import { Badge } from "@/examples/base/ui/badge"
import { Button } from "@/examples/base/ui/button"
import {
Card,
CardAction,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/examples/base/ui/card"
export function CardImage() {
return (
<Card className="relative mx-auto w-full max-w-sm ... | 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... |
20b696ce68e80bdb | python | 91 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
import os
from typing import Annotated
from azure.identity.aio import AzureCliCredential
from semantic_kernel.agents import AgentRegistry, AzureAIAgent, AzureAIAgentSettings, AzureAIAgentThread
from semantic_kernel.functions.kernel_function_decorator imp... | 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"
... |
ba585700fa29b465 | python | 33 | Monokai | # Copyright (c) Microsoft. All rights reserved.
from typing import ClassVar
from pydantic import SecretStr
from semantic_kernel.kernel_pydantic import KernelBaseSettings
class MistralAISettings(KernelBaseSettings):
"""MistralAI model settings.
The settings are first loaded from environment variables with ... | 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... |
3ffa6b5233f37f3e | csharp | 142 | 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"... |
7b9b61a1bfadb590 | go | 286 | Solarized Light | // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.1
// - protoc (unknown)
// source: api/v1/idp_service.proto
package apiv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"... | 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... |
f486831a516172f9 | csharp | 425 | Default Light+ | // Copyright (c) 2018 Siegfried Pammer
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... | 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.",
... |
3a5a985388fb2ac0 | typescript | 249 | One Dark Pro | /**
* the direct import from yargs-parser uses fs which is a built in node module,
* just adding the /browser import as a fix for now, which does not have type info on DefinitelyTyped.
* remove/update this comment before merging the vue3 port.
*/
import {
FormDataKeyValue,
HoppRESTReqBody,
makeRESTRequest,
} ... | 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... |
2f2cb9404be39bd4 | python | 123 | Monokai | # Copyright (c) Microsoft. All rights reserved.
from enum import Enum
from samples.getting_started_with_processes.step03.models.food_order_item import FoodItem
from samples.getting_started_with_processes.step03.processes.fish_and_chips_process import FishAndChipsProcess
from samples.getting_started_with_processes.ste... | 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... |
ac851f7b677f2587 | cpp | 39 | One Dark Pro | /******************************************************************************
*
* File: findseam.h
* Author: Mark Seaman, SW Productivity
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compli... | 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"... |
b5e014e2b1f90346 | java | 68 | Default Light+ | package com.thealgorithms.dynamicprogramming;
/**
* A naive recursive implementation of the 0-1 Knapsack problem.
*
* <p>The 0-1 Knapsack problem is a classic optimization problem where you are
* given a set of items, each with a weight and a value, and a knapsack with a
* fixed capacity. The goal is to determine... | 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... |
3889d8c718124b68 | python | 298 | Default Light+ | import functools
import hashlib
import json
import time
import urllib.parse
from .common import InfoExtractor
from ..utils import (
ExtractorError,
OnDemandPagedList,
int_or_none,
jwt_decode_hs256,
mimetype2ext,
qualities,
traverse_obj,
try_call,
unified_timestamp,
)
class IwaraBa... | 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... |
dc7f9cd5b7af3845 | rust | 394 | Default Dark+ | use roaring::RoaringBitmap;
use super::logger::SearchLogger;
use super::ranking_rules::{BoxRankingRule, RankingRuleQueryTrait};
use super::SearchContext;
use crate::score_details::{ScoreDetails, ScoringStrategy};
use crate::search::new::distinct::{
apply_distinct_rule, distinct_fid, distinct_single_docid, Distinct... | 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"... |
9042e88f9995afa1 | cpp | 66 | Monokai | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2006 Tatsuhiro Tsujikawa
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | 1 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Please transcribe the source code shown in this editor screens... |
1480961723e3b53e | python | 267 | Default Light+ | import json
from .brightcove import BrightcoveNewIE
from .common import InfoExtractor
from ..utils import (
JSON_LD_RE,
ExtractorError,
base_url,
clean_html,
determine_ext,
extract_attributes,
get_element_by_class,
merge_dicts,
parse_duration,
smuggle_url,
try_get,
url_b... | 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... |
5e3dd73d840a0c10 | cpp | 119 | Monokai | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include <spdlog/common.h>
#include <spdlog/details/log_msg.h>
#include <spdlog/details/os.h>
#include <spdlog/formatter.h>
#include <chrono>
#include <ctime>
#inclu... | 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... |
33d4c4b5a7c26936 | csharp | 54 | Default Light+ | // Copyright (c) 2017 Siegfried Pammer
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... | 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... |
f2a425fb62fb7758 | csharp | 85 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Microsoft.SemanticKernel.Connectors.Google.Core;
/// <summary>
/// Represents... | 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.",
... |
59c532f9b44a7ef2 | rust | 154 | One Dark Pro | // Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the THIRD-PARTY file.
use kvm_bindings::kvm... | 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.",
... |
e93801a0ffb4f7fa | typescript | 36 | One Dark Pro | import { pipe } from "fp-ts/function"
import * as O from "fp-ts/Option"
import * as RR from "fp-ts/ReadonlyRecord"
export const REQUEST_METHOD_LABEL_COLORS = {
get: "var(--method-get-color)",
post: "var(--method-post-color)",
put: "var(--method-put-color)",
patch: "var(--method-patch-color)",
delete: "var(--... | 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... |
49cd0f43223b829c | csharp | 70 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Text.Json;
using A2A;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Agents;
using Microsoft.SemanticKernel.Agents.A2A;
namespace GettingStarted.A2A;
/// <summary>
/// This example demonstrates similarity between using <see cref="A2AAgent... | 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... |
04b83500528cb62d | python | 114 | Solarized Light | """
Ford-Fulkerson Algorithm for Maximum Flow Problem
* https://en.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algorithm
Description:
(1) Start with initial flow as 0
(2) Choose the augmenting path from source to sink and add the path to flow
"""
graph = [
[0, 16, 13, 0, 0, 0],
[0, 0, 10, 12, 0, 0],
... | 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"... |
4194271e7976fbbd | rust | 35 | One Dark Pro | use axum::{
routing::{delete, get, post},
Router,
};
use std::sync::Arc;
use tauri::AppHandle;
use crate::{controller, state::AppState};
pub fn route(state: Arc<AppState>, app_handle: AppHandle) -> Router {
Router::new()
.route("/handshake", get(controller::handshake))
.route(
... | 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"... |
3f785214ce75c2de | go | 90 | Default Light+ | package mlx
// #include "generated.h"
import "C"
import (
"fmt"
"log/slog"
"strconv"
)
func (b Byte) String() string {
return strconv.FormatInt(int64(b), 10) + " B"
}
func (b KibiByte) String() string {
return strconv.FormatFloat(float64(b)/(1<<10), 'f', 2, 64) + " KiB"
}
func (b MebiByte) String() string {
... | 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... |
86321ceb0672a3d1 | python | 103 | Default Light+ | # flake8: noqa: F401
"""Imports all optional dependencies for the project.
An attribute "_yt_dlp__identifier" may be inserted into the module if it uses an ambiguous namespace"""
try:
import brotlicffi as brotli
except ImportError:
try:
import brotli
except ImportError:
brotli = None
try:... | 6 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Transcribe the code from this VS Code screenshot.",
"role"... |
5592d696b5c9cba4 | java | 70 | GitHub Dark | package org.jeecg.modules.system.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Ex... | 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... |
e5cdb21c0b68f6b2 | go | 57 | Default Dark+ | // Copyright 2015 Matthew Holt and The Caddy Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
178f1d613db0ecfb | typescript | 214 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, type vi } from 'vitest';
import { toolsCommand } from './toolsCommand.js';
import { createMockCommandContext } from '../../test-utils/mockCommandContext.js';
import { MessageType } from '../types.js';... | 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"... |
d1969c21a41185a5 | go | 31 | Default Light+ | package bootstrap
import (
"context"
"github.com/alist-org/alist/v3/internal/conf"
"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/pkg/utils"
)
func LoadStorages() {
storages, err := db.GetEna... | 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... |
df603cdce54be170 | python | 49 | Dracula | """
Using rmm with Dask
===================
"""
import dask
from dask.distributed import Client
from dask_cuda import LocalCUDACluster
from sklearn.datasets import make_classification
import xgboost as xgb
def main(client):
# Optionally force XGBoost to use RMM for all GPU memory allocation, see ./README.md
... | 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... |
7d2eb925bcbca635 | cpp | 363 | Dracula | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/****************************Module*Header***********************************
* Module Name: EngineStrings.h
*
* Module Description:
* Resource String ID's for the private strings used by Engine. Internal to Engine re... | 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... |
9f464b382d2f0091 | typescript | 63 | Solarized Light | "use client"
import * as React from "react"
import {
Item,
ItemContent,
ItemMedia,
ItemTitle,
} from "@/examples/radix/ui-rtl/item"
import { Spinner } from "@/examples/radix/ui-rtl/spinner"
import {
useTranslation,
type Translations,
} from "@/components/language-selector"
const translations: Translation... | 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... |
f45ce2cef1e0924a | csharp | 65 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Text.Json;
using Microsoft.SemanticKernel;
using SemanticKernel.AotTests.JsonSerializerContexts;
using SemanticKernel.AotTests.Plugins;
namespace SemanticKernel.AotTests.UnitTests.Core.Plugins;
internal sealed class KernelExtensions_KernelPluginTests
{
... | 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... |
1029fef579abe7e3 | go | 407 | Solarized Dark | // Copyright 2015 The etcd Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
ca6fc6d4f48985e3 | java | 40 | Default Light+ | package com.thealgorithms.maths;
/**
* https://en.wikipedia.org/wiki/Perfect_square
*/
public final class PerfectSquare {
private PerfectSquare() {
}
/**
* Check if a number is perfect square number
*
* @param number the number to be checked
* @return <tt>true</tt> if {@code number} ... | 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"
... |
b00492a049341991 | csharp | 151 | One Dark Pro | #region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
Copyright (c) 2007-2026 ShareX Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the ... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
62098419bd0e1feb | typescript | 44 | One Dark Pro | import { Field, ID, ObjectType } from '@nestjs/graphql';
@ObjectType()
export class InfraToken {
@Field(() => ID, {
description: 'ID of the infra token',
})
id: string;
@Field(() => String, {
description: 'Label of the infra token',
})
label: string;
@Field(() => Date, {
description: 'Date ... | 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... |
f8e6304eab7a088b | csharp | 95 | Default Light+ | //
// NamedExpression.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2011 Xamarin
//
// 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 restrict... | 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... |
df116d8ae33db636 | javascript | 122 | Solarized Light | import globals from 'globals';
import jsdoc from 'eslint-plugin-jsdoc';
export default [
jsdoc.configs['flat/recommended'],
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.commonjs,
...globals.es2021,
},
},
plugins: {
... | 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"... |
ebbad2d08985894d | python | 219 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import json
import logging
import sys
from collections.abc import AsyncGenerator
from typing import Any, ClassVar
if sys.version_info >= (3, 12):
from typing import override # pragma: no cover
else:
from typing_extensions import override # pragma: no cover
fr... | 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... |
2fdc9d949632356e | csharp | 232 | Monokai | using ScreenToGif.Domain.Enums;
using ScreenToGif.Domain.Interfaces;
using ScreenToGif.Util;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.Serialization;
using System.Windows;
using Color = System.Windows.Media.Color;
namespace ScreenToGif.Model;
[DataContract]
[Known... | 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... |
9cd9943d7708eeef | java | 53 | 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.",
... |
b359cd18fc18b25a | cpp | 33 | Solarized Dark | #ifndef OPENPOSE_CORE_HEADERS_HPP
#define OPENPOSE_CORE_HEADERS_HPP
// core module
#include <openpose/core/array.hpp>
#include <openpose/core/arrayCpuGpu.hpp>
#include <openpose/core/common.hpp>
#include <openpose/core/cvMatToOpInput.hpp>
#include <openpose/core/cvMatToOpOutput.hpp>
#include <openpose/core/datum.hpp>
... | 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... |
5b290bbf5d8972df | python | 234 | Default Light+ | import base64
import os
import re
import subprocess
from .common import PostProcessor
from .ffmpeg import FFmpegPostProcessor, FFmpegThumbnailsConvertorPP
from ..compat import imghdr
from ..dependencies import mutagen
from ..utils import (
Popen,
PostProcessingError,
check_executable,
encodeArgument,
... | 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... |
6a1fb1c3d70696be | cpp | 97 | Solarized Light | #pragma once
/*
MIT License
Copyright (c) 2018 Duncan Ogilvie
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, m... | 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... |
dbca11ce2b5bf5e7 | javascript | 168 | Default Dark+ | // @ts-check
import { renderStatsCard } from "../src/cards/stats.js";
import { guardAccess } from "../src/common/access.js";
import {
CACHE_TTL,
resolveCacheSeconds,
setCacheHeaders,
setErrorCacheHeaders,
} from "../src/common/cache.js";
import {
MissingParamError,
retrieveSecondaryMessage,
} from "../src/... | 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... |
57a66e5153eb7a22 | cpp | 257 | One Dark Pro | /******************************************************************************
** Filename: picofeat.c
** Purpose: Definition of pico-features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** 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... |
891bfb26eff95381 | javascript | 46 | Default Dark+ | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Onesender extends NotificationProvider {
name = "Onesender";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | 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... |
c480f7dc98fa9e0e | csharp | 45 | Monokai | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace YamlSerializerNamespace
{
public static class ObjectExtensions
{
public static T ToObject<T>(this IDictionary<string, object> source)
where T : class, new()
{
var someObject = new T(... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
67fcc4bcbb5c6821 | csharp | 241 | Monokai | using System.Collections;
using Color = System.Windows.Media.Color;
namespace ScreenToGif.Util.Codification.Gif.Encoder.Quantization;
public abstract class Quantizer
{
/// <summary>
/// Flag used to indicate whether a single pass or two passes are needed for quantization.
/// </summary>
private readon... | 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... |
88b6d226aa9ea1de | java | 201 | 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... |
2270d2f54fba6c1c | java | 96 | GitHub Dark | package org.jeecg.common.constant.enums;
import org.jeecg.common.constant.CommonConstant;
/**
* @Description: 操作类型
* @author: jeecg-boot
* @date: 2022/3/31 10:05
*/
public enum OperateTypeEnum {
/**
* 列表
*/
LIST(CommonConstant.OPERATE_TYPE_1, "list"),
/**
* 新增
*/
ADD(CommonCo... | 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"
... |
869135877c5ddc6f | rust | 72 | Solarized Dark | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct GitStatusConfig<'a> {
pub format: &'a str,
pub style: &'a str,
pub stashed: &'a str,
... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
2a95a1ec255f6739 | cpp | 88 | 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... | 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"... |
52c3a7575180a976 | cpp | 27 | Solarized Dark | #ifndef OPENPOSE_NET_NMS_BASE_HPP
#define OPENPOSE_NET_NMS_BASE_HPP
#include <openpose/core/common.hpp>
namespace op
{
template <typename T>
void nmsCpu(
T* targetPtr, int* kernelPtr, const T* const sourcePtr, const T threshold, const std::array<int, 4>& targetSize,
const std::array<int, 4>& sourc... | 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... |
4a22778e0f48dbae | csharp | 34 | Dracula | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Windows.UI.Xaml;
namespace CalculatorApp
{
namespace Common
{
/// <summary>
/// Value converter that translates Visible to Collapsed and vice versa
/// </summary>
... | 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... |
d9632a0e955df05c | typescript | 89 | Solarized Light | "use client"
import { TrendingUp } from "lucide-react"
import { CartesianGrid, Line, LineChart, XAxis } from "recharts"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
import {
ChartContainer,
ChartTooltip,
ChartTooltipContent,
... | 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... |
732bc34361ba4008 | cpp | 197 | Dracula | /**
* Copyright 2014-2025, XGBoost Contributors
* \file sparse_page_dmatrix.cc
*
* \brief The external memory version of Page Iterator.
* \author Tianqi Chen
*/
#include "sparse_page_dmatrix.h"
#include <algorithm> // for max
#include <memory> // for make_shared
#include <string> // for string
#include ... | 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"
... |
dd156aeb3cce5250 | csharp | 144 | One Dark Pro | namespace ShareX.HelpersLib
{
partial class ExportImportControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 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"... |
865f9380a5816cb8 | csharp | 73 | Default Light+ | //
// FullTypeName.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2010 Novell, Inc (http://www.novell.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 Sof... | 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.",
... |
6fef3beb197f338c | java | 83 | Solarized Dark | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 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... |
e05daf74585f2ba1 | java | 48 | Monokai | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 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"... |
07102bffbfd9e281 | java | 434 | 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.",
... |
da4c0a221084d47a | csharp | 73 | Default Light+ | //
// EmptyStatement.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.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... | 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"... |
d1aeef5fe27da950 | cpp | 147 | One Dark Pro | #include "models.h"
llm_build_stablelm::llm_build_stablelm(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) {
const int64_t n_embd_head = hparams.n_embd_head_v();
GGML_ASSERT(n_embd_head == hparams.n_embd_head_k());
ggml_tensor * cur;
ggml_tensor * inpL;
in... | 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... |
d493b05dc768c3ec | java | 115 | 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... |
7769bc132834c6f8 | cpp | 20 | Solarized Light | #pragma once
#include "command.h"
bool cbBadCmd(int argc, char* argv[]);
bool cbDebugBenchmark(int argc, char* argv[]);
bool cbInstrSetstr(int argc, char* argv[]);
bool cbInstrGetstr(int argc, char* argv[]);
bool cbInstrCopystr(int argc, char* argv[]);
bool cbInstrZydis(int argc, char* argv[]);
bool cbInstrVisualize(... | 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.",
... |
136c4a65dbca34f8 | java | 89 | GitHub Dark | package org.jeecg.modules.system.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Dat... | 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... |
0d14f489d1ea8a01 | java | 47 | Monokai | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 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"
... |
06ca50564b4f4fc7 | csharp | 151 | Default Light+ | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, cop... | 5 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What source code is visible in this editor?",
"role": "use... |
ba163d2737b97d19 | csharp | 99 | Default Light+ | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, cop... | 5 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What source code is visible in this editor?",
"role": "use... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.