<commit_before>name: Bug Report Test Form
description: Bug Report Test Form
title: "Bug Report"
labels: ["investigate"]
assignees:
  - ricmoo
body:
  - type: markdown
    attributes:
      value: |
        Thank you for taking the time to report an issue. But please **read this first**.
  - type: markdown
    attributes:
      value: |
        This issue template is for reporting **bugs within ethers**. If you are new to ethers or uncertain whether this is a bug in ethers, a bug in another framework or a bug in your own code, please start a [discussion first](https://github.com/ethers-io/ethers.js/discussions) first.
  - type: input
    id: version
    attributes:
      label: Ethers Version
      description: What version of ethers are you using? Before opening an issue, please make sure you are up to date.
      placeholder: x.y.z
    validations:
      required: true
  - type: checkboxes
    id: search-check
    attributes:
      label: Have you searched existing issues?
      description: Have you searched for answers [in the documentation](https://docs.ethers.io), [through the issues](https://github.com/ethers-io/ethers.js/issues) and [on the discusions](https://github.com/ethers-io/ethers.js/discussions)?
      options:
        - label: I have searched the existing issues
          required: true
  - type: input
    id: search-terms
    attributes:
      label: Search Terms
      description: Please include the search terms you have tried. This helps us add more keywords where needed.
      placeholder: e.g. abi, network, utf8
  - type: textarea
    id: about-the-bug
    attributes:
      label: Describe the bug. What did you expect to happen vs what did happen?
      placeholder: What happened?
    validations:
      required: true    
  - type: textarea
    id: code-snippet
    attributes:
      label: Code Snippet
      description: Please include any **short and concise** code snippets that can reproduce this issue. Ideally code that can be pasted into the [Ethers Playground](https://playground.ethers.org).
      placeholder: provider.getBlockNumber()
      render: shell
  - type: textarea
    id: contract-abi
    attributes:
      label: Contract ABI
      description: If this involves a contract, please include any **concise and relevant** ABI fragments.
      placeholder: contract ABI
      render: shell
  - type: checkboxes
    id: environment
    attributes:
      label: Environment
      description: What environment or frameworks are you using?
      options:
        - label: node.js (v12 or newer)
        - label: node.js (older than v12)
        - label: Browser (Chrome, Safari, etc)
        - label: React Native/Expo/JavaScriptCore
        - label: Hardhat
        - label: Geth
        - label: Parity
        - label: Ganache
  - type: input
    id: other-envrionment
    attributes:
      label: Other Environment
      placeholder: anything else?
<commit_msg>admin: updated issue form for bugs<commit_after>name: Report a bug against Ethers
description: Open an issue for a bug in Ethers
title: "Bug Report Title"
labels: ["investigate"]
assignees:
  - ricmoo
body:
  - type: markdown
    attributes:
      value: |
        **READ THIS FIRST** and follow all instructions, please. `:)`
  - type: markdown
    attributes:
      value: |
        Thank you for taking the time to report an issue. This form is for reporting **bugs within ethers**.
  - type: markdown
    attributes:
      value: |
        If you are **new to ethers** or *uncertain* whether this is a bug in ethers, a bug in another framework or a bug in your own code, please start a [discussion first](https://github.com/ethers-io/ethers.js/discussions) first.
  - type: input
    id: version
    attributes:
      label: Ethers Version
      description: What version of ethers are you using? Before opening an issue, please make sure you are up to date.
      placeholder: x.y.z
    validations:
      required: true
  - type: input
    id: search-terms
    attributes:
      label: Search Terms
      description: Have you searched for answers [in the documentation](https://docs.ethers.io), [through the issues](https://github.com/ethers-io/ethers.js/issues) and [on the discusions](https://github.com/ethers-io/ethers.js/discussions)? Please include the search terms you have tried. This helps us add more keywords where needed.
      placeholder: e.g. abi, network, utf8
  - type: textarea
    id: about-the-bug
    attributes:
      label: Describe the Problem
      description: Please describe what you expected to happen vs what did happen?
      placeholder: What happened?
    validations:
      required: true    
  - type: textarea
    id: code-snippet
    attributes:
      label: Code Snippet
      description: If possible, please include a **short and concise** code snippets that can reproduce this issue. Ideally code that can be pasted into the [Ethers Playground](https://playground.ethers.org).
      placeholder: provider.getBlockNumber()
      render: shell
  - type: textarea
    id: contract-abi
    attributes:
      label: Contract ABI
      description: If this involves a contract, please include any **concise and relevant** ABI fragments.
      placeholder: contract ABI
      render: shell
  - type: textarea
    id: errors
    attributes:
      label: Errors
      description: If there is an error, please include the **entire error** (redacting any sensitive information).
      placeholder: "Error: invalid name (code='INVALID_ARGUMENT, ...)"
      render: shell
  - type: dropdowns
    id: environment
    attributes:
      label: Environment
      description: What environment, platforms or frameworks are you using? Select all that apply.
      multiple: true
      options:
        - node.js (v12 or newer)
        - node.js (older than v12)
        - Browser (Chrome, Safari, etc)
        - React Native/Expo/JavaScriptCore
        - Hardhat
        - Geth
        - Parity
        - Ganache
        - Other (please specify)
  - type: input
    id: other-envrionment
    attributes:
      label: Other Environment
      placeholder: anything else?

{'fraction_non_alphanumeric': 0.0797716150081566, 'fraction_numerical': 0.0016313213703099511, 'mean_word_length': 2.691149909692956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2354795', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1630, 'n_words': 678}