Skip to content

Commit

Permalink
Refactor submissions processor so we can grab the cells data from it
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Dec 14, 2023
1 parent 02a0c22 commit c6620ab
Show file tree
Hide file tree
Showing 10 changed files with 2,925 additions and 203 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,21 @@ python -m app.submissions_manager
Process the starter file:

```sh
python -m app.jobs.starter
python -m app.starter_doc_processor

# FIG_SHOW=false python -m app.jobs.starter
# FIG_SHOW=false python -m app.starter_doc_processor

# FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 python -m app.jobs.starter
# FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 python -m app.starter_doc_processor

# FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 SIMILARITY_THRESHOLD=0.75 python -m app.jobs.starter
# FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 SIMILARITY_THRESHOLD=0.75 python -m app.starter_doc_processor
```

Process all submission files:

```sh
python -m app.jobs.submissions
python -m app.submissions_processor

#FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 python -m app.jobs.submissions

# FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 SIMILARITY_THRESHOLD=0.75 python -m app.jobs.submissions
#FIG_SHOW=false CHUNK_SIZE=600 CHUNK_OVERLAP=0 python -m app.submissions_processor
```

## Testing
Expand Down
2 changes: 1 addition & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

import os

DATA_DIRPATH = os.path.join(os.path.dirname(__file__), "..", "data")
RESULTS_DIRPATH = os.path.join(os.path.dirname(__file__), "..", "results")
191 changes: 0 additions & 191 deletions app/jobs/submissions.py

This file was deleted.

File renamed without changes.
Loading

0 comments on commit c6620ab

Please sign in to comment.