Skip to content

Commit

Permalink
update pyproject.toml; untracked work files
Browse files Browse the repository at this point in the history
  • Loading branch information
bgajdero committed Mar 13, 2024
1 parent f03ce83 commit dfff97b
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 5 deletions.
157 changes: 157 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# application specific files to ignore
*.db
output/*
logs/*
tmp
libs
corenlp/stanford*
init_*.py
tokenizers

.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
~$*.xlsx
# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
# ontology_cache
pyscript/app/scripts/scroll/data
pyscript/app/scripts/scroll/models
pyscript/app/scripts/scroll/res
pyscript/app/scripts/scroll/stats
/*.html
/*.txt
/*.pdf
/*.png
/*.prof
pyscript/app/templates/dynamic_graph_view_*.html
pyscript/app/templates/graph.pdf
pyscript/app/templates/uploads
pyscript/app/templates/annotations*
pyscript/app/scripts/scroll/test/

htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Flask/Django stuff:
*.log
local_settings.py
db.sqlite
db.sqlite3
db.sqlite3-journal
db.sqlite-journal
# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
Binary file removed src/qawrapper/__pycache__/qa0.cpython-39.pyc
Binary file not shown.
Binary file removed src/qawrapper/__pycache__/qa1.cpython-39.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions src/qawrapper/qa0.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.qa.qa import QA, QAModel
from src.qawrapper.qa.qa import QA, QAModel
import pandas as pd
import os

Expand Down Expand Up @@ -59,7 +59,7 @@ class QA0(QA):
"Where is this happening at?"]}
ENTITIES = list(default_questions.keys())

AGG_PARTIAL = pd.read_csv("src/qa/aggregate_scores/layer0_partial2_aggregate.csv", index_col=0).to_dict('index')
AGG_PARTIAL = pd.read_csv("src/qawrapper/qa/aggregate_scores/layer0_partial2_aggregate.csv", index_col=0).to_dict('index')

def __init__(self, context, entity=None):
super().__init__(context, entity)
Expand Down
6 changes: 3 additions & 3 deletions src/qawrapper/qa1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from src.qa.qa import QA, QAModel
from src.qa import qa_generate_layer1
from src.qawrapper.qa.qa import QA, QAModel
from src.qawrapper.qa import qa_generate_layer1
import pandas as pd
import os
from collections import defaultdict
Expand Down Expand Up @@ -31,7 +31,7 @@ class QA1(QA):
get aggregate scores for a particular entity
"""
AGG_PARTIAL = pd.read_csv("src/qa/aggregate_scores/layer1_partial2_aggregate_comb.csv", index_col=0).to_dict('index')
AGG_PARTIAL = pd.read_csv("src/qawrapper/qa/aggregate_scores/layer1_partial2_aggregate_comb.csv", index_col=0).to_dict('index')
ENTITIES = [
"program_name",
"client",
Expand Down

0 comments on commit dfff97b

Please sign in to comment.