Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submission 462, Hitz/Prada/Vonwiller #7

Merged
merged 7 commits into from
Aug 14, 2024
Merged

Conversation

mtwente
Copy link
Contributor

@mtwente mtwente commented Aug 13, 2024

Pull request

Proposed changes

  • add submission 462 (received by e-mail),
  • remove placeholder files

Types of changes

  • New feature (non-breaking change which adds functionality).
  • Enhancement (non-breaking change which enhances functionality)
  • Bug Fix (non-breaking change which fixes an issue).
  • Breaking change (fix or feature that would cause existing functionality to change).

Checklist

  • I have read the README document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have mentioned all co-authors in the PR description as Co-authored-by: Name <[email protected]>.

Summary by CodeRabbit

  • New Features

    • Introduced a manuscript project configuration for structured management and rendering.
    • Added a detailed manuscript exploring economic dynamics in historical Basel, utilizing machine learning techniques.
    • Included a bibliography file with references to relevant publications and resources.
    • Established a requirements.txt file specifying key project dependencies for compatibility.
  • Bug Fixes

    • Ensured metadata entries are correctly formatted in the manuscript and bibliography files.

Co-authored-by: Benjamin Hitz <[email protected]>
Co-authored-by: Ismail Prada <[email protected]>
Co-authored-by: Aline Vonwiller <[email protected]>
@mtwente mtwente requested review from maehr and consincopa August 13, 2024 16:48
@mtwente mtwente self-assigned this Aug 13, 2024
Copy link
Contributor

coderabbitai bot commented Aug 13, 2024

Walkthrough

The changes introduce a comprehensive manuscript project about the economic dynamics of historical real estate in Basel, utilizing machine learning techniques. Key updates include a configuration file for project settings, a detailed paper analyzing archival data, a bibliography for references, and a requirements file specifying necessary dependencies, all aimed at enhancing scholarly inquiry into the period from 1400 to 1700.

Changes

Files Change Summary
submissions/462/_quarto.yml Introduced manuscript configuration; set main article and output format.
submissions/462/index.qmd Added a detailed exploration of real estate dynamics in premodern Basel.
submissions/462/references.bib Created a bibliography file with BibTeX entries for relevant publications.
submissions/462/requirements.txt Added dependencies for the project, specifying versions for key libraries.

Poem

🐇 In fields of data, we now prance,
With tales of Basel in a scholarly dance.
Citing our sources, we hop with glee,
Analyzing history, as bright as can be!
From cards to insights, our research takes flight,
A manuscript born, shining ever so bright! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 4adf811 and 661a048.

Files ignored due to path filters (8)
  • submissions/462/data/3_4_viz.csv is excluded by !**/*.csv
  • submissions/462/data/3_viz.csv is excluded by !**/*.csv
  • submissions/462/data/4_5_viz.csv is excluded by !**/*.csv
  • submissions/462/data/7_viz.csv is excluded by !**/*.csv
  • submissions/462/images/annotation_example.png is excluded by !**/*.png
  • submissions/462/images/fig_3.png is excluded by !**/*.png
  • submissions/462/images/fig_4.png is excluded by !**/*.png
  • submissions/462/images/fig_5.png is excluded by !**/*.png
Files selected for processing (4)
  • submissions/462/_quarto.yml (1 hunks)
  • submissions/462/index.qmd (1 hunks)
  • submissions/462/references.bib (1 hunks)
  • submissions/462/requirements.txt (1 hunks)
Files skipped from review due to trivial changes (3)
  • submissions/462/_quarto.yml
  • submissions/462/references.bib
  • submissions/462/requirements.txt
Additional comments not posted (9)
submissions/462/index.qmd (9)

1-35: Ensure metadata completeness and PII protection.

The metadata section appears complete and well-structured. However, ensure that the email addresses are handled appropriately to protect personal information if this document is publicly accessible.


26-29: Abstract is clear and informative.

The abstract effectively summarizes the research focus, methodology, and key findings. It aligns well with the document's content.


40-76: Methodology is well-explained and logical.

The methodology section provides a clear and detailed explanation of the techniques used for information extraction. It references external tools and guidelines appropriately.


86-115: Ensure file path correctness in data loading.

The Python code for data visualization is generally well-structured. However, verify that the file path for the CSV is correct and accessible in the context where the script will run.

# Ensure the file path is correct and accessible
file_path = './data/3_viz.csv'  # Update this with the actual file path if necessary

120-155: Use consistent data loading practices.

Ensure that the file path for the CSV is correct and accessible. The use of a rolling window for smoothing data is a good practice for visualization.

# Ensure the file path is correct and accessible
file_path = './data/3_4_viz.csv'  # Update this with the actual file path if necessary

162-193: Verify CSV file path and header handling.

