provenire 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: 오탐 제보 (False Positive)
3
+ about: 표절이 아닌데 잡혔어요
4
+ labels: false-positive, good first issue
5
+ ---
6
+
7
+ ## 어떤 코드가 잘못 잡혔나요?
8
+ ```python
9
+ # 의심으로 잡힌 코드
10
+ ```
11
+
12
+ ## 유사도
13
+ `provenire compare` 출력 결과를 붙여주세요.
14
+
15
+ ## 왜 오탐이라고 보시나요?
16
+ (예: 표준 관용구, 보일러플레이트, 언어 문법상 불가피한 형태 등)
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: 새 언어 지원 요청
3
+ about: Java, Go, Rust 등
4
+ labels: enhancement, good first issue
5
+ ---
6
+
7
+ ## 어떤 언어인가요?
8
+
9
+ ## 그 언어에서 "변수명만 바꾼 재현"의 예시
10
+ ```
11
+ // 원본
12
+ // AI 변형
13
+ ```
14
+
15
+ 기여를 직접 해보고 싶다면 CONTRIBUTING.md의 "새 언어 지원 추가"를 봐주세요.
@@ -0,0 +1,36 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ python-version: ["3.10", "3.11", "3.12"]
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
+ - run: pip install -e ".[dev]"
20
+ - name: 테스트
21
+ run: pytest -q
22
+ - name: 린트
23
+ run: ruff check .
24
+
25
+ verify-claim:
26
+ # 핵심 명제가 깨지지 않았는지 CI에서 매번 확인한다.
27
+ # "이름을 바꿔도 잡아낸다" — 이게 무너지면 프로젝트의 존재 이유가 사라진다.
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v4
31
+ - uses: actions/setup-python@v5
32
+ with:
33
+ python-version: "3.12"
34
+ - run: pip install -e ".[dev]"
35
+ - name: 핵심 명제 검증 (benchmarks)
36
+ run: python benchmarks/poc_winnowing.py
@@ -0,0 +1,24 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ build/
5
+ dist/
6
+ .venv/
7
+ venv/
8
+ .pytest_cache/
9
+ .ruff_cache/
10
+ .coverage
11
+ htmlcov/
12
+ benchmarks/_cache/
13
+ gpl_src.py
14
+
15
+ # 팀장 전용 (커밋 금지 — 로컬에서만 본다)
16
+ _ops/
17
+
18
+ # 비밀 정보
19
+ .env
20
+ .env.*
21
+ *.pem
22
+ *.key
23
+ *.p12
24
+ credentials.json
@@ -0,0 +1,216 @@
1
+ # CLAUDE.md — 협업 헌법
2
+
3
+ > ## 이 문서는 이 프로젝트에 참여하는 **모든 사람과 모든 AI**가 따르는 **협업 헌법**이다.
4
+ >
5
+ > **사람이든 AI든, 이 저장소에서 어떤 작업을 시작하기 전에 반드시 이 문서를 먼저 읽는다.**
6
+ >
7
+ > - **Claude Code**는 프로젝트 루트의 이 파일을 **세션 시작 시 자동으로 로드**한다.
8
+ > - **다른 AI 도구**(Cursor, Copilot, ChatGPT 등)를 사용할 때는 **세션 시작 시 이 파일을 컨텍스트에 직접 포함**시킨다.
9
+ > - 개인 전역 설정(`~/.claude/CLAUDE.md`)과 이 문서가 충돌하는 경우, **항상 이 문서가 우선한다.**
10
+
11
+ ---
12
+
13
+ ## 1. 프로젝트 개요
14
+
15
+ ### 무엇을 만드는가
16
+ **Provenire** — AI가 생성한 코드가 오픈소스 라이선스를 베꼈는지 **Pull Request에서 잡아내는 오픈소스 라이선스 게이트**.
17
+
18
+ > Copilot·Cursor·Claude는 GPL·AGPL 저장소로 학습되었다.
19
+ > 이들이 원본 코드를 출처 없이 재현하면 **제품 소스 전체를 공개해야 할 수도** 있다.
20
+ > 그런데 이를 검사하는 도구는 FOSSA·Snyk·Black Duck — **전부 유료**다.
21
+ > 학생·개인·소규모 팀은 무방비다. **우리는 이것을 오픈소스로 연다.**
22
+
23
+ ### 핵심 원리 (이걸 모르면 코드를 못 고친다)
24
+ GitHub Copilot의 `public code filter`는 **문자열이 거의 같을 때만** 걸러낸다.
25
+ → **변수명만 바꾸면 그대로 통과한다.**
26
+
27
+ Provenire는 지문을 뜨기 전에 **식별자를 익명화**한다.
28
+
29
+ ```
30
+ 원본: def elide_filename(filename, length): -> def ID(ID, ID):
31
+ AI : def truncate_path(path_str, max_len): -> def ID(ID, ID):
32
+ ^ 지문이 같아진다
33
+ ```
34
+
35
+ **이름은 지우고 구조만 남긴다.** 이것이 프로젝트의 존재 이유이자 유일한 해자다.
36
+
37
+ ### 검증된 명제 (CI가 매번 확인한다)
38
+ | 시나리오 | raw (Copilot 수준) | **tokens (우리)** |
39
+ |---|:--:|:--:|
40
+ | 변수·함수명 전부 변경 | **0.0%** (놓침) | **100.0%** (탐지) |
41
+ | 무관한 코드 | 0.0% | **0.0%** (오탐 없음) |
42
+
43
+ > 재현: `python benchmarks/poc_winnowing.py` · 상세: [`benchmarks/RESULTS.md`](benchmarks/RESULTS.md)
44
+ > **이 명제가 깨지면 CI가 실패한다.** 절대 깨뜨리지 말 것.
45
+
46
+ ### 기본 정보
47
+ | 항목 | 내용 |
48
+ |---|---|
49
+ | 대회 | 2026 오픈소스 개발자대회 · **학생부문** · 자유과제 · 세부과제 **보안/인증** |
50
+ | 팀 | 이우진(팀장) · 김민수 |
51
+ | 라이선스 | **Apache-2.0** (특허 조항 포함) |
52
+ | 언어 | Python 3.10+ |
53
+ | 주요 의존성 | Pygments (토큰화) · pytest · ruff |
54
+ | 배포 | PyPI (`provenire`) · GitHub Actions Marketplace |
55
+
56
+ ### 저장소 구조
57
+ ```
58
+ src/provenire/
59
+ ├── core/
60
+ │ ├── normalizer.py 식별자 익명화 (핵심)
61
+ │ ├── fingerprint.py winnowing 지문 (MOSS 알고리즘)
62
+ │ └── matcher.py containment 유사도 판정
63
+ ├── index/ [미구현] 카피레프트 코퍼스 지문 DB
64
+ └── cli.py provenire compare / fingerprint
65
+ tests/ 핵심 명제를 지키는 테스트
66
+ benchmarks/ 누구나 재현 가능한 검증 실험
67
+ .github/workflows/ci.yml 테스트 + 핵심 명제 검증
68
+ ```
69
+
70
+ ### 개발 환경
71
+ ```bash
72
+ pip install -e ".[dev]"
73
+
74
+ pytest # 테스트
75
+ ruff check . # 린트
76
+ python benchmarks/poc_winnowing.py # 핵심 명제 검증
77
+ ```
78
+
79
+ ---
80
+
81
+ ## 2. 역할 분담
82
+
83
+ | 담당자 | 브랜치 | 영역 | 담당 파일 (**본인만 수정**) |
84
+ |---|---|---|---|
85
+ | **이우진** (팀장) | `woojin` | **엔진 · 정확도 · 평가**<br/>인덱스 · 관용구 필터 · LLM 판정 · 벤치마크 | `src/provenire/core/**`<br/>`src/provenire/index/**`<br/>`src/provenire/explain/**`<br/>`benchmarks/**` |
86
+ | **김민수** | `minsoo` | **사용자 접점 · 확장**<br/>다언어 · CLI · PR 게이트 · 배포 | `src/provenire/languages/**`<br/>`src/provenire/adapters/**`<br/>`src/provenire/report/**`<br/>`src/provenire/cli.py`<br/>`.github/action/**`<br/>`docs/**` · `README.md` |
87
+
88
+ 브랜치는 `<타입>/<이름>/<주제>` 형식을 쓴다.
89
+ ```
90
+ feat/woojin/copyleft-index
91
+ feat/minsoo/java-lang
92
+ ```
93
+
94
+ ### 규칙
95
+ - **타인의 담당 파일은 수정하지 않는다.** 고쳐야 하면 **먼저 담당자와 협의**한다. (§4)
96
+ - 두 영역을 잇는 **인터페이스는 [`docs/01_구현계획.md`](docs/01_구현계획.md) §3에 고정**되어 있다.
97
+ → 그 계약만 지키면 서로 막히지 않고 **병렬로** 개발할 수 있다.
98
+ - 김민수의 작업 지시서: [`docs/tasks/`](docs/tasks/) — 팀장이 배정하고, `git pull` 로 받는다.
99
+
100
+ ---
101
+
102
+ ## 3. 작업 흐름 (Git)
103
+
104
+ ### 대원칙
105
+ > ## 🚫 **main 브랜치에 직접 push 하지 않는다.**
106
+ > ## ✅ **자신의 브랜치에서 작업하고, PR을 올리고, 팀장의 머지를 기다린다.**
107
+
108
+ ### 브랜치 규칙
109
+ - **모든 작업은 자신의 브랜치에서만** 한다. `main`에서 직접 작업하지 않는다.
110
+ - 브랜치 이름: `<타입>/<이름>/<주제>`
111
+ ```
112
+ feat/woojin/token-normalizer
113
+ feat/minsu/copyleft-index
114
+ fix/woojin/false-positive
115
+ docs/minsu/readme
116
+ ```
117
+ - 타입: `feat` (기능) · `fix` (버그) · `docs` (문서) · `test` · `refactor` · `chore`
118
+
119
+ ### 작업 순서
120
+ ```bash
121
+ # 1. 최신 main에서 브랜치를 딴다
122
+ git checkout main
123
+ git pull origin main
124
+ git checkout -b feat/woojin/token-normalizer
125
+
126
+ # 2. 작업하고, 자신의 브랜치에 커밋한다
127
+ git add -A
128
+ git commit -m "feat: 다언어 토큰 정규화 지원"
129
+
130
+ # 3. 자신의 브랜치를 push 한다 (main이 아니다!)
131
+ git push origin feat/woojin/token-normalizer
132
+
133
+ # 4. GitHub에서 PR을 생성한다 (base: main)
134
+
135
+ # 5. 팀장의 리뷰와 머지를 기다린다. ← 여기서 멈춘다
136
+ ```
137
+
138
+ ### PR 규칙
139
+ | 규칙 | 내용 |
140
+ |---|---|
141
+ | **PR 생성자는 자기 PR을 머지하지 않는다** | 리뷰 없이 들어가는 코드를 만들지 않는다 |
142
+ | **`main`으로의 머지는 팀장(이우진)만 진행한다** | 머지 권한은 팀장에게만 있다 |
143
+ | PR 본문에 **무엇을·왜** 를 적는다 | 리뷰어가 맥락 없이 코드만 보게 하지 않는다 |
144
+ | **CI가 초록이어야 머지한다** | 테스트·린트·핵심 명제 검증 통과 필수 |
145
+
146
+ ### 머지 전 자가 점검
147
+ ```bash
148
+ pytest # 통과하는가
149
+ ruff check . # 린트 통과하는가
150
+ python benchmarks/poc_winnowing.py # 핵심 명제가 살아있는가
151
+ ```
152
+
153
+ ### AI로 작업할 때 (Claude Code, Cursor, Copilot 등)
154
+ > **AI에게도 위 규칙이 100% 동일하게 적용된다.**
155
+
156
+ - ❌ **AI에게 `main`으로 push 시키지 않는다.**
157
+ - ❌ **AI에게 타인의 담당 영역을 수정하게 하지 않는다.**
158
+ - ✅ AI는 **자신의 브랜치에서만** 커밋한다.
159
+ - ✅ AI가 만든 코드도 **반드시 PR을 거쳐** 팀장의 리뷰를 받는다.
160
+ - ✅ AI에게 작업을 시킬 때, **이 문서를 먼저 읽게 한다.**
161
+
162
+ > AI가 규칙을 어기려 하면 **중단시킨다.** "AI가 그렇게 했다"는 변명이 되지 않는다.
163
+
164
+ ---
165
+
166
+ ## 4. 절대 하지 말 것
167
+
168
+ ### 🔴 비밀 정보 커밋 금지
169
+ ```
170
+ .env *.pem *.key *.p12 credentials.json 토큰·비밀번호가 담긴 모든 파일
171
+ ```
172
+ - **차단 수단**: `.gitignore` + **pre-commit hook**
173
+ - 실수로 커밋했다면 **즉시 팀장에게 알린다.** 조용히 덮지 않는다. (히스토리에 영원히 남는다)
174
+ - 대회 심사에서 **개인정보·비밀키 커밋은 치명적 감점**이다.
175
+
176
+ ### 🔴 `main` 브랜치 직접 push 금지
177
+ - **차단 수단**: GitHub **Protected Branches**
178
+ - 반드시 **브랜치 → PR → 팀장 머지**를 거친다.
179
+
180
+ ### 🔴 타 개발 영역 코드 임의 수정 금지
181
+ - 담당자가 정해진 영역은 **본인만 수정**한다.
182
+ - 고쳐야 한다면 **먼저 담당자와 협의**한다. 말없이 고치지 않는다.
183
+ - 급하면 **이슈를 올리거나 담당자에게 PR을 제안**한다.
184
+
185
+ ### 🔴 히스토리를 파괴하는 명령 금지
186
+ ```bash
187
+ git push --force # ❌ 금지 (남의 커밋을 지운다)
188
+ git push --force-with-lease # ❌ 팀장 승인 없이는 금지
189
+ git reset --hard # ❌ 금지 (되돌릴 수 없다)
190
+ git rebase # ⚠️ 공유된 브랜치에서는 금지
191
+ ```
192
+ - 되돌려야 하면 **`git revert`** 를 쓴다. (되돌린 기록이 남는다)
193
+ - 실수했다면 **팀장에게 먼저 말한다.**
194
+
195
+ ### 🔴 저작권 코드 커밋 금지 (이 프로젝트 특성상 중요)
196
+ - **GPL 등 타인의 코드를 저장소에 넣지 않는다.**
197
+ - 벤치마크는 **런타임에 내려받는다** (`benchmarks/poc_winnowing.py` 참조).
198
+ - 우리가 라이선스를 지키는 도구를 만들면서 라이선스를 어기면 **모든 것이 무너진다.**
199
+
200
+ ---
201
+
202
+ ## 5. 팀장이 해야 할 설정 (체크리스트)
203
+
204
+ - [ ] GitHub **Settings → Branches → Protected Branches** 로 `main` 보호
205
+ - [ ] Require a pull request before merging
206
+ - [ ] Require status checks to pass (CI)
207
+ - [ ] Do not allow bypassing the above settings
208
+ - [ ] **pre-commit hook** 설치 (비밀키 커밋 차단)
209
+ - [ ] 역할 분담 확정 후 §2 표 채우기
210
+
211
+ ---
212
+
213
+ <sub>
214
+ 생성일: 2026-07-12 · 최종 수정일: 2026-07-12<br/>
215
+ 팀 코드감식반 (이우진 · 김민수) — 2026 오픈소스 개발자대회
216
+ </sub>
@@ -0,0 +1,44 @@
1
+ # 기여 가이드
2
+
3
+ Provenire에 기여해 주셔서 감사합니다.
4
+ **오픈소스를 지키는 도구를, 오픈소스로** 만듭니다.
5
+
6
+ ## 빠른 시작
7
+
8
+ ```bash
9
+ git clone https://github.com/4thIS/opensource_contest_provenire.git
10
+ cd opensource_contest_provenire
11
+ pip install -e ".[dev]"
12
+
13
+ pytest # 테스트
14
+ python benchmarks/poc_winnowing.py # 핵심 명제 검증
15
+ ruff check . # 린트
16
+ ```
17
+
18
+ ## 가장 도움이 되는 기여
19
+
20
+ ### 1. 새 언어 지원 추가 (`good first issue`)
21
+ 현재 정규화는 Pygments 토크나이저를 씁니다. **500개 이상 언어**를 이미 인식할 수 있습니다.
22
+ `src/provenire/core/normalizer.py`의 `normalize_tokens()`에서
23
+ 해당 언어의 토큰 타입 매핑만 맞춰주면 됩니다.
24
+
25
+ - Java / C / C++ / Go / Rust / JavaScript ... 환영합니다
26
+ - 테스트: 같은 로직을 이름만 바꾼 두 코드가 **동일한 정규화 결과**를 내면 성공
27
+
28
+ ### 2. 오탐 사례 제보
29
+ 보일러플레이트(getter/setter, 표준 관용구)가 잘못 매칭되는 케이스를 찾으면
30
+ **이슈로 올려주세요.** 정밀도(Precision)를 올리는 데 가장 중요합니다.
31
+
32
+ ### 3. 벤치마크 확장
33
+ `benchmarks/`에 새 시나리오를 추가해 주세요.
34
+ 특히 **실제 LLM에게 재생성시킨 코드**로 검증하면 큰 도움이 됩니다.
35
+
36
+ ## 규칙
37
+
38
+ - **실제 저작권 코드를 저장소에 커밋하지 마세요.** 벤치마크는 런타임에 내려받습니다.
39
+ - 테스트 없는 PR은 머지하지 않습니다. 핵심 명제(`tests/test_core.py`)를 깨면 안 됩니다.
40
+ - 커밋 메시지는 자유. 한국어/영어 모두 좋습니다.
41
+ - 라이선스: Apache-2.0에 동의하는 것으로 간주합니다.
42
+
43
+ ## 행동 강령
44
+ 서로 존중합시다. 그게 전부입니다.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
provenire-0.0.1/NOTICE ADDED
@@ -0,0 +1,24 @@
1
+ Provenire
2
+ Copyright 2026 Lee Woojin, Kim Minsu (Team 코드감식반)
3
+
4
+ This product includes software developed for the
5
+ 2026 Open Source Developer Contest (오픈소스 개발자대회).
6
+
7
+ Licensed under the Apache License, Version 2.0.
8
+
9
+ ---
10
+ Third-party dependencies:
11
+
12
+ Pygments (BSD-2-Clause)
13
+ https://pygments.org/
14
+ Used for multi-language tokenization.
15
+
16
+ Algorithm reference (not code):
17
+
18
+ Schleimer, S., Wilkerson, D. S., & Aiken, A. (2003).
19
+ "Winnowing: Local Algorithms for Document Fingerprinting." SIGMOD.
20
+
21
+ Benchmark data:
22
+
23
+ benchmarks/ fetches source from qutebrowser (GPL-3.0-or-later) at runtime
24
+ for verification purposes only. No GPL code is vendored in this repository.