second-source 0.5.0__py3-none-any.whl
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.
- second_source/__init__.py +3 -0
- second_source/action/__init__.py +4 -0
- second_source/action/commands.py +88 -0
- second_source/action/event.py +89 -0
- second_source/action/inputs.py +118 -0
- second_source/action/main.py +203 -0
- second_source/action/publish.py +184 -0
- second_source/action/setup.py +143 -0
- second_source/action/sweep.py +85 -0
- second_source/action/wait.py +49 -0
- second_source/benchmark/__init__.py +1 -0
- second_source/benchmark/aidev.py +248 -0
- second_source/benchmark/aidev_local.py +85 -0
- second_source/benchmark/golden.py +314 -0
- second_source/benchmark/redact.py +45 -0
- second_source/benchmark/rescore.py +388 -0
- second_source/benchmark/runner.py +159 -0
- second_source/benchmark/sample.py +243 -0
- second_source/benchmark/stats.py +363 -0
- second_source/cli/__init__.py +1 -0
- second_source/cli/bench.py +427 -0
- second_source/cli/main.py +182 -0
- second_source/core/__init__.py +4 -0
- second_source/core/aggregate.py +102 -0
- second_source/core/checks.py +470 -0
- second_source/core/engine.py +98 -0
- second_source/core/evidence.py +29 -0
- second_source/core/expr.py +206 -0
- second_source/core/hashing.py +41 -0
- second_source/core/model.py +112 -0
- second_source/core/pack.py +156 -0
- second_source/packs/__init__.py +1 -0
- second_source/packs/coding/__init__.py +16 -0
- second_source/packs/coding/checks/ci_config_caution.yaml +23 -0
- second_source/packs/coding/checks/ci_result.yaml +133 -0
- second_source/packs/coding/checks/ci_weakening_caution.yaml +27 -0
- second_source/packs/coding/checks/deployed.yaml +36 -0
- second_source/packs/coding/checks/docs_updated.yaml +22 -0
- second_source/packs/coding/checks/fixes_issue.yaml +58 -0
- second_source/packs/coding/checks/fixes_issue_durable.yaml +60 -0
- second_source/packs/coding/checks/integrity_guard.yaml +34 -0
- second_source/packs/coding/checks/integrity_inspection.yaml +21 -0
- second_source/packs/coding/checks/lint_caution.yaml +22 -0
- second_source/packs/coding/checks/matching_jobs_caution.yaml +22 -0
- second_source/packs/coding/checks/not_reverted.yaml +38 -0
- second_source/packs/coding/checks/tests_added.yaml +25 -0
- second_source/packs/coding/checks/tests_added_guard.yaml +26 -0
- second_source/packs/coding/checks/tests_removed_caution.yaml +23 -0
- second_source/packs/coding/detection.py +94 -0
- second_source/packs/coding/diff_facts.py +665 -0
- second_source/packs/coding/extract.py +911 -0
- second_source/packs/coding/functions.py +241 -0
- second_source/packs/coding/pack.yaml +33 -0
- second_source/packs/coding/trusted_rules.yaml +50 -0
- second_source/pipeline.py +112 -0
- second_source/report/__init__.py +1 -0
- second_source/report/render.py +503 -0
- second_source/sources/__init__.py +1 -0
- second_source/sources/github/__init__.py +4 -0
- second_source/sources/github/auth.py +48 -0
- second_source/sources/github/cache.py +67 -0
- second_source/sources/github/client.py +261 -0
- second_source/sources/github/mappers.py +454 -0
- second_source/sources/github/source.py +385 -0
- second_source/sources/github/urls.py +51 -0
- second_source-0.5.0.dist-info/METADATA +311 -0
- second_source-0.5.0.dist-info/RECORD +71 -0
- second_source-0.5.0.dist-info/WHEEL +4 -0
- second_source-0.5.0.dist-info/entry_points.txt +2 -0
- second_source-0.5.0.dist-info/licenses/LICENSE +202 -0
- second_source-0.5.0.dist-info/licenses/NOTICE +9 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: second-source
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
Summary: Independent verification of AI agents' claims against the systems they act on.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Rarebuffalo/second-source
|
|
6
|
+
Project-URL: Issues, https://github.com/Rarebuffalo/second-source/issues
|
|
7
|
+
Project-URL: Documentation, https://github.com/Rarebuffalo/second-source/tree/main/docs
|
|
8
|
+
Author: Second Source contributors
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
Keywords: ai-agents,ci,coding-agents,evaluation,llm,pull-requests,verification
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Classifier: Topic :: Software Development :: Testing
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
|
+
Requires-Dist: cel-python>=0.2
|
|
24
|
+
Requires-Dist: httpx>=0.27
|
|
25
|
+
Requires-Dist: pyyaml>=6.0
|
|
26
|
+
Provides-Extra: local
|
|
27
|
+
Requires-Dist: pyarrow>=15; extra == 'local'
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# Second Source
|
|
31
|
+
|
|
32
|
+
**Every AI claim needs a second source.**
|
|
33
|
+
|
|
34
|
+
AI agents report on their own work: *"All tests pass." "Fixes #123." "Deployed to staging."*
|
|
35
|
+
Second Source checks those claims independently, against evidence from the systems the agent
|
|
36
|
+
acted on, and keeps re-checking that they stay true.
|
|
37
|
+
|
|
38
|
+
The first domain is **coding agents**. On every pull request opened by Claude Code, Codex,
|
|
39
|
+
Copilot, Cursor, Devin or Jules, it tells you which of the agent's claims hold up against CI
|
|
40
|
+
results, changed files, issue state and Git history, and it keeps watching after the merge:
|
|
41
|
+
did "Fixes #123" really close the issue, and is it still closed a month later? Was the change
|
|
42
|
+
reverted? It checks while the evidence exists: GitHub deletes old CI runs, so a claim that is
|
|
43
|
+
not checked when the PR is made often cannot be checked at all later.
|
|
44
|
+
|
|
45
|
+
> **Status: beta, before the first release.** The engine, the coding pack, the CLI and the
|
|
46
|
+
> GitHub Action are tested (1,000+ tests) and have run live on a sandbox repository with 30
|
|
47
|
+
> agent pull requests. The Action has no tagged release yet. Interfaces may change before 1.0.
|
|
48
|
+
|
|
49
|
+
## Try it
|
|
50
|
+
|
|
51
|
+
Requires [uv](https://docs.astral.sh/uv/). Nothing to install or configure:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
uvx --from git+https://github.com/Rarebuffalo/second-source second-source check https://github.com/OWNER/REPO/pull/123
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
A GitHub token is picked up automatically from `GITHUB_TOKEN`, `GH_TOKEN` or a logged-in
|
|
58
|
+
GitHub CLI. Without one, the public API allows about 10 PR checks per hour.
|
|
59
|
+
|
|
60
|
+
Example output:
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
Second Source · Octo/App#7 · https://github.com/Octo/App/pull/7
|
|
64
|
+
Agent: codex (detected by branch_prefix: codex/)
|
|
65
|
+
Claims: 1 unverifiable, 2 pending, 3 verified
|
|
66
|
+
|
|
67
|
+
? unverifiable Deployed to staging (low confidence)
|
|
68
|
+
said in comment: "Deployed to staging."
|
|
69
|
+
why: no deployment of this commit was found
|
|
70
|
+
… pending Fixes #12
|
|
71
|
+
said in body: "Fixes #12"
|
|
72
|
+
why: issue closed; watching for a reopen
|
|
73
|
+
✔ verified Tests added
|
|
74
|
+
said in body: "Added unit tests for empty input"
|
|
75
|
+
why: test files changed
|
|
76
|
+
✔ verified Tests pass (low confidence)
|
|
77
|
+
said in body: "- ✅ `pytest -q`"
|
|
78
|
+
why: every matching CI job passed
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
| Option | What it does |
|
|
82
|
+
|---|---|
|
|
83
|
+
| `--json` | Machine-readable output (versioned schema) |
|
|
84
|
+
| `--anonymous` | Never use a token, even if one is available |
|
|
85
|
+
| `--no-cache` | Skip the on-disk response cache |
|
|
86
|
+
| `--no-color` | Plain text (colour is also off when `NO_COLOR` is set) |
|
|
87
|
+
|
|
88
|
+
Exit codes: `0` nothing contradicted, `1` at least one claim contradicted, `2` could not check.
|
|
89
|
+
|
|
90
|
+
## Use it in your repository (GitHub Action)
|
|
91
|
+
|
|
92
|
+
One command writes the workflow; commit it and every PR opened by a coding agent gets a
|
|
93
|
+
**Second Source** check next to your CI:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
uvx --from git+https://github.com/Rarebuffalo/second-source second-source init
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
The generated `.github/workflows/second-source.yml`:
|
|
100
|
+
|
|
101
|
+
- checks agent PRs when they are opened or updated, waits a few minutes for CI, and updates the
|
|
102
|
+
check when your CI workflows finish (it reads their names from `.github/workflows`);
|
|
103
|
+
- ends every check with **evidence at a glance**: CI on the head commit, what the change
|
|
104
|
+
touched (tests, CI configuration) and merge or revert state, even when the PR claims nothing;
|
|
105
|
+
- re-checks recent agent PRs daily, for durability (reverts, reopened issues);
|
|
106
|
+
- understands `/second-source recheck` and `/second-source dispute <reason>` in PR comments
|
|
107
|
+
(from the PR author or people with write access).
|
|
108
|
+
|
|
109
|
+
<details>
|
|
110
|
+
<summary>Or copy the workflow by hand (replace <code>"CI"</code> with your CI workflow names)</summary>
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
# Second Source: checks the claims coding agents make in their pull requests.
|
|
114
|
+
# Generated by `second-source init`. Docs: https://github.com/Rarebuffalo/second-source
|
|
115
|
+
#
|
|
116
|
+
# Safe with pull_request_target: Second Source reads the PR through the API only and never
|
|
117
|
+
# checks out or runs its code. Do not add an actions/checkout step to this workflow.
|
|
118
|
+
name: Second Source
|
|
119
|
+
|
|
120
|
+
on:
|
|
121
|
+
pull_request_target:
|
|
122
|
+
types: [opened, edited, synchronize, reopened, ready_for_review, closed]
|
|
123
|
+
# Re-check when CI finishes, so verdicts no longer wait on it.
|
|
124
|
+
workflow_run:
|
|
125
|
+
workflows: ["CI"]
|
|
126
|
+
types: [completed]
|
|
127
|
+
issue_comment:
|
|
128
|
+
types: [created]
|
|
129
|
+
schedule:
|
|
130
|
+
- cron: "17 6 * * *" # daily: durability (reverts, reopened issues) and pending claims
|
|
131
|
+
workflow_dispatch:
|
|
132
|
+
|
|
133
|
+
permissions:
|
|
134
|
+
checks: write
|
|
135
|
+
contents: read
|
|
136
|
+
pull-requests: write # to label a disputed PR (GitHub requires it for PR labels)
|
|
137
|
+
issues: write
|
|
138
|
+
actions: read
|
|
139
|
+
|
|
140
|
+
concurrency:
|
|
141
|
+
group: second-source-${{ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/second-source dispute') && github.run_id) || github.event.issue.number || github.event.pull_request.number || github.event.workflow_run.pull_requests[0].number || github.run_id }}
|
|
142
|
+
cancel-in-progress: false
|
|
143
|
+
|
|
144
|
+
jobs:
|
|
145
|
+
# The job id is its check-run name; checks ignore "second-source" as CI evidence.
|
|
146
|
+
second-source:
|
|
147
|
+
# Comments only matter when they hold a /second-source command on a pull request.
|
|
148
|
+
if: >-
|
|
149
|
+
github.event_name != 'issue_comment' ||
|
|
150
|
+
(github.event.issue.pull_request && contains(github.event.comment.body, '/second-source'))
|
|
151
|
+
runs-on: ubuntu-latest
|
|
152
|
+
timeout-minutes: 75
|
|
153
|
+
steps:
|
|
154
|
+
- uses: Rarebuffalo/second-source@v0
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
</details>
|
|
158
|
+
|
|
159
|
+
By default the check is advice: a contradicted claim makes it *neutral*, never failing. Set
|
|
160
|
+
`fail-on-contradiction: "true"` to make it block merges. Other inputs: `wait-minutes`
|
|
161
|
+
(default 10), `only-agents`, `sweep-days`, and `ignore-claims` to switch off claim types you
|
|
162
|
+
find noisy (for example `LINT_OK, DOCS_UPDATED`). It needs no server and no secrets, and never
|
|
163
|
+
checks out the PR's code. Design: [docs/action.md](docs/action.md). To run exactly the code
|
|
164
|
+
you reviewed, pin a commit SHA instead of `@v0`; see [SECURITY.md](SECURITY.md).
|
|
165
|
+
|
|
166
|
+
### What it costs
|
|
167
|
+
|
|
168
|
+
- **Money:** nothing. It is open source and runs in your own GitHub Actions.
|
|
169
|
+
- **Actions minutes:** free on public repositories. On private ones each run uses 15–45
|
|
170
|
+
seconds plus up to `wait-minutes` (default 10) waiting for CI; set `wait-minutes: 0` there
|
|
171
|
+
and the check updates when CI finishes instead.
|
|
172
|
+
- **API requests:** about 10–15 per PR check from the workflow's own `GITHUB_TOKEN`, whose
|
|
173
|
+
limit is 1,000 an hour per repository. PR text cannot raise this without bound (at most 20
|
|
174
|
+
issue references and 8 commits are looked up), and the daily sweep stops while 200 requests
|
|
175
|
+
remain for PR events.
|
|
176
|
+
|
|
177
|
+
### When it is wrong
|
|
178
|
+
|
|
179
|
+
The default never blocks a merge, so a wrong verdict costs a reader's attention, not a
|
|
180
|
+
release. If a verdict looks wrong:
|
|
181
|
+
|
|
182
|
+
1. Comment `/second-source dispute <why>` on the PR. The check is marked *disputed* at once, so
|
|
183
|
+
nobody else relies on it.
|
|
184
|
+
2. Report it with the [wrong-verdict form](https://github.com/Rarebuffalo/second-source/issues/new?template=wrong_verdict.yml)
|
|
185
|
+
(for a private repository, describe it without the link). We aim to acknowledge reports
|
|
186
|
+
within 5 working days; a rule fix ships as a patch release and moves the `@v0` tag.
|
|
187
|
+
3. If a claim type keeps being wrong for your repository, switch it off with `ignore-claims`.
|
|
188
|
+
|
|
189
|
+
## What it checks
|
|
190
|
+
|
|
191
|
+
| Claim | Example wording | Checked against |
|
|
192
|
+
|---|---|---|
|
|
193
|
+
| Tests pass | "All tests pass", "✅ `pytest`" | CI test jobs on the commit the claim refers to |
|
|
194
|
+
| Build succeeds | "Build succeeds", "`cargo build` ✅" | CI build jobs on that commit |
|
|
195
|
+
| Lint passes | "Lint passes", "no ESLint warnings" | CI lint, format and type-check jobs |
|
|
196
|
+
| Tests added | "Added unit tests for the parser" | Test files changed in the PR (never contradicted: tests can live in code files) |
|
|
197
|
+
| Docs updated | "Updated the README" | Documentation files changed in the PR (never contradicted: docs can live in code) |
|
|
198
|
+
| Fixes an issue | "Fixes #123", "Closes owner/repo#45" | Issue closed by the merge, and still closed later |
|
|
199
|
+
| Deployed | "Deployed to staging" | GitHub deployment records |
|
|
200
|
+
| Merge holds (implicit) | every merged agent PR | No revert of the merge within 30 days |
|
|
201
|
+
|
|
202
|
+
Each claim gets one verdict:
|
|
203
|
+
|
|
204
|
+
- **verified**: the evidence agrees.
|
|
205
|
+
- **contradicted**: the evidence disagrees, for example the test job failed on that commit.
|
|
206
|
+
- **pending**: too early to tell (CI still running, or inside the durability window).
|
|
207
|
+
- **unverifiable**: there is no evidence either way.
|
|
208
|
+
|
|
209
|
+
**Missing or unavailable evidence is never reported as contradicted.** A claim the text says
|
|
210
|
+
ran *locally* ("tests pass locally") is not contradicted by failing CI either; it gets its own
|
|
211
|
+
reason, `CI_FAILED_LOCAL_CLAIM`, because local and CI environments differ.
|
|
212
|
+
|
|
213
|
+
Claims are found with deterministic rules, and no AI model reads the PR text or decides a
|
|
214
|
+
verdict, so results are reproducible and instructions written into a PR cannot steer them.
|
|
215
|
+
Each claim is marked **high** or **low confidence** depending on whether a rule with measured
|
|
216
|
+
high precision found it.
|
|
217
|
+
|
|
218
|
+
## How accurate is it?
|
|
219
|
+
|
|
220
|
+
Claim extraction is measured on a public golden set: 402 real agent pull requests from the
|
|
221
|
+
[AIDev](https://huggingface.co/datasets/hao-li/AIDev) dataset, 67 per agent, each labelled by
|
|
222
|
+
two independent labellers (96% exact agreement). **Both labellers were AI model sessions**,
|
|
223
|
+
each given only the labelling guide and the PR text; because they are the same kind of model,
|
|
224
|
+
their agreement overstates independence, and a human audit of a sample is planned. Half the set
|
|
225
|
+
is used to tune rules; the other half is scored only to report.
|
|
226
|
+
|
|
227
|
+
On the held-out half, precision is 1.00 for issue references and lint claims and 0.88 for
|
|
228
|
+
high-confidence "tests pass" claims, below our 0.95 target. Full numbers, the labelling guide
|
|
229
|
+
and the method: [tests/packs/coding/golden/real/](tests/packs/coding/golden/real/README.md).
|
|
230
|
+
Until every claim type meets the target, we treat a "contradicted" verdict as a strong signal
|
|
231
|
+
that a person should confirm, not as proof.
|
|
232
|
+
|
|
233
|
+
## What the benchmark found
|
|
234
|
+
|
|
235
|
+
On 1,175 merged agent PRs from AIDev (run 2): of 385 PRs we could still check, 2 had a claim
|
|
236
|
+
GitHub's record proves false. That is a floor, not a rate. The bigger finding: **the evidence
|
|
237
|
+
expires.** Every "tests pass" claim we could verify was under a year old; for 42 of the 43
|
|
238
|
+
older ones, GitHub had already deleted the CI runs. Claims need checking when the PR is made,
|
|
239
|
+
which is what the [GitHub Action](#use-it-in-your-repository-github-action) does.
|
|
240
|
+
|
|
241
|
+
Caveats matter here: 185 of the 385 PRs were checked only on claim types that never
|
|
242
|
+
contradict, a blind audit judged more claims false than the rules count, and only merged PRs
|
|
243
|
+
were sampled. Numbers, caveats and the comparison with related work:
|
|
244
|
+
[docs/benchmark.md](docs/benchmark.md#11-run-2-findings).
|
|
245
|
+
|
|
246
|
+
## How it works
|
|
247
|
+
|
|
248
|
+
```text
|
|
249
|
+
pull request ──> detect agent ──> extract claims ──> fetch only the evidence those claims need
|
|
250
|
+
──> run checks (YAML + CEL, pure and replayable) ──> verdicts ──> report
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
- **Domain-neutral core.** The engine knows nothing about code. Claims, evidence and checks
|
|
254
|
+
are generic; the coding pack adds the coding-specific parts. A customer-support fixture pack
|
|
255
|
+
in the tests keeps the core honest.
|
|
256
|
+
- **Checks are data.** Each check is a small YAML file with [CEL](https://cel.dev)
|
|
257
|
+
expressions, so its logic is readable and reviewable
|
|
258
|
+
([example](src/second_source/packs/coding/checks/ci_result.yaml)).
|
|
259
|
+
- **Replayable.** Every check records a hash of its exact inputs; the same inputs always give
|
|
260
|
+
the same verdict.
|
|
261
|
+
|
|
262
|
+
More: [architecture](docs/ARCHITECTURE.md), [coding pack](docs/packs/coding.md),
|
|
263
|
+
[GitHub source](docs/sources/github.md), [benchmark method](docs/benchmark.md).
|
|
264
|
+
|
|
265
|
+
## Privacy and security
|
|
266
|
+
|
|
267
|
+
- The CLI talks only to the GitHub API. Nothing is sent to us or anyone else.
|
|
268
|
+
- Tokens are never printed, logged or written to the cache, and the cache never stores code.
|
|
269
|
+
- PR code is never checked out or run, which is why the Action can safely use
|
|
270
|
+
`pull_request_target`.
|
|
271
|
+
- Report vulnerabilities privately: see [SECURITY.md](SECURITY.md).
|
|
272
|
+
|
|
273
|
+
## Roadmap
|
|
274
|
+
|
|
275
|
+
- **First release (v0.5.0).** A tagged Action (`@v0`), the CLI on PyPI, a Marketplace listing
|
|
276
|
+
and the benchmark data as open data.
|
|
277
|
+
- **Evidence that outlives GitHub's retention.** The Action keeps a compact, tamper-evident
|
|
278
|
+
record of the evidence behind each verdict, with a `replay` command, so a verdict can still be
|
|
279
|
+
checked after GitHub deletes the CI runs.
|
|
280
|
+
- **A benchmark checked at PR time.** Run 3 checks recent agent PRs while their evidence still
|
|
281
|
+
exists.
|
|
282
|
+
- **Precision.** Every claim type shown as a finding at 0.95 or better on fresh held-out data.
|
|
283
|
+
- **More domains.** The same core for customer-support, voice and other agents, where their
|
|
284
|
+
systems keep a record that can be read.
|
|
285
|
+
|
|
286
|
+
## Development
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
git clone https://github.com/Rarebuffalo/second-source && cd second-source
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
uv sync
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
./scripts/check.sh
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
`check.sh` runs ruff (lint and format) and the full test suite; it must pass before every
|
|
301
|
+
commit. Tests never touch the network. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
302
|
+
|
|
303
|
+
## Data attribution
|
|
304
|
+
|
|
305
|
+
The golden set and benchmark samples use the AIDev dataset by Hao Li et al.
|
|
306
|
+
([hao-li/AIDev](https://huggingface.co/datasets/hao-li/AIDev)), licensed CC-BY-4.0.
|
|
307
|
+
|
|
308
|
+
## Licence
|
|
309
|
+
|
|
310
|
+
[Apache-2.0](LICENSE). The AIDev-derived PR texts in the golden set remain under CC-BY-4.0
|
|
311
|
+
(see [NOTICE](NOTICE)).
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
second_source/__init__.py,sha256=QEiZ6Bz5kVTivxp5DxLnFG0Vo2v4FzxbYhqUx5bKQi8,91
|
|
2
|
+
second_source/pipeline.py,sha256=E6K2-0wA-2Zpw6nxbMrTbUUB-HkC_ky6EzCHtuKJ94E,4707
|
|
3
|
+
second_source/action/__init__.py,sha256=BoekZiFej9_Kv7cUz0DNr3QyP016Rk4jkipwRNJ2lqU,130
|
|
4
|
+
second_source/action/commands.py,sha256=niKwzZIGF0Me1hkCUVMrifmPnkBfNlIeLU-_HLfUyxk,3618
|
|
5
|
+
second_source/action/event.py,sha256=uhnT2W1arko90QJc0MWwUUgbRAK7laTqTSI5NVWTLcU,3566
|
|
6
|
+
second_source/action/inputs.py,sha256=eXDjxFJ46AAxRnftwORvrx8BiYA6GB6rE5iN9m0UbRQ,4185
|
|
7
|
+
second_source/action/main.py,sha256=kS5MOCnWtkEJTwJWhaC04koxZ1bwAlhDD8uGh9-tT2Y,8956
|
|
8
|
+
second_source/action/publish.py,sha256=AKB_YKKArckaNlfHXkWfi0mkk1d4EmSP3xr3P-peQ3g,8624
|
|
9
|
+
second_source/action/setup.py,sha256=c-0-QHM6Iqzf_fKFXhi8fSpkr9kNeLOjkgQQhHKmQJc,5821
|
|
10
|
+
second_source/action/sweep.py,sha256=s7Bx0UyYgKy5HUmR_LNMnCYUk5wDQse8l9XvB3neTWg,3956
|
|
11
|
+
second_source/action/wait.py,sha256=VYswooHW9C_DbOC1Xq7hH1wyRZ20I2OIwSf7sCLYalA,1821
|
|
12
|
+
second_source/benchmark/__init__.py,sha256=P64F2fpEpYjDpvSDWaJKPpqsEG1H_9qguVdRcWkh444,98
|
|
13
|
+
second_source/benchmark/aidev.py,sha256=Fgd4m0tAjnJLiHZAnhXt2UNqc7IqBk5espagkZ8jXOU,9539
|
|
14
|
+
second_source/benchmark/aidev_local.py,sha256=bDP8xwcBN9SQrUiJmS6sLtoEgtI6xjOZ7AsbeOEhbtE,3508
|
|
15
|
+
second_source/benchmark/golden.py,sha256=K07MUO3hOjlCUAx8SON_ITO6-W8OTcKWFOaFOB1TZ8M,11780
|
|
16
|
+
second_source/benchmark/redact.py,sha256=PGK1j8aEP_lwbDCOxx4ap0_yY6T0jGi1ataL5LemLqQ,1841
|
|
17
|
+
second_source/benchmark/rescore.py,sha256=NJIN1b7L6ojBIDKshIM-iQI_IOGm9xg5FcYim9RTXxY,16406
|
|
18
|
+
second_source/benchmark/runner.py,sha256=umvd-tVPtUaYGTaRniS0gk5Kx6ssR2LV4lMZiE0m098,6542
|
|
19
|
+
second_source/benchmark/sample.py,sha256=6EyqJYP_1xgra_HznxCUyxkbko52eZXxiH5_E80RwL0,8891
|
|
20
|
+
second_source/benchmark/stats.py,sha256=gmstZP3suqeenG2TrTJLZmqt0vOqhYV-gp0hl5uTQTY,16273
|
|
21
|
+
second_source/cli/__init__.py,sha256=FWY0HTWevQ6SponZZ9APbw6PQUMA7pIiBfyTkj5rRZ4,70
|
|
22
|
+
second_source/cli/bench.py,sha256=UKDf57_VLFql6f9LEttWq-vtqunXmKKc93lqzTOhBvA,18187
|
|
23
|
+
second_source/cli/main.py,sha256=YhqTaOkgUEpTcvHUwud4yOgsegm9n0-EgAIMlAFsgSc,6828
|
|
24
|
+
second_source/core/__init__.py,sha256=82Tl96k6Wht7YPc2wLMTNscRk5nv5erHQmLiI1o4qms,116
|
|
25
|
+
second_source/core/aggregate.py,sha256=MVnvAuhtfNeUaAB22fjViHMjgViliT5eqJ1o2WQIrm0,3984
|
|
26
|
+
second_source/core/checks.py,sha256=0Drc1b-Q66eaaii4gfmKWsCQOJx3oPRJgoD-mSGz3mw,18352
|
|
27
|
+
second_source/core/engine.py,sha256=fszEfyyW0o7KKKu4mTqDNAjbB99gv2VYurEqy73bDXA,3843
|
|
28
|
+
second_source/core/evidence.py,sha256=7BgK6BdmJKUO3XBM3ncLUWrJkNDwu01wdWHKoFxE-D8,1205
|
|
29
|
+
second_source/core/expr.py,sha256=V0E4uY0e9VQpmDP8bDKP9fREuFw2mnxPbcri1xggfhQ,8980
|
|
30
|
+
second_source/core/hashing.py,sha256=U77rPHM7jsu_UcisYDmM5cf89uXdDyn8Kf0HJDMQSVA,1548
|
|
31
|
+
second_source/core/model.py,sha256=PXlgIYZznWmq52DAYQj4D-dIMGaH4tTGPDsmH25EuP0,3126
|
|
32
|
+
second_source/core/pack.py,sha256=Zk5EVskA-T7o4j9sJL47C4biPafqCDQxVl1PDmeT-qM,5879
|
|
33
|
+
second_source/packs/__init__.py,sha256=yQ_zZRSNc9J8QOg-yQTRRfgcTeC8imYHKBdi4LnDGeo,85
|
|
34
|
+
second_source/packs/coding/__init__.py,sha256=eOFTArsH6hpdqqsJER8t57tUPopp1_stYirNqeLSmyk,431
|
|
35
|
+
second_source/packs/coding/detection.py,sha256=mpABDLd23po1d1w49tvClNvg2a53zdGu4wV45VOjKRY,3310
|
|
36
|
+
second_source/packs/coding/diff_facts.py,sha256=qq8TDz78hcgKaydl5KdEWnQzZpZ4hq3kVqFt4tJe9bw,31845
|
|
37
|
+
second_source/packs/coding/extract.py,sha256=6ZcTDbnJvmY4qQEl7X5_pl9LIbg6Nxcqt5y3OfYF920,42451
|
|
38
|
+
second_source/packs/coding/functions.py,sha256=c5jbHwPwTxDKeTrKAyMMXSqT-6lm8dxP-ZussKtzcx0,8494
|
|
39
|
+
second_source/packs/coding/pack.yaml,sha256=DHROr-hSFtilfagZta6mmJ0sNWpbP9LSY0vq-IQxFes,1026
|
|
40
|
+
second_source/packs/coding/trusted_rules.yaml,sha256=SVRNG25Iwq1FSqp1DZifpA6rPaqhKfvvWm-FuLzcvL8,1120
|
|
41
|
+
second_source/packs/coding/checks/ci_config_caution.yaml,sha256=KC_3KkrOSXYyaucIvpDUIIsGL7Ei507yImCELxoKs-s,1015
|
|
42
|
+
second_source/packs/coding/checks/ci_result.yaml,sha256=-qnaKqC3Cu37fVOy9Bxdb0Zy_V8JfeY3vVcB5XS7POk,8651
|
|
43
|
+
second_source/packs/coding/checks/ci_weakening_caution.yaml,sha256=f2tGpOLMoh2L7VvVrLCpP8TwvlUkh8UlrATWYDrmrp8,1332
|
|
44
|
+
second_source/packs/coding/checks/deployed.yaml,sha256=AdRGwL11RUvhmx3LKkhmoehGydo7SuWrCA9y0izoshg,1937
|
|
45
|
+
second_source/packs/coding/checks/docs_updated.yaml,sha256=T-4BbauIVsJDE-jXn3LPUFarO4Kh5XFAQyrq28wpxUU,970
|
|
46
|
+
second_source/packs/coding/checks/fixes_issue.yaml,sha256=fGnDDaNNcyQ7HS5f8fQYxU0tbJcTctibbn6F2vfCUAQ,3335
|
|
47
|
+
second_source/packs/coding/checks/fixes_issue_durable.yaml,sha256=TzTCN1PkwwQ1rACKVuLwAGtI5eS3JK59rZ4z04JRSMg,3675
|
|
48
|
+
second_source/packs/coding/checks/integrity_guard.yaml,sha256=aK8DFkuYJfRGi54Qc_T73DEk6d1KMMGEDnDh2qG3rZQ,1813
|
|
49
|
+
second_source/packs/coding/checks/integrity_inspection.yaml,sha256=iSIGRhOyKfZ-ZN0ua60p7E57ReqOs2ynVamQ0a2i3jo,890
|
|
50
|
+
second_source/packs/coding/checks/lint_caution.yaml,sha256=iTfkjcTQQjGCpVDKdgOeBgSqVgFgZZQQaCElNmcKDkc,890
|
|
51
|
+
second_source/packs/coding/checks/matching_jobs_caution.yaml,sha256=9OlLXPR7lSWWquyrB4Yn9BRKJ5hGEjxrJsWkk3f8XyA,1049
|
|
52
|
+
second_source/packs/coding/checks/not_reverted.yaml,sha256=d7XXZ5vV2PaU92wdY7roYeLltNIJXkYHmjzDds27o3Q,1891
|
|
53
|
+
second_source/packs/coding/checks/tests_added.yaml,sha256=Tz8BSKYm9w93XtPG_fwfXvbfVW5aQSPu-tlF-9iCGLo,1231
|
|
54
|
+
second_source/packs/coding/checks/tests_added_guard.yaml,sha256=3dWjnLFGgBOl-cNO-8Z1NmULDLgFqOYDjEsSbRAubas,1128
|
|
55
|
+
second_source/packs/coding/checks/tests_removed_caution.yaml,sha256=8swOTfH1d6alQqLUuW_i1DfBA9IQZRxqa-jj6QyLUaY,1075
|
|
56
|
+
second_source/report/__init__.py,sha256=pL-B8V4MyKDNVXyI3BYymbyKA9TJTwZ76j1o1NEZbvs,74
|
|
57
|
+
second_source/report/render.py,sha256=wqvpcX1Us6D6QNl7tdZLTNKw9TZlNQhtQVq6bG2gCwY,21469
|
|
58
|
+
second_source/sources/__init__.py,sha256=ZvQtLuNdSOGnSIbhrZ--RD2TwX9PCw0i90RJXi546Sc,94
|
|
59
|
+
second_source/sources/github/__init__.py,sha256=YoLtkKtyyw3IcAPn6-Dts8kZyVjSOrH4ombY2Lowvno,138
|
|
60
|
+
second_source/sources/github/auth.py,sha256=G6p1uY1GiC-R_5MKsPfsGLpQTlwmkbGGQg8upFR0SCw,1716
|
|
61
|
+
second_source/sources/github/cache.py,sha256=hohcxxO9lxflyaVJUzqqM-LvWYdb2RC7lbsL5J7-wuY,2775
|
|
62
|
+
second_source/sources/github/client.py,sha256=l_WTtv_cah_nu_HeHGrJ83H2leb4SYFCeOYUuN9u3iA,10247
|
|
63
|
+
second_source/sources/github/mappers.py,sha256=nvw7tkmJbMHXy_fQPxgQQOu1-CSqQW2jGu4byGzVtjo,18344
|
|
64
|
+
second_source/sources/github/source.py,sha256=mnP3ZXN0p50heeHYIyrxTjcCaDx_NybJD3yQk48sbDg,17112
|
|
65
|
+
second_source/sources/github/urls.py,sha256=frCa2up3dDCOOufJ4dhkKllVBq1bbVgunJWGgEio0u4,1736
|
|
66
|
+
second_source-0.5.0.dist-info/METADATA,sha256=GpLYSOQfsyRBY9XovwlkqUsU_bTGz2JlOnAY4TKhW6I,14536
|
|
67
|
+
second_source-0.5.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
68
|
+
second_source-0.5.0.dist-info/entry_points.txt,sha256=Eh1bbzchCk-RBARzqBa3STiI8rCFJ2OscOat5U_CeOk,61
|
|
69
|
+
second_source-0.5.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
70
|
+
second_source-0.5.0.dist-info/licenses/NOTICE,sha256=Ff9ILVx8lOlUDdTVdlN4ojJfWeLQpZkA44Z_o0HQu9g,482
|
|
71
|
+
second_source-0.5.0.dist-info/RECORD,,
|
|
@@ -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.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Second Source
|
|
2
|
+
Copyright 2026 The Second Source contributors
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
This repository includes pull request texts from the AIDev dataset by Hao Li et al.
|
|
7
|
+
(https://huggingface.co/datasets/hao-li/AIDev), licensed under the Creative Commons
|
|
8
|
+
Attribution 4.0 International licence (CC-BY-4.0), in tests/packs/coding/golden/real/.
|
|
9
|
+
Those texts remain under CC-BY-4.0; the labels added to them are part of this product.
|