Cyberjusticelab / JusticeAI

JusticeAI (ProceZeus) is a web chat bot that aims to facilitate access to judicial proceedings involving Quebec tenant/landlord law
https://cyberjusticelab.github.io/JusticeAI/docs/rendered/
MIT License
21 stars 16 forks source link

Claim: Lease Termination #183

Closed arekmano closed 6 years ago

arekmano commented 6 years ago

Description As a user, I would like the system to predict whether or not lease termination is justified

Scope of Work

Demo requirement

  1. The user selects the facts that are relevant to their case
  2. The user sends the facts to the system
  3. The system displays "Lease termination is justified" or "Lease termination is not justified"

Acceptance Criteria

Documentation, files, diagrams, etc. relating to this feature: Url, books, etc.

Changes:

arekmano commented 6 years ago

This issue is blocked by #151

brucecaii commented 6 years ago

Is it possible to test the model with fake data now? (since #151 will generate a 45000 x 4800 matrix with just 0 and 1 as values) so it doesnt block the implementation

naregeff commented 6 years ago

it wow-ed. good stuff. signed off.

arekmano commented 6 years ago

Current fact weights, as related to lease termination output:

absent : 0.000000000000000000e+00
apartment_impropre : -1.100925369199277082e-01
apartment_infestation : 0.000000000000000000e+00
asker_is_landlord : -1.779103941858892757e-01
asker_is_tenant : -1.368796370477016744e-01
bothers_others : 0.000000000000000000e+00
disrespect_previous_judgement : 0.000000000000000000e+00
incorrect_facts : 0.000000000000000000e+00
landlord_inspector_fees : 0.000000000000000000e+00
landlord_notifies_tenant_retake_apartment : 0.000000000000000000e+00
landlord_pays_indemnity : 0.000000000000000000e+00
landlord_prejudice_justified : 1.783754245445596798e-01
landlord_relocation_indemnity_fees : -4.040827592879288332e-02
landlord_rent_change : -2.180868817701108742e-01
landlord_rent_change_doc_renseignements : 0.000000000000000000e+00
landlord_rent_change_piece_justification : 0.000000000000000000e+00
landlord_rent_change_receipts : 0.000000000000000000e+00
landlord_retakes_apartment : 3.160223470087041298e-01
landlord_retakes_apartment_indemnity : 0.000000000000000000e+00
landlord_sends_demand_regie_logement : -4.062514851892551349e-02
landlord_serious_prejudice : 9.104283239282874307e-01
lease : 1.224858757823321653e-02
proof_of_late : 0.000000000000000000e+00
proof_of_revenu : 0.000000000000000000e+00
rent_increased : 0.000000000000000000e+00
tenant_bad_payment_habits : 2.182993972660303150e-01
tenant_continuous_late_payment : 1.248110275756886267e-02
tenant_damaged_rental : 0.000000000000000000e+00
tenant_dead : 0.000000000000000000e+00
tenant_declare_insalubre : 0.000000000000000000e+00
tenant_financial_problem : 0.000000000000000000e+00
tenant_group_responsability : 0.000000000000000000e+00
tenant_individual_responsability : -1.698614473799597846e-04
tenant_is_bothered : 0.000000000000000000e+00
lack_of_proof : 0.000000000000000000e+00
tenant_landlord_agreement : 0.000000000000000000e+00
tenant_lease_fixed : 0.000000000000000000e+00
tenant_lease_indeterminate : 0.000000000000000000e+00
tenant_left_without_paying : -6.251618832387560998e-01
tenant_monthly_payment : 3.972174499320146879e-01
tenant_negligence : 0.000000000000000000e+00
tenant_not_request_cancel_lease : 0.000000000000000000e+00
tenant_owes_rent : 5.718277062793961640e-01
tenant_refuses_retake_apartment : 0.000000000000000000e+00
tenant_rent_not_paid_less_3_weeks : 0.000000000000000000e+00
tenant_rent_not_paid_more_3_weeks : 1.196989589518152597e+00
tenant_rent_paid_before_hearing : -5.470980159435941959e-01
tenant_violence : 9.104283239282874307e-01
tenant_withold_rent_without_permission : 0.000000000000000000e+00
violent : -1.100925369199277082e-01
absent : 0.000000000000000000e+00
apartment_impropre : -1.100925369199277082e-01
apartment_infestation : 0.000000000000000000e+00
asker_is_landlord : -1.779103941858892757e-01
asker_is_tenant : -1.368796370477016744e-01
bothers_others : 0.000000000000000000e+00
disrespect_previous_judgement : 0.000000000000000000e+00
incorrect_facts : 0.000000000000000000e+00
landlord_inspector_fees : 0.000000000000000000e+00
landlord_notifies_tenant_retake_apartment : 0.000000000000000000e+00
landlord_pays_indemnity : 0.000000000000000000e+00
landlord_prejudice_justified : 1.783754245445596798e-01
landlord_relocation_indemnity_fees : -4.040827592879288332e-02
landlord_rent_change : -2.180868817701108742e-01
landlord_rent_change_doc_renseignements : 0.000000000000000000e+00
landlord_rent_change_piece_justification : 0.000000000000000000e+00
landlord_rent_change_receipts : 0.000000000000000000e+00
landlord_retakes_apartment : 3.160223470087041298e-01
landlord_retakes_apartment_indemnity : 0.000000000000000000e+00
landlord_sends_demand_regie_logement : -4.062514851892551349e-02
landlord_serious_prejudice : 9.104283239282874307e-01
lease : 1.224858757823321653e-02
proof_of_late : 0.000000000000000000e+00
proof_of_revenu : 0.000000000000000000e+00
rent_increased : 0.000000000000000000e+00
tenant_bad_payment_habits : 2.182993972660303150e-01
tenant_continuous_late_payment : 1.248110275756886267e-02
tenant_damaged_rental : 0.000000000000000000e+00
tenant_dead : 0.000000000000000000e+00
tenant_declare_insalubre : 0.000000000000000000e+00
tenant_financial_problem : 0.000000000000000000e+00
tenant_group_responsability : 0.000000000000000000e+00
tenant_individual_responsability : -1.698614473799597846e-04
tenant_is_bothered : 0.000000000000000000e+00
lack_of_proof : 0.000000000000000000e+00
tenant_landlord_agreement : 0.000000000000000000e+00
tenant_lease_fixed : 0.000000000000000000e+00
tenant_lease_indeterminate : 0.000000000000000000e+00
tenant_left_without_paying : -6.251618832387560998e-01
tenant_monthly_payment : 3.972174499320146879e-01
tenant_negligence : 0.000000000000000000e+00
tenant_not_request_cancel_lease : 0.000000000000000000e+00
tenant_owes_rent : 5.718277062793961640e-01
tenant_refuses_retake_apartment : 0.000000000000000000e+00
tenant_rent_not_paid_less_3_weeks : 0.000000000000000000e+00
tenant_rent_not_paid_more_3_weeks : 1.196989589518152597e+00
tenant_rent_paid_before_hearing : -5.470980159435941959e-01
tenant_violence : 9.104283239282874307e-01
tenant_withold_rent_without_permission : 0.000000000000000000e+00
violent : -1.100925369199277082e-01