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
0bd9cfa585368aa0
csharp
56
Default Light+
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, mo...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d5866f88cc472123
typescript
55
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { detectIdeFromEnv } from '../ide/detect-ide.js'; /** Default surface value when no IDE/environment is detected. */ export const SURFACE_NOT_SET = 'terminal'; /** * Determines the surface/distribution channel the CLI is r...
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...
3476cef87e605065
cpp
102
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
1f9b20197407d4e9
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. // <NecessaryPackages> using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Plugins.Core; // </NecessaryPackages> namespace Examples; /// <summary> /// This example demonstr...
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...
6544a6a896813e53
go
33
Default Light+
package netease_music import ( "regexp" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { Cookie string `json:"cookie" type:"text" required:"true" help:""` SongLimit uint64 `json:"song_limit" default:"200" type:"number" help:"only get 200 son...
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...
4f22b94da68ddc14
typescript
63
Dracula
import { hostValidationMiddleware as originalHostValidationMiddleware } from 'host-validation-middleware' import type { Connect } from '#dep-types/connect' import type { ResolvedPreviewOptions, ResolvedServerOptions } from '../..' export function getAdditionalAllowedHosts( resolvedServerOptions: Pick<ResolvedServerO...
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...
d1242b3a0709b1d7
csharp
157
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents; namespace Microsoft.SemanticKernel.Process.Internal; internal static class StepExtensions { public static KernelProcessSt...
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...
9206519a06860c4e
java
38
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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" ...
71d1604285e46ff1
csharp
325
Monokai
#nullable disable using System.ComponentModel; using Netch.Models; using Netch.Properties; using Netch.Utils; namespace Netch.Forms; [DesignerCategory(@"Code")] [Fody.ConfigureAwait(true)] public abstract class ServerForm : Form { private const int ControlLineHeight = 28; private const int InputBoxWidth = 29...
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" ...
96348c32c37c9a1a
java
45
Default Dark+
package us.shandian.giga.postprocessing; import org.schabi.newpipe.streams.WebMReader.TrackKind; import org.schabi.newpipe.streams.WebMReader.WebMTrack; import org.schabi.newpipe.streams.WebMWriter; import org.schabi.newpipe.streams.io.SharpStream; import java.io.IOException; /** * @author kapodamy */ class WebMMu...
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...
eb551088b3d0008c
java
28
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"...
3e8f5bf9bd68b13f
python
89
Solarized Light
""" In this problem, we want to determine all possible permutations of the given sequence. We use backtracking to solve this problem. Time complexity: O(n! * n), where n denotes the length of the given sequence. """ from __future__ import annotations def generate_all_permutations(sequence: list[int | str]) -> None:...
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...
317d61ff9e891216
java
74
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" ...
30debb67a2ba5972
cpp
32
One Dark Pro
// Wrapper of the OpenVINO Whisper Encoder model // #if __cplusplus extern "C" { #endif struct whisper_openvino_context; // initialize openvino encoder, given path to model xml, device ("CPU", "GPU", etc.), and // path to cache_dir. Returns null upon failure. struct whisper_openvino_context * whisper_openvino_init(c...
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...
1e4e48b648d355da
rust
69
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use vmm::cpu_config::templates::CustomCpuTemplate; use super::{VerifyError, verify_common}; use crate::utils::aarch64::RegModifierMap; pub fn verify( cpu_template: CustomCpuTemplate, cpu_config: ...
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...
a23f48f3105c7fbe
csharp
34
Default Light+
using Clean.Architecture.Core.ContributorAggregate; using Clean.Architecture.UseCases.Contributors; using Clean.Architecture.UseCases.Contributors.List; namespace Clean.Architecture.Infrastructure.Data.Queries; public class ListContributorsQueryService : IListContributorsQueryService { // You can use EF, Dapper, 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"...
42b56abc7ecb441d
javascript
227
Monokai
import {finiteOrDefault, isFinite} from '../helpers/helpers.core.js'; import {formatNumber} from '../helpers/helpers.intl.js'; import {_setMinAndMaxByKey, log10} from '../helpers/helpers.math.js'; import Scale from '../core/core.scale.js'; import LinearScaleBase from './scale.linearbase.js'; import Ticks from '../core/...
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...
a58e0276319dc4f6
typescript
23
Solarized Light
import { Search } from "lucide-react" import { Label } from "@/registry/new-york-v4/ui/label" import { SidebarInput } from "@/registry/new-york-v4/ui/sidebar" export function SearchForm({ ...props }: React.ComponentProps<"form">) { return ( <form {...props}> <div className="relative"> <Label htmlF...
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.", ...
1dc51fb0aa6c7931
java
32
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"...
807aa8b06f1a5162
cpp
385
One Dark Pro
#include "models.h" llm_build_gemma3n_iswa::llm_build_gemma3n_iswa(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params), model(model), n_embd_head(model.hparams.n_embd_head_k()), n_embd_altup(model.hparams.n_embd_altup), n_altup(model.hparams.n_altup), i_altup...
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...
3ce70dd2db16edd9
typescript
158
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { Button } from "@/examples/base/ui-rtl/button" import { Input } from "@/examples/base/ui-rtl/input" import { Textarea } from "@/examples/base/ui-rtl/textarea" import { cva, type VariantProps } from "class-variance-author...
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...
c7accec8383aeef9
java
24
GitHub Dark
package org.jeecg.modules.system.vo.lowapp; import lombok.Data; import org.jeecg.modules.system.vo.UserAvatar; import java.io.Serializable; import java.util.List; /** * 用户或者部门的信息 * 用于 成员与部门 的搜索 * @Author taoYan * @Date 2022/12/30 10:47 **/ @Data public class DepartAndUserInfo implements Serializable { 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" ...
ba9ae4c5af670858
csharp
65
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics; using System.Net; using Amazon.Runtime; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Http; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; /// <summary> /// Utility functions for 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...
f39435a24fe28d74
go
247
Solarized Dark
// Copyright 2025 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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"...
35298dfbd672080f
csharp
26
Dracula
namespace v2rayN.Desktop.Common; public static class AppBuilderExtension { public static AppBuilder WithFontByDefault(this AppBuilder appBuilder) { var fallbacks = new List<FontFallback>(); var notoSansSc = new FontFamily(Path.Combine(Global.AvaAssets, "Fonts#Noto Sans SC")); fallbacks...
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" ...
63e474f00b91269e
rust
306
Default Dark+
use std::collections::{BTreeMap, HashMap}; use std::fs::File; use std::io::{Seek as _, Write as _}; use std::path::Path; use std::sync::Arc; use anyhow::{bail, Context as _}; use futures_util::TryStreamExt as _; use serde::{Deserialize, Serialize}; use serde_json::json; use tokio::task::JoinHandle; use uuid::Uuid; us...
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...
03e92a1b5ec851db
java
499
GitHub Dark
package com.github.mikephil.charting.renderer; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.drawable.Drawable; import com.github.mikephil.charting.animation.ChartAnimator; import com.github.mikephil.charting.buffe...
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" ...
2c93dd67e99a654d
java
110
Dracula
package com.macro.mall.search.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import com.macro.mall.search.service.EsProductService; import io.swagger.annotat...
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"...
bbad3f4b46a6c7e7
typescript
148
GitHub Dark
import type { BasicColumn, ActionItem } from '/@/components/Table'; import { FileItem, PreviewFileItem, UploadResultStatus } from './typing'; import { // checkImgType, isImgTypeByName, } from './helper'; import { Progress, Tag } from 'ant-design-vue'; import TableAction from '/@/components/Table/src/components/Tabl...
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.", ...
7414eafe6b51be5c
typescript
66
Solarized Light
"use client" import { Fragment } from "react" import Link from "next/link" import { usePathname } from "next/navigation" import { useBreadcrumb } from "fumadocs-core/breadcrumb" import type { Root } from "fumadocs-core/page-tree" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, Breadcrum...
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.", ...
a804989d089ef2e0
go
413
Default Light+
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package generic_sync import ( "sync" "sync/atomic" "unsafe" ) // MapOf is like a Go map[interface{}]interface{} but is safe for concurrent use // by multip...
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...
d18c8b3f3233b178
csharp
69
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Data.Entity; using System.Reflection; namespace Microsoft.SemanticKernel; /// <summary> /// Factory class for creating Semantic Kernel plugins that enable structured data operations. /// </summary> public s...
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...
eb31eb8403bfc976
csharp
91
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
833b58fa4951d1f4
cpp
109
Default Light+
#include "models.h" llm_build_qwen::llm_build_qwen(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; inpL = build_...
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.", ...
cb91b84a6dd3a51d
cpp
102
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...
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.", ...
a2b6685dde06ccae
cpp
60
One Dark Pro
#pragma once #include <fonts/vscode_icons.hpp> #include <hex/providers/provider.hpp> namespace hex::plugin::builtin { class MemoryFileProvider : public hex::prv::Provider, public prv::IProviderMenuItems { public: explicit MemoryFileProvider() = default; ~MemoryF...
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...
119c04267229a126
java
145
GitHub Dark
package com.xxmassdeveloper.mpchartexample; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.WindowManager; import android.widget.SeekBar; import android.widget.SeekBar.OnSeekBarC...
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...
7bd98d7b77449f17
java
82
Default Light+
package com.thealgorithms.datastructures.trees; public class SegmentTree { private int[] segTree; private int n; private int[] arr; /* Constructor which takes the size of the array and the array as a parameter*/ public SegmentTree(int n, int[] arr) { this.n = n; int x = (int) (Mat...
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.", ...
f653446c259770c4
cpp
125
Default Light+
#include "models.h" llm_build_openai_moe_iswa::llm_build_openai_moe_iswa(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { ggml_tensor * cur; ggml_tensor * inpL; inpL = build_inp_embd(model.tok_embd); // inp_pos - contains the positions ggml_tensor * inp_po...
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.", ...
625e333da7084101
python
109
Solarized Light
#!/usr/bin/env python3 # /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # "pytest", # ] # /// import hashlib import importlib.util import json import os import pathlib from types import ModuleType import httpx import pytest PROJECT_EULER_DIR_PATH = pathlib.Path.cwd().joinpath("project...
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...
9976b3b817ce0ad8
java
72
Default Light+
package com.thealgorithms.dynamicprogramming; import java.util.Arrays; /** * Author: Siddhant Swarup Mallick * Github: https://github.com/siddhant2002 * <p> * Problem Description: * A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). * The robot can only move either ...
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...
fa776dc2dc507d02
typescript
79
Solarized Light
import Image from "next/image" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { AspectRatio } from "@/registry/bases/base/ui/aspect-ratio" export default function AspectRatioExample() { return ( <ExampleWrapper className="max-w-4xl 2xl:max-w-4xl"> <AspectRat...
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...
df10a2cfec0f82a1
java
345
Default Dark+
/* * Copyright 2018 The Android Open Source Project * * 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 applica...
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...
cac2a70c663e3856
rust
165
GitHub Dark
/* Tarjan's algorithm to find Strongly Connected Components (SCCs): It runs in O(n + m) (so it is optimal) and as a by-product, it returns the components in some (reverse) topologically sorted order. We assume that graph is represented using (compressed) adjacency matrix and its vertices are numbered from 1 to n. If 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"...
535ebbd7a557f5d5
java
55
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
b3fd50cdf3d7b80e
go
426
Default Light+
package convert import ( "io" "io/fs" "os" "path/filepath" "strings" "testing" "github.com/google/go-cmp/cmp" ) func createTokenizerFS(t *testing.T, dir string, files map[string]io.Reader) fs.FS { t.Helper() for k, v := range files { if err := func() error { f, err := os.Create(filepath.Join(dir, k)) ...
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"...
1cbf1da939fd022a
cpp
329
Dracula
/** * Copyright 2020-2025, XGBoost contributors */ #ifndef XGBOOST_DATA_PROXY_DMATRIX_H_ #define XGBOOST_DATA_PROXY_DMATRIX_H_ #include <algorithm> // for none_of #include <any> // for any, any_cast #include <cstdint> // for uint32_t, int32_t #include <memory> // for shared_ptr #include <type_...
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"...
74f08da668dfbf37
csharp
143
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.HuggingFace; using Microsoft.SemanticKernel.Connectors.HuggingFace.Core; using Xuni...
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.", ...
6a1f9d1b40e00a43
go
99
Solarized Dark
// Copyright 2022 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...
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...
ad09ae479b7c6a00
python
39
Monokai
# Copyright (c) Microsoft. All rights reserved. from enum import Enum from typing import Any from semantic_kernel.kernel_pydantic import KernelBaseModel class CrewAIEnterpriseKickoffState(str, Enum): """The Crew.AI Enterprise kickoff state.""" Pending = "PENDING" Started = "STARTED" Running = "RUNN...
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"...
ffd368cc4a2b2d9d
typescript
23
One Dark Pro
import { z } from "zod" import { defineVersion } from "verzod" import { V16_SCHEMA } from "./16" export const V17_SCHEMA = V16_SCHEMA.extend({ v: z.literal("17"), description: z.string().nullable().catch(null), }) const V17_VERSION = defineVersion({ schema: V17_SCHEMA, initial: false, up(old: z.infer<typeof...
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" ...
ef193cfe70697d8e
cpp
59
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...
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...
664a059f8515c099
typescript
115
Solarized Light
"use client" import { BadgeCheck, Bell, ChevronsUpDown, CreditCard, LogOut, Sparkles, } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuL...
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"...
a8d3f50ac141fe17
go
181
Default Light+
package tool import ( "fmt" "time" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/setting" "github.com/alist-org/alist/v3/internal/task" "github.com/pkg/errors" log "github.com/sirupsen/logrus" "github.com/xhofe/tache" ) ty...
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.", ...
9a55cb32d850f957
java
201
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.", ...
7e1ec3be6f4ceea5
java
91
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
b1fdc21840048601
typescript
110
Default Light+
import { MIME_TYPES } from "@excalidraw/excalidraw"; import { fileOpen as _fileOpen } from "browser-fs-access"; import { unstable_batchedUpdates } from "react-dom"; type FILE_EXTENSION = Exclude<keyof typeof MIME_TYPES, "binary">; export type ResolvablePromise<T> = Promise<T> & { resolve: [T] extends [undefined] ? ...
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" ...
3ef32eed1f872968
go
201
Default Light+
package handles import ( "bytes" "fmt" "io" stdpath "path" "strconv" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/fs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/setting" "git...
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" ...
08a3787ccad22ffa
typescript
134
One Dark Pro
import { NextRequest, NextResponse } from "next/server"; import { auth } from "./auth"; import { getServerSideConfig } from "@/app/config/server"; import { ApiPath, GEMINI_BASE_URL, ModelProvider } from "@/app/constant"; import { prettyObject } from "@/app/utils/format"; const serverConfig = getServerSideConfig(); ex...
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"...
4b7ec0867aa33aff
cpp
294
One Dark Pro
#include "translate_session.h" #include "ggml-openvino/openvino/node_context.h" #include "ggml-openvino/openvino/utils.h" #include "input_model.h" #include "pass/eliminate_zp.h" #include "pass/mark_decompression_convert_constant_folding.h" #include "pass/squeeze_matmul.h" #include <cstdint> #include <cstdlib> #includ...
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"...
ddf20abec6cf8f21
typescript
51
Solarized Light
"use client" import { cn } from "@/examples/base/lib/utils" import { PreviewCard as PreviewCardPrimitive } from "@base-ui/react/preview-card" function HoverCard({ ...props }: PreviewCardPrimitive.Root.Props) { return <PreviewCardPrimitive.Root data-slot="hover-card" {...props} /> } function HoverCardTrigger({ ...p...
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...
22d98271f77aff4e
python
64
Default Light+
import re from .common import InfoExtractor from ..utils import parse_duration, parse_iso8601, url_or_none from ..utils.traversal import traverse_obj class ParlviewIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?aph\.gov\.au/News_and_Events/Watch_Read_Listen/ParlView/video/(?P<id>[^/?#]+)' _TESTS = [{ ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
859b4c9bbce337b0
javascript
45
Default Dark+
const passwordHashOld = require("password-hash"); const bcrypt = require("bcryptjs"); const saltRounds = 10; /** * Hash a password * @param {string} password Password to hash * @returns {Promise<string>} Hash */ exports.generate = function (password) { return bcrypt.hash(password, saltRounds); }; /** * Verif...
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...
0156c3d92da6aef1
java
111
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
852cbc5e5c5523b8
java
121
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
20a174c55b853110
java
102
GitHub Dark
package com.xxmassdeveloper.mpchartexample; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.WindowManager; import com.github.mikephil.charting.charts.BarChart; import com.github.mikephil.charting.components.X...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
93a4f53d7adde993
csharp
57
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...
581ffbded4fa20d6
go
42
Solarized Light
package store import ( "context" ) type Reaction struct { ID int32 CreatedTs int64 CreatorID int32 // ContentID is the id of the content that the reaction is for. ContentID string ReactionType string } type FindReaction struct { ID *int32 CreatorID *int32 ContentID *string Con...
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...
4f80bc97e28675ad
csharp
138
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// REST API parameter. /// </summary> public sealed class RestApiParameter { /// <summary> /// The parameter name. /// </summary> public string Name { get; } /// <summary> /// ...
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" ...
42fb431c7c861432
rust
468
One Dark Pro
// Copyright 2021 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. //! Implements a wrap...
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...
98db7d4b417cdb31
java
26
GitHub Dark
package org.jeecg.common.constant; /** * 规则值生成 编码常量类 * @author: taoyan * @date: 2020年04月02日 */ public class FillRuleConstant { /** * 公文发文编码 */ public static final String DOC_SEND = "doc_send_code"; /** * 部门编码 */ public static final String DEPART = "org_num_role"; /** ...
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"...
ea3b8fd388e4123d
csharp
33
Default Light+
#nullable enable using System.Windows; using System.Windows.Media; using ICSharpCode.AvalonEdit.Highlighting; namespace ICSharpCode.ILSpy.Themes; public class SyntaxColor { public Color? Foreground { get; set; } public Color? Background { get; set; } public FontWeight? FontWeight { get; set; } public FontStyle?...
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.", ...
cf422efeb9713d7c
java
24
Solarized Dark
/* a magic index is an array A[1...n - 1] is defined to be an index such that A[i] = i. Given a sorted * array of distinct integers, write a method to find a magic index, if one exists, in array A */ public class MagicIndex { public static int magicFast(int[] array, int start, int end) { if(end < start || start...
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...
ffc76230a27e8590
typescript
36
Solarized Light
"use client" import * as React from "react" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu"...
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"...
9826980cc604ae35
csharp
62
Default Light+
// Copyright (c) 2018 Daniel Grunwald // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publi...
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"...
87883674b6f81866
javascript
65
Dracula
import InsertionSort from '../InsertionSort'; import { equalArr, notSortedArr, reverseArr, sortedArr, SortTester, } from '../../SortTester'; // Complexity constants. const SORTED_ARRAY_VISITING_COUNT = 19; const NOT_SORTED_ARRAY_VISITING_COUNT = 100; const REVERSE_SORTED_ARRAY_VISITING_COUNT = 209; const EQU...
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.", ...
c04ac28af71381b3
python
22
Dracula
from typing import Annotated from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] =...
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...
daaf7ab4a4dc9b01
python
231
Default Light+
import dataclasses import os import gradio as gr from modules import errors, shared @dataclasses.dataclass class PostprocessedImageSharedInfo: target_width: int = None target_height: int = None class PostprocessedImage: def __init__(self, image): self.image = image self.info = {} ...
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" ...
a2df042d42b2c1cf
javascript
39
Monokai
/** * @typedef { import('../../core/core.controller.js').default } Chart * @typedef { import('../../core/core.scale.js').default } Scale * @typedef { import('../../elements/element.point.js').default } PointElement */ import {LineElement} from '../../elements/index.js'; import {isArray} from '../../helpers/index.j...
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" ...
4e8d2e4a3fd39e3b
csharp
124
One Dark Pro
namespace ShareX.HelpersLib { partial class DoubleLabeledNumericUpDown { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
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...
b165f60e38893188
csharp
25
Monokai
using System.Globalization; using System.Windows; using System.Windows.Data; using Binding = System.Windows.Data.Binding; namespace ScreenToGif.Util.Converters; /// <summary> /// Bool to Opacity property converter. Returns 0 if true. /// </summary> public class BoolToOpacity : IValueConverter { public object Conv...
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...
0e30d1019ad585b9
csharp
80
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.", ...
4fb42562e3dbc1e4
java
50
Default Light+
package com.thealgorithms.maths; import java.util.Arrays; /** * Utility class for calculating the median of an array of integers. * The median is the middle value in a sorted list of numbers. If the list has * an even number * of elements, the median is the average of the two middle values. * * <p> * Time Comp...
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" ...
56a142f799e1678d
typescript
324
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { GemmaClassifierStrategy } from './gemmaClassifierStrategy.js'; import type { RoutingContext } from '../routingStrategy.js'; import type { Config } f...
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...
e30de868b1f9f6c1
typescript
396
Monokai
import * as path from 'path'; import markdownItInclude from 'markdown-it-include'; import { DefaultThemeConfig, defineConfig, PluginTuple } from 'vuepress/config'; const docsVersion = "VERSION"; const base: `/${string}/` = process.env.NODE_ENV === "development" ? '/docs/master/' : `/docs/${docsVersion}/`; export defa...
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...
f4683fefbe59951a
python
36
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC, abstractmethod from dapr.actor import ActorInterface, actormethod from semantic_kernel.utils.feature_stage_decorator import experimental @experimental class ExternalEventBufferInterface(ActorInterface, ABC): """Abstract base class for an ext...
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" ...
7cd02b7f1e842179
typescript
179
Default Dark+
import clsx from 'clsx'; import Link from 'next/link'; import type { HTMLAttributeAnchorTarget } from 'react'; import type { UrlObject } from 'url'; import { Spinner } from '../'; export type ButtonAddOnPosition = 'end' | 'start'; export type ButtonDisplay = 'block' | 'inline'; export type ButtonSize = 'lg' | 'md' | ...
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.", ...
f630b231e996e1ec
javascript
86
Default Dark+
/** * An object that can be used as an array with a key * Like PHP's array * @template K * @template V */ class ArrayWithKey { /** * All keys that are stored in the current object * @type {K[]} * @private */ __stack = []; /** * Push an element to the end of the array * @p...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
1f632c5f4a4eb046
rust
37
One Dark Pro
use std::sync::Arc; use serde::de::DeserializeOwned; use tauri::{plugin::PluginApi, AppHandle, Runtime}; use crate::{ bundle::BundleLoader, models::{DownloadOptions, DownloadResponse, LoadOptions, LoadResponse}, Result, }; pub fn init<R: Runtime, C: DeserializeOwned>( app: &AppHandle<R>, api: Plu...
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...
3b437876f114e81a
go
31
Solarized Dark
// Copyright 2019 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...
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...
5b46dff564870a4c
rust
307
One Dark Pro
use curl::easy::Easy; use http::HeaderName; use std::{collections::HashMap, path::Path}; use crate::{ error::{RelayError, Result}, interop::{ContentType, FormValue, MediaType}, }; pub(crate) struct ContentHandler<'a> { handle: &'a mut Easy, headers: &'a mut HashMap<String, String>, } impl<'a> Content...
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...
2151c05c9dee72c0
java
67
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...
78444988edd93540
csharp
213
Monokai
using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using Netch.Interfaces; using Netch.Interops; using Netch.Models; using Netch.Models.Modes; using Netch.Models.Modes.TunMode; using Netch.Servers; using Netch.Utils; using static Netch.Interops.tun2socks; namespace Netch.Controllers { ...
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...
8beb6f3051373d4f
java
154
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...
c39f644dbb55fab1
java
46
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
d10e31612aa74140
typescript
26
Monokai
export * from './controllers/index.js'; export * from './core/index.js'; export * from './elements/index.js'; export * from './platform/index.js'; export * from './plugins/index.js'; export * from './scales/index.js'; import * as controllers from './controllers/index.js'; import * as elements from './elements/index.js...
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...
8d63f6feaed8114e
csharp
74
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Web.Tavily; /// <summary> /// Represents a search result from Tavily. /// </summary> [System.Diagnostics.CodeAnalysis.SuppressMessage("Des...
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...
cc3c50a0b232e958
cpp
70
One Dark Pro
#include "../node_context.h" #include "../op_table.h" #include "../utils.h" #include <openvino/core/node.hpp> #include <openvino/core/node_output.hpp> #include <openvino/op/constant.hpp> #include <openvino/op/convert.hpp> #include <openvino/op/gather.hpp> #include <openvino/op/squeeze.hpp> #include <openvino/op/unsque...
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...
c80c6418ce9b22fe
typescript
20
One Dark Pro
import { useToast } from "@composables/toast" import { isValidUser } from "~/helpers/isValidUser" /** * High-level authentication validation handler with automatic error notifications. * * This wrapper around `isValidUser()` provides automatic toast error messages for invalid tokens. * Use this when you want stand...
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...
d9ab0fb21d0a4bde
rust
204
Solarized Light
#![cfg_attr(not(any(test, doctest)), doc = include_str!("../README.md"))] use std::{ env, fs, path::{Path, PathBuf}, }; use etcetera::BaseStrategy as _; use log::warn; use serde::{Deserialize, Serialize}; use serde_json::Value; use thiserror::Error; pub type ConfigResult<T> = Result<T, ConfigError>; #[deriv...
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" ...