The CSV file is loaded with a custom header setup. Ensure that the file path is correct and that the header handling matches the file structure.

# Ensure the file path is correct and the header handling matches the file structure
file_path = './data/4_5_viz.csv'  # Update this with the actual file path if necessary

202-223: Check CSV file path and data consistency.

Ensure the file path for the CSV is correct and that the data is consistent with the expected format for plotting.

# Ensure the file path is correct and the data is consistent
file_path = './data/7_viz.csv'  # Update this with the actual file path if necessary

226-230: Conclusions are well-founded and insightful.

The conclusions logically follow from the analysis and provide valuable insights into future research directions.


232-252: Appendix is clear and supportive of the methodology.

The appendix provides a clear example of role detection, supporting the methodology section.

Copy link
Contributor

@maehr maehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mtwente Thanks for the PR. The category as specified in https://github.com/digihistch24/book-of-abstracts/pull/8 is missing. Otherwise it's great!

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 661a048 and 14ad1ef.

Files selected for processing (1)
  • submissions/462/index.qmd (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • submissions/462/index.qmd

@mtwente mtwente requested a review from maehr August 14, 2024 08:07
@maehr
Copy link
Contributor

maehr commented Aug 14, 2024

@mtwente the build is failing. we need to enable python for it to work. shall I open a PR?

on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
  workflow_dispatch:

name: Render and Publish

# you need these permissions to publish to GitHub pages
permissions:
  contents: write
  pages: write

jobs:
  lint:
    name: Lint with Prettier
    runs-on: ubuntu-latest

    steps:
      - name: Check out repository
        uses: actions/checkout@v4

      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '22'

      - name: Install dependencies
        run: npm install

      - name: Check for linting errors
        run: npm run check

  build-deploy:
    runs-on: ubuntu-latest

    steps:
      - name: Check out repository
        uses: actions/checkout@v4

      - name: Overwrite _quarto.yml
        if: github.repository == 'maehr/open-research-data-template'
        run: |
          cp .github/_quarto.yml _quarto.yml

      - name: Set up Quarto
        uses: quarto-dev/quarto-actions/setup@v2
        env:
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        # with:
        # To install LaTeX to build PDF book outputs, uncomment below
        # tinytex: true
        # uncomment below and fill to pin a version
        # version: SPECIFIC-QUARTO-VERSION-HERE

      # add software dependencies here and any libraries

      # From https://github.com/actions/setup-python
      - name: Setup Python
        uses: actions/setup-python@v5

      # From https://github.com/r-lib/actions/tree/v2-branch/setup-r
      - name: Setup R
        uses: r-lib/actions/setup-r@v2

      # From https://github.com/julia-actions/setup-julia
      # - name: Setup Julia
      #   uses: julia-actions/setup-julia@v1

      # See more at https://github.com/quarto-dev/quarto-actions/blob/main/examples/example-03-dependencies.md

      - name: Render Quarto Project
        uses: quarto-dev/quarto-actions/render@v2
        with:
          path: .
          to: html

      - name: JamPack
        run: |
          npx @divriots/jampack .

      # To publish to Netlify, RStudio Connect, or GitHub Pages, uncomment
      # the appropriate block below

      # - name: Publish to Netlify (and render)
      #   uses: quarto-dev/quarto-actions/publish@v2
      #   with:
      #     target: netlify
      #     NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

      # - name: Publish to RStudio Connect (and render)
      #   uses: quarto-dev/quarto-actions/publish@v2
      #   with:
      #     target: connect
      #     CONNECT_SERVER: enter-the-server-url-here
      #     CONNECT_API_KEY: ${{ secrets.CONNECT_API_KEY }}

      # NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml)
      - name: Publish to GitHub Pages (and render)
        if: github.event_name != 'pull_request'
        uses: quarto-dev/quarto-actions/publish@v2
        with:
          target: gh-pages
          path: _site
          render: false
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions


      # - name: Publish to confluence
      #   uses: quarto-dev/quarto-actions/publish@v2
      #   with:
      #     target: confluence
      #   env:
      #     CONFLUENCE_USER_EMAIL: ${{ secrets.CONFLUENCE_USER_EMAIL }}
      #     CONFLUENCE_AUTH_TOKEN: ${{ secrets.CONFLUENCE_AUTH_TOKEN }}
      #     CONFLUENCE_DOMAIN: ${{ secrets.CONFLUENCE_DOMAIN }}

@maehr maehr merged commit c65fa46 into digihistch24:main Aug 14, 2024
3 checks passed
@mtwente mtwente deleted the 462 branch August 18, 2024 08:43
@coderabbitai coderabbitai bot mentioned this pull request Oct 7, 2024
8 tasks
@coderabbitai coderabbitai bot mentioned this pull request Nov 17, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants