Skip to content

Commit cd3ad2f

Browse files
xehudependabot[bot]agshruti12amytangzheng
authored
0.1.4.post2 patch fix (#317)
* Bump path-to-regexp and express in /website (#298) * Add Examples Notebook (#294) * Urgent fix to remove LIWC lexicons from public repo (#279) * delete small test lexicons * move .pkl files to assets and remove from GH * filesystem cleanup * update certainty pickle location * remove unpickling certainty * remove lexicons from pyproject * change lexical pkl path * add error handling when lexicons are not found * update warning message * add legal caveat and update name of certainty pkl to be correct * ensure lexicons are ignored * Update Documentation (Complete Conceptual Documentation, Document Assumptions) (#289) * new docs * lexicons hotfix * emilys doc edits * update deprecated github actions to latest * update last remaining text features * update index * update docs * update index * update docs * update docs and the feature dictionary * add basics.rst * add new basics page * update docs --------- Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> * update torch requirements to resolve compatibility issue on torch end (#290) * Update Website (#291) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team --------- Co-authored-by: amytangzheng <[email protected]> * update documentation for clarity and correct typos in positivity z-score and information exchange and liwc * add demo notebook * update notebook and add information to docs * update documentation --------- Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> * Bump path-to-regexp and express in /website Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `path-to-regexp` from 0.1.7 to 0.1.10 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.10) Updates `express` from 4.19.2 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nltk from 3.8.1 to 3.9 (#297) * Add Examples Notebook (#294) * Urgent fix to remove LIWC lexicons from public repo (#279) * delete small test lexicons * move .pkl files to assets and remove from GH * filesystem cleanup * update certainty pickle location * remove unpickling certainty * remove lexicons from pyproject * change lexical pkl path * add error handling when lexicons are not found * update warning message * add legal caveat and update name of certainty pkl to be correct * ensure lexicons are ignored * Update Documentation (Complete Conceptual Documentation, Document Assumptions) (#289) * new docs * lexicons hotfix * emilys doc edits * update deprecated github actions to latest * update last remaining text features * update index * update docs * update index * update docs * update docs and the feature dictionary * add basics.rst * add new basics page * update docs --------- Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> * update torch requirements to resolve compatibility issue on torch end (#290) * Update Website (#291) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team --------- Co-authored-by: amytangzheng <[email protected]> * update documentation for clarity and correct typos in positivity z-score and information exchange and liwc * add demo notebook * update notebook and add information to docs * update documentation --------- Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> * Bump nltk from 3.8.1 to 3.9 Bumps [nltk](https://github.com/nltk/nltk) from 3.8.1 to 3.9. - [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog) - [Commits](nltk/nltk@3.8.1...3.9) --- updated-dependencies: - dependency-name: nltk dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Update pyproject.toml * Update requirements.txt * Update download_resources.py --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump body-parser and express in /website (#296) * Add Examples Notebook (#294) * Urgent fix to remove LIWC lexicons from public repo (#279) * delete small test lexicons * move .pkl files to assets and remove from GH * filesystem cleanup * update certainty pickle location * remove unpickling certainty * remove lexicons from pyproject * change lexical pkl path * add error handling when lexicons are not found * update warning message * add legal caveat and update name of certainty pkl to be correct * ensure lexicons are ignored * Update Documentation (Complete Conceptual Documentation, Document Assumptions) (#289) * new docs * lexicons hotfix * emilys doc edits * update deprecated github actions to latest * update last remaining text features * update index * update docs * update index * update docs * update docs and the feature dictionary * add basics.rst * add new basics page * update docs --------- Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> * update torch requirements to resolve compatibility issue on torch end (#290) * Update Website (#291) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team --------- Co-authored-by: amytangzheng <[email protected]> * update documentation for clarity and correct typos in positivity z-score and information exchange and liwc * add demo notebook * update notebook and add information to docs * update documentation --------- Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> * Bump body-parser and express in /website Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `body-parser` from 1.20.2 to 1.20.3 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@1.20.2...1.20.3) Updates `express` from 4.19.2 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](expressjs/express@4.19.2...4.21.0) --- updated-dependencies: - dependency-name: body-parser dependency-type: indirect - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Check embedding update (#295) * Add Examples Notebook (#294) * Urgent fix to remove LIWC lexicons from public repo (#279) * delete small test lexicons * move .pkl files to assets and remove from GH * filesystem cleanup * update certainty pickle location * remove unpickling certainty * remove lexicons from pyproject * change lexical pkl path * add error handling when lexicons are not found * update warning message * add legal caveat and update name of certainty pkl to be correct * ensure lexicons are ignored * Update Documentation (Complete Conceptual Documentation, Document Assumptions) (#289) * new docs * lexicons hotfix * emilys doc edits * update deprecated github actions to latest * update last remaining text features * update index * update docs * update index * update docs * update docs and the feature dictionary * add basics.rst * add new basics page * update docs --------- Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> * update torch requirements to resolve compatibility issue on torch end (#290) * Update Website (#291) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team --------- Co-authored-by: amytangzheng <[email protected]> * update documentation for clarity and correct typos in positivity z-score and information exchange and liwc * add demo notebook * update notebook and add information to docs * update documentation --------- Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> * update check embeddings with tqdm loading bar and BERT tokenization update * (1) allow BERT sentiments to be generated from the messages with punctuation, rather than the preprocessed messages; (2) batch BERT sentiment generation to make it more efficient; (3) add loading bar for generation of chat-level features --------- Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> * Update README.md to remove col = "message" * Closes #302. * Amy/website (#301) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team * gh actions and custom domain * deploy to custom url * deploy to custom url * updates to cname * changes to cname * cname updates * testing github actions * updates to github-actions-website * testing github actions * updates to gh actions * updates to github-actions * update home for testing gh actions * updates CNAME * update testing email * updates username/email * updates to email in github-actions-website * testing gh actions for feature_dict * testing github-actions feature_dict * updates to github-actions-feature_dict * Update github-actions-feature_dict.yaml * testing updates to feature_dict.py * testing feature_dict updates * testing updates to feature_dict.py * testing feature_dict deployment * Update github-actions-feature_dict.yaml * testing feature_dict updates * testing updates to feature_dict.py * updates to feature_dict * updates to github actions feature_dict * testing auto updates to feature_dict * Update feature_dict.py * testing feature_dict auto updates * testing feature_dict auto updates * Update feature_dict.py * testing feature_dict auto updates * remove commented code in feature_dict.py * Delete src/team_comm_tools/filtered_dict.json delete test json file * Update github-actions-website.yaml to deploy on update to dev * put 'dev' in quotes * Update github-actions-feature_dict.yaml to update upon dev * re-add filtered dict --------- Co-authored-by: Xinlan Emily Hu <[email protected]> Co-authored-by: Xinlan Emily Hu <[email protected]> * Update github-actions-website.yaml (#309) * Update github-actions-feature_dict.yaml (#308) * Package updates in Amy/website (#310) * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * deployed website * copyright and team * team headshots and footer * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * whitespace edits * homepage updates * feature table * website updates * renaming tpm-website to website * deploying via gh-pages * changed from tpm-website to website * edits to the pages * website updates * updated links * updated homepage * link updates * mobile compatibility * mobile adjustments * navbar mobile updates * homepage updates * add table of features * updated team page titles * include flask in requirements.txt * updates to table of features * load pages from top * fix to 404 issues * moved build under website folder * updates to package launch * hyperlink ./setup.sh * fix nav bar sizing and hamburger logo * include preprint * updates to "getting started" * update team * gh actions and custom domain * deploy to custom url * deploy to custom url * updates to cname * changes to cname * cname updates * testing github actions * updates to github-actions-website * testing github actions * updates to gh actions * updates to github-actions * update home for testing gh actions * updates CNAME * update testing email * updates username/email * updates to email in github-actions-website * testing gh actions for feature_dict * testing github-actions feature_dict * updates to github-actions-feature_dict * Update github-actions-feature_dict.yaml * testing updates to feature_dict.py * testing feature_dict updates * testing updates to feature_dict.py * testing feature_dict deployment * Update github-actions-feature_dict.yaml * testing feature_dict updates * testing updates to feature_dict.py * updates to feature_dict * updates to github actions feature_dict * testing auto updates to feature_dict * Update feature_dict.py * testing feature_dict auto updates * testing feature_dict auto updates * Update feature_dict.py * testing feature_dict auto updates * remove commented code in feature_dict.py * Delete src/team_comm_tools/filtered_dict.json delete test json file * Update github-actions-website.yaml to deploy on update to dev * put 'dev' in quotes * Update github-actions-feature_dict.yaml to update upon dev * re-add filtered dict * update packages for website --------- Co-authored-by: amytangzheng <[email protected]> * Update package-lock.json to local version * Update package-lock.json * Update package.json * Update package-lock.json * Fix "@babel/plugin-proposal-private-property-in-object" error (#311) * Update package-lock.json * Update package.json * upgrade node packages * update team page + try to remove some of the deprecated packages * Revert "update team page + try to remove some of the deprecated packages" This reverts commit d04037d. * revert attempts to upgrade packages * Denormalize liwc (#312) * address #306 * fix hedges reference and update dictionary * address #300 (#313) * Address issues with making feature names more clear; have cleaner defaults for output params (#314) * address #304 * address #286 and #299 * small fix to ensure filtered_dict does not generate in every run * PATCH FIX: Defaults in 0.1.4 were incorrectly specified --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shruti Agarwal <[email protected]> Co-authored-by: amytangzheng <[email protected]> Co-authored-by: amytangzheng <[email protected]>
1 parent 627955a commit cd3ad2f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

examples/featurize.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
tiny_juries_feature_builder = FeatureBuilder(
4242
input_df = tiny_juries_df,
4343
grouping_keys = ["batch_num", "round_num"],
44-
vector_directory = "./vector_data/",
4544
output_file_base = "jury_TINY_output", # Naming output files using the output_file_base parameter (recommended)
4645
turns = False,
4746
custom_features = [
@@ -56,7 +55,6 @@
5655
tiny_multi_task_feature_builder = FeatureBuilder(
5756
input_df = tiny_multi_task_df,
5857
conversation_id_col = "stageId",
59-
vector_directory = "./vector_data/",
6058
# alternatively, you can name each output file separately. NOTE, however, that we don't directly use this path;
6159
# we modify the path to place outputs within the `output/chat`, `output/conv`, and `output/user` folders.
6260
output_file_path_chat_level = "./multi_task_TINY_output_chat_level_stageId_cumulative.csv",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "team_comm_tools"
9-
version = "0.1.4.post1"
9+
version = "0.1.4.post2"
1010
requires-python = ">= 3.10"
1111
dependencies = [
1212
"chardet>=3.0.4",

src/team_comm_tools/feature_builder.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ class FeatureBuilder:
9999
def __init__(
100100
self,
101101
input_df: pd.DataFrame,
102-
vector_directory: "./vector_data/",
103-
output_file_base = "output",
104-
output_file_path_chat_level = None,
105-
output_file_path_user_level = None,
106-
output_file_path_conv_level = None,
102+
vector_directory: str = "./vector_data/",
103+
output_file_base: str = "output",
104+
output_file_path_chat_level: str = None,
105+
output_file_path_user_level: str = None,
106+
output_file_path_conv_level: str = None,
107107
custom_features: list = [],
108108
analyze_first_pct: list = [1.0],
109-
turns: bool=False,
109+
turns: bool = False,
110110
conversation_id_col: str = "conversation_num",
111111
speaker_id_col: str = "speaker_nickname",
112112
message_col: str = "message",

0 commit comments

Comments
 (0)