Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
Testing against Django installed in '/home/swe-bench/miniconda3/envs/env/lib/python3.5/site-packages/Django-2.2.dev20180625180104-py3.5.egg/django'
Importing application prefetch_related
Importing application postgres_tests
Importing application test_utils
Importing application expressions
Importing application pagination
Importing application admin_filters
Importing application field_defaults
Importing application nested_foreign_keys
Importing application forms_tests
@ethanabrooks
ethanabrooks / error.sh
Created June 21, 2024 19:39
nccl error
0%| | 0/4484 [00:00<?, ?it/s][rank1]:[E ProcessGroupNCCL.cpp:563] [Rank 1] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=680, OpType=ALLREDUCE, NumelIn=1, NumelOut=1, Timeout(ms)=600000) ran for 600013 milliseconds before timing out.
[rank6]:[E ProcessGroupNCCL.cpp:563] [Rank 6] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=680, OpType=ALLREDUCE, NumelIn=1, NumelOut=1, Timeout(ms)=600000) ran for 600011 milliseconds before timing out.
[rank5]:[E ProcessGro

1

First, let's list the files in the current directory to understand the structure of the repository. This will help us locate the pvlib.irradiance.reindl function and any relevant test files.

ls -F

2

The pvlib directory likely contains the implementation of the reindl function. Let's navigate into the pvlib directory and list its contents to locate the irradiance module.

1

First, let's list the files in the current directory to understand the structure of the repository and locate potential files related to the reindl function in the pvlib.irradiance module.

ls -F

2

The pvlib directory likely contains the module where the reindl function is implemented. Let's navigate into the pvlib directory and list the files there to find the relevant script.

ls -F pvlib/
Traceback (most recent call last):
File "/nix/store/s16v3cd2dzg07kjpp7bchb8wp69mwjrv-python3.11-prisma-0.12.0/lib/python3.11/site-pac
kages/prisma/generator/generator.py", line 108, in run
self._on_request(request)
File "/nix/store/s16v3cd2dzg07kjpp7bchb8wp69mwjrv-python3.11-prisma-0.12.0/lib/python3.11/site-pac
kages/prisma/generator/generator.py", line 161, in _on_request
self.generate(data)
File "/nix/store/s16v3cd2dzg07kjpp7bchb8wp69mwjrv-python3.11-prisma-0.12.0/lib/python3.11/site-pac
kages/prisma/generator/generator.py", line 234, in generate
copy_tree(BASE_PACKAGE_DIR, rootdir)
This file has been truncated, but you can view the full file.
[Extension Host] selection changed, kind: Command
workbench.desktop.main.js:sourcemap:149 [Extension Host] selection changed, kind: Mouse
workbench.desktop.main.js:sourcemap:149 [Extension Host] selection changed, sending src2doc jump request
VM8:4598 batch 1 messages
VM8:4613 recv Uint8Array(28) [106, 117, 109, 112, 44, 49, 32, 55, 48, 46, 56, 54, 54, 50, 53, 32, 55, 56, 46, 49, 48, 54, 52, 56, 52, 51, 55, 53, buffer: ArrayBuffer(28), byteLength: 28, byteOffset: 0, length: 28, Symbol(Symbol.toStringTag): 'Uint8Array']
workbench.desktop.main.js:sourcemap:149 [Extension Host] selection changed, kind: Command
workbench.desktop.main.js:sourcemap:149 [Extension Host] Watching /Users/ethan/tex/dissertation-typst/test.typ for changes
workbench.desktop.main.js:sourcemap:149 [Extension Host] [2023-12-22T13:24:26Z DEBUG typst_preview::actor::typst] TypstActor: waiting for message
[2023-12-22T13:24:26Z INFO typst_preview] Control plane server listening on: 127.0.0.1:49748
[2023-12-22T13:24:26Z DEBUG typst_ts_compiler:
@ethanabrooks
ethanabrooks / spec.json
Created April 3, 2023 16:23
Vega-Lite spec from Mon Apr 03 2023
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"name": "data",
"values": [
{
"sil": false,
"hint": true,
"seed": 0,
"step": 0,
@ethanabrooks
ethanabrooks / Insert slides from other presentation.POWERPOINT.yaml
Created March 22, 2023 21:53
Inserts slides from another PowerPoint file into the current presentation.
name: Insert slides from other presentation
description: Inserts slides from another PowerPoint file into the current presentation.
host: POWERPOINT
api_set: {}
script:
content: >
$("#insert-all-slides").click(() => tryCatch(insertAllSlides));
$("#insert-after-target-slide").click(() =>
tryCatch(insertAfterSelectedSlide));
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/ray/protobuf/gcs.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
state, reward = reset()
assert state == 0 and state != 4
state = left()
assert reward == 0.0
assert state == 0 and state != 4
state = left()
assert reward == 0.0
assert state == 0 and state != 4
state = left()
assert reward == 0.0