Skip to content
Open
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
52 changes: 52 additions & 0 deletions .github/workflows/materialize-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Materialize public release

on:
push:
branches:
- agent/open-source-release
paths:
- .release/release.b64
- .github/workflows/materialize-release.yml

permissions:
contents: write

jobs:
materialize:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Expand audited release bundle
shell: bash
run: |
set -euo pipefail
mkdir -p /tmp/security-anomaly-release
base64 -d .release/release.b64 > /tmp/security-anomaly-release/release.tar.gz
mkdir -p /tmp/security-anomaly-release/tree
tar -xzf /tmp/security-anomaly-release/release.tar.gz -C /tmp/security-anomaly-release/tree

find . -mindepth 1 -maxdepth 1 \
! -name .git \
! -name .release \
! -name .github \
-exec rm -rf {} +

cp -a /tmp/security-anomaly-release/tree/. .
rm -rf .release
rm -f .github/workflows/materialize-release.yml
rmdir .github/workflows 2>/dev/null || true
rmdir .github 2>/dev/null || true

- name: Commit materialized tree
shell: bash
run: |
set -euo pipefail
git config user.name "Ievgen Bondarenko"
git config user.email "ibondarenko@student.sierracollege.edu"
git add -A
git commit -m "Initial open-source release"
git push origin HEAD:agent/open-source-release
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Python
.venv/
venv/
__pycache__/
*.py[cod]
.pytest_cache/
.mypy_cache/
.ruff_cache/

# Editors / OS
.idea/
.vscode/
.DS_Store
Thumbs.db

# Datasets are acquired separately
data/raw/*
!data/raw/.gitkeep
data/processed/*
!data/processed/.gitkeep

# Generated ML artifacts
models/**/*.joblib
models/*.joblib
models/**/*.parquet
models/*.parquet
models/**/*.pkl
models/*.pkl
models/**/*.pickle
models/*.pickle
!models/.gitkeep

# Temporary output
*.log
*.tmp
*.bak
1 change: 1 addition & 0 deletions .release/release.b64

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .upload-test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ok
17 changes: 17 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Copyright 2026 Ievgen Bondarenko

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1 change: 1 addition & 0 deletions README.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test
1 change: 1 addition & 0 deletions README.tmp2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test2
Empty file added app/.gitkeep
Empty file.
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pandas
numpy
scikit-learn
scipy
matplotlib
pytest
joblib
duckdb
Empty file added tests/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions tmp-test-a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A
1 change: 1 addition & 0 deletions tmp-test-b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
B
1 change: 1 addition & 0 deletions tree-call-sentinel-2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sentinel2
1 change: 1 addition & 0 deletions tree-call-sentinel-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sentinel3
1 change: 1 addition & 0 deletions tree-call-sentinel.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sentinel