mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
* initial environemnt definitions * high level defintion * formlating the reward simply * improved implementation * tailored docker compose image for secondary tenaordboard * preliminary desriptions and babble * details on formulation and defintion of agent and its loop * typos one * more grammar issues * fluidity improvements and refactors * more decluttering and dnoising * finalizing introduction review * some methodology * somehow this disappeared * bit more of this and that * methodology of how we do architectuer and online DP * fix: compilation * expanding on the taxonomy and economic references * authoer notes * acks + google GCP * making space w new format nada lit review * stronger lit review and more sources * forgot about tables and graphs * dedupe citations * adding cloudflare * fixing env vars * updating docs with url * upating embed * fixing the url * paper badge * formaliztaion of rewards and adding definitions * noisy formulations * connecting some more dots here * adding significant weight in prices * fixing error * fixing typos and consistency * extra math formulations and refferenceot DRO * fixing diagram of loops * github mindmap * fixing erro and thiknig about big picture * enhancing the website * goals methodology and gitignore * some more references and theory links * talking about some wtp * feature: added wordcounter * forcing latex builds and fixining the bib # * refactor: update Cost of Information equations and notation for clarity * some more math and refactors * refactor: unify notation and improve clarity in COI equations * refactor: generalize master function for demand estimation and pricing strategies * we dont like math but we have to do it :( * refactor: enhance Cost of Information framework with additional context and illustration * refactor: enhance literature review and methodology sections with economic theory insights and system architecture details * alining format to fit the rubric * refactoring bibliography * fix: align * mdp additionally * trying different title * adding balance figure * agentic givergence, finally * fix: figure fonts adjusted to match
75 lines
2.1 KiB
YAML
75 lines
2.1 KiB
YAML
name: Build PDF
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'paper/**'
|
|
- '.github/**'
|
|
pull_request:
|
|
paths:
|
|
- 'paper/**'
|
|
- '.github/**'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Compile LaTeX document
|
|
uses: xu-cheng/latex-action@v3
|
|
with:
|
|
root_file: main.tex
|
|
working_directory: paper/src
|
|
args: -pdf -f -interaction=nonstopmode -file-line-error -outdir=../build
|
|
pre_compile: bash ../concat_code.sh
|
|
- name: Upload PDF
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: thesis-pdf
|
|
path: paper/build/main.pdf
|
|
|
|
- name: Get current date
|
|
id: date
|
|
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
|
|
|
- name: Upload to Cloudflare R2
|
|
env:
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
|
AWS_ENDPOINT_URL: ${{ secrets.R2_ENDPOINT }}
|
|
DATE: ${{ steps.date.outputs.date }}
|
|
BUCKET_NAME: ${{ secrets.R2_BUCKET_NAME }}
|
|
run: |
|
|
pip install boto3
|
|
python3 << 'EOF'
|
|
import boto3
|
|
import os
|
|
|
|
s3 = boto3.client('s3',
|
|
endpoint_url=os.environ['AWS_ENDPOINT_URL'],
|
|
aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'],
|
|
aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY']
|
|
)
|
|
|
|
date = os.environ['DATE']
|
|
bucket = os.environ['BUCKET_NAME']
|
|
|
|
# upload dated version
|
|
dated_filename = f"thesis-{date}.pdf"
|
|
s3.upload_file(
|
|
'paper/build/main.pdf',
|
|
bucket,
|
|
dated_filename,
|
|
ExtraArgs={'ContentType': 'application/pdf'}
|
|
)
|
|
print(f"Uploaded {dated_filename}")
|
|
|
|
# upload latest version
|
|
s3.upload_file(
|
|
'paper/build/main.pdf',
|
|
bucket,
|
|
'thesis-latest.pdf',
|
|
ExtraArgs={'ContentType': 'application/pdf'}
|
|
)
|
|
print(f"Uploaded thesis-latest.pdf")
|
|
EOF
|