chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:56:21 +08:00
commit 901cea101c
17224 changed files with 2278194 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
@@ -0,0 +1,70 @@
---
name: Translations Checklist
about: These are all the files that need to be translated
title: "[TRANSLATIONS]"
labels: translations
assignees: ''
---
- [ ] Base README.md
- [ ] Quizzes
- [ ] Introduction base README
- [ ] Intro to ML README
- [ ] Intro to ML assignment
- [ ] History of ML README
- [ ] History of ML assignment
- [ ] Fairness README
- [ ] Fairness assignment
- [ ] Techniques of ML README
- [ ] Techniques of ML assignment
- [ ] Regression base README
- [ ] Tools README
- [ ] Tools assignment
- [ ] Data README
- [ ] Data assignment
- [ ] Linear README
- [ ] Linear assignment
- [ ] Logistic README
- [ ] Logistic assignment
- [ ] Web app base README
- [ ] Web app README
- [ ] Web app assignment
- [ ] Classification base README
- [ ] Intro README
- [ ] Intro assignment
- [ ] Classifiers 1 README
- [ ] Classifiers 1 assignment
- [ ] Classifiers 2 README
- [ ] Classifiers 2 assignment
- [ ] Applied README
- [ ] Applied assignment
- [ ] Clustering base README
- [ ] Visualize README
- [ ] Visualize assignment
- [ ] K-means README
- [ ] K-means assignment
- [ ] NLP base README
- [ ] Intro README
- [ ] Intro assignment
- [ ] Tasks README
- [ ] Tasks assignment
- [ ] Translation README
- [ ] Translation assignment
- [ ] Reviews 1 README
- [ ] Reviews 1 assignment
- [ ] Reviews 2 README
- [ ] Reviews 2 assignment
- [ ] Time Series base README
- [ ] Intro README
- [ ] Intro assignment
- [ ] ARIMA README
- [ ] ARIMA assignment
- [ ] Reinforcement base README
- [ ] QLearning README
- [ ] QLearning assignment
- [ ] gym README
- [ ] gym assignment
- [ ] Real World base README
- [ ] Real World README
- [ ] Real World assignment
@@ -0,0 +1,37 @@
## Track translation progress by opening a draft PR using this template and checking off the translations completed
Each lesson includes a translation of the README.md and the Assignment.md file, if available. Only mark the lesson complete if both those files are translated per lesson, please.
- [ ] 1
- [ ] 1-1
- [ ] 1-2
- [ ] 1-3
- [ ] 2
- [ ] 2-1
- [ ] 2-2
- [ ] 2-3
- [ ] 2-4
- [ ] 3
- [ ] 3-1
- [ ] 3-2
- [ ] 3-3
- [ ] 4
- [ ] 4-1
- [ ] 5
- [ ] 5-1
- [ ] 5-2
- [ ] 5-3
- [ ] 6
- [ ] 6-1
- [ ] 6-2
- [ ] 6-3
- [ ] 6-4
- [ ] 6-5
- [ ] 6-6
- [ ] 7
- [ ] 7-1
- [ ] 7-2
- [ ] 7-3
- [ ] 7-4
- [ ] Quiz (add a file in the quiz-app with all localizations)
+31
View File
@@ -0,0 +1,31 @@
---
description: 'A chat mode to help you as you learn.'
tools: []
---
You are my Adaptive Study Coach inside this codebase.
Goals
- Help me learn {TOPIC} by doing, not just reading.
- Use the repo/workspace context when giving examples or tasks.
- Keep replies concise (≤120 words) unless I say “expand”.
Protocol
1) Kickoff: ask my level (Beginner/Intermediate/Advanced), timebox (e.g., 25m), and one concrete goal.
2) Loop each cycle:
a) 60-sec concept recap tied to the repo.
b) 3 progressive questions (Socratic). Offer HINT 1/2/3 on request.
c) 1 micro-task (≤10 lines of code). Wait for my attempt before revealing.
d) Feedback: whats right, what to improve, 1 tiny next step.
3) Use file/line references and unified diffs when suggesting edits.
4) Never dump full solutions unless I say “reveal”.
5) After each cycle, give: (i) 3 bullet takeaways, (ii) 2 next micro-tasks.
6) End of session: output 5 spaced-repetition flashcards (Anki cloze format) + a 5-item checklist for tomorrow.
Constraints & Style
- One question at a time.
- Prefer examples drawn from this repo or minimal snippets.
- If I seem stuck, switch to “guided mode”: smaller hints, then partial skeletons, then solution.
- Be encouraging but exact; correct misconceptions immediately.
Commands Ill use
- “hint”, “next”, “reveal”, “harder”, “slower”, “quiz me”, “make flashcards”, “give me a diff”.Cl
@@ -0,0 +1,66 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow lets you generate SLSA provenance file for your project.
# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.
name: SLSA generic generator
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
outputs:
digests: ${{ steps.hash.outputs.digests }}
steps:
- uses: actions/checkout@v6
# ========================================================
#
# Step 1: Build your artifacts.
#
# ========================================================
- name: Build artifacts
run: |
# These are some amazing artifacts.
echo "artifact1" > artifact1
echo "artifact2" > artifact2
# ========================================================
#
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
#
# ========================================================
- name: Generate subject for provenance
id: hash
run: |
set -euo pipefail
# List the artifacts the provenance will refer to.
files=$(ls artifact*)
# Generate the subjects (base64 encoded).
echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"
provenance:
needs: [build]
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To add assets to a release.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.digests }}"
upload-assets: true # Optional: Upload to a new release
+13
View File
@@ -0,0 +1,13 @@
name: Lock closed issue
on:
issues:
types: [closed]
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: OSDKDev/lock-issues@v1.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+27
View File
@@ -0,0 +1,27 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '35 8 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
stale-pr-message: 'This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'