Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
Text: string
idx: int64
Label: string
Presence: string
Period: string
Reasoning: string
Rating: int64
to
{'Text': Value('string'), 'idx': Value('int64'), 'Label': Value('string'), 'Presence': Value('string'), 'Period': Value('string'), 'Reasoning': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Text: string
              idx: int64
              Label: string
              Presence: string
              Period: string
              Reasoning: string
              Rating: int64
              to
              {'Text': Value('string'), 'idx': Value('int64'), 'Label': Value('string'), 'Presence': Value('string'), 'Period': Value('string'), 'Reasoning': Value('string')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Text
string
idx
int64
Label
string
Presence
string
Period
string
Reasoning
string
He faced charges that could have led to parole violations but was able to resolve them.
3,843
parole
no
history
The mention of charges related to parole indicates past issues but confirms no current violations.
He has been living under parole conditions for over a year now, and this has affected his mental health.
3,202
parole
yes
current
This clearly indicates ongoing parole conditions and their personal impact on the patient.
In therapy, he expressed relief that his parole conditions are less strict than previously.
1,540
parole
yes
current
The mention of parole conditions being less strict indicates an ongoing relationship with his legal obligations.
He recalled that he was on probation for theft last year, but believes he has moved past that phase.
2,311
probation
yes
history
The patient is discussing a past experience with probation, indicating it is no longer in effect.
The patient was on parole but has successfully completed his term without any violations.
5,996
parole
yes
history
The text discusses the patient's completed parole status, which suggests a historical context rather than a current one.
The patient discussed her plans to avoid any activities that might jeopardize her current probation.
1,894
probation
yes
current
This indicates an ongoing relationship with probation and a proactive approach to compliance.
The patient is currently under evaluation and might face probation if he doesn't adhere to the treatment plan.
2,186
probation
unclear
future
This situation implies potential future legal consequences but does not confirm present probation status.
After two years on probation, the patient expresses concern about meeting the conditions set by the court.
3,644
probation
yes
current
The text explicitly mentions the patient being on probation, indicating an ongoing supervision situation. The presence of conditions implies a legal obligation.
Due to her previous legal issues, she is currently restricted from leaving the state as part of her probation.
895
probation
yes
current
The current restrictions indicate that the patient is actively under probation, reflecting ongoing legal constraints.
He has been warned that any further infractions while on probation could result in additional penalties.
6,713
probation
yes
current
The context of warnings related to probation indicates current involvement with the probation system.
During the review, it was found that his parole was revoked due to missed appointments.
7,361
parole
yes
history
This indicates a clear history of being on parole and issues leading to revocation.
He recalls being placed on probation after his conviction but feels he learned from the experience.
6,965
probation
yes
history
The text explicitly mentions the patient's past experience with probation, indicating his involvement.
After serving three years, the patient is now on parole, working closely with a counselor to ensure compliance.
5,930
parole
yes
current
The text clearly states that the patient is currently on parole, which indicates ongoing legal supervision after incarceration.
The patient reported he had been denied probation after the offense, which led to a court appearance.
1,918
probation
no
history
The text clearly states that the patient was denied probation, indicating that he is not currently on probation.
He is awaiting a decision regarding his early parole eligibility scheduled for next month.
1,339
parole
unclear
future
The text indicates an upcoming decision that could affect his parole status but does not confirm it.
The patient's brother is on probation for a theft charge, which seems to affect the patient emotionally.
830
probation
no
current
Although the patient's brother is on probation, this does not imply that the patient is under any legal supervision themselves.
Patient mentioned he will be attending a mandatory meeting with his probation officer this week.
36
probation
yes
current
The patient is required to meet with a probation officer, indicating they are under probation. This suggests that the situation is ongoing and active.
He has a history of being paroled multiple times but has not experienced long-term success in rehabilitation.
4,904
parole
yes
history
This reflects the patient's past experiences with parole and its consequences on rehabilitation, qualifying it as historical.
The patient discussed her cousin's struggles with a recent parole violation that led to re-incarceration.
1,428
parole
no
unclear
While the patient's cousin's situation is mentioned, it does not directly relate to the patient's legal status.
He has no experience with parole or probation, indicating a clean legal history.
1,138
unclear
no
history
This statement indicates that the patient has never been involved in either legal situation, confirming absence.
The patient is under review for parole, especially considering his positive behavior during incarceration.
956
parole
unclear
future
The mention of being under review for parole suggests it is a current situation, but the outcome is uncertain.
The patient was told that she could face jail time if she violates her parole terms again.
2,435
parole
yes
current
This indicates that the patient is currently on parole, with an understanding of the consequences of violations.
Patient reported feeling anxious about the conditions of his probation and the associated requirements.
4,740
probation
yes
current
The text clearly mentions probation and expresses the patient's feelings about it, indicating a current situation.
She spoke about her friend who is currently on probation and attending therapy sessions.
7,659
probation
no
current
While discussing a friend's situation, it does not provide relevant information about the patient themselves, indicating no direct involvement.
The therapist noted that the patient's anxiety may be exacerbated by her partner's recent parole conditions.
6,744
parole
no
current
While the text discusses the partner's parole affecting the patient, it does not indicate that the patient herself is on parole or probation.
The session covered potential barriers to employment due to his past parole status.
2,429
parole
yes
history
This references the patient's past experience with parole, which is important but no longer current.
He expresses frustration about being placed on probation after a minor offense.
1,842
probation
yes
current
The text refers to his current status of being on probation, showing awareness of his legal situation.
He mentioned that he had been jailed for two months prior to being put on probation.
421
probation
yes
history
The reference to having been jailed before receiving probation reveals a past event related to legal supervision.
The review indicated he has been on parole for his drug-related offenses without major incidents.
3,754
parole
yes
current
This reflects a current status involving parole and adherence, indicating its relevance.
He was placed on probation for substance use after being caught with illegal substances last month.
5,404
probation
yes
current
The text indicates a recent placement on probation due to legal issues, confirming its current relevance.
After receiving a warning, she was informed that she would not be facing probation as expected.
7,704
probation
no
current
The text clarifies that probation was not granted; therefore, it indicates no presence of probation.
During the appointment, the patient mentioned her brother has recently been paroled after serving time.
6,667
parole
no
current
This note only references the patient's brother's situation with parole, not the patient's own legal status.
Patient discussed his struggles with adjusting to life after being released from parole last year.
2,696
parole
yes
history
The text clearly indicates that the patient was released from parole, suggesting a past experience of supervision in the community after prison.
The patient is currently under parole and is required to check in with her officer monthly.
1,002
parole
yes
current
The mention of parole and the conditions tied to it indicates an ongoing situation, resulting in 'Label' as 'Parole', 'Presence' as 'Yes', and 'Period' as 'Current'.
The patient's father was sentenced to probation last year but has shown no interest in discussing it.
6,031
probation
no
history
The text pertains to the patient's father and does not indicate any legal status for the patient themselves, hence it cannot be counted.
The patient expressed concern over his friend's ongoing parole conditions and their impact on their activities.
6,862
parole
no
current
Although the content mentions parole, it pertains to a friend, not the patient.
The patient's report showed no evidence of current or past probation violations.
7,021
probation
no
history
This text indicates that there are no relevant legal issues regarding probation in the patient's history.
His case manager confirmed that there are no active probation conditions following the completion of his term.
5,779
probation
no
history
The text indicates the absence of current probation conditions, suggesting the patient is no longer under probation.
After being denied parole last month, he has increased his therapy sessions.
711
parole
no
history
While the text mentions parole, it is in the context of a denial, which indicates a current status of not being on parole.
The patient discussed their recent struggles with maintaining the requirements of their probation, particularly regarding weekly check-ins.
2,743
probation
yes
current
The mention of probation requirements indicates a direct involvement of the patient under supervision.
He was placed on probation after an assault charge but has since completed all requirements.
3,345
probation
yes
history
The completion of probation requirements indicates that the patient was previously under probation, reflecting a positive transition in his legal status.
She fears her brother's probation may be revoked due to his recent behavior.
1,628
probation
no
current
The text discusses a family member's probation situation, not the patient's themselves.
His uncle was granted parole after serving time for a similar offense, which has raised concerns for the family.
5,871
parole
no
current
The uncle's parole situation is mentioned, but it does not pertain to the patient's legal status.
He has been under probation since last year, and it has been going well.
3,591
probation
yes
current
The statement indicates active involvement with probation, confirming a current status.
Despite being on probation, he feels supported by his family.
3,084
probation
yes
current
The mention of being currently on probation confirms the presence in a supportive context.
She has been feeling the pressure of her probation requirements, particularly the mandatory counseling sessions.
4,132
probation
yes
current
The mention of probation requirements indicates that the patient is currently under probation and actively participating in mandated activities.
Last month, she completed her probation and is now focusing on rebuilding her life.
4,441
probation
yes
history
The patient has successfully completed her probation, indicating a historical commitment to a legal condition.
Patient has a hearing coming up regarding the potential modification of his probation terms.
730
probation
unclear
future
The text indicates an impending legal situation regarding probation, but it does not confirm any compliance or current supervision status.
He recalled being on parole five years ago but couldn't recall the specifics of his release conditions.
7,205
parole
yes
history
The memory of having been on parole indicates a past experience, with no current implications.
At the appointment, she mentioned her brother is currently paroled for theft.
2,730
parole
no
current
The mention of the patient's brother being paroled does not pertain to the patient but indicates a family member's legal status.
Legal obligations related to his probation seem overwhelming as he seeks to balance work and recovery.
7,921
probation
yes
current
The text clearly implies that the patient is currently under probation and actively dealing with its associated stressors.
A past incident involving his brother's probation for theft continues to weigh on his mind.
7,464
probation
no
history
This refers to a family member's probation experience, which does not involve the patient’s legal status.
The patient denied having ever been on parole or probation in his life.
8,240
unclear
no
history
The explicit denial of both parole and probation indicates a lack of any related legal involvement.
His lawyer mentioned that the judge might reconsider his probation terms next month.
7,176
probation
unclear
future
While there is a reference to probation, it discusses a future decision about the terms, indicating uncertainty.
His lawyer indicated that there were no grounds for parole eligibility due to the nature of his offenses.
5,242
parole
no
current
The text discusses the patient's eligibility for parole but confirms that he currently does not qualify.
He noted that attending therapy was a requirement of his parole agreement.
5,123
parole
yes
current
This note indicates that the patient is currently on parole with required conditions, making it clear.
He reports that his therapist is recommending he participate in a diversion program instead of going back to probation.
15
probation
unclear
current
The mention of a diversion program indicates a potential alternative to probation, but does not confirm his current status.
She is unsure if she will be placed on probation after her upcoming sentencing.
3,213
probation
unclear
future
The uncertainty regarding future sentencing and probation status indicates an unclear situation.
She discussed the stress she feels due to the conditions of her probation agreement.
7,684
probation
yes
current
The statement reflects the stress related to ongoing probation conditions, indicating a current situation.
He discussed the violation of his parole last month, leading to a re-evaluation of his treatment plan.
6,906
parole
yes
history
The text directly references a recent parole violation, indicating current implications for the patient.
During the session, she mentioned that her brother's parole was recently extended due to good behavior.
5,936
parole
no
current
The focus is on the brother's extended parole, which does not involve the patient and hence does not indicate her legal status.
In our last session, he discussed being denied parole due to technical violations.
2,455
parole
no
history
The patient refers to being denied parole, indicating a clear past situation related to parole.
He has been told he might get probation instead of jail time for his upcoming court date.
2,228
probation
unclear
future
The statement reflects uncertainty about receiving probation in the future, suggesting a legal decision that has not yet been made.
Patient denies any history of legal issues, including parole or probation.
6,426
unclear
no
history
This statement indicates a lack of any involvement with parole or probation in the patient's history, confirming the absence of these legal matters.
She mentioned her friend's upcoming probation review meeting, which she plans to attend for support.
5,977
probation
no
future
While the text refers to a friend’s probation review, it does not involve the patient directly.
His past included a period of probation for a DUI, but he has since moved on and is stable.
6,601
probation
yes
history
The text references a past instance of probation but clarifies that it is not relevant to his current status.
She recalls how her brother struggled with addiction while on parole, which affected the entire family.
7,961
parole
no
history
The mention of the patient's brother's parole situation does not pertain to the patient themselves, making this irrelevant to their legal status.
The nurse noted that the patient has no restrictions regarding travel or curfew due to her parole.
5,717
parole
yes
current
The mention of parole and lack of restrictions indicates that the patient is currently under parole supervision, confirming its presence. Thus, 'Label' is 'Parole', 'Presence' is 'Yes', and 'Period' is 'Current'.
The court decided to place the patient on probation for his offense, requiring community service.
4,375
probation
yes
current
This indicates a direct legal consequence for the patient and outlines the conditions of probation.
After a review, it was noted that the patient had successfully completed her parole requirements without any violations.
6,577
parole
yes
history
The completion of parole requirements indicates a past situation where parole was successfully adhered to, confirming the patient's compliance.
After serving his sentence, he was released on parole and is now working to reintegrate into society.
385
parole
yes
current
The mention of being released on parole indicates that he has completed a prison sentence but is still under supervision.
He was warned that any further infractions could lead to his probation being revoked.
2,813
probation
yes
current
The text implies that the patient is currently on probation and is being cautioned about potential violations.
The patient has been in and out of therapy while adhering to the probation conditions set by the court.
2,525
probation
yes
current
The mention of probation clearly indicates the patient is under legal supervision as an alternative to imprisonment.
She was required to complete an anger management program as part of her probation conditions.
2,385
probation
yes
current
The requirement of completing a program under probation confirms that she is currently in a probation status. Thus, it is categorized as Probation.
In the session, he was informed that his parole officer will monitor his compliance with the rehabilitation program.
853
parole
yes
current
This indicates that he is under the supervision of a parole officer, confirming active parole status.
Patient expressed feelings of anxiety about potentially being placed on probation due to recent behavior.
138
probation
unclear
future
The text indicates the patient's concerns about future legal issues related to probation, suggesting uncertainty.
The patient disclosed that he is currently attending a treatment program as required by his probation officer.
8,160
probation
yes
current
This statement clearly indicates the patient's engagement in a treatment program due to probation requirements, confirming his status as a probationer.
He stated that his probation was successfully completed last month.
426
probation
yes
history
This indicates that the probation period has ended, placing it in a past context.
The patient has volunteered to help others who are currently on probation, sharing his experiences.
8,095
probation
no
current
Although this mentions probation, it relates to the patient's volunteer work rather than his own status, which is not directly relevant.
The patient's record indicates that he had previously been denied parole due to non-compliance with terms.
1,694
parole
no
history
Although the text discusses past parole denials, it does not indicate current involvement, hence the presence is not applicable.
He feels the pressure of his probation, especially with the required check-ins.
3,900
probation
yes
current
The statement reflects ongoing probation conditions affecting the patient’s mental state.
During the session, the patient noted that he has been on probation since his last conviction and is actively attending therapy.
7,905
probation
yes
current
The text mentions the patient being on probation, indicating a current legal status. The inclusion of therapeutic engagement supports the ongoing nature of this situation.
The patient recalls struggling with substance use before his probation ended last year.
7,395
probation
yes
history
Mentioning the end of probation last year indicates it is a past situation, confirming the patient's history of probation.
The patient is under psychiatric care for issues relating to her past probation violations.
5,209
probation
yes
history
The mention of past probation violations confirms that she had been on probation in the past but does not indicate current legal status.
His last court date resulted in an extension of his probation period due to non-compliance with the terms.
6,545
probation
yes
current
The text describes an extension of probation, which implies ongoing supervision and compliance issues.
She often thinks about her sister who is on parole and how it affects family dynamics.
4,219
parole
no
current
This references the parole status of a family member, not the patient.
She has completed her probation term successfully and is waiting for confirmation.
1,960
probation
no
history
The successful completion of probation indicates that the patient has fulfilled her obligations, signaling an end to the probation period. Therefore, this reflects a past event regarding probation.
She explained about a friend who was on probation for drug charges but has since completed their requirements.
5,785
probation
no
history
The text discusses a friend's probation status rather than the patient's, indicating no direct relevance.
Patient is currently facing an evaluation that may lead to probation depending on the outcome.
150
probation
unclear
future
The text implies a potential for future probation but does not confirm it, making it uncertain.
The patient insists he has never been on probation nor parole at any point in his life.
7,167
unclear
no
history
This statement makes it clear that the patient has no legal history of probation or parole, therefore indicating absence.
She stated that her previous probation period was marked by frequent counseling sessions, which she attended diligently.
7,398
probation
yes
history
This refers to a past probation period indicating successful engagement in counseling, making it a historical note.
During the session, she recalled a time when her probation was extended due to non-compliance.
3,947
probation
yes
history
The mention of an extension of probation refers to a past event rather than a current situation.
She mentioned her brother was released on parole and has been struggling to adjust back to life outside of prison.
969
parole
no
current
The text refers to the patient's brother's experience on parole, which does not pertain to the patient herself. Thus, it's relevant to parole but not directly applicable to the patient's situation.
After attending therapy sessions for a year, he is now eligible to apply for probation.
3,567
probation
unclear
future
This indicates a future possibility of probation but does not confirm the current status as he has not yet been granted probation.
She mentioned that her neighbor was on parole but was recently arrested again.
2,009
parole
no
history
This example describes someone else’s parole status and does not pertain to the patient's condition.
He feels optimistic about his release from prison after a successful parole review last month.
7,601
parole
yes
future
This indicates that the patient has recently undergone a review that positively affected his parole status.
She mentioned that her ex-boyfriend was on parole but is no longer under any legal constraints.
4,080
parole
no
history
This information pertains to a third party, making it irrelevant to the patient’s current legal status.
The patient reported his brother's recent issues with probation that have impacted family dynamics.
5,101
probation
no
current
Although the discussion is about a family member's probation, it does not pertain to the patient themselves.
After his last appointment, he learned he could be placed on probation due to theft charges.
7,804
probation
unclear
future
The indication of potential probation due to legal charges shows that there is a possibility of this legal status in the future.
She successfully completed her probation last year, which allowed her to reintegrate into the community.
1,784
probation
yes
history
The text clearly states that the patient completed probation in the past, providing a clear historical context.
End of preview.

Dataset Card for Synth-PPD

Synth-PPD is a collection of 7,579 synthetic examples annotated for parole, probation or unclear (Label). Annotations also include information such as presence, period and annotation reasoning.

Dataset Structure

Data Instances

Some examples from synth_data_mc_mtl_train.json looks as follows.

{
  'Text': 'He has been facing challenges in complying with the terms of his probation, including community service.',
  'idx': 263,
  'Label': 'probation',
  'Presence': 'yes',
  'Period': 'current',
  'Reasoning': 'The text indicates active participation in probation terms, specifically mentioning community service as a requirement.'
}
{
  'Text': 'His family has been worried since he was denied parole earlier this year.',
  'idx': 2161,
  'Label': 'parole',
  'Presence': 'no',
  'Period': 'history',
  'Reasoning': "The concern about the parole denial pertains to the patient's family and not the patient themselves; thus, this does not indicate the patient's legal status."
}

Data Fields

We release Synth-PPD as JSON files. Each JSON file has the following fields:

  • Text: Example text sequence, at max a few sentences long.
  • idx: Unique identifier for an example.
  • Label: Parole/probation annotation for Text.
  • Presence: Presence annotation (yes/no/unclear).
  • Period: Period annotation (current/history/future/unclear).
  • Reasoning: Rationales for annotations.

Data Splits

The Synth-PPD dataset has 4 splits: train, val, test, and test_hr. test_hr is the same split as test but with human expert annotations. It has an additional Rating column on a 4-point Likert scale. Below are the statistics for the dataset.

Dataset Split Number of Examples
Train 5,305
Val 757
Test 1,517

Dataset Creation

Details about how the data was created are available in our paper.

Uses

You may directly download and use the dataset using the datasets library.

from datasets import load_dataset

synth_ppd_dataset = load_dataset("bio-nlp-umass/Synth-PPD")

Or you can also individually download the files and load them using any compatible libray. For example, using pandas -

import pandas as pd

synth_ppd_df = pd.read_json('FILE_NAME')
Downloads last month
48