Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Bug report
description: Report a reproducible problem in code, packaging, docs, or workflows.
title: "[Bug]: "
labels:
- bug
body:
- type: markdown
attributes:
value: |
Please include enough detail for someone else to reproduce the problem.
- type: textarea
id: summary
attributes:
label: Summary
description: What went wrong?
placeholder: A concise description of the bug.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Provide exact steps, commands, or code to reproduce the issue.
placeholder: |
1. ...
2. ...
3. ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
placeholder: What did you expect to happen?
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: Include OS, Python version, PyTorch version, CUDA version, and install method if relevant.
placeholder: |
- OS:
- Python:
- PyTorch:
- CUDA:
- Install method:
validations:
required: false
- type: textarea
id: logs
attributes:
label: Logs or screenshots
description: Paste traceback, logs, or screenshots if relevant.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Security report
url: mailto:ymjiii98@gmail.com
about: Report security vulnerabilities privately by email instead of opening a public issue.
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Feature request
description: Suggest an improvement to the library, docs, benchmarks, or workflows.
title: "[Feature]: "
labels:
- enhancement
body:
- type: textarea
id: problem
attributes:
label: Problem or motivation
description: What user need, workflow pain point, or limitation does this address?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed change
description: Describe the feature, API, workflow, or docs improvement you want.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: Optional. Describe workarounds or alternative approaches.
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
description: Benchmarks, references, links, or example usage.
validations:
required: false
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Summary

- what changed
- why it changed

## Validation

- [ ] tests passed locally
- [ ] docs/build checks passed locally when relevant
- [ ] CI is expected to pass

## Notes

- affected areas:
- follow-up work, if any:
40 changes: 0 additions & 40 deletions .github/workflows/retire_repo_pages.yml

This file was deleted.

53 changes: 53 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Code of Conduct

## Our Pledge

We want INFTY to be an open, constructive, and respectful project for everyone involved in its development and use.

Contributors, maintainers, and community members are expected to participate in a way that supports a welcoming environment for people of different backgrounds, identities, experience levels, and perspectives.

## Expected Behavior

Examples of behavior that contribute to a positive environment include:

- being respectful in technical discussions
- giving and receiving feedback in good faith
- focusing on the issue, code, or design rather than the person
- showing empathy and patience when others ask questions or make mistakes
- using clear and professional language in issues, pull requests, and review comments

## Unacceptable Behavior

Examples of unacceptable behavior include:

- harassment, intimidation, or personal attacks
- discriminatory or derogatory language
- trolling, baiting, or deliberately inflammatory behavior
- publishing private information without permission
- sustained disruptive behavior in issues, pull requests, or other public channels

## Scope

This Code of Conduct applies in all project spaces, including:

- GitHub issues
- pull requests and code review
- repository discussions and related public communication

## Reporting

If you experience or observe behavior that violates this Code of Conduct, please report it privately to:

- `ymjiii98@gmail.com`

Please include relevant context, links, screenshots, or other details if available.

## Enforcement

Project maintainers may remove, edit, or reject comments, commits, code, issues, or other contributions that violate this Code of Conduct.

Maintainers may also temporarily or permanently restrict participation for repeated or severe violations.

## Attribution

This document is a lightweight project-specific adaptation inspired by common open source community conduct guidelines, including Contributor Covenant.
32 changes: 32 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Security Policy

## Reporting a vulnerability

If you believe you have found a security vulnerability in INFTY, please do not open a public GitHub issue.

Instead, report it privately to:

- `ymjiii98@gmail.com`

Please include the following when possible:

- a clear description of the issue
- the affected component or file path
- reproduction steps or a proof of concept
- the potential impact
- any suggested remediation

We will review reports as time permits and aim to acknowledge valid reports promptly.

## Scope

This project is primarily a research and engineering toolkit. Security reports are still welcome, especially for:

- package installation or release artifacts
- workflow or secret-handling issues
- unsafe file handling or code execution paths
- dependency-related exposure in supported usage paths

## Disclosure

Please allow reasonable time for investigation and remediation before public disclosure.
23 changes: 23 additions & 0 deletions theme_overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,26 @@
<title>{{ browser_title }}</title>
{% endif %}
{% endblock %}

{% block extrahead %}
{{ super() }}
{% if config.repo_url %}
<script>
(() => {
const sourceKey = `${__md_scope.pathname}.__source`;
const sourceRepoKey = `${__md_scope.pathname}.__source_repo`;
const currentRepo = {{ config.repo_url | tojson }};
try {
const cachedRepo = JSON.parse(sessionStorage.getItem(sourceRepoKey) || "null");
if (cachedRepo !== currentRepo) {
sessionStorage.removeItem(sourceKey);
sessionStorage.setItem(sourceRepoKey, JSON.stringify(currentRepo));
}
} catch (_) {
sessionStorage.removeItem(sourceKey);
sessionStorage.setItem(sourceRepoKey, JSON.stringify(currentRepo));
}
})();
</script>
{% endif %}
{% endblock %}
Loading